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

Disassembly:
push 0xffffffffffffffff
push 0x486d63
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.00477d5c
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.0047d4d5
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047ea70
test eax, eax
je 0x44695c
mov ecx, dword [esp + 0x3c]
call fcn.0047d502
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 0x446920
push edi
mov ecx, esi
call fcn.0047aab7
mov ecx, esi
call fcn.00446ac0
cmp dword [esp + 0x38], 1
jne 0x446955
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.0047ac21
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 0x449380
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4493b3
push esi
call fcn.0044c490
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4493ac
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 0x449439
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x449422
mov eax, dword [esi + 8]
test eax, eax
je 0x4493d7
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 0x44941e
cmp eax, 2
je 0x449422
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4493ca
cmp eax, 3
je 0x4493fd
cmp eax, 1
jne 0x4493ca
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 0x4493ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4493ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00449460
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x449448
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00449460
add esp, 4
pop esi
ret

Function at 0x454fc0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x455063
test eax, eax
jbe 0x455063
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x455063
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x45500e
xor esi, esi
jmp 0x455014
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45503f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00456ef0
add esi, eax
push esi
mov ebx, esi
call fcn.00456ef0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x455020
pop ebp
test edi, edi
pop edi
jne 0x455063
test ebx, ebx
je 0x455063
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00466770
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4551a5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4552bd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4552bd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004781ae
mov esi, eax
test esi, esi
je 0x4552bd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4552bd
mov ecx, esi
call fcn.00455110
cmp edi, eax
jge 0x4552bd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x455243
mov dword [esp + 0x34], 1
jmp 0x45529e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4552bd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004546c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

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

Function at 0x4578b0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4578e8
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 0x4584b0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00458600
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x4584d0
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 0x4584b1
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00458600
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x4584d0
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 0x458500
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 0x458557
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x45856d
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.00458590
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 0x458590
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 0x458620
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 0x458669
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 0x458ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x487500
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.00458690
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00458710
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00458710
lea ecx, [esi + 0xc]
call fcn.004766ed
lea ecx, [esi + 0x10]
call fcn.004766ed
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045af40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045af40
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045af40
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00476762
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00476762
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x459788
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x487728
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 0x459798
call fcn.00459cb0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x45987b
cmp byte [edi], 0
je 0x45987b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x4597bd
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.004584b0
test eax, eax
jne 0x4597dd
push 0x536574
lea ecx, [esi + 0x38]
call fcn.004768eb
jmp 0x45987b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.00458500
test eax, eax
jne 0x45980c
mov ecx, esi
call fcn.00458600
push edi
add esi, 0x38
push 0x536550
push esi
call fcn.00474135
add esp, 0xc
jmp 0x45987b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0045a530
test eax, eax
je 0x459874
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.00459950
test eax, eax
jne 0x459890
push edi
lea eax, [esi + 0x38]
push 0x53652c
push eax
call fcn.00474135
add esp, 0xc
mov ecx, esi
call fcn.00459cb0
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 0x459938
mov ecx, dword [0x537294]
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.00474135
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.004585b0
test eax, eax
jne 0x4598fa
push 0x536510
lea ecx, [esi + 0x38]
call fcn.004768eb
jmp 0x45990a
push 0xfa
mov ecx, esi
call fcn.0045a530
test eax, eax
jne 0x459927
mov ecx, esi
call fcn.00459cb0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00476762
jmp 0x45987b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00476762
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x478b52
Capabilities:
Get graphical window text

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

Function at 0x47a240
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 0x47a282
call fcn.00480232
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47a282
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47a279
xor eax, eax
jmp 0x47a28a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047a290
pop edi
pop esi
pop ebx
ret 4

Function at 0x480762
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 0x480790
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4807ae
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004806c8
jmp 0x4807ae
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4807ae
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004806c8
test edi, edi
mov eax, edi
jne 0x480798
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x403203
pop dword [ebp - 0x24]
mov eax, 0xbcec07bc
add eax, 0x43542a47
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xc4e2d730
sub dword [ebp - 0x34], 0x769091e5
mov dword [ebp - 0x30], 0x552001d3
sub dword [ebp - 0x30], 0x22ecb58e
mov dword [ebp - 0x2c], 0x7cfe25f6
sub dword [ebp - 0x2c], 0x30b1e1c8
mov dword [ebp - 0x28], 0x1c8d8d2b
add dword [ebp - 0x28], 0xe37272d5
lea eax, [ebp - 0x34]
push eax
mov eax, 0xb1ae76a
add eax, 0xf5259922
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x95505b00
sub dword [ebp - 0x34], 0x20ddf1aa
mov dword [ebp - 0x30], 0x4b1e8c56
add dword [ebp - 0x30], 0xf64dd51f
mov dword [ebp - 0x2c], 0x67406b6d
add dword [ebp - 0x2c], 0xfc2f00ff
mov dword [ebp - 0x28], 0xaae487d4
sub dword [ebp - 0x28], 0xaae487d4
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x79b70093
add eax, 0x86898041
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3f7b5
push 0
call eax
mov ecx, 0x5242bde9
sub ecx, 0x5242525c
xor ebx, ebx
add ebx, eax
mov edx, 0xcc69183f
sub edx, 0xcc28083f
add edx, dword [ebp - 0x24]
mov edi, 0xc36114a5
add edi, 0x985c7ad5
xor dword [ebp - 0x14], ebx
mov esi, dword [edx]
xor dword [ebp - 0x18], 0x8a26145d
sub esi, edi
mov dword [ebp - 4], 0xccd5fad4
mov dword [ebx], esi
sub dword [ebp - 0x10], edi
add ebx, 0xd63b4ad
add ebx, 0xf29c4b57
add edx, 4
loop 0x403327
add eax, 0x8f229f59
sub eax, 0x8f20fe52
mov ebx, eax
add eax, 0xbcbc3c1d
add eax, 0x4343c3e8
mov ecx, 0x581d8c68
add ecx, 0xa8227398
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x100b95a
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1019084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0100ba2d
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.API_MS_Win_Core_SysInfo_L1_1_0.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x100b9fc
cmp dword [ebp - 0x94], 5
jb 0x100b9cf
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x100ba18
call fcn.01006223
test eax, eax
jl 0x100f3bb
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01001c90
leave
ret
cmp dword [ebp - 0x88], 1
je 0x100f3a3
jmp 0x100b9cf
cmp dword [ebp - 0x90], 0
jbe 0x100b9cf
jmp 0x100b9cb
cmp dword [ebp - 0x94], 4
ja 0x100b9cb
je 0x100ba0b
jmp 0x100b9cf
mov byte [0x1019614], 1
jmp 0x100b9ed

Function at 0x1012d1a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1012d73
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1012d65
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x1012d61
cmp esi, eax
jae 0x1012d65
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x1012d53
cmp esi, eax
jb 0x1012d69
xor eax, eax
jmp 0x1012d72
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x9ad7e8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x9ad7f2
pushal
call 0x9ad7f8
pop ebp
sub ebp, 0x10
sub ebp, 0x5ad7e8
mov al, byte [esp + 0x28]
cmp al, 1
je 0x9ad81c
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x9ad825
mov eax, 0x5ad7e8
add eax, ebp
add eax, 0x63
mov ecx, 0x5e7
mov edx, 0x717b1a8f
xor byte [eax], dl
inc eax
dec ecx
jne 0x9ad83c
jmp 0x9ad84f
add al, 0x42
add al, 6
mov bl, 0x8f
invalid
Function at 0x401180
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x130
mov eax, dword [0x405008]
xor eax, esp
mov dword [esp + 0x12c], eax
push esi
push edi
push 0
push 0xf
mov dword [esp + 0x10], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
lea eax, [esp + 0x2c]
cmovae ecx, dword [ebp + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4011f1
test dl, dl
je 0x4011ed
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4011f1
add eax, 2
add ecx, 2
test dl, dl
jne 0x4011d1
xor eax, eax
jmp 0x4011f6
sbb eax, eax
or eax, 1
test eax, eax
je 0x401211
lea eax, [esp + 8]
push eax
push esi
call edi
test eax, eax
jne 0x4011c2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
jmp 0x40121c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x10]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x401252
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401248
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401248
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00401d43
add esp, 8
mov ecx, dword [esp + 0x134]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00401ab4
mov esp, ebp
pop ebp
ret 0x18

Function at 0x401270
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x405008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ecx + 8]
mov dword [ebp - 0x228], 0x224
push 8
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x228]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Module32First]
mov edi, dword [sym.imp.KERNEL32.dll_Module32Next]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
lea eax, [ebp - 0x208]
cmovae ecx, dword [ebp + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4012e1
test dl, dl
je 0x4012dd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4012e1
add eax, 2
add ecx, 2
test dl, dl
jne 0x4012c1
xor eax, eax
jmp 0x4012e6
sbb eax, eax
or eax, 1
test eax, eax
je 0x401303
lea eax, [ebp - 0x228]
push eax
push esi
call edi
test eax, eax
jne 0x4012b0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
jmp 0x401310
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x20c]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x401346
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40133c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40133c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00401d43
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00401ab4
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
push ss
pop es
aad 0xb
inc esi
outsb dx, byte [esi]
push ecx
mov word [ebx - 0x71], es
pop eax
sbb eax, 0xa730cd51
mov ch, 0x66
push 0x71
xor byte [edi + 0x716a66b5], ah
mov ebp, 0xc7256071
xor ecx, esi
xor bh, dl
mov es, word [eax]
mov es, word [ebx + 0x34]
xor al, 0xfd
add byte [esi - 0x30cc7278], cl
xor byte [0x32cf7113], ah
stosd dword es:[edi], eax
aad 0xcf
xor bh, byte [esi + esi - 0x71fd42f0]
fdivr dword [esi + edi]
jno 0x4153ee
add al, 0x80
invalid