joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426030
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442f51
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 1
push 0x45165c
mov edi, ecx
push eax
lea ecx, [esp + 0x28]
call fcn.004310a0
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
push 0xff
lea edx, [esp + 0x34]
push edx
push 0x13cd
push eax
mov dword [esp + 0x14c], 0
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00429800
mov esi, dword [esp + 0x20]
mov byte [esp + 0x13c], 1
lea ebx, [ebx]
lea ecx, [esp + 0x1c]
cmp esi, ecx
lea ecx, [esp + 0x14]
je 0x4260ed
mov ebx, dword [esi]
mov esi, dword [esi + 4]
push 0x4451c0
call fcn.004297e0
push 0x4451bc
lea ecx, [esp + 0x18]
call fcn.004297e0
mov ecx, dword [ebx + 0x18]
mov edx, dword [ecx]
call dword [edx + 4]
push eax
lea ecx, [esp + 0x18]
call fcn.004297e0
jmp 0x4260b0
call fcn.0042e780
mov ecx, dword [edi + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00418c00
cmp eax, 6
jne 0x4261e3
mov eax, dword [esp + 0x20]
jmp 0x426112
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x4261aa
mov ecx, dword [eax]
mov esi, dword [ecx + 0x18]
mov edx, dword [eax + 4]
mov ecx, esi
mov dword [esp + 0x10], edx
call fcn.00414420
test al, al
jne 0x42610e
mov eax, dword [edi + 0xc]
mov edx, dword [esi]
mov ebx, dword [eax]
push 0
push 0
push 0
mov ecx, esi
call dword [edx + 4]
push eax
push 0x1432
push ebx
lea ecx, [esp + 0x24]
call fcn.00429fa0
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 8]
push 0x33
push eax
push ecx
mov ecx, dword [edi + 0xc]
mov byte [esp + 0x148], 2
call fcn.00418bd0
sub eax, 2
je 0x42621f
sub eax, 4
je 0x426183
dec eax
je 0x426199
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], 1
call fcn.0042e660
jmp 0x42610e
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], 1
call fcn.0042e660
mov ecx, dword [edi + 0x14]
call fcn.00412150
test eax, eax
jne 0x4261db
mov edx, dword [edi + 0x14]
mov eax, dword [edx + 0x48]
mov ecx, dword [edi + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0x13f5
push eax
call fcn.00418d70
mov ecx, dword [edi + 0x14]
mov ecx, dword [ecx + 0x24]
push 0
call fcn.00410e80
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx]
call dword [edx + 0xc]
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 0
call fcn.0042e660
lea ecx, [esp + 0x1c]
mov dword [esp + 0x13c], 0xffffffff
call fcn.0040bb00
mov ecx, dword [esp + 0x134]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0xc]
mov byte [esp + 0x13c], 1
call fcn.0042e660
jmp 0x4261ce
Function at 0x426360
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x10]
push 0
mov esi, ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x18]
push eax
dec ecx
push ecx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x426396
mov eax, dword [esp + 0x14]
mov byte [eax + edi], 0
mov eax, dword [esp + 0x14]
pop edi
pop esi
ret 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
mov ecx, dword [esi + 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4263c2
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
pop ebx
pop edi
xor eax, eax
pop esi
ret 0x10
mov edi, dword [esp + 0x1c]
mov edx, dword [esi + 0x10]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x4263dd
call ebx
mov dword [edi], 1
pop ebx
pop edi
or eax, 0xffffffff
pop esi
ret 0x10

Function at 0x4263f0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows
Get common file path
Resume thread

Disassembly:
sub esp, 0x15c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebp, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 2
mov esi, eax
push 1
xor eax, eax
push 0
mov ecx, 0x11
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x188]
lea ecx, [esp + 0x68]
push ecx
push esi
mov word [esp + 0x64], ax
mov eax, dword [esp + 0x18c]
push edi
push esi
mov dword [esp + 0x3c], 0x44
mov dword [esp + 0x68], 0x101
mov dword [esp + 0x74], eax
call ebp
push 2
push 1
push 0
lea edx, [esp + 0x6c]
push edx
push esi
push edi
push esi
call ebp
mov eax, dword [esp + 0x174]
test eax, eax
jne 0x42647d
push 0x104
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x64]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x17c]
push 0
push 0x204
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4264b8
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x15c
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x5c]
push ecx
call esi
mov edx, dword [esp + 0x60]
push edx
call esi
mov eax, dword [esp + 0x178]
push eax
call esi
push edi
call esi
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], edx
mov al, 1
pop ebx
add esp, 0x15c
ret 0x10
Function at 0x426560
Capabilities:
Create pipe

Disassembly:
sub esp, 0xc18
push esi
push edi
push 0
push 0
push 3
lea eax, [esp + 0x20]
push eax
push 3
push SysReAllocString
push 0x446d70
mov esi, ecx
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x426617
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4265d2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor al, al
pop esi
add esp, 0xc18
ret 4
mov eax, dword [esp + 8]
push 0x451664
push eax
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc24]
push ecx
push edi
push 0
push edx
mov ecx, esi
call fcn.004263f0
test al, al
mov eax, dword [esp + 8]
jne 0x426624
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
push edi
call esi
pop edi
xor al, al
pop esi
add esp, 0xc18
ret 4
lea ecx, [esp + 0xc]
push ecx
push 0x400
lea edx, [esp + 0x28]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.00426360
test eax, eax
jl 0x4266b3
jle 0x426694
push 0x800
lea ecx, [esp + 0x424]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
push 0
push 1
call fcn.00433c10
push 0
push 0
push 0x400
lea ecx, [esp + 0x44]
push ecx
push eax
lea edx, [esp + 0x44c]
push edx
push 0
push 0
call fcn.00433cb0
add esp, 0x38
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.004262e0
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push 0x400
lea edx, [esp + 0x28]
push edx
push eax
mov ecx, esi
call fcn.00426360
test eax, eax
jge 0x426647
mov ecx, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
mov edx, dword [esi + 0x10]
push edx
call edi
mov ecx, dword [esp + 0xc]
xor eax, eax
test ecx, ecx
pop edi
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0xc], 0
sete al
pop esi
add esp, 0xc18
ret 4
Function at 0x426990
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x442fac
push eax
mov dword fs:[0], esp
sub esp, 0x168
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, ecx
mov eax, dword [esi + 0x5c]
push 0x1009
push eax
call ebx
mov ecx, dword [esi + 0x58]
push edi
push edi
push 0x1032
push ecx
call ebx
cmp eax, 1
jae 0x4269f3
mov edx, dword [esi + 0x2c]
push 0x4445f4
push 0x443
push edx
mov dword [esi + 0x60], edi
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
jmp 0x426b6b
mov eax, dword [esi + 0x58]
push ebp
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call ebx
mov edx, dword [esi + 0x58]
lea ecx, [esp + 0x50]
push ecx
push edi
push 0x1005
push edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x60], 4
call ebx
mov eax, dword [esp + 0x70]
mov ecx, dword [esi + 0x50]
push eax
mov dword [esi + 0x60], eax
call fcn.00410da0
mov ebp, eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
mov ecx, dword [esi + 0x2c]
push eax
push 0x443
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edi, 1
cmp word [ebp + 0x2c], di
jb 0x426b63
lea ecx, [ecx]
push edi
mov ecx, ebp
call fcn.004143e0
mov ecx, dword [esi + 0x54]
mov edx, dword [ecx]
mov dword [esp + 0x10], eax
xor eax, eax
mov ax, word [esi + 0x60]
push edi
push eax
lea eax, [esp + 0x48]
push eax
call dword [edx + 0x7c]
push 0xff
lea ecx, [esp + 0x7c]
push ecx
mov ecx, eax
mov dword [esp + 0x188], 0
call dword [sym.imp.ulrttd9.dll_public:_void___thiscall_ULValue::GetString_char___unsigned_int_const]
lea ecx, [esp + 0x40]
mov dword [esp + 0x180], 0xffffffff
call dword [sym.imp.ulrttd9.dll_public:_void___thiscall_ULValue::destructor_void_]
mov ecx, dword [esp + 0x10]
add ecx, 8
call fcn.0042e780
mov edx, dword [esi + 0x5c]
push 0
push 0
push 0x1004
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 5
mov dword [esp + 0x48], edi
call ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x426b08
lea edx, [esp + 0x78]
mov dword [esp + 0x2c], edx
jmp 0x426b10
mov dword [esp + 0x2c], 0x4445f4
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x18]
push eax
push 0
push 0x1007
push ecx
call ebx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
mov ecx, 1
push 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x5c]
push 0x1006
push ecx
mov dword [esp + 0x3c], edx
call ebx
mov ecx, dword [esp + 0x10]
call fcn.004120a0
movzx edx, word [ebp + 0x2c]
inc edi
cmp edi, edx
jle 0x426a60
mov ecx, ebp
call fcn.004120a0
pop ebp
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x174
ret
Function at 0x427f50
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x427fa8
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x4445f4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x427f9b
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x427faa
xor eax, eax
pop esi
leave
ret 4

Function at 0x4280ce
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4516a0]
jne 0x4280df
test ecx, 0xffff0000
jne 0x4280df
ret
jmp fcn.004280e4

Function at 0x429120
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x443190
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
push edi
push 0
lea ecx, [esp + 0x14]
call fcn.00429800
push SysReAllocString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call fcn.00429fd0
mov byte [esp + 0x34], 1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push 0
push 0
push 0xf003f
push str.SoftwareSybase
lea ecx, [esp + 0x28]
movzx edi, ax
call fcn.00429ff0
test eax, eax
jne 0x4291d9
xor esi, esi
push esi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.0042a290
test eax, eax
jne 0x4291d9
mov edx, dword [str.Language]
push edx
lea ecx, [esp + 0x14]
call fcn.004297c0
test eax, eax
jne 0x4291d5
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
inc esi
push esi
lea ecx, [esp + 0x28]
call fcn.0042a290
test eax, eax
je 0x4291a5
jmp 0x4291d9
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 0
call fcn.0042e660
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0xffffffff
call fcn.0042e660
mov ecx, dword [esp + 0x2c]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42a090
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [ecx + 4]
test eax, eax
mov dword [esp + 8], ecx
jne 0x42a0ad
or eax, 0xffffffff
add esp, 0x210
ret 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x230]
test edi, edi
mov ecx, 0xff
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], ecx
jne 0x42a0cd
lea edi, [esp + 0x1c]
mov ebp, dword [esp + 0x224]
push edi
lea ecx, [esp + 0x124]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, eax
cmp esi, 0xea
jne 0x42a14e
mov eax, dword [edi]
inc eax
push eax
call fcn.00429210
add esp, 4
push edi
mov ebx, eax
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x24]
push 0
lea edx, [esp + 0x20]
push edx
mov edx, dword [ecx + 4]
lea eax, [esp + 0x34]
push eax
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov esi, eax
test esi, esi
jne 0x42a177
mov ecx, dword [esp + 0x22c]
push ebx
call fcn.004299c0
push ebx
call fcn.00429250
add esp, 4
jmp 0x42a166
test esi, esi
jne 0x42a166
mov ecx, dword [esp + 0x22c]
lea eax, [esp + 0x120]
push eax
call fcn.004299c0
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x22c]
call fcn.004299c0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret 0x10

Function at 0x42a290
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [ecx + 4]
sub esp, 0x20c
test ecx, ecx
jne 0x42a2a9
or eax, 0xffffffff
add esp, 0x20c
ret 0x10
mov eax, 0xff
mov dword [esp + 4], eax
mov dword [esp], eax
mov eax, dword [esp + 0x21c]
test eax, eax
jne 0x42a2c5
lea eax, [esp]
push eax
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x224]
lea edx, [esp + 0x120]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x42a334
lea ecx, [esp + 0x10c]
push ecx
mov ecx, dword [esp + 0x218]
call fcn.004299c0
movzx edx, byte [esp + 0xf]
movzx eax, byte [esp + 0xe]
movzx ecx, byte [esp + 0xd]
shl edx, 8
or edx, eax
movzx eax, byte [esp + 0xc]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x218]
shl edx, 8
or edx, eax
mov dword [ecx], edx
xor eax, eax
add esp, 0x20c
ret 0x10

Function at 0x42a390
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 0x208
test eax, eax
je 0x42a3d8
push 0
mov ecx, 0xff
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x110]
push edx
push 0
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x220]
lea edx, [esp + 0x1c]
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x42a3e3
xor eax, eax
add esp, 0x208
ret 8
mov ecx, dword [esp + 0x210]
lea edx, [esp + 8]
push edx
call fcn.004299c0
mov eax, 1
add esp, 0x208
ret 8
Function at 0x42a410
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x324
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
mov esi, dword [esp + 0x334]
push edi
mov eax, 0xff
xor edi, edi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x13c]
push ecx
push edi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x48]
push eax
push edi
push esi
call ebp
test eax, eax
jne 0x42a4fe
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
push ecx
push 0xf003f
push 0
lea edx, [esp + 0x40]
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x344]
push 0
push 0xf003f
push 0
lea edx, [esp + 0x148]
push edx
push 0
lea eax, [esp + 0x50]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push edx
push eax
call fcn.0042a410
mov ecx, dword [esp + 0x2c]
add esp, 8
push ecx
call ebx
mov edx, dword [esp + 0x20]
push edx
call ebx
push 0
mov eax, 0xff
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x13c]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x48]
push eax
inc edi
push edi
push esi
call ebp
test eax, eax
je 0x42a461
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov edx, dword [esp + 0x18]
inc edx
push edx
call fcn.00429210
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
add esp, 4
mov edi, eax
xor ebp, ebp
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
push edi
lea edx, [esp + 0x30]
push edx
push 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x248]
push ecx
push ebp
push esi
mov dword [esp + 0x4c], 0xff
call ebx
cmp eax, 8
je 0x42a595
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x18]
ja 0x42a595
test eax, eax
jne 0x42a598
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x340]
push edi
push edx
push eax
lea eax, [esp + 0x244]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc ebp
jmp 0x42a536
push edi
call fcn.00429250
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x324
ret

Function at 0x42b680
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x5c
push esi
push edi
mov edx, ecx
mov edx, dword [edx + 4]
xor eax, eax
mov ecx, 0xa
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov ecx, 0xd
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x68]
mov ecx, 0xa
lea esi, [esp + 8]
lea edi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x30]
push ecx
push 0
push 0x1100
push edx
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
add esp, 0x5c
ret 4
Function at 0x42b770
Capabilities:
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44325b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov edi, dword [esp + 0x38]
mov ebx, dword [edi + 0x3c]
mov ecx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0
push 0x1112
push ecx
mov dword [esp + 0x20], eax
call ebp
lea edx, [esp + 0x18]
push edx
push 1
mov dword [esp + 0x40], eax
mov eax, dword [esi + 4]
push 0x1104
push eax
mov dword [esp + 0x28], ebx
call ebp
mov esi, dword [edi + 0x60]
mov edi, dword [edi + 0x64]
push 0x40
call fcn.00429210
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x30], 0
je 0x42b808
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
push edi
push esi
push edi
push esi
push ecx
push edx
mov ecx, eax
call fcn.0042e420
jmp 0x42b80a
xor eax, eax
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x42d6d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44332b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esi + 4], eax
push edi
xor edi, edi
lea eax, [esi + 0x3c]
mov dword [esi], 0x4472d4
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], edx
mov dword [esp + 0xc], esi
mov dword [eax + 0xc], edi
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov eax, dword [esp + 0x5c]
push eax
mov ecx, esi
mov dword [esp + 0x54], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.0042d2f0
mov ebx, dword [sym.imp.COMCTL32.dll_ImageList_Create]
push 1
push 4
push 5
push 0x10
push 0x10
call ebx
push 1
push 4
push 5
push 0x20
push 0x20
mov dword [esi + 0x24], eax
call ebx
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ecx
push 1
push 0x1003
push edx
mov dword [esi + 0x20], eax
call ebx
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 4]
push eax
push edi
push 0x1003
push ecx
call ebx
mov edx, dword [esi + 4]
push edi
push edi
push 0x31
push edx
call ebx
mov ebx, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
mov edx, dword [esp + 0x24]
push 0xffffffffffffffff
push edi
mov dword [esi + 0x18], edx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [esi + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x48]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 0x10

Function at 0x42f180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44340f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.00429800
mov ecx, dword [esi]
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x30], 1
call fcn.0043684f
add esp, 0x14
lea edx, [esp + 4]
push edx
lea ecx, [esp + 0x10]
call fcn.004299c0
mov esi, dword [esp + 0x24]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00429840
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x1c], 0
call fcn.0042e660
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x42f2d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x443457
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
lea eax, [esp + 0x18]
push eax
mov esi, ecx
mov dword [esp + 8], 0
call fcn.0042f180
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x34], 1
call fcn.0042f220
push 0
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 2
call fcn.00429800
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov byte [esp + 0x3c], 3
call fcn.00429a70
add esp, 0xc
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 4
call fcn.00429a60
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 3
call fcn.0042e660
mov esi, dword [esp + 0x38]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00429840
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x30], 2
call fcn.0042e660
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.0042e660
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.0042e660
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4

Function at 0x42f3b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44347b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push esi
lea eax, [esp + 0xc]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 8]
call fcn.00429800
lea edx, [esp + 4]
push edx
mov ecx, esi
mov dword [esp + 0x120], 0
call fcn.00429a60
lea ecx, [esp + 4]
mov dword [esp + 0x11c], 0xffffffff
call fcn.0042e660
mov ecx, dword [esp + 0x114]
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret