joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e5770
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x537018
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 0x4e57a9
inc eax
mov dword [esi + 0x10], eax
jmp 0x4e58bc
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x4e57bd
mov eax, 0xffffffc7
jmp 0x4e58be
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x4e57ce
cmp dword [esi + 8], eax
jne 0x4e57bd
cmp dword [esi + 8], eax
jne 0x4e57e7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4e57e7
mov eax, 0xffffffc7
jmp 0x4e58be
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4e57fb
push eax
mov ecx, ebx
call fcn.004e4fa0
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.004b9480
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4e582c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004b94a0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004e4710
test eax, eax
mov dword [esp + 0x38], eax
je 0x4e585f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x571bc0
call fcn.004b9680
mov eax, dword [esp + 0x38]
jmp 0x4e58be
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004e55d0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x4e58a3
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004e55f0
mov esi, eax
test esi, esi
jne 0x4e58d3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004e55d0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4e5875
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x571bc0
call fcn.004b9680
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], 0x571bc0
call fcn.004b9680
mov eax, esi
jmp 0x4e58be

Function at 0x4e8970
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4e89d0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4e89d0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4e89d0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4e89d0
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 0x4e8a10
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 0x4f4ef0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x537648
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.00530352
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004f4890
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.00530280
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.0052cb3e
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.0052cb3e
push 1
push 0
push 0
mov ecx, esi
call fcn.0052cae6
push 1
push 0
push 1
mov ecx, esi
call fcn.0052cae6
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005303c4
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4f5070
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x537668
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.00530352
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004f4890
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.00530280
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 0x4f5134
cmp dword [esp + 0x40], 1
jne 0x4f5132
cmp ecx, eax
jge 0x4f5134
mov eax, ecx
cmp eax, 0xc8
jge 0x4f5140
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004f4ef0
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.005303c4
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4f58c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5376d3
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.0052af5e
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.005305fa
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00531b16
test eax, eax
je 0x4f59dc
mov ecx, dword [esp + 0x3c]
call fcn.00530627
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 0x4f59a0
push edi
mov ecx, esi
call fcn.0052dc85
mov ecx, esi
call fcn.004f5b40
cmp dword [esp + 0x38], 1
jne 0x4f59d5
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.0052ddc0
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 0x4f8410
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4f8443
push esi
call fcn.00506750
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4f843c
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 0x4f84c9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4f84b2
mov eax, dword [esi + 8]
test eax, eax
je 0x4f8467
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 0x4f84ae
cmp eax, 2
je 0x4f84b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4f845a
cmp eax, 3
je 0x4f848d
cmp eax, 1
jne 0x4f845a
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 0x4f845a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4f845a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004f84f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4f84d8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004f84f0
add esp, 4
pop esi
ret

Function at 0x4f8d60
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4f8d81
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4f8d81
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4f8d81
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x512ff0
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 0x513056
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 0x513056
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x513037
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x5133e0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x513418
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 0x514090
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 0x5140d9
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 0x514550
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x537bd0
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.00514100
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00514180
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00514180
lea ecx, [esi + 0xc]
call fcn.00529938
lea ecx, [esi + 0x10]
call fcn.00529938
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00515710
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00515710
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00515710
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.005299ad
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.005299ad
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x52bd54
Capabilities:
Get graphical window text

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

Function at 0x52d442
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 0x52d484
call fcn.005331b7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x52d484
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x52d47b
xor eax, eax
jmp 0x52d48c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0052d492
pop edi
pop esi
pop ebx
ret 4

Function at 0x5336e7
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 0x533715
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x533733
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0053364d
jmp 0x533733
mov eax, dword [esi + 0x14]
test eax, eax
je 0x533733
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0053364d
test edi, edi
mov eax, edi
jne 0x53371d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x5e5bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5e5bdb
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124aae00]
pop edx
test eax, eax
je 0x5e5cad
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5e5c9c
test dword [ebp - 0x2a8], 1
jne 0x5e5c9c
and dword [ebp - 0x2a8], 0x100
jne 0x5e5c9c
push esi
push edx
push 4
push esi
call dword [edx + 0x122d2ab9]
pop edx
pop esi
test eax, eax
je 0x5e5c3f
jmp 0x5e5c9c
cmp word [esi], 0x5a4d
jne 0x5e5c9c
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5e5c9c
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d2da1]
pop edx
test eax, eax
je 0x5e5c9c
lea eax, [ebp - 0x28c]
push eax
call fcn.005e5b1c
test eax, eax
jne 0x5e5c95
jmp 0x5e5c9c
mov eax, esi
jmp 0x5e5cad
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5e5bdb
pop esi
leave
ret 4
Function at 0x42b3d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push 0x47fd58
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42b43b
mov dword [ebp - 0x14], 4
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b43b
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x42bf70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push 0x47fd58
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x42bfdb
mov dword [ebp - 0x14], 4
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42bfdb
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x432a6a
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fbc
push ebx
push esi
push edi
push esi
push esi
add esp, 4
sub esi, 0x9ff2
pop esi
push esi
add esi, 0x62f9
or esi, 0x5f7b
sub esi, 0xfb7d
add esi, 0x2376
pop esi
push ebx
push esi
add esp, 4
add ebx, 0xfe00
pop ebx
mov eax, 0x4d
mov word [ebp - 0x1ef4], ax
mov ecx, 0x42
mov word [ebp - 0x1ef2], cx
mov edx, 0x53
mov word [ebp - 0x1ef0], dx
mov eax, 0x65
mov word [ebp - 0x1eee], ax
mov ecx, 0x72
mov word [ebp - 0x1eec], cx
mov edx, 0x76
mov word [ebp - 0x1eea], dx
mov eax, 0x69
mov word [ebp - 0x1ee8], ax
mov ecx, 0x63
mov word [ebp - 0x1ee6], cx
mov edx, 0x65
mov word [ebp - 0x1ee4], dx
mov eax, 0x2e
mov word [ebp - 0x1ee2], ax
mov ecx, 0x65
mov word [ebp - 0x1ee0], cx
mov edx, 0x78
mov word [ebp - 0x1ede], dx
mov eax, 0x65
mov word [ebp - 0x1edc], ax
xor ecx, ecx
mov word [ebp - 0x1eda], cx
mov dword [ebp - 0xfac], 1
push eax
xor eax, 0x11083
and eax, 0x159dc
sub eax, 0x4033
xor eax, 0x59a9
pop eax
push eax
push ecx
add esp, 4
or eax, 0x7b20
pop eax
push ecx
push ecx
add esp, 4
or ecx, 0x4339
pop ecx
imul edx, dword [ebp - 0xfac], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0xfac], 0x138
sub edx, eax
xor edx, 0xabe912
imul edx, dword [ebp - 0xfac]
imul ecx, dword [ebp - 0xfac], 0x138
sub edx, ecx
mov dword [ebp - 0xfb0], edx
push esi
xor esi, 0x1c78
or esi, 0xe08b
pop esi
push esi
push eax
add esp, 4
xor esi, 0xcf4
or esi, 0x105a3
and esi, 0x60a1
pop esi
push eax
push edi
add esp, 4
sub eax, 0x6150
pop eax
mov dword [ebp - 0x10], 1
push ecx
push edx
add esp, 4
xor ecx, 0x17a5e
jmp 0x432c0d
xor ecx, 0x5a2a
pop ecx
push eax
jmp 0x432c1c
xor eax, 0xb214
or eax, 0x15129
or eax, 0xbbe5
pop eax
imul edx, dword [ebp - 0x10], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x10], 0x138
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0x138
sub edx, ecx
mov dword [ebp - 0x14], edx
push edi
push ebx
add esp, 4
xor edi, 0x2141
add edi, 0x3616
pop edi
push ecx
sub ecx, 0x41e
pop ecx
push ecx
push esi
add esp, 4
or ecx, 0x286a
add ecx, 0xd6a9
or ecx, 0x16cd8
pop ecx
push ecx
push eax
add esp, 4
call fcn.00432ca1
add byte [esi + 0x46], cl
inc ebp
aas
xor esi, dword [edi]
inc ebx
inc ecx
inc esp

Function at 0x432ca1
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ecx
push ebx
push edx
add esp, 4
or ebx, 0x180ea
pop ebx
push ebx
xor ebx, 0x11957
add ebx, 0x1cbd
pop ebx
mov dword [ebp - 0x2c], 1
push edi
jmp 0x432cd0
and edi, 0x40f9
pop edi
push edx
or edx, 0x8658
sub edx, 0x57c
pop edx
push ebx
and ebx, 0x3c0b
pop ebx
push ecx
jmp 0x432cf7
pop ecx
imul edx, dword [ebp - 0x2c], 0x138
add edx, 0x44f3644b
imul eax, dword [ebp - 0x2c], 0x138
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0x138
sub edx, ecx
mov dword [ebp - 0x30], edx
jmp 0x432ed9
Function at 0x436e5e
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop eax
push ebx
add ebx, 0x3169
pop ebx
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x2e0], eax
jmp 0x436ee0
Function at 0x4377c9
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop ecx
mov ecx, dword [ebp - 0x18b0]
mov dword [ebp - 0x18b4], ecx
lea edx, [ebp - 0x1628]
push edx
call dword [ebp - 0x18b4]
test eax, eax
jne 0x43782b
push edi
push eax
add esp, 4
and edi, 0x11958
and edi, 0x147d9
xor edi, 0xf0bc
pop edi
push eax
push eax
add esp, 4
or eax, 0xadb9
pop eax
push ecx
xor ecx, 0x179de
or ecx, 0x97bd
pop ecx
mov dword [ebp - 0x738], 0
jmp 0x437f15
Function at 0x4a15ec
Capabilities:
Encode data using xor

Disassembly:
xor eax, 0x9767a8f7
inc ebx
insb byte es:[edi], dx
ja 0x4a15d8
jmp 0x4a162e
sub byte [edi + 0x36f55e79], al
out 0xb9, al
invalid
fsub dword [0x76a3b5da]
in al, 0x74
dec edi
aas
inc eax
js 0x4a15bf
mov ecx, 0x5bc7fd8e
pop ebx
lahf
mov ch, 0xbe
push esp
xchg edi, eax
xchg edi, eax
xor al, 0x25
pop ss
mov ebp, 0x4be75c31
xchg byte [edx], dh
push es
cmp ebx, dword [ebx]
xor al, 0x16
enter 0xffffffffffff9dc3, 0x16
bnd jbe 0x4a15fd
jbe 0x4a15fd
or eax, 0x94b44f31
stosd dword es:[edi], eax
xchg byte [ebp + 0x52], dl
dec esi
pop edx
add dl, byte [edi + 0x8e1a178]
lds edx, [esi]
and eax, 0x85234719
sub eax, edx
salc
ljmp 0xa978
sbb dword [edi + 0x23], eax
test dword [ebx], ebp
ret 0xead6

Function at 0x656834
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65c688
push 0x6566cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0xa5bd08], edx
mov ecx, eax
and ecx, 0xff
mov dword [0xa5bd04], ecx
shl ecx, 8
add ecx, edx
mov dword [0xa5bd00], ecx
shr eax, 0x10
mov dword [0xa5bcfc], eax
push 1
call fcn.006578c7
pop ecx
test eax, eax
jne 0x65681b
push 0x1c
call fcn.006568dd
pop ecx
call fcn.00657684
test eax, eax
jne 0x65682c
push 0x10
call fcn.006568dd
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
call fcn.006574c8
add byte [eax], al
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0xa5c3b4], eax
call fcn.00657396
mov dword [0xa5bcec], eax
call fcn.00657149
call fcn.00657090
call fcn.00656da0
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00657038
mov dword [ebp - 0x64], eax
test byte [ebp - 0x30], 1
je 0x65687b
movzx eax, word [ebp - 0x2c]
jmp 0x65687e
push 0xa
pop eax
push eax
push dword [ebp - 0x64]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.00656dcd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
push eax
push ecx
call fcn.00656ec0
pop ecx
pop ecx
ret
Function at 0x65795d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x65f398
cmp edx, dword [eax]
je 0x65797f
add eax, 8
inc ecx
cmp eax, 0x65f428
jl 0x657970
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x65f398]
jne 0x657aad
mov eax, dword [0xa5bcf4]
cmp eax, 1
je 0x657a87
test eax, eax
jne 0x6579b0
cmp dword [0x65f2c4], 1
je 0x657a87
cmp edx, 0xfc
je 0x657aad
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x6579e7
lea eax, [ebp - 0x1a4]
push 0x65c9f0
push eax
call fcn.00658340
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.006587d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x657a2a
lea eax, [ebp - 0x1a4]
push eax
call fcn.006587d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65c9ec
push edi
call fcn.0065a6a0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x65c9d0
push eax
call fcn.00658340
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00658350
lea eax, [ebp - 0xa0]
push 0x65c9cc
push eax
call fcn.00658350
push dword [esi + 0x65f39c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00658350
push 0x12010
lea eax, [ebp - 0xa0]
push 0x65c9a4
push eax
call fcn.0065a614
add esp, 0x2c
pop edi
jmp 0x657aad
lea eax, [ebp + 8]
lea esi, [esi + 0x65f39c]
push 0
push eax
push dword [esi]
call fcn.006587d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret