joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445760
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x445793
push esi
call fcn.00448850
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44578c
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 0x445819
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x445802
mov eax, dword [esi + 8]
test eax, eax
je 0x4457b7
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 0x4457fe
cmp eax, 2
je 0x445802
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4457aa
cmp eax, 3
je 0x4457dd
cmp eax, 1
jne 0x4457aa
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 0x4457aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4457aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00445840
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x445828
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00445840
add esp, 4
pop esi
ret

Function at 0x4513c0
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 0x451463
test eax, eax
jbe 0x451463
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x451463
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 0x45140e
xor esi, esi
jmp 0x451414
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x45143f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004533f0
add esi, eax
push esi
mov ebx, esi
call fcn.004533f0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x451420
pop ebp
test edi, edi
pop edi
jne 0x451463
test ebx, ebx
je 0x451463
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00458630
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4515a5
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 0x4516bd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4516bd
mov eax, dword [esi + 0x3c]
push eax
call fcn.00469975
mov esi, eax
test esi, esi
je 0x4516bd
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 0x4516bd
mov ecx, esi
call fcn.00451510
cmp edi, eax
jge 0x4516bd
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 0x451643
mov dword [esp + 0x34], 1
jmp 0x45169e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4516bd
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.00450aa0
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 0x4534e0
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 0x453546
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 0x453546
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x453527
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4538d0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x453908
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 0x4545a0
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 0x4545e9
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 0x454a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x476560
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.00454610
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00454690
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00454690
lea ecx, [esi + 0xc]
call fcn.00467f00
lea ecx, [esi + 0x10]
call fcn.00467f00
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00455c20
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00455c20
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00455c20
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00467f75
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00467f75
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x46a319
Capabilities:
Get graphical window text

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

Function at 0x46ba0b
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 0x46ba4d
call fcn.00471784
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46ba4d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46ba44
xor eax, eax
jmp 0x46ba55
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046ba5b
pop edi
pop esi
pop ebx
ret 4

Function at 0x471cb4
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 0x471ce2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x471d00
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00471c1a
jmp 0x471d00
mov eax, dword [esi + 0x14]
test eax, eax
je 0x471d00
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00471c1a
test edi, edi
mov eax, edi
jne 0x471cea
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405e70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
test ebp, ebp
je 0x40606b
push esi
mov esi, dword [sym.imp.USER32.dll_GetClipCursor]
push edi
mov edi, dword [sym.imp.USER32.dll_CloseDesktop]
nop
push 0
call edi
push 0
call esi
mov ecx, dword [esp + 0x14]
push 0
xor byte [ebx + ecx], 0xa0
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xbc
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 7
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x60
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0x18
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0x3e
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x69
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x76
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0xdd
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xb9
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 9
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xac
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x8c
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x17
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xc9
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x3a
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xad
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xae
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0x55
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 6
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x8a
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x8d
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x8a
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xb8
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xf2
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x1c
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
xor byte [ebx + eax], 0xf6
push 0
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x9d
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
add byte [ebx + eax], 0xd3
inc ebx
cmp ebx, ebp
jb 0x405e90
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x406370
Capabilities:
Access peb ldr_data
Create thread
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0
push str.Armor:__p
call fcn.00406450
add esp, 8
mov eax, 0x1a1
cmp eax, 0x24
ja 0x406393
call 0x3dcbc871
xor byte [eax], al
add byte [eax], al
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x451000], eax
sub eax, eax
je 0x4063b2
call 0xd040cbc1
add al, byte [eax]
push 0x2d000
push section..bss
call fcn.00405e70
push 4
call fcn.00406efa
add esp, 0xc
pop edi
pop esi
test eax, eax
je 0x4063d9
mov dword [eax], 0x405b30
jmp 0x4063db
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x401140
push 0
push 0
call fcn.0040c15e
add esp, 0x18
mov dword [ebp - 8], eax
test eax, eax
je 0x406422
cmp dword [ebp - 4], 0
je 0x406430
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 4]
cmp ecx, eax
je 0x406437
push 0
push ecx
push dword [ebp - 8]
call fcn.0040658c
add esp, 0xc
test eax, eax
jne 0x40643e
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 4], 0
call fcn.00406a06
push 1
call fcn.00406a06
push 5
call fcn.00406a06
push 2
call fcn.00406a06
int3

Function at 0x4074b1
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4074f0
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4074f0
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4074f0
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4074f0
cmp dword [ecx + 0x74], 0xe
jbe 0x4074f0
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40e321
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41cf6c
push 0x41cf64
push str.FlsAlloc
push 0x1e
call fcn.0040e1a2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40e355
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a134]
call esi
jmp 0x40e35b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40e39f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41cf7c
push 0x41cf74
push str.FlsGetValue
push 0x20
call fcn.0040e1a2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40e3d6
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a134]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x411781
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41181e
push ebx
push esi
call fcn.0041174a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00411693
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4117cb
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41181d
push edi
push eax
call fcn.0040eb3d
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4117eb
call fcn.0040e035
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41181c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00411693
add esp, 0x20
test eax, eax
jne 0x41180a
push edi
call fcn.0040e035
jmp 0x411812
push ebx
call fcn.0040e035
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x4190d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4190fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4190fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x4036a7
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
lea eax, [edi + 1]
shr eax, 1
push eax
push esi
push 0
call fcn.00403734
add esp, 0xc
cmp word [esi], 0x5a4d
movzx ecx, ax
jne 0x40372d
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x40372d
mov dx, word [eax + 0x18]
cmp dx, 0x10b
je 0x4036eb
cmp dx, 0x20b
jne 0x40372d
mov edx, dword [eax + 0x58]
mov esi, 0xffff
cmp cx, dx
jb 0x403701
push ebx
movzx ebx, dx
sub ecx, ebx
pop ebx
jmp 0x403706
sub ecx, edx
and ecx, esi
dec ecx
shr edx, 0x10
cmp cx, dx
jb 0x403715
movzx edx, dx
sub ecx, edx
jmp 0x40371a
sub ecx, edx
and ecx, esi
dec ecx
mov edx, dword [esp + 0x18]
add ecx, edi
mov dword [edx], ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + 0x58]
mov dword [edx], ecx
jmp 0x40372f
xor eax, eax
pop edi
pop esi
ret 0x10
Function at 0x402b1b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x100
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + edi - 1], 0x5c
lea esi, [eax + edi - 1]
je 0x402b4b
inc esi
movzx eax, bx
push eax
push str.GLC_04x.TMP
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x88]
inc ebx
push 0x4000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
jne 0x402b4b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4
Function at 0x42cf20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4adc4b
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.004a06c7
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42cfa2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049dfad
mov eax, dword [eax]
push 0x5931f4
push eax
call fcn.004900a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a0952
test bl, bl
je 0x42cfa2
push 0x5931f4
lea ecx, [esp + 0xc]
call fcn.004a0d2e
push 0x596d7c
lea ecx, [esp + 0xc]
call fcn.004a0d2e
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 0x42cfde
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a0952
jmp 0x42d0a9
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 0x42d062
lea edx, [esp + 0x7c]
push 0x596d78
push edx
call fcn.004900a4
add esp, 8
test eax, eax
je 0x42d062
lea eax, [esp + 0x7c]
push 0x596d74
push eax
call fcn.004900a4
add esp, 8
test eax, eax
je 0x42d062
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 0x42cff2
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.004a0952
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 0x42d8a0
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 0x42d902
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