joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412c60
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x348]
sub esp, 0x348
push 0xffffffffffffffff
push 0x45b4da
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x46a164]
xor eax, ebp
mov dword [ebp + 0x344], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x350]
xor ecx, ecx
mov eax, dword [edi]
mov dword [edi + 4], 0
mov word [eax], cx
cmp byte [0x46cf90], cl
jne 0x412d18
lea eax, [ebp + 0x22c]
mov byte [ebp + 0x22c], cl
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x412dbc
cmp eax, 0x114
jae 0x412dbc
lea eax, [ebp + 0x22c]
mov byte [ebp + 0x340], 0
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040df40
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0040d240
push dword [ebp - 0x24]
call fcn.0044c236
add esp, 4
mov al, 1
jmp 0x412dbe
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xor eax, eax
mov word [ebp], ax
lea eax, [ebp]
push eax
push 0x114
call ebx
mov esi, eax
test esi, esi
je 0x412dbc
cmp esi, 0x114
jae 0x412d59
xor eax, eax
mov ecx, edi
mov word [ebp + 0x228], ax
lea eax, [ebp]
push eax
call fcn.0040d1d0
mov al, 1
jmp 0x412dbe
lea ecx, [ebp - 0x18]
call fcn.0040cf20
mov dword [ebp - 4], 1
cmp esi, dword [ebp - 0x10]
jbe 0x412d76
push esi
lea ecx, [ebp - 0x18]
call fcn.0040c9d0
push dword [ebp - 0x18]
push esi
call ebx
mov ebx, eax
test ebx, ebx
je 0x412db1
push esi
lea ecx, [ebp - 0x18]
call fcn.00413650
cmp dword [ebp - 0x14], ebx
jne 0x412db1
lea eax, [esi - 1]
cmp eax, ebx
jne 0x412db1
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0040d240
push dword [ebp - 0x18]
call fcn.0044c236
add esp, 4
mov al, 1
jmp 0x412dbe
push dword [ebp - 0x18]
call fcn.0044c236
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x344]
xor ecx, ebp
call fcn.0044c020
lea esp, [ebp + 0x348]
pop ebp
ret 4
Function at 0x412df0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b50d
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x46a164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x46cf90], 0
mov esi, dword [ebp + 8]
jne 0x412e7d
lea eax, [ebp - 0x128]
mov byte [ebp - 0x128], 0
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x360]
push eax
call fcn.0040df40
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040d240
push dword [ebp - 0x360]
mov dword [ebp - 4], 0xffffffff
call fcn.0044c236
add esp, 4
jmp 0x412ea8
xor eax, eax
mov word [ebp - 0x354], ax
lea eax, [ebp - 0x354]
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
mov ecx, esi
lea eax, [ebp - 0x354]
push eax
call fcn.0040d1d0
push esi
call fcn.004152e0
test edi, edi
je 0x412ebe
cmp edi, 0x114
jae 0x412ebe
mov al, 1
jmp 0x412ec0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044c020
mov esp, ebp
pop ebp
ret 4
Function at 0x413540
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45b5e8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x46a164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x46cf90], 0
mov edi, dword [ebp + 8]
jne 0x4135af
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.0040dfa0
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.0044c236
add esp, 4
test esi, esi
je 0x4135d2
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4135d2
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4135f5
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x50]
call fcn.004139d0
lea ecx, [ebp - 0x28]
call fcn.0040cf20
push 0
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
call fcn.00413b40
test al, al
jne 0x41361f
xor bl, bl
jmp 0x413628
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.0044c236
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
sub esp, 0xc
cmp byte [0x46cf90], 0
jne 0x4139aa
push esi
push dword [esp + 0x14]
lea eax, [esp + 8]
push eax
call fcn.0040dfa0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [esp + 4]
mov esi, eax
call fcn.0044c236
add esp, 4
mov eax, esi
pop esi
add esp, 0xc
ret 4
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovne ecx, eax
mov eax, ecx
add esp, 0xc
ret 4

Function at 0x414a70
Capabilities:
Get file size

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x414a9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x414a9f
xor al, al
pop esi
pop ecx
ret 4
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, dword [esp + 4]
add ecx, esi
pop esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop ecx
ret 4
Function at 0x414ef0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebp, ecx
push edi
mov edi, dword [esp + 0x14]
mov ecx, 0x400000
mov dword [ebx], 0
nop dword [eax]
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
cmp esi, 0x400000
mov eax, esi
cmova eax, ecx
push eax
push edi
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x1c]
add dword [ebx], ecx
test eax, eax
je 0x414f57
test ecx, ecx
je 0x414f4e
add edi, ecx
sub esi, ecx
mov ecx, 0x400000
jne 0x414f10
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0xc

Function at 0x415070
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebp, ecx
push edi
mov edi, dword [esp + 0x14]
mov ecx, 0x400000
mov dword [ebx], 0
nop dword [eax]
cmp esi, 0x400000
mov dword [esp + 0x1c], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x20]
push ecx
push eax
push edi
push dword [ebp]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x1c]
add dword [ebx], ecx
test eax, eax
je 0x4150d7
test ecx, ecx
je 0x4150ce
add edi, ecx
sub esi, ecx
mov ecx, 0x400000
jne 0x415090
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 0xc

Function at 0x416f90
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x2c
lea eax, [esp + 4]
push eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x416fbf
mov eax, dword [esp]
test eax, eax
je 0x416fbf
push eax
call fcn.00416f00
add esp, 0x2c
ret
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x1c]
add esp, 0x2c
ret

Function at 0x416fe0
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x64
mov eax, dword [0x46a164]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
mov esi, dword [esp + 0x6c]
push str.GlobalMemoryStatusEx
push 0x45e7d0
mov dword [esp + 0x2c], 0x40
mov dword [esi], SysReAllocString
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x417065
lea ecx, [esp + 0x24]
push ecx
call eax
test eax, eax
je 0x417065
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
cmp ecx, edx
ja 0x417046
mov eax, dword [esp + 0x4c]
jb 0x41704c
cmp eax, dword [esp + 0x2c]
jb 0x41704c
mov eax, dword [esp + 0x2c]
mov ecx, edx
mov dword [esi], eax
mov al, 1
mov dword [esi + 4], ecx
pop esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0044c020
add esp, 0x64
ret 4
lea eax, [esp + 4]
mov dword [esp + 4], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0xc]
mov al, 1
cmp dword [esp + 0x1c], ecx
mov dword [esi + 4], 0
cmovb ecx, dword [esp + 0x1c]
mov dword [esi], ecx
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.0044c020
add esp, 0x64
ret 4
Function at 0x429e70
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc8
mov eax, dword [0x46a164]
xor eax, esp
mov dword [esp + 0xc4], eax
push esi
push edi
lea eax, [esp + 0x20]
mov edi, ecx
push eax
call fcn.00409850
mov eax, 0x3e8
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 4
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004098b0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 4
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004098b0
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x429f30
push str.SystemFunction036
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x429f24
push 0x20
lea ecx, [esp + 0xa4]
push ecx
call eax
test al, al
je 0x429f24
push 0x20
lea eax, [esp + 0xa4]
mov dword [esp + 0x18], 0x64
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004098b0
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [eax + eax]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x429f50
push 8
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004098b0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 4
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004098b0
mov esi, 0x64
push edi
lea eax, [esp + 0x24]
push eax
call fcn.00409950
lea eax, [esp + 0x20]
push eax
call fcn.00409850
push 0x20
push edi
lea eax, [esp + 0x28]
push eax
call fcn.004098b0
sub esi, 1
jne 0x429f70
sub dword [esp + 0x14], 1
jne 0x429f30
push edi
lea eax, [esp + 0x24]
push eax
call fcn.00409950
mov ecx, dword [esp + 0xcc]
mov byte [edi + 0x20], 0
pop edi
pop esi
xor ecx, esp
call fcn.0044c020
mov esp, ebp
pop ebp
ret
Function at 0x42de90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ce35
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x46a164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov dword [esi], ecx
test ecx, ecx
je 0x42decb
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 0
mov dword [esi + 4], ecx
test ecx, ecx
je 0x42dee2
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 8]
mov byte [ebp - 4], 1
mov dword [esi + 8], ecx
test ecx, ecx
je 0x42def6
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 2
mov dword [esi + 0xc], ecx
test ecx, ecx
je 0x42df0a
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
movzx eax, byte [edi + 0x10]
lea ecx, [esi + 0x18]
mov byte [esi + 0x10], al
movzx eax, byte [edi + 0x11]
mov byte [esi + 0x11], al
movzx eax, byte [edi + 0x12]
mov byte [esi + 0x12], al
movzx eax, byte [edi + 0x13]
mov byte [esi + 0x13], al
movzx eax, byte [edi + 0x14]
mov byte [esi + 0x14], al
movzx eax, byte [edi + 0x15]
mov byte [esi + 0x15], al
movzx eax, byte [edi + 0x16]
mov byte [esi + 0x16], al
movzx eax, byte [edi + 0x17]
mov byte [esi + 0x17], al
lea eax, [edi + 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.0040d120
lea eax, [edi + 0x24]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x24]
call fcn.0040d120
lea eax, [edi + 0x30]
mov byte [ebp - 4], 5
push eax
lea ecx, [esi + 0x30]
call fcn.0040d120
mov eax, dword [edi + 0x3c]
lea ecx, [esi + 0x78]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
movq xmm0, qword [edi + 0x44]
movq qword [esi + 0x44], xmm0
mov eax, dword [edi + 0x4c]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
movzx eax, byte [edi + 0x60]
mov byte [esi + 0x60], al
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov eax, dword [edi + 0x6c]
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x70]
mov dword [esi + 0x70], eax
mov eax, dword [edi + 0x74]
mov dword [esi + 0x74], eax
lea eax, [edi + 0x78]
push eax
mov byte [ebp - 4], 6
call fcn.0042e150
lea eax, [edi + 0xa8]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0xa8]
call fcn.0042e150
mov eax, dword [edi + 0xd8]
mov dword [esi + 0xd8], eax
mov eax, dword [edi + 0xdc]
mov dword [esi + 0xdc], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x42e020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cebb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x46a164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 3
mov dword [edi + 0x11], 0
mov word [edi + 0x15], 0
mov byte [edi + 0x17], 0
call fcn.0040cf20
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 4
call fcn.0040cf20
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 5
call fcn.0040cf20
lea esi, [edi + 0x78]
mov dword [edi + 0x44], 0
xor eax, eax
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], eax
lea ecx, [esi + 0x18]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 6
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.0040cf20
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 7
call fcn.0040cf20
lea esi, [edi + 0xa8]
mov byte [ebp - 4], 8
mov dword [ebp - 0x14], esi
lea ecx, [esi + 0x18]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0040cf20
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 9
call fcn.0040cf20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42e1f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cf52
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x46a164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 0x10], 0
mov dword [edi], 0x45f11c
mov dword [edi + 4], 0x45f130
mov dword [edi + 8], 0x45f144
mov dword [edi + 0xc], 0x45f154
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
lea ecx, [edi + 0x44]
mov byte [ebp - 4], 2
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
call fcn.0040cf20
lea ecx, [edi + 0x50]
mov byte [ebp - 4], 3
call fcn.0040cf20
lea esi, [edi + 0x60]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004139d0
lea ecx, [esi + 0x28]
call fcn.0040cf20
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 5
call fcn.0042a120
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42e3d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45cf88
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x46a164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.0044c236
push dword [esi + 0xc0]
call fcn.0044c236
push dword [esi + 0x9c]
call fcn.0044c236
push dword [esi + 0x90]
call fcn.0044c236
push dword [esi + 0x30]
call fcn.0044c236
push dword [esi + 0x24]
call fcn.0044c236
push dword [esi + 0x18]
call fcn.0044c236
add esp, 0x1c
mov ecx, dword [esi + 0xc]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x42e450
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 8]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x42e464
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x42e478
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x42e48b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42fe90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d219
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x46a164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
lea ecx, [edi + 0x24]
mov byte [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov word [edi + 0x20], 0
call fcn.0040cf20
lea esi, [edi + 0x30]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], esi
lea ecx, [esi + 0x18]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0040cf20
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 3
call fcn.0040cf20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x430020
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d2d9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x46a164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebx + 4], 0
lea ecx, [ebx + 0xc]
mov dword [ebp - 4], 0
mov dword [ebx], 0x45f2a4
mov dword [ebx + 8], 0
call fcn.0040cf20
lea edi, [ebx + 0x44]
mov dword [ebx + 0x30], 0
mov dword [edi], 0
lea esi, [ebx + 0x48]
push esi
call fcn.0040a4e0
mov word [esi + 0x18], 0
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
push 0
push edi
mov byte [ebp - 4], 3
mov dword [ebx + 0x78], 0xffffffff
mov dword [ebx + 0x40], 0
call fcn.0040a2d0
test eax, eax
je 0x4300de
push 0x465614
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x145ecb
push eax
call fcn.0044eabb
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430820
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d418
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x46a164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [ebp + 8]
lea ecx, [edi + 0x74]
call fcn.0040d240
push 0
push 0x61
lea ecx, [edi + 0x68]
call fcn.00411970
push dword [ebp + 0xc]
call fcn.0040a200
push 0xce4
lea eax, [ebp - 0x18]
push eax
call fcn.0042ee10
push dword [eax]
mov dword [ebp - 4], 0
push dword [edi + 0x6c]
call fcn.00417210
push dword [ebp - 0x18]
call fcn.0044c236
add esp, 4
push 1
push dword [edi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x431130
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x84
mov eax, dword [0x46a164]
xor eax, esp
mov dword [esp + 0x80], eax
push esi
push edi
mov edi, dword [esp + 0x90]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
mov dword [esp + 8], 0x420041
xor edx, edx
mov dword [esp + 0xc], 0x440043
mov dword [esp + 0x10], 0x460045
mov dword [esp + 0x14], 0x480047
mov dword [esp + 0x18], 0x4a0049
mov dword [esp + 0x1c], 0x4c004b
mov dword [esp + 0x20], 0x4e004d
mov dword [esp + 0x24], 0x50004f
mov dword [esp + 0x28], 0x520051
mov dword [esp + 0x2c], 0x540053
mov dword [esp + 0x30], 0x560055
mov dword [esp + 0x34], 0x580057
mov dword [esp + 0x38], 0x5a0059
mov dword [esp + 0x3c], 0x620061
mov dword [esp + 0x40], 0x640063
mov dword [esp + 0x44], 0x660065
mov dword [esp + 0x48], 0x680067
mov dword [esp + 0x4c], 0x6a0069
mov dword [esp + 0x50], 0x6c006b
mov dword [esp + 0x54], 0x6e006d
mov dword [esp + 0x58], 0x70006f
mov dword [esp + 0x5c], 0x720071
mov dword [esp + 0x60], 0x740073
mov dword [esp + 0x64], 0x760075
mov dword [esp + 0x68], 0x780077
mov dword [esp + 0x6c], 0x7a0079
mov dword [esp + 0x70], 0x310030
mov dword [esp + 0x74], 0x330032
mov dword [esp + 0x78], 0x350034
mov dword [esp + 0x7c], 0x370036
mov dword [esp + 0x80], 0x390038
mov dword [esp + 0x84], 0x2f002b
test esi, esi
jle 0x43127e
movzx ecx, word [edi + edx*2]
xor eax, eax
cmp word [esp + eax*2 + 8], cx
je 0x431279
inc eax
cmp eax, 0x40
jb 0x431268
xor al, al
jmp 0x431280
inc edx
cmp edx, esi
jl 0x431262
mov al, 1
mov ecx, dword [esp + 0x88]
pop edi
pop esi
xor ecx, esp
call fcn.0044c020
add esp, 0x84
ret 4