joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457580
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.004576d0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x4575a0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x457581
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.004576d0
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x4575a0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x4575d0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x457627
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x45763d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.00457660
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x457660
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x4576f0
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 0x457739
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 0x457bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47b290
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.00457760
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004577e0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004577e0
lea ecx, [esi + 0xc]
call fcn.0046c816
lea ecx, [esi + 0x10]
call fcn.0046c816
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045a010
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045a010
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045a010
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0046c88b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0046c88b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x458858
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47b4b8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x458868
call fcn.00458d80
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x45894b
cmp byte [edi], 0
je 0x45894b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x45888d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00457580
test eax, eax
jne 0x4588ad
push 0x4bd7e8
lea ecx, [esi + 0x38]
call fcn.0046c9c8
jmp 0x45894b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.004575d0
test eax, eax
jne 0x4588dc
mov ecx, esi
call fcn.004576d0
push edi
add esi, 0x38
push 0x4bd7c4
push esi
call fcn.0046a827
add esp, 0xc
jmp 0x45894b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.00459600
test eax, eax
je 0x458944
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.00458a20
test eax, eax
jne 0x458960
push edi
lea eax, [esi + 0x38]
push 0x4bd7a0
push eax
call fcn.0046a827
add esp, 0xc
mov ecx, esi
call fcn.00458d80
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x458a08
mov ecx, dword [0x4bdac8]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0046a827
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00457680
test eax, eax
jne 0x4589ca
push 0x4bd784
lea ecx, [esi + 0x38]
call fcn.0046c9c8
jmp 0x4589da
push 0xfa
mov ecx, esi
call fcn.00459600
test eax, eax
jne 0x4589f7
mov ecx, esi
call fcn.00458d80
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0046c88b
jmp 0x45894b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0046c88b
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x46ec32
Capabilities:
Get graphical window text

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

Function at 0x470320
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 0x470362
call fcn.00475ee1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x470362
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x470359
xor eax, eax
jmp 0x47036a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00470370
pop edi
pop esi
pop ebx
ret 4

Function at 0x476411
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 0x47643f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47645d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00476377
jmp 0x47645d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47645d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00476377
test edi, edi
mov eax, edi
jne 0x476447
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x409850
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1004
call fcn.00409d90
mov eax, dword [0x413ec0]
push ebx
mov ebx, dword [esp + 0x100c]
push ebp
xor ebp, ebp
push esi
cmp ebx, eax
push edi
jae 0x4099b2
mov eax, ebx
mov ecx, ebx
sar eax, 5
and ecx, 0x1f
mov edx, dword [eax*4 + 0x413dc0]
test byte [edx + ecx*8 + 4], 1
je 0x4099b2
push 1
push ebp
push ebx
call fcn.00408780
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x4099bc
push 2
push ebp
push ebx
call fcn.00408780
add esp, 0xc
cmp eax, 0xffffffff
je 0x4099bc
mov ecx, dword [esp + 0x101c]
mov esi, ecx
sub esi, eax
test esi, esi
jle 0x409958
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x14]
push 0x8000
rep stosd dword es:[edi], eax
push ebx
call fcn.00409d10
add esp, 8
mov edi, eax
cmp esi, 0x1000
mov eax, 0x1000
jge 0x4098ff
mov eax, esi
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00406e80
add esp, 0xc
cmp eax, 0xffffffff
je 0x40991b
sub esi, eax
test esi, esi
jle 0x409931
jmp 0x4098f0
cmp dword [0x412ac4], 5
jne 0x40992e
mov dword [0x412ac0], 0xd
or ebp, 0xffffffff
push edi
push ebx
call fcn.00409d10
mov edi, dword [esp + 0x18]
add esp, 8
push 0
push edi
push ebx
call fcn.00408780
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
jge 0x409999
push 0
push ecx
push ebx
call fcn.00408780
add esp, 0xc
push ebx
call fcn.00408da0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ebp, eax
neg ebp
sbb ebp, ebp
neg ebp
dec ebp
cmp ebp, 0xffffffff
jne 0x409999
mov dword [0x412ac0], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x412ac4], eax
push 0
push edi
push ebx
call fcn.00408780
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
mov dword [0x412ac0], 9
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1004
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x1001ed6
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001398
call fcn.010020d8
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1001f13
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001f13
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1001f2b
cmp eax, 0x20b
je 0x1001f18
mov dword [ebp - 0x1c], ebx
jmp 0x1001f3f
cmp dword [ecx + 0x84], 0xe
jbe 0x1001f13
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1001f39
cmp dword [ecx + 0x74], 0xe
jbe 0x1001f13
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x100323c], 0xffffffff
or dword [0x1003240], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1003238]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1003234]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1003244], eax
call fcn.010020d0
cmp dword [0x1003224], ebx
jne 0x1001f9a
push fcn.010020d0
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010020b9
push 0x1003010
push 0x100300c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1003230]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x100322c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1003008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
cmp byte [esi], 0x22
jne 0x1002030
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1002004
cmp al, 0x22
jne 0x1001ff6
cmp byte [esi], 0x22
jne 0x100200d
inc esi
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, bl
je 0x1002017
cmp al, 0x20
jbe 0x1002009
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x54], 1
je 0x100203b
movzx eax, word [ebp - 0x50]
jmp 0x100203e
cmp byte [esi], 0x20
jbe 0x100200d
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1002030
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call main
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x100205b
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1002090
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01002113
ret

Function at 0x1007729
Capabilities:
Terminate process

Disassembly:
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [0x100408c]
mov ecx, eax
cmp ecx, edx
jae 0x1007758
sub eax, edx
push esi
dec eax
xor edx, edx
mov esi, 0x3e8
div esi
mov dword [0x100408c], ecx
pop esi
add dword [0x1004084], eax
xor eax, eax
ret
sub ecx, edx
mov eax, ecx
ret
Function at 0x1007762
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push esi
call fcn.01007729
xor edx, edx
mov ecx, 0x3e8
div ecx
mov esi, eax
add esi, dword [0x1004084]
call fcn.01008da5
sub esi, eax
push 0x15180
push esi
call dword [fcn.01001130]
test edx, edx
pop ecx
pop ecx
mov esi, eax
je 0x1007799
lea esi, [eax + 1]
call fcn.01008cc0
sub eax, esi
pop esi
ret
Function at 0x100886d
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
lea ecx, [ebp - 4]
call fcn.010082e9
push 0x2001f
push dword [0x1004024]
lea ecx, [ebp - 4]
push 0x80000001
call fcn.010082f4
test al, al
je 0x1008940
push esi
push edi
mov esi, 0x208
push esi
call fcn.0100906e
mov edi, eax
test edi, edi
pop ecx
je 0x100893e
push 0x104
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1008937
push esi
call fcn.0100906e
mov esi, eax
test esi, esi
pop ecx
mov dword [ebp - 8], esi
je 0x1008937
push ebx
push 6
call fcn.0100906e
mov ebx, eax
test ebx, ebx
pop ecx
je 0x100892d
push 0
push 0
push esi
push ebx
push edi
call dword [fcn.0100111c]
add esp, 0x14
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push edi
call esi
push dword [0x100402c]
push edi
call esi
push edi
push dword [0x1004028]
lea ecx, [ebp - 4]
call fcn.01008414
push ebx
call fcn.01009062
pop ecx
push dword [ebp - 8]
call fcn.01009062
pop ecx
pop ebx
push edi
call fcn.01009062
pop ecx
pop edi
pop esi
lea ecx, [ebp - 4]
call fcn.01008485
leave
ret

Function at 0x100d0b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push ebx
push edi
xor ebx, ebx
push sym.imp.KERNEL32.dll_CreateSemaphoreW
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
pop ecx
pop ecx
push 0x1002018
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edi, eax
cmp edi, ebx
je 0x100d128
push esi
push 0x1002010
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
cmp esi, ebx
je 0x100d120
cmp dword [ebp + 0x10], ebx
je 0x100d10c
push 0x100
push dword [ebp + 0x10]
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 0xc
push dword [ebp + 0x14]
lea eax, [ebp - 0x200]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov ebx, eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret 0x10
Function at 0x1012ced
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and word [ebp - 0x208], 0
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
xor eax, eax
mov ecx, 0x81
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 0xc]
cmp byte [edi], 0x22
push edi
jne 0x1012d3c
call esi
dec eax
push eax
inc edi
push edi
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
jmp 0x1012d45
lea eax, [ebp - 0x208]
push eax
call ebx
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, 0xffffffff
lea eax, [ebp - 0x208]
je 0x1012d69
mov dword [0x1009920], 1
jmp 0x1012db4
push 0x100116c
push eax
call ebx
lea eax, [ebp - 0x208]
push eax
call esi
mov ecx, 0x208
sub ecx, eax
push ecx
lea eax, [ebp - 0x208]
push eax
call esi
lea eax, [ebp + eax - 0x208]
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push 0x100115c
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.01012c80
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x63366e
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80

Function at 0x4021b2
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
sub ebp, 0x82
mov esi, eax
mov cl, byte [0x404050]
mov edx, eax
mov ebx, eax
shl edx, cl
mov eax, 0x404054
add edx, dword [0x404050]
call fcn.004020f3
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
or al, 0x40
mov edi, 0x4039aa
push eax
sub edi, fcn.00403144
push edi
push fcn.00403144
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x402229
mov eax, fcn.00403144
mov ebx, esi
mov edx, edi
call fcn.004020f3
mov edx, 0x1c000
mov eax, 0x404054
mov ebx, esi
call fcn.00402d42
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 0
call fcn.0040151f
lea eax, [esi + 0x1c000]
lea edi, [esi + 1]
imul edi, eax
mov ebx, 0x404054
or bl, 1
xor edx, edx
mov eax, esi
div ebx
lea ebx, [ebp - 2]
add eax, 0x404054
mov edx, edi
call fcn.00403144
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x410039
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.00485794
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.00485794
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x4100b5
mov eax, dword [0x7fcb60]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 0x32
call fcn.004857ac
cmp dword [ebp - 0x18], esp
je 0x4100e1
push 6
call fcn.004857a6
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0x37
call fcn.004857ac
cmp dword [ebp - 0x18], esp
je 0x41010f
push 6
call fcn.004857a6
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 0x38
call fcn.004857ac
cmp dword [ebp - 0x18], esp
je 0x41013b
push 6
call fcn.004857a6
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x39
call fcn.004857ac
cmp dword [ebp - 0x18], esp
je 0x4101ca
push 6
call fcn.004857a6
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0x3a
call fcn.004857ac
cmp dword [ebp - 0x18], esp
je 0x4101ef
push 6
call fcn.004857a6
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x4101f7
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0048579a
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0048579a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4951e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x51b5cb
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.0050d69b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x495262
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0050a99d
mov eax, dword [eax]
push 0x7ed254
push eax
call fcn.004fc994
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0050d926
test bl, bl
je 0x495262
push 0x7ed254
lea ecx, [esp + 0xc]
call fcn.0050dd02
push 0x7f0df0
lea ecx, [esp + 0xc]
call fcn.0050dd02
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 0x49529e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0050d926
jmp 0x495369
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 0x495322
lea edx, [esp + 0x7c]
push 0x7f0dec
push edx
call fcn.004fc994
add esp, 8
test eax, eax
je 0x495322
lea eax, [esp + 0x7c]
push 0x7f0de8
push eax
call fcn.004fc994
add esp, 8
test eax, eax
je 0x495322
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 0x4952b2
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.0050d926
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 0x4965c0
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 0x496622
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