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

Disassembly:
push 0xffffffffffffffff
push 0x46ec08
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.00466091
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00436380
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.00465fbf
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.004627a9
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.004627a9
push 1
push 0
push 0
mov ecx, esi
call fcn.00462751
push 1
push 0
push 1
mov ecx, esi
call fcn.00462751
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00466103
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x436b60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46ec28
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.00466091
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00436380
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.00465fbf
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 0x436c24
cmp dword [esp + 0x40], 1
jne 0x436c22
cmp ecx, eax
jge 0x436c24
mov eax, ecx
cmp eax, 0xc8
jge 0x436c30
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004369e0
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.00466103
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4373a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46ec93
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.00460bc7
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.00466339
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00467891
test eax, eax
je 0x4374bc
mov ecx, dword [esp + 0x3c]
call fcn.00466366
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 0x437480
push edi
mov ecx, esi
call fcn.00463924
mov ecx, esi
call fcn.00437620
cmp dword [esp + 0x38], 1
jne 0x4374b5
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.00463a8e
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 0x439ed0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x439f03
push esi
call fcn.0043cfe0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x439efc
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 0x439f89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x439f72
mov eax, dword [esi + 8]
test eax, eax
je 0x439f27
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 0x439f6e
cmp eax, 2
je 0x439f72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x439f1a
cmp eax, 3
je 0x439f4d
cmp eax, 1
jne 0x439f1a
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 0x439f1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x439f1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00439fb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x439f98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00439fb0
add esp, 4
pop esi
ret

Function at 0x4619bc
Capabilities:
Get graphical window text

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

Function at 0x4630ad
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 0x4630ef
call fcn.00468d9d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4630ef
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4630e6
xor eax, eax
jmp 0x4630f7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004630fd
pop edi
pop esi
pop ebx
ret 4

Function at 0x4692cd
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 0x4692fb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x469319
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00469233
jmp 0x469319
mov eax, dword [esi + 0x14]
test eax, eax
je 0x469319
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00469233
test edi, edi
mov eax, edi
jne 0x469303
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x669225
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push dx
lea esp, [esp + 2]
lea esp, [esp + 4]
jmp 0x66923d
pushfd
mov byte [esp], cl
push dword [esp]
lea esp, [esp + 5]
lea esp, [esp + 1]
jmp 0x6a9d11

Function at 0x694018
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call fcn.00669225
jmp 0x669260

Function at 0x69401d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushfd
lea esp, [esp + 4]
pushal
lea esp, [esp + 0x20]
jmp fcn.006691f0

Function at 0x69402c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
pushal
lea esp, [esp + 0x20]
pushfd
lea esp, [esp + 4]
jmp fcn.006691f0

Function at 0x694116
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea edi, [edx*4]
push ax
lea esp, [esp + 2]
pop edx
pushfd
lea edi, [edx + ebx]
mov di, word [esp + 1]
mov ch, 0x3f
lea ecx, [ebp - 0xa1]
push word [esp + 1]
xchg byte [esp + 4], ch
jmp 0x69428e
xchg cl, ch
bswap ecx
bswap cx
bswap cx
push edi
mov ecx, dword [esp]
push ax
lea ecx, reloc.RASAPI32.dll_RasGetConnectStatusA
mov byte [esp], dl
bswap cx
mov di, 0x12be
not ecx
bswap edi
push esp
bswap ecx
mov ecx, dword [esp + 2]
xchg byte [esp + 1], cl
lea esp, [esp + 2]
mov dword [esp], edx
mov edx, esp
mov edi, dword [esp]
xchg dx, di
lea edx, [ebp*4]
lea edi, [esp + ebp]
lea edx, [edi*4]
mov dl, byte [esp]
jmp 0x694079
push si
lea esp, [esp + 1]
mov byte [esp], ah
mov byte [esp], bh
lea esp, [esp]
mov byte [esp], dl
lea esp, [esp]
mov byte [esp], dl
pushfd
lea esp, [esp + 1]
mov dword [esp], ecx
mov cl, 0x12
mov ecx, 0x481d49e3
lea ecx, reloc.RASAPI32.dll_RasGetConnectStatusA
mov cx, word [esp]
xchg cl, ch
xchg ch, cl
mov cx, word [esp]
lea ecx, [eax + eax]
jmp 0x6940b1
mov cx, 0x9d4
lea ecx, [ecx + edx]
lea esp, [esp]
mov word [esp + 1], dx
lea esp, [esp + 2]
mov edi, dword [esp + 4]
mov ecx, dword [esp]
mov ch, byte [esp]
setbe ch
mov ecx, 0x243606c2
mov cx, 0x67ad
lea ecx, [ecx + esi]
mov ecx, dword [esp]
lea ecx, [ecx - 0x3a]
mov ecx, dword [esp + 8]
lea esp, [esp + 0xc]
pushfd
lea esp, [esp + 4]
jmp fcn.006691f0
Function at 0x4025d5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438330
push 0x433f28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
call sub.MSVCRT.dll_malloc
pop ecx
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x402665
push dword [ebp + 8]
push edi
call dword [0x4444a8]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp byte [edi], 0x5c
jne 0x4025cc
lea eax, [edi + 1]
cmp byte [eax], 0x5c
jne 0x4025cc
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x4025a7
cmp al, 0x5c
je 0x4025a7
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x40258f
cmp byte [esi], 0
je 0x4025b0
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x4025c5
cmp al, 0x5c
je 0x4025c5
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
jmp 0x4025ad
cmp byte [esi], 0
je 0x4025eb
jmp 0x4025e7
lea eax, [edi + 1]
cmp byte [eax], 0x3a
jne 0x4025eb
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
mov al, byte [esi]
test al, al
je 0x4025eb
cmp al, 0x5c
jne 0x4025eb
inc esi
mov dword [ebp - 0x1c], esi
or ebx, 0xffffffff
mov al, byte [esi]
test al, al
je 0x402647
cmp al, 0x5c
jne 0x402639
and byte [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x402623
push 0
push edi
call dword [0x4444a4]
test eax, eax
jne 0x402636
call dword [0x4444a0]
cmp eax, 0xb7
jmp 0x402628
and eax, 0x10
cmp al, 0x10
je 0x402636
push edi
call sub.MSVCRT.dll_free
pop ecx
mov dword [ebp - 4], ebx
jmp 0x402669
mov byte [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextA]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x4025ee
mov dword [ebp - 4], ebx
push edi
call sub.MSVCRT.dll_free
pop ecx
mov al, 1
jmp 0x40266b
or dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4026b9
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x36c
push ebx
push esi
mov esi, 0x104
push edi
xor ebx, ebx
push esi
lea eax, [ebp - 0x178]
push ebx
push eax
mov dword [ebp - 0x20], esi
call sub.MSVCRT.dll_memset
push 0x2e
push dword [ebp + 8]
call sub.MSVCRT.dll_strrchr
add esp, 0x14
cmp eax, ebx
je 0x40273d
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push ebx
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40273d
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push eax
lea eax, [ebp - 0x178]
push eax
push ebx
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1f4
lea eax, [ebp - 0x36c]
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x36c]
push str._s_shellopencommand
push eax
call dword [0x44449c]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0xf003f
lea eax, [ebp - 0x36c]
push ebx
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402744
xor al, al
jmp 0x40285d
push esi
lea eax, [ebp - 0x178]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
lea eax, [ebp - 0x178]
push eax
push ebx
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 0x22
push eax
lea eax, [ebp - 0x178]
push eax
mov byte [ebp - 0xb], 0x25
mov byte [ebp - 0xa], 0x31
mov byte [ebp - 9], bl
mov byte [ebp - 8], 0x25
mov byte [ebp - 7], 0x31
mov byte [ebp - 6], bl
call sub.MSVCRT.dll_strstr
pop ecx
cmp eax, ebx
pop ecx
jne 0x4027dc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x178]
push eax
call sub.MSVCRT.dll_strstr
pop ecx
cmp eax, ebx
pop ecx
jne 0x4027dc
lea eax, [ebp - 0x178]
push 0x442528
push eax
call dword [0x444498]
push dword [ebp + 8]
lea eax, [ebp - 0x178]
push eax
call dword [0x444498]
jmp 0x4027e6
push dword [ebp + 8]
push eax
call dword [0x4444a8]
push 0x10
xor eax, eax
cmp dword [ebp + 0xc], ebx
pop ecx
lea edi, [ebp - 0x70]
mov byte [ebp - 0x1c], 0x57
rep stosd dword es:[edi], eax
mov dword [ebp - 0x74], 0x44
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x6e
mov byte [ebp - 0x19], 0x53
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x30
mov byte [ebp - 0x15], 0x5c
mov byte [ebp - 0x14], 0x44
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x66
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], bl
je 0x402841
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x178]
push ebx
push eax
push ebx
call dword [0x444494]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x402821
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x36c
push ebx
push esi
mov esi, 0x104
push edi
xor ebx, ebx
push esi
lea eax, [ebp - 0x178]
push ebx
push eax
mov dword [ebp - 0x20], esi
call sub.MSVCRT.dll_memset
push 0x2e
push dword [ebp + 8]
call sub.MSVCRT.dll_strrchr
add esp, 0x14
cmp eax, ebx
je 0x40273d
lea ecx, [ebp - 4]
push ecx
push 0xf003f
push ebx
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40273d
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push eax
lea eax, [ebp - 0x178]
push eax
push ebx
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1f4
lea eax, [ebp - 0x36c]
push ebx
push eax
call sub.MSVCRT.dll_memset
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x36c]
push str._s_shellopencommand
push eax
call dword [0x44449c]
add esp, 0x18
lea eax, [ebp - 4]
push eax
push 0xf003f
lea eax, [ebp - 0x36c]
push ebx
push eax
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402744
xor al, al
jmp 0x40285d
push esi
lea eax, [ebp - 0x178]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
lea eax, [ebp - 0x178]
push eax
push ebx
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 0x22
push eax
lea eax, [ebp - 0x178]
push eax
mov byte [ebp - 0xb], 0x25
mov byte [ebp - 0xa], 0x31
mov byte [ebp - 9], bl
mov byte [ebp - 8], 0x25
mov byte [ebp - 7], 0x31
mov byte [ebp - 6], bl
call sub.MSVCRT.dll_strstr
pop ecx
cmp eax, ebx
pop ecx
jne 0x4027dc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x178]
push eax
call sub.MSVCRT.dll_strstr
pop ecx
cmp eax, ebx
pop ecx
jne 0x4027dc
lea eax, [ebp - 0x178]
push 0x442528
push eax
call dword [0x444498]
push dword [ebp + 8]
lea eax, [ebp - 0x178]
push eax
call dword [0x444498]
jmp 0x4027e6
push dword [ebp + 8]
push eax
call dword [0x4444a8]
push 0x10
xor eax, eax
cmp dword [ebp + 0xc], ebx
pop ecx
lea edi, [ebp - 0x70]
mov byte [ebp - 0x1c], 0x57
rep stosd dword es:[edi], eax
mov dword [ebp - 0x74], 0x44
mov byte [ebp - 0x1b], 0x69
mov byte [ebp - 0x1a], 0x6e
mov byte [ebp - 0x19], 0x53
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x17], 0x61
mov byte [ebp - 0x16], 0x30
mov byte [ebp - 0x15], 0x5c
mov byte [ebp - 0x14], 0x44
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x66
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], bl
je 0x402841
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x178]
push ebx
push eax
push ebx
call dword [0x444494]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x402e85
Capabilities:
Send data
Send data on socket

Disassembly:
lea eax, [esp + 4]
push 1
push eax
call fcn.00405ed6
ret 4
Function at 0x405bc9
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, 0x4348a0
call fcn.00433eb4
push ecx
push ebx
push esi
push dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00405e7b
xor ebx, ebx
mov dword [esi], 0x438344
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 4], ebx
je 0x405ba1
push dword [ebp + 0x10]
push 0x444818
call dword [0x4444fc]
push dword [ebp + 0xc]
lea eax, [esi + 0x10]
push eax
call dword [0x4444fc]
mov eax, dword [ebp + 0x14]
push 1
push ebx
push ebx
push dword [ebp + 8]
mov dword [0x442560], eax
mov dword [esi + 0x9d50], ebx
mov byte [esi + 0x9d54], bl
push 0x403a0e
push ebx
push ebx
call fcn.00409833
mov ecx, dword [esi + 0x9d50]
add esp, 0x1c
mov dword [esi + ecx*4 + 0x110], eax
inc dword [esi + 0x9d50]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x40767e
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 0x14]
push edi
mov edi, ecx
push eax
mov dword [ebp - 0x14], 0x14
call dword [sym.imp.USER32.dll_GetCursorInfo]
test eax, eax
je 0x407679
cmp dword [ebp - 0x10], 1
jne 0x407679
mov ecx, dword [ebp - 0xc]
push esi
xor esi, esi
lea eax, [edi + 0x44]
cmp ecx, dword [eax]
je 0x407663
inc esi
add eax, 4
cmp esi, 0x10
jl 0x407656
push ecx
call dword [sym.imp.USER32.dll_DestroyCursor]
cmp esi, 0x10
jne 0x407674
or eax, 0xffffffff
jmp 0x407676
mov eax, esi
pop esi
jmp 0x40767c
or eax, 0xffffffff
pop edi
leave
ret
Function at 0x424529
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00424480
add esp, 0xc
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x424558
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3c], 0
jne 0x424568
mov eax, 0xea62
jmp 0x4245d6
push 0xf8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.00424480
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x4550
je 0x424595
mov eax, 0xea62
jmp 0x4245d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 4]
cmp ecx, 0x14c
je 0x4245ad
mov eax, 0xea65
jmp 0x4245d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x16]
test ch, 0x10
je 0x4245c2
mov eax, 0xea66
jmp 0x4245d6
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x74], 0x10
jbe 0x4245d2
mov eax, 0xea67
jmp 0x4245d6
xor eax, eax
jmp 0x4245d6
Function at 0x403ec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x403ecf
pop dword [ebp - 0x38]
mov eax, 0xd5764c2c
add eax, 0x2ac9f2a3
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x13838bba
add dword [ebp - 0x48], 0x3aceb991
mov dword [ebp - 0x44], 0x5f9c4178
sub dword [ebp - 0x44], 0x2d68f533
mov dword [ebp - 0x40], 0x54d799d4
sub dword [ebp - 0x40], 0x88b55a6
mov dword [ebp - 0x3c], 0xe704d6ae
add dword [ebp - 0x3c], 0x18fb2952
lea eax, [ebp - 0x48]
push eax
mov eax, 0xd5173f4b
add eax, 0x2b2a214d
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x76704898
add dword [ebp - 0x48], 0xfe0220be
mov dword [ebp - 0x44], 0xa5557f36
sub dword [ebp - 0x44], 0x63e91dc1
mov dword [ebp - 0x40], 0x2f6a5204
add dword [ebp - 0x40], 0x34051a68
mov dword [ebp - 0x3c], 0x3d5c90be
sub dword [ebp - 0x3c], 0x3d5c90be
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x3c13a1a1
sub eax, 0x3bd2412d
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3bf1e
push 0
call eax
mov ecx, 0x4bc6
mov esi, eax
mov edi, 0x42a600
add edi, dword [ebp - 0x38]
mov edx, 0x280177a4
xor dword [ebp - 0x2c], 0x7c7b7405
mov ebx, dword [edi]
sub dword [ebp - 0x10], esi
add ebx, edx
add dword [ebp - 0x30], 0xf548aa4b
mov dword [esi], ebx
mov dword [ebp - 0x2c], 0xd6c75b33
add esi, 4
add edi, 0x7e0db8fd
add edi, 0x81f24707
loop 0x403fdf
add eax, 0x633822d5
add eax, 0x9cc8ff16
mov ebx, eax
add eax, 5
mov ecx, 0x42a80328
add ecx, 0xbd97fcd8
add ecx, dword [ebp - 0x38]
call ebx
leave
ret