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

Disassembly:
push 0xffffffffffffffff
push 0x4a13af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov dword [esp + 0x20], 0
mov eax, dword [0x4cc854]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
lea eax, [esp + 0x18]
mov bl, 5
push 2
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], bl
call fcn.0048a3dc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 6
call fcn.0048c53c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0048c403
lea ecx, [esp + 0x18]
push 2
push ecx
lea ecx, [esp + 0x40]
call fcn.0048a360
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 7
call fcn.0048c53c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0048c403
push 0x4c3020
lea ecx, [esp + 0xc]
call fcn.0048c58c
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0048c632
lea edx, [esp + 8]
mov byte [esp + 0x2c], 8
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0048c632
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 9
call fcn.0048c53c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 8
call fcn.0048c403
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], bl
call fcn.0048c403
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.0048c178
mov dword [esp + 0x20], 1
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 4
call fcn.0048c403
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call fcn.0048c403
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.0048c403
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0
call fcn.0048c403
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x455010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a1427
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov dword [esp + 0x20], 0
mov eax, dword [0x4cc854]
mov dword [esp + 0x2c], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
lea eax, [esp + 0x18]
mov ebx, 5
push 4
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], bl
call fcn.0048a3dc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 6
call fcn.0048c53c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0048c403
push 2
lea ecx, [esp + 0x1c]
push ebx
push ecx
lea ecx, [esp + 0x44]
call fcn.0048a2ca
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 7
call fcn.0048c53c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0048c403
lea edx, [esp + 0x18]
push 2
push edx
lea ecx, [esp + 0x40]
call fcn.0048a360
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 8
call fcn.0048c53c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.0048c403
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0048c632
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov byte [esp + 0x38], 9
call fcn.0048c632
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0xa
call fcn.0048c53c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 9
call fcn.0048c403
mov byte [esp + 0x2c], bl
lea ecx, [esp + 0x1c]
call fcn.0048c403
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0048c178
mov dword [esp + 0x20], 1
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 4
call fcn.0048c403
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call fcn.0048c403
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.0048c403
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
call fcn.0048c403
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0
call fcn.0048c403
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x456dd0
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a191b
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x3ec
cmp eax, 1
push esi
mov esi, ecx
jne 0x456e9e
lea ecx, [esp + 8]
call fcn.0043b330
mov eax, dword [esi + 0xa654]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x3fc], 0
call fcn.0043b460
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push 0x4ca570
call fcn.0048c471
mov ecx, dword [esi + 0x9740]
call fcn.00444cf0
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push 0x4ca55c
call fcn.0048c471
mov ecx, dword [esi + 0x9740]
call fcn.00444cf0
lea ecx, [esp + 4]
mov dword [esp + 4], 0
push ecx
push 4
push esi
push 0x459d00
push 0
push 0
call fcn.00476866
add esp, 0x18
test eax, eax
je 0x456e83
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea ecx, [esp + 8]
mov dword [esp + 0x3f8], 0xffffffff
call fcn.0043b3c0
mov eax, 1
jmp 0x456ea0
xor eax, eax
mov ecx, dword [esp + 0x3f0]
pop esi
mov dword fs:[0], ecx
add esp, 0x3f8
ret 8
Function at 0x45af10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
push edi
and eax, 0xffff
push str.ZRJPG
push eax
mov dword [esp + 0x1c], ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x45b055
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x45b055
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45b055
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x45b055
push ebp
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
lea eax, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push eax
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x38]
push ecx
push 0x4ae890
push 1
push ebp
push edx
call dword [sym.imp.OLEPRO32.DLL_OleLoadPicture]
test eax, eax
jl 0x45b047
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x1c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x45b000
xor esi, esi
jmp 0x45b003
mov esi, dword [eax + 4]
mov ecx, dword [esp + 0x18]
push 0
mov edx, ecx
mov ebp, dword [esp + 0x2c]
neg edx
push edx
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x48]
sub edx, ecx
push 0
push edx
mov edx, dword [esp + 0x38]
mov edi, dword [eax]
sub ebp, edx
push ebp
push edx
push ecx
push esi
push eax
call dword [edi + 0x20]
test eax, eax
mov eax, dword [esp + 0x38]
jge 0x45b061
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x10
mov edx, dword [eax]
push eax
call dword [edx + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 0x10
Function at 0x45b410
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
call fcn.0045cea0
test al, al
jne 0x45b496
mov ecx, esi
call fcn.0045ce90
test al, al
jne 0x45b496
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x45b48a
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x45b48a
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [esp + 0x110]
lea edx, [esp + 4]
push edx
mov esi, eax
call fcn.0048c58c
mov ecx, dword [esp + 0x10c]
push esi
call fcn.0048c58c
mov al, 1
pop esi
add esp, 0x104
ret 8
xor al, al
pop esi
add esp, 0x104
ret 8
mov ecx, dword [esp + 0x10c]
push str.127.0.0.1
call fcn.0048c58c
mov ecx, dword [esp + 0x110]
push str.MyPC
call fcn.0048c58c
mov al, 1
pop esi
add esp, 0x104
ret 8

Function at 0x45b4e0
Capabilities:
Access peb ldr_data
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a2130
push eax
mov dword fs:[0], esp
sub esp, 0x18
lea eax, [esp + 0xc]
push esi
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_frontpg.exe_
push reloc.imgsimul.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45b52d
xor al, al
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
push 0xc8
call fcn.0048c144
add esp, 4
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push str.Path
push eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x45b581
xor al, al
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 4
mov eax, dword [0x4cc854]
mov dword [esp + 4], eax
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
mov dword [esp + 0xc], eax
call fcn.0048c58c
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
push ecx
lea ecx, [esp + 8]
call fcn.0048c53c
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call fcn.0048c403
push esi
call fcn.0048c16d
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4cc854]
mov dword [esp + 0xc], eax
push str.FRONTPG.EXE
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call fcn.0048c58c
lea ecx, [esp + 0xc]
lea edx, [esp + 4]
push ecx
lea eax, [esp + 0xc]
push edx
push eax
call fcn.0048c632
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x28], 3
call fcn.0048c53c
lea ecx, [esp + 8]
mov byte [esp + 0x24], 2
call fcn.0048c403
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.0048c53c
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.0048c403
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.0048c403
mov ecx, dword [esp + 0x1c]
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x45b670
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a2170
push eax
mov dword fs:[0], esp
sub esp, 0x1c
lea eax, [esp + 0x10]
push esi
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsDreamweaver.exe_
push reloc.imgsimul.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x45b6bd
xor al, al
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
push 0xc8
call fcn.0048c144
add esp, 4
lea ecx, [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push esi
push edx
push 0
push str.Path
push eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x45b711
xor al, al
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
mov eax, dword [0x4cc854]
mov dword [esp + 4], eax
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
mov dword [esp + 0xc], eax
call fcn.0048c58c
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
push ecx
lea ecx, [esp + 8]
call fcn.0048c53c
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0048c403
push esi
call fcn.0048c16d
mov edx, dword [esp + 0x18]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4cc854]
mov dword [esp + 0x10], eax
push 0x4cabe0
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call fcn.0048a476
lea ecx, [esp + 8]
push eax
push ecx
lea ecx, [esp + 0xc]
call fcn.0048a3dc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call fcn.0048c53c
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.0048c403
lea edx, [esp + 0x10]
lea ecx, [esp + 4]
push edx
call fcn.0048c53c
push 0x4c2288
lea ecx, [esp + 8]
call fcn.0048c7df
mov eax, dword [0x4cc854]
mov dword [esp + 0xc], eax
push str.Dreamweaver.exe
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.0048c58c
lea ecx, [esp + 0xc]
lea edx, [esp + 4]
push ecx
lea eax, [esp + 0xc]
push edx
push eax
call fcn.0048c632
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 5
call fcn.0048c53c
lea ecx, [esp + 8]
mov byte [esp + 0x28], 4
call fcn.0048c403
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x34]
call fcn.0048c53c
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 2
call fcn.0048c403
mov byte [esp + 0x28], 0
lea ecx, [esp + 0x10]
call fcn.0048c403
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call fcn.0048c403
mov ecx, dword [esp + 0x20]
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x45bb60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
cmp eax, 1
push edi
mov ebx, ecx
jne 0x45bba8
mov ebp, dword [esp + 0x18]
xor esi, esi
test ebp, ebp
jle 0x45bbd6
mov edi, dword [esp + 0x14]
mov al, byte [esi + edi]
mov cl, al
shr cl, 4
shl al, 4
or cl, al
mov byte [esi + edi], cl
mov ecx, ebx
call fcn.00449f60
mov dl, byte [esi + edi]
xor dl, al
mov byte [esi + edi], dl
inc esi
cmp esi, ebp
jl 0x45bb7d
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
test eax, eax
jne 0x45bbd6
mov ebp, dword [esp + 0x18]
xor esi, esi
test ebp, ebp
jle 0x45bbd6
mov edi, dword [esp + 0x14]
mov ecx, ebx
call fcn.00449f60
xor al, byte [esi + edi]
mov dl, al
shr dl, 4
shl al, 4
or dl, al
mov byte [esi + edi], dl
inc esi
cmp esi, ebp
jl 0x45bbba
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x460950
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x4a2a28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 4]
call fcn.0048c471
push str.ZRSOFT
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0
call fcn.0048a476
or ecx, 0xffffffff
cmp eax, ecx
mov dword [esp + 0xc], ecx
lea ecx, [esp]
je 0x4609b1
call fcn.0048c403
mov al, 1
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
call fcn.0048c403
mov ecx, dword [esp + 4]
xor al, al
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x461ea0
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x104
lea eax, [esp]
push 0x104
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x461f04
lea ecx, [esp]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x461f04
mov edx, dword [eax + 0xc]
push esi
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, dword [esp + 0x110]
lea edx, [esp + 4]
push edx
mov esi, eax
call fcn.0048c58c
mov ecx, dword [esp + 0x10c]
push esi
call fcn.0048c58c
mov al, 1
pop esi
add esp, 0x104
ret 8
xor al, al
add esp, 0x104
ret 8
Function at 0x4664a0
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a373b
push eax
mov eax, 0x1770
mov dword fs:[0], esp
call fcn.00475120
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.004351b0
xor edi, edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x1784], edi
call fcn.00437700
push edi
mov ecx, esi
call fcn.00468d70
mov ecx, esi
call fcn.00463780
mov ecx, esi
call fcn.00465740
mov eax, dword [esi + 0x41c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
cmp eax, edi
je 0x46653b
cmp eax, edi
jne 0x46650d
xor eax, eax
jmp 0x466510
mov eax, dword [eax + 0x1c]
push eax
call ebx
test eax, eax
je 0x466524
mov ecx, dword [esi + 0x41c]
push edi
push edi
call fcn.004522a0
mov ecx, dword [esi + 0x41c]
cmp ecx, edi
je 0x466535
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x41c], edi
mov eax, dword [esi + 0x418]
cmp eax, edi
je 0x466578
jne 0x46654b
xor eax, eax
jmp 0x46654e
mov eax, dword [eax + 0x1c]
push eax
call ebx
test eax, eax
je 0x466561
mov ecx, dword [esi + 0x418]
push edi
call fcn.00448ae0
mov ecx, dword [esi + 0x418]
cmp ecx, edi
je 0x466572
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov dword [esi + 0x418], edi
mov ecx, dword [esi + 0x420]
cmp ecx, edi
je 0x46659f
push edi
call fcn.00443be0
mov ecx, dword [esi + 0x420]
cmp ecx, edi
je 0x466599
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esi + 0x420], edi
push 1
mov ecx, esi
call fcn.004666f0
mov ecx, esi
call fcn.00468f20
mov ecx, esi
call fcn.00490ef3
mov ecx, dword [esp + 0x178c]
push ecx
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x466600
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a375b
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
test edi, edi
je 0x4666d0
mov eax, dword [0x4cc854]
push esi
mov dword [esp + 0xc], 0x128
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x13c], 0
push ecx
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
setne al
xor esi, esi
test al, al
je 0x4666b4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ExitProcess]
lea edx, [esp + 0x34]
lea eax, [esp + 0xc]
push edx
push 0x4c2284
push eax
call fcn.0048a7fc
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.0048c958
push str.EXCLNT.EX
lea ecx, [esp + 0x10]
call fcn.0048a476
test eax, eax
jl 0x4666a4
test esi, esi
je 0x4666a3
push 0
call ebx
inc esi
lea ecx, [esp + 0x10]
push ecx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x466669
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 8]
mov dword [esp + 0x13c], 0xffffffff
call fcn.0048c403
pop esi
mov ecx, dword [esp + 0x130]
pop edi
mov dword fs:[0], ecx
add esp, 0x138
ret
Function at 0x468320
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4a3ae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x4cc854]
push ebx
mov dword [esp + 4], eax
add ecx, 0x158c
mov dword [esp + 0x28], 0
push ecx
lea ecx, [esp + 8]
call fcn.0048c53c
lea ecx, [esp + 0xc]
push 1
push ecx
lea ecx, [esp + 0xc]
call fcn.0048a360
mov eax, dword [eax]
push 0x4c2288
push eax
call fcn.0047514f
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
setne bl
call fcn.0048c403
test bl, bl
pop ebx
je 0x46839b
push 0x4c2288
lea ecx, [esp + 4]
call fcn.0048c7df
push str.ZRECConfig.ini
lea ecx, [esp + 4]
call fcn.0048c7df
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0xc]
call fcn.00490080
push str._IP_0_0_0_0__IP_
lea ecx, [esp + 8]
mov byte [esp + 0x28], 1
call fcn.0048c471
mov eax, dword [esp]
push 0
push 0x1002
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 2
call fcn.00490192
test eax, eax
je 0x468409
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.004902e9
lea ecx, [esp + 0xc]
call fcn.004903ad
lea ecx, [esp + 4]
mov byte [esp + 0x24], 1
call fcn.0048c403
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.004900d5
lea ecx, [esp]
mov dword [esp + 0x24], 0xffffffff
call fcn.0048c403
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x468e80
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x128
push ebx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
test ebx, ebx
jne 0x468ea2
xor al, al
pop ebx
add esp, 0x128
ret 4
lea eax, [esp + 4]
mov dword [esp + 4], 0x128
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x468f06
push ebp
mov ebp, dword [esp + 0x134]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 0x34]
push ecx
push ebp
call fcn.004773a0
add esp, 8
test eax, eax
jne 0x468ef4
mov edx, dword [esp + 0x18]
push edx
push eax
push 1
call esi
test eax, eax
je 0x468ef4
push 0
push eax
call edi
lea eax, [esp + 0x10]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x468ecf
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x128
ret 4
Function at 0x46bf40
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 4
push ecx
push 0x46bf70
push 0
push 0
call fcn.00476866
add esp, 0x18
test eax, eax
je 0x46bf6d
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop ecx
ret

Function at 0x46c7f0
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4a4237
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov dword [esp + 0x10], 0
mov eax, dword [0x4cc854]
mov ebx, 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x1c], 2
push ecx
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
test esi, esi
jne 0x46c858
mov esi, dword [esp + 0x24]
push 0x4d0e20
mov ecx, esi
call fcn.0048c471
mov dword [esp + 0x10], ebx
jmp 0x46c8b2
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x46c886
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x24]
push 0x4d0e20
mov ecx, esi
call fcn.0048c471
jmp 0x46c8ae
push edi
lea ecx, [esp + 0x10]
call fcn.0048c58c
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x24]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0048c178
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call fcn.0048c403
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.0048c403
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8

Function at 0x476665
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x476685
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004762a0
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4766a8
test byte [esp + 8], 2
je 0x4766a8
call fcn.00476313
mov dword [eax], 0xd
call fcn.0047631c
mov dword [eax], 5
jmp 0x476681
xor eax, eax
ret
Function at 0x489150
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00475120
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x48921b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x48921b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x4891ce
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x4891d9
or bh, 8
and edi, 0x8000000
je 0x4891f4
mov eax, dword [0x4d6d3c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x48921b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret