joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467380
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x53000]
push edi
jmp 0x46739a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4673a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x467390
mov eax, 1
add ebx, ebx
jne 0x4673b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4673c4
jne 0x4673e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4673e3
dec eax
add ebx, ebx
jne 0x4673d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4673a8
add ebx, ebx
jne 0x4673df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x467435
xor ecx, ecx
sub eax, 3
jb 0x4673fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46746a
sar eax, 1
mov ebp, eax
jmp 0x467406
add ebx, ebx
jne 0x467406
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4673d4
inc ecx
add ebx, ebx
jne 0x467414
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4673d4
add ebx, ebx
jne 0x467421
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x467416
jne 0x467432
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x467416
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x467454
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x467446
jmp 0x467396
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x467454
add edi, ecx
jmp 0x467396
pop esi
mov edi, esi
mov ecx, 0x762
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x467472
cmp byte [edi], 9
jne 0x467472
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x467477
lea edi, [esi + 0x65000]
mov eax, dword [edi]
or eax, eax
je 0x4674e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x672b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x67318]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4674a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6731c]
or eax, eax
je 0x4674e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4674c1
call dword [esi + 0x6732c]
mov ebp, dword [esi + 0x67320]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x46751a
sub esp, 0xffffff80
jmp 0x4086e0
Function at 0x4069e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404110
xor eax, eax
push ebp
push 0x406a79
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403d8c
mov eax, dword [ebp - 4]
call fcn.00403f20
mov ebx, eax
test bx, bx
jbe 0x406a5b
mov di, 1
movzx eax, di
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax - 1]
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
mov dx, word [ebp - 6]
xor dx, 0x208
call fcn.00403ec8
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00403f28
inc edi
dec bx
jne 0x406a2b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406a80
lea eax, [ebp - 0xc]
call fcn.00403d8c
lea eax, [ebp - 4]
call fcn.00403d8c
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x41c70aa4
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x77a1e2d
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x5505ef
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov byte [esi + 0x64], al
movzx ecx, byte [esi + 0x15]
rcl dh, 3
sub esp, 8
jmp 0x550703
movzx eax, byte [esi + 0x14]
jmp 0x5505b3
lea esp, [esp + 0x28]
jmp 0x5505d7
bswap eax
lea esp, [esp + 8]
mov byte [esi + 0x65], cl
mov edi, 0xa1984598
btr eax, esp
jmp 0x5506a6

Function at 0x551118
Capabilities:
Execute anti-debugging instructions

Disassembly:
pushal
sete dh
mov dword [esp + 0x1c], edi
call 0x551118
pop eax
push word [esp + 3]
mov word [esp + 2], sp
jmp 0x5511e1
dec dword [esp + 8]
lea eax, [ecx - 0x3b]
mov eax, dword [esp]
mov al, ah
jmp 0x55110a
push word [esp + 1]
lea esp, [esp + 2]
lea esp, [esp + 4]
jmp 0x551134
pop edi
call fcn.00551189
lea esp, [esp + 2]
lea esp, [esp + 4]
popal
lea edi, [ebx + edi]
lea edi, [esp + esi]
lea edi, [eax + edx]
jmp 0x5511b2

Function at 0x56c6f6
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 4]
je 0x5217a7
cmp eax, ebx
call fcn.0056c64b
call fcn.0056c6db
and al, 0xbb
sub ecx, dword [esi - 0x43]
jg 0x56c69a
invalid
pushfd
xor dl, byte [ebp - 0x5c]
jl 0x56c680
jns 0x56c6b1
jmp 0x56c6f3
pop eax
mov byte [ebx], ch
mov edx, dword [ebp + 0xc]
cmp edx, 0x10000
push edx
call 0x56c684
push esp
rcl byte [esi + 0x31], 0xc0
sal byte [ebp - 3], 0xcc
pop edi
cmpsb byte [esi], byte es:[edi]
ror dword [ecx - 0x729f1bb3], 1
and al, 0x2c
jne 0x56c6b0
int3
mov dword [ebp - 0x1c], ecx
pushal
lea esp, [esp + 0x2c]
test ecx, ecx
push edx
jmp 0x56c673
push edx
int 0x5c
lea esp, [esp + 1]
add eax, ebx
stc
jmp 0x56c6b7

Function at 0x68c83e
Capabilities:
Parse pe header

Disassembly:
mov word [esp], di
mov byte [esp + 1], ch
mov dword [esp], ebp
pop word [esp]
call fcn.0068c840
sub bh, byte [esi + 0x70c64b2c]
setbe byte [ecx]
shr bl, 0xe0
jmp 0x68c820
jmp 0x68c820

Function at 0x68c840
Capabilities:
Parse pe header

Disassembly:
push word [esp + 5]
pushal
jmp 0x68c84c
push esp
mov dword [esp + 0x13], eax
mov word [esp], dx
mov word [esp + 0x28], sp
jmp 0x68c88d
mov dword [esp + 0x1f], esi
mov dword [esp + 0x9c], esi
call fcn.0068c875

Function at 0x68c875
Capabilities:
Parse pe header

Disassembly:
and al, 0x74
call fcn.0068c83e
push dword [esp]
pushal
push word [esp + 0x1f]
call fcn.0068c89d
jno 0x68c86e
jns 0x68c89f
jmp 0x68c8e2
and al, 9
in eax, 0x14

Function at 0x68c89d
Capabilities:
Parse pe header

Disassembly:
call fcn.0068c043
lea esp, [esp + 9]
jmp 0x68c8e4
lea esp, [esp + 0x10]
lea esp, [esp + 0x13]
lea esp, [esp + 1]
push edx
call fcn.0068c8c8
lea esp, [esp + 0xa0]
mov eax, dword fs:[0x30]
jmp 0x68c95d
push eax
jmp 0x68c03e
mov eax, dword [eax + 8]
jmp 0x68c926
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x68c945

Function at 0x68c8c8
Capabilities:
Parse pe header

Disassembly:
lea esp, [esp + 1]
mov dword [esp + 0xa0], edi
jmp 0x68c8f6
Function at 0x40144c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 4, 0
mov esi, eax
lea edx, [eax + 1]
imul edx, dword [0x402050]
mov ebx, eax
mov eax, 0x402054
call fcn.0040139e
lea edx, [ebp - 4]
push edx
mov edx, esi
or dl, 0x40
mov edi, 0x401e27
push edx
sub edi, fcn.004015f2
push edi
xor eax, eax
push fcn.004015f2
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp - 4], 0
je 0x4014b8
mov eax, fcn.004015f2
mov ebx, esi
mov edx, edi
call fcn.0040139e
mov edx, 0x1be00
mov eax, 0x402054
mov ebx, esi
call fcn.0040126b
leave
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x401535
Capabilities:
Encode data using base64 via winapi
Initialize winsock library

Disassembly:
push ebx
push ecx
push edx
enter 0x13c, 0
push 0
push 0x202
call dword [sym.imp.WS2_32.DLL_WSAStartup]
xor eax, eax
push eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push 0x7f00
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x1c], 6
push eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.DLL_LoadIconA]
push 0x7f00
push 0
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.DLL_LoadCursorA]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.USER32.DLL_RegisterClassW]
push 0
push 0
call dword [sym.imp.USER32.DLL_LoadAcceleratorsA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push 1
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x13c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
movzx eax, byte [ebp - 0x10]
lea ebx, [eax - 0x47]
call dword [sym.imp.WS2_32.DLL_WSACleanup]
mov eax, dword [ebp - 4]
add eax, ebx
leave
pop edx
pop ecx
pop ebx
ret
Function at 0x402a5c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40500c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402af4
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x402ad4
xor eax, eax
push ebp
push 0x402acd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402b10
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402ad4
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
mov ax, word [0x40500c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40500c], ax
mov esp, ebp
pop ebp
ret

Function at 0x40315c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x406034], 0
je 0x4031bd
cmp word [0x406208], 0xd7b2
jne 0x403185
cmp dword [0x406210], 0
jbe 0x403185
mov eax, 0x406204
call dword [fcn.00406220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x405054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4031e4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x405018], 0
jne 0x4031d9
push 0
push 0x40504c
push 0x405054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403800
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x403866
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403414
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402950
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x403850
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40386d
lea eax, [ebp - 0x10]
call fcn.004032e0
ret
Function at 0x403d20
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov esi, edx
mov ebx, eax
lea edi, [ebp - 4]
xor eax, eax
push ebp
push 0x403e1b
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x403d74
push 0x105
lea eax, [ebp - 0x10d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [ebp - 0x10d]
mov eax, esi
call fcn.004033a4
jmp 0x403e02
call sub.kernel32.dll_GetCommandLineA_1
mov dword [edi], eax
mov eax, dword [edi]
call fcn.00403ca8
mov dword [edi], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi]
call fcn.00403cd0
mov dword [edi], eax
test ebx, ebx
je 0x403da2
dec ebx
test ebx, ebx
jl 0x403da2
mov eax, dword [edi]
cmp eax, dword [ebp - 8]
jne 0x403d7b
push esi
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 8]
call fcn.004033e4
mov eax, dword [ebp - 0x114]
mov ecx, dword [edi]
sub ecx, dword [ebp - 8]
mov edx, 1
call fcn.004035e8
mov eax, dword [esi]
call fcn.0040342c
cmp eax, 2
jl 0x403e02
mov eax, dword [esi]
cmp byte [eax], 0x22
jne 0x403e02
mov eax, dword [esi]
call fcn.0040342c
mov edx, dword [esi]
cmp byte [edx + eax - 1], 0x22
jne 0x403e02
push esi
mov eax, dword [esi]
call fcn.0040342c
mov ecx, eax
sub ecx, 2
mov eax, dword [esi]
mov edx, 2
call fcn.004035e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403e22
lea eax, [ebp - 0x114]
call fcn.004032e0
ret
Function at 0x4059d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46127b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004561ab
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x405a52
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004540fa
mov eax, dword [eax]
push 0x4751f0
push eax
call fcn.00446dc4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00456436
test bl, bl
je 0x405a52
push 0x4751f0
lea ecx, [esp + 0xc]
call fcn.004567c6
push 0x478d40
lea ecx, [esp + 0xc]
call fcn.004567c6
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x405a8e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00456436
jmp 0x405b59
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x405b12
lea edx, [esp + 0x7c]
push 0x478d3c
push edx
call fcn.00446dc4
add esp, 8
test eax, eax
je 0x405b12
lea eax, [esp + 0x7c]
push 0x478d38
push eax
call fcn.00446dc4
add esp, 8
test eax, eax
je 0x405b12
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405aa2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00456436
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x406350
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4063b2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4063c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4612fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x47f23c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4064f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x406426
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00456436
xor eax, eax
jmp 0x40656f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00456573
push esi
lea ecx, [esp + 0xc]
call fcn.00456802
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40654d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00406350
test eax, eax
jne 0x40654d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00406350
test eax, eax
jne 0x40654d
lea eax, [esp + 0x14]
push 0x478d54
push eax
call fcn.00447e00
mov esi, eax
add esp, 8
test esi, esi
jne 0x40652c
lea ecx, [esp + 0x14]
push 0x478d50
push ecx
call fcn.00447d80
mov esi, eax
add esp, 8
test esi, esi
jne 0x40652c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40652f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00456523
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40643e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00456436
xor eax, eax
jmp 0x40656f
mov byte [esi], 0
push 0x478d4c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00456436
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x416eb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x416f1e
cmp si, 0x69
ja 0x416f1e
add esi, 0xffd0
cmp si, 0x11
je 0x416eee
push 0x11
call edi
test ax, ax
jge 0x416eee
or esi, 0x2000
cmp si, 0x10
je 0x416f03
push 0x10
call edi
test ax, ax
jge 0x416f03
or esi, 0x4000
cmp si, 0x12
je 0x416f18
push 0x12
call edi
test ax, ax
jge 0x416f18
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x416f2b
mov esi, 0xbd
jmp 0x416edf
cmp si, 0x6e
jne 0x416f38
mov esi, 0xbe
jmp 0x416edf
cmp si, 0x6f
jne 0x416ed9
mov esi, 0xbf
jmp 0x416edf

Function at 0x4185d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x48f888]
xor edx, edx
cmp eax, edx
jne 0x4185f6
xor eax, eax
mov byte [eax + 0x48f788], al
inc eax
cmp eax, 0x100
jl 0x4185de
mov dword [0x48f888], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x48f788
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x418687
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41865a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x418628
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x418700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x418753
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41873a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f190
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x41f328
cmp ebp, ebx
jle 0x41f328
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x41f1ee
dec eax
or eax, 0xfffffff8
inc eax
je 0x41f1f5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x41f204
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x41f20b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00456177
add esp, 4
cmp eax, ebx
je 0x41f22c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00456177
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x41f31e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x41f305
mov al, byte [edx]
cmp al, 0xc0
jbe 0x41f2f1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x41f2e6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x41f2f4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x41f2f4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x41f290
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x41f281
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret