joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ec40
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [0x56fda8]
xor eax, esp
mov dword [esp + 0x2c], eax
mov al, 0x35
mov cl, 0x2e
push ebx
mov bl, 0x3f
mov dl, 6
mov byte [esp + 0x15], al
mov byte [esp + 0x21], al
mov byte [esp + 0x23], al
mov byte [esp + 0x28], al
mov dword [esp + 4], 0
mov byte [esp + 0x14], 9
mov byte [esp + 0x16], 0x3c
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], 0x2d
mov byte [esp + 0x19], 0x3b
mov byte [esp + 0x1a], 0x28
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1c], dl
mov byte [esp + 0x1d], 0x17
mov byte [esp + 0x1e], 0x33
mov byte [esp + 0x1f], 0x39
mov byte [esp + 0x20], 0x28
mov byte [esp + 0x22], 0x29
mov byte [esp + 0x24], 0x3c
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], dl
mov byte [esp + 0x27], 0x14
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], 0x2a
mov byte [esp + 0x2c], 0x3b
mov byte [esp + 0x2d], 0x3e
mov byte [esp + 0x2e], 0
xor eax, eax
lea ecx, [ecx]
xor byte [esp + eax + 0x14], 0x5a
inc eax
cmp eax, 0x1a
jb 0x41ece0
push 0
lea eax, [esp + 8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [esp + 4]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
mov byte [esp + 0x2e], al
test edx, edx
jne 0x41ed4c
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00455303
add esp, 0x30
ret 4
mov al, 0x6f
mov cl, 0x72
mov byte [esp + 0xa], al
mov byte [esp + 0xf], al
mov byte [esp + 8], cl
mov byte [esp + 9], 0x64
mov byte [esp + 0xb], cl
mov byte [esp + 0xc], 0x6e
mov byte [esp + 0xd], 0x73
mov byte [esp + 0xe], 1
mov byte [esp + 0x10], 0x40
mov byte [esp + 0x11], 0x4c
mov byte [esp + 0x12], 0x44
mov byte [esp + 0x13], 0
xor eax, eax
lea ebx, [ebx]
xor byte [esp + eax + 8], 0x21
inc eax
cmp eax, 0xb
jb 0x41ed90
push esi
push edi
push 0
lea eax, [esp + 0x14]
push eax
push edx
or edi, 0xffffffff
xor ebx, ebx
call fcn.00419090
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov esi, eax
xor eax, eax
push ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x40], bl
jne 0x41edef
pop edi
lea eax, [esi - 1]
pop esi
xor eax, 0x20100311
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00455303
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x38]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
xor eax, 0x3132a940
call fcn.00455303
add esp, 0x30
ret 4

Function at 0x41f070
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x502d40], 0
je 0x41f09e
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
test edx, edx
jbe 0x41f09e
jmp 0x41f090
mov cl, byte [esi + 0x502d40]
xor byte [eax], cl
inc eax
sub edx, 1
jne 0x41f090
pop esi
ret 8
Function at 0x422be0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x422c0f
push esi
call fcn.004271b0
add esp, 4
cmp byte [esi + 0x40], 0
je 0x422c08
mov dword [esi + 0x10], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x422c8a
mov eax, dword [esi + 0x18c]
cmp byte [eax + 0x10], 0
je 0x422c7a
mov eax, dword [esi + 8]
test eax, eax
je 0x422c34
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x18c]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x422c76
cmp eax, 2
je 0x422c7a
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x422c25
cmp eax, 3
je 0x422c5c
cmp eax, 1
jne 0x422c25
add dword [ecx + 4], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x422c25
mov edx, dword [esi + 0x118]
add dword [eax + 8], edx
jmp 0x422c25
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.00422a70
pop esi
ret
cmp eax, 0xcc
je 0x422cac
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x12
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.00422a70
pop esi
ret

Function at 0x42da80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a4]
mov dword [esp + 0x18], esi
jne 0x42daa7
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x42dab3
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0xc], ecx
jle 0x42dbbf
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x18], edx
jmp 0x42dafc
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
cdq
idiv ebp
cmp dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
je 0x42db1d
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov edi, dword [edx + ecx*4]
add ebp, 0xffffffff
mov ecx, ebp
xor eax, eax
xor ebx, ebx
call fcn.0042d8f0
mov ecx, eax
xor esi, esi
cmp esi, ecx
jle 0x42db52
lea esp, [esp]
add ebx, 1
mov ecx, ebp
mov eax, ebx
call fcn.0042d8f0
mov ecx, eax
cmp esi, ecx
jg 0x42db40
mov al, byte [esp + 0x1c]
imul bl
mov byte [esi + edi], al
add esi, 1
cmp esi, 0xff
jle 0x42db35
cmp dword [esp + 0x10], 0
je 0x42dba0
mov eax, 1
lea ecx, [edi - 1]
jmp 0x42db80
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
add eax, 1
sub ecx, 1
cmp eax, 0xff
jle 0x42db80
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add dword [esp + 0x18], 4
add eax, 1
cmp eax, dword [ecx + 0x64]
mov dword [esp + 0x14], eax
jl 0x42daf0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x4395a6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4395ca
cmp dword [edi + 0x54], 0
jne 0x4395ca
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00444a33
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00439567
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x439c9c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x439ce4
call fcn.00444a33
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x439ce4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x439d27
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x439d10
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x439d10
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x439d24
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43fd14
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x43fd5b
call fcn.00444a33
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43fd5b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x43fd77
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0043f88e
mov esi, eax
test edi, edi
je 0x43fd75
test ebx, ebx
je 0x43fd75
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x440544
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x472c51
call fcn.004589ad
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x440569
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4405af
lea ecx, [ebp - 0x10]
call fcn.00411350
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043604c
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004012e0
mov eax, esi
call fcn.00458a85
ret 8

Function at 0x455303
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x56fda8]
jne 0x45530d
repz ret
jmp fcn.0045cf68

Function at 0x4565ee
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x45661f
call fcn.00458e61
mov dword [eax], esi
call fcn.00458e4e
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0045ced2
add esp, 0x14
push 0x16
pop eax
jmp 0x456674
test dword [ebp + 0xc], 0xfffffff9
jne 0x4565fb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45664c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00458e74
pop ecx
call fcn.00458e4e
mov eax, dword [eax]
jmp 0x456674
test al, 0x10
jne 0x456672
test al, 1
je 0x456672
test byte [ebp + 0xc], 2
je 0x456672
call fcn.00458e61
mov dword [eax], 5
call fcn.00458e4e
mov dword [eax], 0xd
jmp 0x456643
xor eax, eax
pop esi
pop ebp
ret
Function at 0x46b0d4
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0045c7c5
and dword [ebp - 4], 0
cmp dword [0x573ee8], 0
mov ebx, eax
jne 0x46b185
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x46b236
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x48321c
push edi
call esi
test eax, eax
je 0x46b236
push eax
call fcn.0045c753
mov dword [esp], 0x48320c
push edi
mov dword [0x573ee8], eax
call esi
push eax
call fcn.0045c753
mov dword [esp], 0x4831f8
push edi
mov dword [0x573eec], eax
call esi
push eax
call fcn.0045c753
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x573ef0], eax
call esi
push eax
call fcn.0045c753
pop ecx
mov dword [0x573ef8], eax
test eax, eax
je 0x46b185
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045c753
pop ecx
mov dword [0x573ef4], eax
mov eax, dword [0x573ef4]
cmp eax, ebx
je 0x46b1dd
cmp dword [0x573ef8], ebx
je 0x46b1dd
push eax
call fcn.0045c7ce
push dword [0x573ef8]
mov esi, eax
call fcn.0045c7ce
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x46b1dd
test edi, edi
je 0x46b1dd
call esi
test eax, eax
je 0x46b1d4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46b1d4
test byte [ebp - 0xc], 1
jne 0x46b1dd
or dword [ebp + 0x10], 0x200000
jmp 0x46b216
mov eax, dword [0x573eec]
cmp eax, ebx
je 0x46b216
push eax
call fcn.0045c7ce
pop ecx
test eax, eax
je 0x46b216
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46b216
mov eax, dword [0x573ef0]
cmp eax, ebx
je 0x46b216
push eax
call fcn.0045c7ce
pop ecx
test eax, eax
je 0x46b216
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x573ee8]
call fcn.0045c7ce
pop ecx
test eax, eax
je 0x46b236
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x46b238
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405e40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x418014]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push 0x17
push str.SOFTWAREPoliciesAdobe
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0xf
mov byte [esp + 0x1c], 0
call fcn.0040b8c0
cmp dword [esp + 0x28], 0x10
lea ecx, [esp + 8]
push ecx
push 0x20019
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 0
cmovae eax, dword [esp + 0x1c]
push 0
push eax
push 0x80000002
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405edb
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push str.ResetOutlookConnection
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xc], 1
mov edx, dword [esp + 0x28]
sete bl
cmp edx, 0x10
jb 0x405f1b
mov ecx, dword [esp + 0x14]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x405f11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405f11
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004102f1
add esp, 8
mov ecx, dword [esp + 0x2c]
mov al, bl
pop ebx
xor ecx, esp
call fcn.004102b0
mov esp, ebp
pop ebp
ret

Function at 0x405f80
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x418014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x54], esi
Function at 0x411019
Capabilities:
Terminate process

Disassembly:
jmp 0x412060
jmp fcn.004125c0
cmp ecx, dword [0x41600c]
jne 0x41206a
repz ret
jmp 0x411078

Function at 0x411b70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x41600c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x94
push 0
lea eax, [ebp - 0x98]
push eax
call fcn.00411064
add esp, 0xc
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 6
jb 0x411bc3
mov eax, 1
jmp 0x411bc5
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00411019
mov esp, ebp
pop ebp
ret
Function at 0x42d330
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x496a6b
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.0048943a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42d3b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00486d20
mov eax, dword [eax]
push 0x584224
push eax
call fcn.00479794
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004896c5
test bl, bl
je 0x42d3b2
push 0x584224
lea ecx, [esp + 0xc]
call fcn.00489aa1
push 0x587d9c
lea ecx, [esp + 0xc]
call fcn.00489aa1
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 0x42d3ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004896c5
jmp 0x42d4b9
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 0x42d472
lea edx, [esp + 0x7c]
push 0x587d98
push edx
call fcn.00479794
add esp, 8
test eax, eax
je 0x42d472
lea eax, [esp + 0x7c]
push 0x587d94
push eax
call fcn.00479794
add esp, 8
test eax, eax
je 0x42d472
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 0x42d402
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.004896c5
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 0x42dcb0
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 0x42dd12
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 0x42dd20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x496aeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x58ed38]
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 0x42de58
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42dd86
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004896c5
xor eax, eax
jmp 0x42decf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048984e
push esi
lea ecx, [esp + 0xc]
call fcn.00489add
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x587dd4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42dead
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0042dcb0
test eax, eax
jne 0x42dead
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.0042dcb0
test eax, eax
jne 0x42dead
lea eax, [esp + 0x14]
push 0x587db0
push eax
call fcn.0047a940
mov esi, eax
add esp, 8
test esi, esi
jne 0x42de8c
lea ecx, [esp + 0x14]
push 0x587dac
push ecx
call fcn.0047a8c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42de8c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42de8f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004897fe
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42dd9e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004896c5
xor eax, eax
jmp 0x42decf
mov byte [esi], 0
push 0x587da8
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.004896c5
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 0x43e4e0
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 0x43e54e
cmp si, 0x69
ja 0x43e54e
add esi, 0xffd0
cmp si, 0x11
je 0x43e51e
push 0x11
call edi
test ax, ax
jge 0x43e51e
or esi, 0x2000
cmp si, 0x10
je 0x43e533
push 0x10
call edi
test ax, ax
jge 0x43e533
or esi, 0x4000
cmp si, 0x12
je 0x43e548
push 0x12
call edi
test ax, ax
jge 0x43e548
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43e55b
mov esi, 0xbd
jmp 0x43e50f
cmp si, 0x6e
jne 0x43e568
mov esi, 0xbe
jmp 0x43e50f
cmp si, 0x6f
jne 0x43e509
mov esi, 0xbf
jmp 0x43e50f

Function at 0x43fd10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x59fb20]
xor edx, edx
cmp eax, edx
jne 0x43fd36
xor eax, eax
mov byte [eax + 0x59fa20], al
inc eax
cmp eax, 0x100
jl 0x43fd1e
mov dword [0x59fb20], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x59fa20
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x43fdc7
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 0x43fd9a
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 0x43fd68
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x43fe40
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 0x43fe93
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 0x43fe7a
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