joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bd73
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x440404]
xor eax, dword [ebp + 4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x42be18
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 8], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0xc], ecx
call esi
push dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 8], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x42bf1a
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x42bec8
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push closesocket
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42bf1b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42bebd
cmp dword [ebp - 0x14], 1
jne 0x42bebd
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push 0x4333bc
push eax
call fcn.00410868
add esp, 0xc
cmp eax, 1
jne 0x42bebd
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 8], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42bf1b
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x42bf1b
lea ecx, [ebp - 8]
push ecx
push 0x42bd61
push 1
push 0x10
push eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 8], bx
je 0x42bf1b
movzx eax, word [ebp - 8]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x42bf41
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.0042bcf0
cmp eax, ebx
pop ecx
pop ecx
jne 0x42bf43
inc edi
cmp edi, esi
jl 0x42bf2a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
pop esi
pop ebx
call fcn.004106de
leave
ret 4
Function at 0x42bf55
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x43f76c
je 0x42c011
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42bff9
mov esi, dword [ebx + 4]
jmp 0x42bff3
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42bfe3
cmp dword [ebp - 0xc], 4
jne 0x42bfe3
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x42bfdb
or dword [eax + 0x9c], ecx
jmp 0x42bfe3
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x42bfa7
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x42bf8a
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x42c71d
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x42f9b0
call fcn.0040fb84
sub esp, 0x110
mov eax, dword [0x440404]
xor eax, dword [ebp + 4]
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x42c7d8
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebx, 0xff
jmp 0x42c7a1
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403c18
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
call fcn.0042c71d
mov ecx, dword [ebp - 0x1c]
mov esi, eax
test esi, esi
setne byte [ebp - 0x11]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.004028a6
cmp byte [ebp - 0x11], 0
jne 0x42c7b6
push ebx
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x18]
call edi
mov esi, eax
test esi, esi
je 0x42c765
cmp esi, 0x103
pop edi
pop ebx
je 0x42c7c8
cmp esi, 0x3f2
jne 0x42c7d8
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
mov eax, esi
pop esi
call fcn.004106de
leave
ret 8

Function at 0x42cd80
Capabilities:
Get thread local storage value

Disassembly:
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42cd9d
mov ecx, dword [esp + 4]
cmp ecx, dword [eax + 8]
jge 0x42cd9d
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ecx*4]
jmp 0x42cd9f
xor eax, eax
ret 4
Function at 0x42ce97
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x42cecb
call fcn.0041b3fc
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x42cf33
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x42cf61
mov eax, dword [esp + 0x10]
cmp eax, dword [esi + 8]
jl 0x42cffc
cmp dword [esp + 0x14], ebx
je 0x42cffc
jmp 0x42cf9e
push 0x10
call fcn.0042cc45
cmp eax, ebx
je 0x42cf77
mov ecx, eax
call fcn.0042ce8e
mov esi, eax
jmp 0x42cf79
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
lea ebx, [edi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
push ebx
mov dword [edi + 0x14], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x42cfb5
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x42cfc5
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x42cfd1
call fcn.0041b3fc
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0xc]
sub ecx, eax
shl ecx, 2
push ecx
mov ecx, dword [esi + 0xc]
lea eax, [ecx + eax*4]
push ebx
push eax
call fcn.0040f200
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax + edx*4], ecx
pop ebx
ret 8

Function at 0x42d0c2
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x42d0f0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42d10e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0042d02c
jmp 0x42d10e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x42d10e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0042d02c
test edi, edi
mov eax, edi
jne 0x42d0f8
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x44409c]
test ecx, ecx
je 0x42d1c1
jmp 0x42d0c1
ret 8
Function at 0x1125442d
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 0x15], ecx
push dword [esp + 2]
mov word [esp + 0x10], di
push dword [esp + 0x14]
mov dword [esp + 0x1f], esi
jmp 0x11254493
pushal
pop word [esp + 0x1f]
push word [esp + 3]
mov word [esp + 2], bx
jmp 0x11254410
mov dl, byte [esp]
jmp 0x11254448
mov cl, byte [esp]
sub esp, 0x1a
lea esp, [esp + 2]
jmp 0x112544f8
pushfd
clc
jne 0x1125443f
mov dl, byte [esp]
mov cl, byte [esp]
sub esp, 0x1a
lea esp, [esp + 2]
jmp 0x112544f8
mov dword [esp + 0x98], edi
lea esp, [esp + 0x98]
jmp 0x11254463
pop word [esp + 0x13]
pop word [esp + 0x23]
mov word [esp + 0x14], bx
mov byte [esp + 0x1a], ch
jmp 0x1125447b
mov cl, byte [esp]
jmp 0x112544be
mov ebp, dword [esp + 0x40]
bsr di, bp
jno 0x112544da
mov cl, byte [esp]
mov dx, word [esp]
mov edx, dword [esp]
jmp 0x112544df

Function at 0x1125504d
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x11255035
lea esp, [esp + 0xc]
neg cl
stc
jno 0x1125501c
jo 0x1125510d
inc ebx
rcl byte [esi + 0x31], 0xc0
invalid
not dh
bswap eax
lea eax, [edi*4]
xchg dh, al
mov ax, 0x81d
jmp 0x112550ad
bsr dx, cx
mov dword [esp + 3], eax
jmp 0x11254fdc
push dword [esp + 2]
xor dl, ch
jb 0x11254fda
bsr dx, cx
mov dword [esp + 3], eax
jmp 0x11254fdc
jmp 0x11255074
xor cl, 0x2b
bsf ax, si
jb 0x11255164
mov dx, word [esp]
rol cl, 0
setnp dh
mov ax, word [esp]
bts edx, ebx
je 0x1125508c
mov al, 0xee
mov ax, word [esp]
mov dx, word [esp]
jmp 0x1125508e
xchg dh, al
mov ax, 0x81d
jmp 0x112550ad
not dh
bswap eax
lea eax, [edi*4]
jmp 0x112550d8
mov dx, word [esp]
jmp 0x11255140

Function at 0x11258662
Capabilities:
Encode data using xor

Disassembly:
push 0
jmp 0x112585e2
call 0x112585e7
jmp 0x11258ddb
call fcn.11258610
dec ecx
jae 0x11258661
imul ebp, dword [esi + 0x64], reloc.mscoree.dll__CorExeMain
add bl, ch
outsd dx, dword [esi]
call dword [eax + 0x788c4362]
test eax, eax
jmp 0x11258f32
pop eax
sub eax, 0xf7aa0205
call dword [eax - 0x85728b6]
jmp 0x11258dc1
jmp 0x11258dbb
je 0x112584d7
jne 0x11258602
pushfd
cmp dword [esp + 4], 0

Function at 0x112928a5
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 8]
jmp 0x1129298a
je 0x1124d76a
call 0x1129295a

Function at 0x11330e8a
Capabilities:
Parse pe header

Disassembly:
call fcn.11330012
mov word [esp + 3], di
lea esp, [esp + 3]
mov dword [esp + 0x18], edi
lea esp, [esp + 0x18]
jmp 0x11330ef1
lea esi, [esi + 0xc]
mov eax, dword [esi]
pop esi
mov eax, dword [eax + 0x1c]
jmp 0x11330edb
mov eax, dword [eax]
jmp 0x11330f58
mov eax, dword fs:[0x30]
push esi
mov esi, eax
jmp 0x11330ecc
mov eax, dword [eax + 8]
push eax
jmp 0x1133000d

Function at 0x11330eca
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
mov byte [esp + 1], dh
call fcn.11330e49
lea esp, [esp + 3]
call fcn.11330eb4
jmp 0x11330e78
Function at 0x42f070
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f1d2b
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.004e5f45
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42f0f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e382d
mov eax, dword [eax]
push 0x741d3c
push eax
call fcn.004d4464
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e61d0
test bl, bl
je 0x42f0f2
push 0x741d3c
lea ecx, [esp + 0xc]
call fcn.004e6560
push 0x741d48
lea ecx, [esp + 0xc]
call fcn.004e6560
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 0x42f12e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e61d0
jmp 0x42f1f9
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 0x42f1b2
lea edx, [esp + 0x7c]
push 0x741d44
push edx
call fcn.004d4464
add esp, 8
test eax, eax
je 0x42f1b2
lea eax, [esp + 0x7c]
push 0x741d40
push eax
call fcn.004d4464
add esp, 8
test eax, eax
je 0x42f1b2
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 0x42f142
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.004e61d0
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 0x42fa00
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 0x42fa62
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 0x42fa70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f1dab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x75b7e8]
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 0x42fba8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x42fad6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e61d0
xor eax, eax
jmp 0x42fc1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004e630d
push esi
lea ecx, [esp + 0xc]
call fcn.004e659c
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x741d7c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x42fbfd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.0042fa00
test eax, eax
jne 0x42fbfd
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 bind
mov ecx, edi
call fcn.0042fa00
test eax, eax
jne 0x42fbfd
lea eax, [esp + 0x14]
push 0x741d58
push eax
call fcn.004d5640
mov esi, eax
add esp, 8
test esi, esi
jne 0x42fbdc
lea ecx, [esp + 0x14]
push 0x741d54
push ecx
call fcn.004d55c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42fbdc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42fbdf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004e62bd
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42faee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e61d0
xor eax, eax
jmp 0x42fc1f
mov byte [esi], 0
push 0x741d50
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.004e61d0
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 0x443f00
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 0x443f6e
cmp si, 0x69
ja 0x443f6e
add esi, 0xffd0
cmp si, 0x11
je 0x443f3e
push 0x11
call edi
test ax, ax
jge 0x443f3e
or esi, 0x2000
cmp si, 0x10
je 0x443f53
push 0x10
call edi
test ax, ax
jge 0x443f53
or esi, 0x4000
cmp si, 0x12
je 0x443f68
push 0x12
call edi
test ax, ax
jge 0x443f68
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x443f7b
mov esi, 0xbd
jmp 0x443f2f
cmp si, 0x6e
jne 0x443f88
mov esi, 0xbe
jmp 0x443f2f
cmp si, 0x6f
jne 0x443f29
mov esi, 0xbf
jmp 0x443f2f

Function at 0x4458c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x76c230]
xor edx, edx
cmp eax, edx
jne 0x4458e6
xor eax, eax
mov byte [eax + 0x76c130], al
inc eax
cmp eax, 0x100
jl 0x4458ce
mov dword [0x76c230], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x76c130
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x445977
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 0x44594a
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 0x445918
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x445980
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 0x4459d3
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 0x4459ba
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 0x44ce40
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 0x44cfd8
cmp ebp, ebx
jle 0x44cfd8
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 0x44ce9e
dec eax
or eax, 0xfffffff8
inc eax
je 0x44cea5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x44ceb4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x44cebb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.004e5f11
add esp, 4
cmp eax, ebx
je 0x44cedc
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.004e5f11
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 0x44cfce
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 0x44cfb5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x44cfa1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x44cf96
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 0x44cfa4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x44cfa4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x44cf40
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 0x44cf31
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 0x44f320
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
call fcn.004e77a8
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