joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435100
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042f8b0
test eax, eax
je 0x4351ef
mov ecx, edi
call fcn.0042f8b0
mov ecx, eax
call fcn.0042cf30
test eax, eax
jne 0x4351ef
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4351ef
mov eax, dword [0x4a7f20]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x435162
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042f8b0
mov ecx, eax
call fcn.0042d160
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x4351ef
cmp ebx, eax
jne 0x4351ef
cmp dword [esp + 0x10], eax
jne 0x4351d5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x437e10
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x471ce8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x437e49
inc eax
mov dword [esi + 0x10], eax
jmp 0x437f5c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x437e5d
mov eax, 0xffffffc7
jmp 0x437f5e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x437e6e
cmp dword [esi + 8], eax
jne 0x437e5d
cmp dword [esi + 8], eax
jne 0x437e87
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x437e87
mov eax, 0xffffffc7
jmp 0x437f5e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x437e9b
push eax
mov ecx, ebx
call fcn.00437640
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00405a80
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x437ecc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00405aa0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00436db0
test eax, eax
mov dword [esp + 0x38], eax
je 0x437eff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47c398
call fcn.00405c80
mov eax, dword [esp + 0x38]
jmp 0x437f5e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00437c70
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x437f43
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00437c90
mov esi, eax
test esi, esi
jne 0x437f73
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00437c70
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x437f15
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47c398
call fcn.00405c80
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47c398
call fcn.00405c80
mov eax, esi
jmp 0x437f5e

Function at 0x43b0a0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43b100
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43b100
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43b100
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43b100
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43b140
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x441260
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x472318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046acd0
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00440c00
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046abfe
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004674c2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004674c2
push 1
push 0
push 0
mov ecx, esi
call fcn.0046746a
push 1
push 0
push 1
mov ecx, esi
call fcn.0046746a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046ad42
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4413e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x472338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046acd0
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00440c00
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046abfe
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4414a4
cmp dword [esp + 0x40], 1
jne 0x4414a2
cmp ecx, eax
jge 0x4414a4
mov eax, ecx
cmp eax, 0xc8
jge 0x4414b0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00441260
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046ad42
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441c30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4723a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004658e0
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046af78
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046c4d7
test eax, eax
je 0x441d4c
mov ecx, dword [esp + 0x3c]
call fcn.0046afa5
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x441d10
push edi
mov ecx, esi
call fcn.0046860d
mov ecx, esi
call fcn.00441eb0
cmp dword [esp + 0x38], 1
jne 0x441d45
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00468748
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x444760
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x444793
push esi
call fcn.00447870
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44478c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x444819
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x444802
mov eax, dword [esi + 8]
test eax, eax
je 0x4447b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4447fe
cmp eax, 2
je 0x444802
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4447aa
cmp eax, 3
je 0x4447dd
cmp eax, 1
jne 0x4447aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4447aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4447aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00444840
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x444828
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00444840
add esp, 4
pop esi
ret

Function at 0x4666d5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46670d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046478c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00464764
jmp 0x466719
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x467dca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x467e0c
call fcn.0046d8c7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x467e0c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x467e03
xor eax, eax
jmp 0x467e14
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00467e1a
pop edi
pop esi
pop ebx
ret 4

Function at 0x46ddf7
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 0x46de25
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46de43
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046dd5d
jmp 0x46de43
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46de43
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046dd5d
test edi, edi
mov eax, edi
jne 0x46de2d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x473731
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
stc
jb 0x473719
cmovno ecx, dword [esi + 0x2d]
scasd eax, dword es:[edi]
cmp edx, dword [eax]
adc dword [ebx - 0x1a6ab6d6], edi
enter 0xffffffffffffde5b, 0xffffffffffffffd0
std
sbb eax, 0x60a422b8
pushal
jmp 0x473723
call 0x473731
cmp dword [edx + 0x4c116fea], edi
sub byte [edi], dl
xor ebx, dword [esi + 0x72]
adc al, 0x48
inc ebp
int1
div dh
aaa
bound ecx, qword [0x26a211bb]
out dx, eax
ljmp 0x812c
Function at 0x4044a3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x54
mov dword [esp + 8], 0x403889
mov dword [esp + 4], 0x403820
mov dword [esp], 0x28
call fcn.00413abb
mov dword [0x471160], eax
mov dword [esp], 0x4604e0
call 0x44ff10
mov ebx, eax
test eax, eax
je 0x4044e6
cmp byte [eax], 0
jne 0x40456e
mov dword [esp], 0x4604ed
call 0x44ff10
mov ebx, eax
test eax, eax
je 0x404569
movsx edx, byte [eax]
mov eax, dword [0x475690]
cmp dword [eax], 1
jne 0x404517
mov eax, dword [0x4756c0]
mov eax, dword [eax]
movzx eax, word [eax + edx*2]
and eax, 0x103
jmp 0x404527
mov dword [esp + 4], 0x103
mov dword [esp], edx
call 0x44ff40
test eax, eax
je 0x404569
cmp byte [ebx + 1], 0x3a
jne 0x404569
mov dword [esp + 8], 2
mov dword [esp + 4], ebx
lea ebx, [ebp - 0x48]
mov dword [esp], ebx
call 0x44ff00
mov dword [ebp - 0x46], 0x6f72505c
mov dword [ebp - 0x42], 0x6d617267
mov dword [ebp - 0x3e], 0x6c694620
mov word [ebp - 0x3a], 0x7365
mov byte [ebp - 0x38], 0
jmp 0x40456e
mov ebx, 0x4604f9
mov dword [esp + 4], ebx
mov dword [esp], 0x4604e0
call fcn.00404584
add esp, 0x54
pop ebx
pop ebp
ret

Function at 0x410281
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, 0
test edi, edi
je 0x4102ae
mov ecx, ebx
inc ebx
mov edx, esi
and edx, 0xf
movzx eax, byte [ecx]
xor al, byte [edx + 0x45652a]
mov byte [ecx], al
inc esi
cmp edi, esi
jne 0x410296
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x41944e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x2c]
mov eax, dword [esi + 0x3c]
sub eax, dword [esi + 0x74]
sub eax, dword [esi + 0x6c]
mov dword [ebp - 0x10], eax
mov eax, edi
add eax, dword [esi + 0x2c]
sub eax, 0x106
cmp dword [esi + 0x6c], eax
jb 0x4194dd
mov edx, dword [esi + 0x38]
lea eax, [edx + edi]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], edx
call 0x44fef0
sub dword [esi + 0x70], edi
sub dword [esi + 0x6c], edi
sub dword [esi + 0x5c], edi
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x44]
lea eax, [eax + ecx*2]
sub eax, 2
movzx edx, word [eax]
mov ebx, 0
cmp edx, edi
jb 0x4194b3
mov ebx, edx
sub ebx, edi
mov word [eax], bx
dec ecx
jne 0x4194a0
mov ecx, edi
mov eax, dword [esi + 0x40]
lea eax, [eax + edi*2]
sub eax, 2
movzx edx, word [eax]
mov ebx, 0
cmp edx, edi
jb 0x4194d4
mov ebx, edx
sub ebx, edi
mov word [eax], bx
dec ecx
jne 0x4194c1
add dword [ebp - 0x10], edi
mov edx, dword [esi]
cmp dword [edx + 4], 0
je 0x41953e
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x38]
add eax, dword [esi + 0x6c]
add eax, dword [esi + 0x74]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.004190ad
add dword [esi + 0x74], eax
cmp dword [esi + 0x74], 2
jbe 0x419529
mov ebx, dword [esi + 0x38]
mov edx, dword [esi + 0x6c]
movzx eax, byte [ebx + edx]
mov dword [esi + 0x48], eax
mov ecx, dword [esi + 0x58]
shl eax, cl
movzx edx, byte [ebx + edx + 1]
xor eax, edx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp dword [esi + 0x74], 0x105
ja 0x41953e
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x41945d
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x41f720
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x58], 0
mov eax, 1
ret
Function at 0x403964
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x489020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4039fc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x4039dc
xor eax, eax
push ebp
push 0x4039d5
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 0x403a34
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4039dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x489020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x489020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404b80
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48c050], 0
je 0x404be1
cmp word [0x48c32c], 0xd7b2
jne 0x404ba9
cmp dword [0x48c334], 0
jbe 0x404ba9
mov eax, 0x48c328
call dword [0x48c344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
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 0x404c0c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48902c], 0
jne 0x404bfd
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x489030], 0
je 0x404d86
mov edx, esi
mov eax, ebx
call dword [0x489030]
jmp 0x404d95
mov eax, 8
call fcn.00402fac
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x48c051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404d28
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x4077ac
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x4090c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x48eb2c
push 0xa
push 0x409154
mov eax, dword [0x48eb1c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x4090e4
call fcn.00410fc8
push ebx
mov eax, dword [0x48eb1c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x4090fb
call fcn.00410fc8
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40910d
call fcn.00410fc8
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x48eb30], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x48eb34], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x48eb38], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x48eb3c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x48eb40], ecx
add edx, dword [eax + 0x14]
mov dword [0x48eb44], edx
pop esi
pop ebx
ret

Function at 0x40a784
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40a82d
test eax, edx
je 0x40a830
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40a7ad
push edx
mov edx, eax
mov eax, esp
call fcn.00405848
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40a7c3
push eax
lea eax, [esp + 8]
call fcn.00405848
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40a7d2
movzx eax, word [eax]
sub eax, ecx
jmp 0x40a7f9
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40a813
add ecx, 4
js 0x40a7ea
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40a810
push eax
mov eax, ecx
mov edx, 2
call fcn.00404e00
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40a7f7
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40a7f9
xor eax, eax
ret
test eax, eax
je 0x40a840
test edx, edx
jne 0x40a794
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40ea44
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x40ea7d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004057b0
jmp 0x40ea86
mov eax, ebx
mov edx, esi
call fcn.00405674
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4