joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43dd70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x479e68
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.00470d13
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043d710
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.00470c41
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.0046d425
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.0046d425
push 1
push 0
push 0
mov ecx, esi
call fcn.0046d3cd
push 1
push 0
push 1
mov ecx, esi
call fcn.0046d3cd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00470d85
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43def0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x479e88
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.00470d13
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043d710
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.00470c41
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 0x43dfb4
cmp dword [esp + 0x40], 1
jne 0x43dfb2
cmp ecx, eax
jge 0x43dfb4
mov eax, ecx
cmp eax, 0xc8
jge 0x43dfc0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043dd70
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.00470d85
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43e730
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x479ef3
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.0046b842
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.00470fbb
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00472513
test eax, eax
je 0x43e84c
mov ecx, dword [esp + 0x3c]
call fcn.00470fe8
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 0x43e810
push edi
mov ecx, esi
call fcn.0046e5a5
mov ecx, esi
call fcn.0043e9b0
cmp dword [esp + 0x38], 1
jne 0x43e845
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.0046e70f
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 0x441270
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4412a3
push esi
call fcn.00444370
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44129c
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 0x441329
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441312
mov eax, dword [esi + 8]
test eax, eax
je 0x4412c7
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 0x44130e
cmp eax, 2
je 0x441312
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4412ba
cmp eax, 3
je 0x4412ed
cmp eax, 1
jne 0x4412ba
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 0x4412ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4412ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441350
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441338
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441350
add esp, 4
pop esi
ret

Function at 0x44e260
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44e2c6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44e2c6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44e2a7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x44e650
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x44e688
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x44f350
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44f399
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x44f810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47a690
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044f3c0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044f440
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044f440
lea ecx, [esi + 0xc]
call fcn.0046a1a9
lea ecx, [esi + 0x10]
call fcn.0046a1a9
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004509d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004509d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004509d0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0046a21e
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0046a21e
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x46c638
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46c670
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.0046a6c5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046a69d
jmp 0x46c67c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46dd29
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 0x46dd6b
call fcn.00473cd0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46dd6b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46dd62
xor eax, eax
jmp 0x46dd73
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046dd79
pop edi
pop esi
pop ebx
ret 4

Function at 0x474200
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 0x47422e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47424c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00474166
jmp 0x47424c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47424c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00474166
test edi, edi
mov eax, edi
jne 0x474236
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403360
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x46e100]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x25], 0x5c
mov byte [ebp - 0x26], 0x2f
lea eax, [ebp - 0x25]
push eax
lea ecx, [ebp - 0x26]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp + 0x24]
call fcn.004036c0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp + 0x24]
call fcn.00403690
mov edx, dword [eax]
push edx
call fcn.00404170
add esp, 0x10
lea ecx, [ebp + 0x24]
call fcn.00401c00
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0x10
je 0x4033c6
mov dword [ebp - 4], 1
sub esp, 0x1c
mov ecx, esp
lea eax, [ebp + 8]
push eax
call fcn.004024b0
lea ecx, [ebp - 0x24]
push ecx
call fcn.00403070
add esp, 0x20
lea ecx, [ebp - 0x24]
call fcn.00401c00
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40340a
sub esp, 0x1c
mov ecx, esp
lea edx, [ebp - 0x24]
push edx
call fcn.004024b0
call fcn.00403590
add esp, 0x1c
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp + 0x24]
call fcn.00401c00
push eax
lea ecx, [ebp + 8]
call fcn.00401c00
push eax
call dword [0x46f520]
test al, al
setne cl
mov byte [ebp - 0x39], cl
lea ecx, [ebp - 0x24]
call fcn.00401140
lea ecx, [ebp + 8]
call fcn.00401140
lea ecx, [ebp + 0x24]
call fcn.00401140
mov al, byte [ebp - 0x39]
mov ecx, dword [ebp - 8]
call fcn.00446719
mov esp, ebp
pop ebp
ret

Function at 0x403460
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea ecx, [ebp + 8]
call fcn.00401c00
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4034ce
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x4034aa
lea ecx, [ebp + 8]
call fcn.00401c00
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
setne cl
mov byte [ebp - 5], cl
lea ecx, [ebp + 8]
call fcn.00401140
mov al, byte [ebp - 5]
jmp 0x4034dd
lea ecx, [ebp + 8]
call fcn.00401c00
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne dl
mov byte [ebp - 6], dl
lea ecx, [ebp + 8]
call fcn.00401140
mov al, byte [ebp - 6]
jmp 0x4034dd
mov byte [ebp - 7], 0
lea ecx, [ebp + 8]
call fcn.00401140
mov al, byte [ebp - 7]
mov esp, ebp
pop ebp
ret

Function at 0x4034f0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
lea ecx, [ebp + 8]
call fcn.00401c00
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 1
je 0x403519
mov byte [ebp - 1], 1
lea ecx, [ebp + 8]
call fcn.00401140
mov al, byte [ebp - 1]
jmp 0x403528
mov byte [ebp - 2], 0
lea ecx, [ebp + 8]
call fcn.00401140
mov al, byte [ebp - 2]
mov esp, ebp
pop ebp
ret
Function at 0x403530
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
lea ecx, [ebp + 8]
call fcn.00401c00
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 0x24]
cmp eax, 1
jne 0x40355a
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
jmp 0x403563
mov edx, dword [ebp - 4]
and edx, 0xfffffffe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp + 8]
call fcn.00401c00
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp + 8]
call fcn.00401140
mov esp, ebp
pop ebp
ret

Function at 0x404760
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
jmp 0x404790
cmp dword [ebp + 0xc], 0
je 0x404779
mov eax, dword [ebp + 0xc]
add eax, 8
mov dword [ebp - 8], eax
jmp 0x404780
mov dword [ebp - 8], 0
mov cl, byte [ebp - 1]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00409960
add esp, 8
push 0
push 1
lea eax, [ebp - 1]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.WS2_32.dll_recv
test eax, eax
jle 0x4047b4
movsx edx, byte [ebp - 1]
cmp edx, 0xa
jne 0x4047b2
mov al, 1
jmp 0x4047b6
jmp 0x404768
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x40e430
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40e463
xor al, al
jmp 0x40e484
push 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne cl
mov byte [ebp - 0xd], cl
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x41df50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x338
push 8
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp + 8]
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41df79
xor eax, eax
jmp 0x41e147
mov ecx, dword [ebp - 0xc]
add ecx, 4
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x80
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 4], 8
mov edx, dword [ebp - 8]
mov byte [edx + 0x3c], 1
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x3c]
and ecx, 3
mov edx, dword [ebp - 0x10]
mov byte [edx + 5], cl
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0041de00
add esp, 8
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x7c], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041e150
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 8]
mov byte [edx + 0x3f], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 8]
mov dword [edx + 0x20], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 8]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x80], 0
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x3d], 7
mov edx, dword [ebp - 8]
mov byte [edx + 0x3e], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x64], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x60], 0
mov edx, dword [ebp - 8]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x44], 0
mov edx, dword [ebp - 8]
mov dword [edx + 0x50], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x4c], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x5c], 0
mov edx, dword [ebp - 8]
mov dword [edx + 0x58], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x54], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x68], 0
mov edx, dword [ebp - 8]
mov dword [edx + 8], 0x338
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x6c], 0
mov edx, dword [ebp - 8]
mov dword [edx + 0x70], 0xc8
mov eax, dword [ebp - 8]
mov dword [eax + 0x74], 0xc8
mov dword [ebp - 4], 0
jmp 0x41e101
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 9
jge 0x41e11a
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [eax + edx*4 + 0xe8], 0
jmp 0x41e0f8
push 0
push 0x41e230
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00431240
add esp, 0xc
test eax, eax
je 0x41e144
mov edx, dword [ebp - 0x10]
push edx
call fcn.0041e370
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x42ed70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x3c]
xor eax, 3
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x3c]
and edx, 3
movzx eax, dl
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0
je 0x42ee04
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
test edx, edx
jbe 0x42ee04
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 5]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
xor edx, 3
and edx, dword [ebp - 4]
jne 0x42eded
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042ee20
add esp, 8
jmp 0x42ee02
mov edx, dword [ebp - 0x14]
and edx, 0xfffffff8
or edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov byte [eax + 5], dl
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0xc], ecx
jmp 0x42ed9c
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
neg eax
sbb eax, eax
and eax, dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x446b1b
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x446b48
test byte [esp + 8], 0x80
je 0x446b36
and eax, 0xfffffffe
jmp 0x446b39
or eax, 1
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x446b59
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004478ab
pop ecx
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x44852c
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x18
push 0x461d00
call fcn.0044dd3c
mov edi, 0x94
mov eax, edi
call fcn.00446b60
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x46f8cc], ecx
mov eax, dword [esi + 4]
mov dword [0x46f8d8], eax
mov edx, dword [esi + 8]
mov dword [0x46f8dc], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x46f8d0], esi
cmp ecx, 2
je 0x44858c
or esi, 0x8000
mov dword [0x46f8d0], esi
shl eax, 8
add eax, edx
mov dword [0x46f8d4], eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x4485c5
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4485c5
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4485dd
cmp eax, 0x20b
je 0x4485ca
mov dword [ebp - 0x1c], edi
jmp 0x4485f1
cmp dword [ecx + 0x84], 0xe
jbe 0x4485c5
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x4485eb
cmp dword [ecx + 0x74], 0xe
jbe 0x4485c5
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0044f99d
pop ecx
test eax, eax
jne 0x448605
push 0x1c
call fcn.00448508
pop ecx
call fcn.0044e9a9
test eax, eax
jne 0x448616
push 0x10
call fcn.00448508
pop ecx
call fcn.00451a42
mov dword [ebp - 4], edi
call fcn.00450e14
test eax, eax
jge 0x44862f
push 0x1b
call fcn.004484e3
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x471124], eax
call fcn.00451920
mov dword [0x46f7d4], eax
call fcn.0045187e
test eax, eax
jge 0x448655
push 8
call fcn.004484e3
pop ecx
call fcn.0045164b
test eax, eax
jge 0x448666
push 9
call fcn.004484e3
pop ecx
push 1
call fcn.0044be2c
pop ecx
mov dword [ebp - 0x24], eax
cmp eax, edi
je 0x44867c
push eax
call fcn.004484e3
pop ecx
mov eax, dword [0x46f8ec]
mov dword [0x46f8f0], eax
push eax
push dword [0x46f8e4]
push dword [0x46f8e0]
call section..text
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x28], esi
cmp dword [ebp - 0x1c], edi
jne 0x4486ab
push esi
call fcn.0044bf59
call fcn.0044bf7b
jmp 0x4486dd
or dword [ebp - 4], 0xffffffff
mov eax, esi
lea esp, [ebp - 0x34]
call fcn.0044dd77
ret
Function at 0x44be96
Capabilities:
Terminate process

Disassembly:
push 8
push 0x4621b0
call fcn.0044dd3c
push 8
call fcn.0044dd0a
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x46f90c], esi
jne 0x44beca
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x46f908], esi
mov al, byte [ebp + 0x10]
mov byte [0x46f904], al
cmp dword [ebp + 0xc], edi
jne 0x44bf14
cmp dword [0x4700f4], edi
je 0x44bf04
mov eax, dword [0x4700f0]
sub eax, 4
mov dword [0x4700f0], eax
cmp eax, dword [0x4700f4]
jb 0x44bf04
mov eax, dword [eax]
cmp eax, edi
je 0x44bee5
call eax
jmp 0x44bee5
push 0x46b080
mov eax, 0x46b074
call fcn.0044be14
pop ecx
push 0x46b08c
mov eax, 0x46b084
call fcn.0044be14
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x44bf45
cmp dword [ebp + 0x10], edi
jne 0x44bf53
mov dword [0x46f90c], esi
push dword [ebp + 8]
call fcn.0044bdd2
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x44bf52
push 8
call fcn.0044dc55
pop ecx
ret
call fcn.0044dd77
ret