joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411fa3
Capabilities:
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xd4
mov eax, dword [0x5c8810]
xor eax, ebp
mov dword [ebp + 0x74], eax
push ebx
push esi
push edi
mov edi, 0x9c
push edi
lea eax, [ebp - 0x28]
push 0
push eax
mov esi, ecx
call fcn.00530830
add esp, 0xc
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call edi
test eax, eax
jne 0x412008
mov ebx, 0x94
push ebx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00530830
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], ebx
call edi
test eax, eax
je 0x412115
mov eax, dword [ebp - 0x18]
mov dword [esi + 0xb10], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0xb14], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xb18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x5665c4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x412080
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetNativeSystemInfo
push ebx
call edi
test eax, eax
je 0x412063
lea ecx, [ebp - 0x5c]
push ecx
call eax
push str.IsWow64Process
push ebx
call edi
push str.IsWow64Process2
push ebx
mov dword [ebp - 0x2c], eax
call edi
push ebx
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, word [ebp - 0x5c]
mov dword [esi + 0xb2c], eax
dec eax
dec eax
push 1
pop edi
je 0x4120d4
sub eax, 3
je 0x4120a5
dec eax
je 0x4120cc
dec eax
je 0x4120d4
dec eax
dec eax
je 0x4120ad
sub eax, 3
jne 0x4120da
mov dword [esi + 0xb28], edi
jmp 0x4120da
cmp dword [ebp - 0x2c], 0
je 0x4120da
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x30]
call dword [ebp - 0x2c]
test eax, eax
je 0x4120da
mov eax, dword [ebp - 0x38]
mov dword [esi + 0xb1c], eax
jmp 0x4120da
mov dword [esi + 0xb20], edi
jmp 0x4120da
mov dword [esi + 0xb24], edi
xor eax, eax
cmp dword [ebp - 0x34], eax
je 0x412115
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x34]
test eax, eax
je 0x412115
mov eax, 0xaa64
cmp word [ebp - 0x2c], ax
jne 0x412115
and dword [esi + 0xb1c], 0
mov dword [esi + 0xb28], edi
mov ecx, dword [ebp + 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053081c
add ebp, 0x78
leave
ret
Function at 0x412465
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
lea ebp, [esp - 0x228]
sub esp, 0x2a8
mov eax, dword [0x5c8810]
xor eax, ebp
mov dword [ebp + 0x224], eax
and dword [ebp - 0x7c], 0
push esi
push edi
mov edi, dword [ebp + 0x234]
mov esi, 0x9c
push esi
lea eax, [ebp - 0x78]
push 0
push eax
mov dword [ebp - 0x80], ecx
call fcn.00530830
add esp, 0xc
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x4124d5
push 0x94
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00530830
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], 0x94
call esi
push edi
mov esi, 0x200
lea eax, [ebp + 0x24]
push esi
push eax
call fcn.00415470
mov eax, dword [ebp - 0x68]
add esp, 0xc
dec eax
je 0x412563
dec eax
jne 0x412578
cmp dword [ebp - 0x74], 4
push edi
push str.Global_s
lea eax, [ebp + 0x24]
push esi
push eax
ja 0x412559
call fcn.00415470
add esp, 0x10
lea eax, [ebp + 0x24]
push eax
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x41253e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x24]
mov ecx, dword [ebp - 0x80]
push eax
push dword [ebp + 0x230]
call fcn.00412193
jmp 0x412575
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
lea eax, [ebp + 0x24]
je 0x41252d
push edi
push esi
push eax
call fcn.00415470
add esp, 0xc
jmp 0x41252a
call fcn.00415470
add esp, 0x10
jmp 0x41252a
lea eax, [ebp + 0x24]
push eax
push dword [ebp + 0x230]
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp + 0x224]
mov eax, dword [ebp - 0x7c]
pop edi
xor ecx, ebp
pop esi
call fcn.0053081c
add ebp, 0x228
leave
ret 8
Function at 0x412594
Capabilities:
Create service

Disassembly:
push ebp
lea ebp, [esp - 0x98c]
sub esp, 0xa0c
mov eax, dword [0x5c8810]
xor eax, ebp
mov dword [ebp + 0x988], eax
mov eax, dword [ebp + 0x998]
and dword [ebp - 0x7c], 0
push ebx
mov ebx, dword [ebp + 0x994]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x80], eax
lea eax, [edi + 0x610]
push eax
mov esi, 0x200
lea eax, [ebp + 0x788]
push esi
push eax
call fcn.00531f88
lea eax, [ebp + 0x788]
push eax
call fcn.00530f80
lea eax, [ebp + eax + 0x788]
add esp, 0x10
cmp byte [eax - 1], 0x5c
je 0x412603
mov byte [eax], 0x5c
mov byte [eax + 1], 0
lea eax, [edi + 0xa10]
push eax
lea eax, [ebp + 0x788]
push esi
push eax
call fcn.00415550
add esp, 0xc
push esi
lea eax, [ebp + 0x388]
push eax
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 1
push 0
call ebx
push esi
lea eax, [ebp - 0x78]
push eax
push 0xffffffffffffffff
lea eax, [ebp + 0x788]
push eax
push 1
xor esi, esi
push esi
call ebx
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x78]
push eax
push 1
push 3
push 1
push 0xf01ff
lea eax, [ebp + 0x388]
push eax
push eax
push dword [edi + 0x208]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
cmp eax, esi
jne 0x412692
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x7c], eax
xor edi, edi
sub eax, 5
je 0x4126a8
sub eax, 0x42b
je 0x4126a8
dec eax
jne 0x4126a8
inc edi
mov dword [ebp - 0x7c], esi
jmp 0x4126a8
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
cmp edi, esi
jne 0x4126a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x988]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053081c
add ebp, 0x98c
leave
ret 8

Function at 0x4127c6
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 4], 0
push ebx
push esi
push 0xf01ff
push dword [ebp + 8]
mov esi, ecx
push dword [esi + 0x208]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
jne 0x4127f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x412860
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_ControlService]
lea eax, [ebp - 0x20]
push eax
push 4
push ebx
call edi
test eax, eax
je 0x41283f
cmp dword [ebp - 0x1c], 1
je 0x412848
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
call edi
test eax, eax
je 0x41283f
cmp dword [ebp - 0x1c], 3
jne 0x412848
add esi, 0x204
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi], 0xffffffff
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
call edi
jmp 0x412848
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
test eax, eax
jne 0x41285d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 4
Function at 0x412aca
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x5c8810]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x610]
push edi
call fcn.00530f80
pop ecx
test eax, eax
jle 0x412b27
cmp byte [esi + eax + 0x60f], 0x5c
lea eax, [esi + 0xa10]
push eax
push edi
lea eax, [ebp - 0x204]
jne 0x412b12
push str._s_s
jmp 0x412b17
push 0x5666c0
push 0x200
push eax
call fcn.00415470
add esp, 0x14
jmp 0x412b47
lea eax, [esi + 0xa10]
push eax
push 0x5649f8
lea eax, [ebp - 0x204]
push 0x200
push eax
call fcn.00415470
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, eax
test ebx, ebx
jne 0x412b60
call dword [sym.imp.KERNEL32.dll_GetLastError]
add esi, 0x410
push esi
call fcn.00530f80
push edi
mov esi, eax
call fcn.00530f80
pop ecx
pop ecx
cmp eax, esi
jbe 0x412b8d
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ebx, eax
test ebx, ebx
jne 0x412b8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0053081c
leave
ret
Function at 0x415f30
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
sub esp, 0x2a0
mov eax, dword [0x5c8810]
xor eax, esp
mov dword [esp + 0x29c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2b8]
push edi
push 0x9c
xor ebp, ebp
lea eax, [esp + 0x14]
push ebp
push eax
mov edi, ecx
call fcn.00530830
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0x9c
call ebx
test eax, eax
jne 0x415fa1
push 0x94
push eax
lea edx, [esp + 0x18]
push edx
call fcn.00530830
add esp, 0xc
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x94
call ebx
push esi
lea ecx, [esp + 0xb0]
push 0x200
push ecx
call fcn.00415470
mov eax, dword [esp + 0x2c]
add esp, 0xc
sub eax, 1
je 0x416083
sub eax, 1
jne 0x41609d
cmp dword [esp + 0x14], 4
push esi
push str.Global_s
lea edx, [esp + 0xb4]
push 0x200
push edx
ja 0x416062
call fcn.00415470
add esp, 0x10
lea eax, [esp + 0xac]
push eax
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
je 0x416028
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x2b8]
lea ecx, [esp + 0xac]
push ecx
push edx
mov ecx, edi
call fcn.004130a0
jmp 0x41609f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x41606a
push esi
lea edx, [esp + 0xb0]
push 0x200
push edx
call fcn.00415470
mov ecx, dword [esp + 0x2c4]
add esp, 0xc
lea eax, [esp + 0xac]
push eax
push ecx
mov ecx, edi
call fcn.004130a0
jmp 0x41609f
call fcn.00415470
add esp, 0x10
mov ecx, dword [esp + 0x2b8]
lea eax, [esp + 0xac]
push eax
push ecx
mov ecx, edi
call fcn.004130a0
jmp 0x41609f
mov eax, dword [esp + 0x2b8]
lea edx, [esp + 0xac]
push edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
jmp 0x41609f
mov eax, ebp
mov ecx, dword [esp + 0x2ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0053081c
add esp, 0x2a0
ret 0xc
Function at 0x4230f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55c068
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5c8810]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 1
call fcn.0043b4e0
fld dword [0x564828]
xor edi, edi
fstp dword [esi + 0x38]
push 3
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CPCIInterface.0
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x18], 1
mov dword [esi + 0x20], 1
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call fcn.00416b80
mov ecx, eax
call fcn.00415ee0
mov dword [esi + 8], eax
cmp eax, edi
jne 0x423178
push 3
call fcn.00416b80
mov ecx, eax
call fcn.00416890
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x42a970
Capabilities:
Get memory capacity

Disassembly:
push 0xffffffffffffffff
push 0x55c35b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5c8810]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00461be0
call fcn.00416b80
mov esi, dword [eax + 0x60]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
fild dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jge 0x42a9c2
fadd dword [0x566540]
cmp dword [esi + 0x118], 0
fstp dword [esp + 0x10]
jne 0x42aa61
push 0x168
call fcn.005120bc
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], 0
test eax, eax
je 0x42a9fb
push 0
mov ecx, eax
call fcn.0042d680
jmp 0x42a9fd
xor eax, eax
mov dword [esi + 0x118], eax
or dword [eax + 0x144], 0x1c0e000
mov edx, dword [esi + 0x118]
push str.System_Memory
add edx, 4
push 0x100
push edx
mov dword [esp + 0x4c], 0xffffffff
call fcn.00415470
mov ecx, dword [esi + 0x118]
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
add esp, 0xc
push ecx
mov ecx, esi
call edx
mov edi, dword [esi + 0x118]
call fcn.00416b80
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx + 8]
mov dword [edi + 0x148], edx
mov ecx, dword [eax + 0x34]
push edi
call fcn.00404d16
fld dword [esp + 0x10]
push 1
push ecx
mov ecx, dword [esi + 0x118]
fstp dword [esp]
call fcn.0042b550
mov eax, dword [ebx + 8]
test eax, eax
je 0x42aab9
mov esi, dword [eax + 4]
test esi, esi
je 0x42aab9
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42aab9
mov edi, 0x80000
cmp dword [ecx + 0x104], 1
jne 0x42aa9e
test dword [ebx + 0xc], edi
je 0x42aaa5
push 0
call fcn.00464df0
test esi, esi
je 0x42aab9
mov eax, dword [esi + 8]
test eax, eax
je 0x42aab9
mov ecx, dword [eax + 4]
mov esi, eax
test ecx, ecx
jne 0x42aa90
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret
Function at 0x43d200
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55cdcf
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c8810]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.K10_FIDVID_Control.0
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
xor edi, edi
lea ebp, [esi + 0x44]
push 0x10
call fcn.005120bc
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 1
cmp eax, ebx
je 0x43d298
lea ecx, [edi - 0x3ffeff9c]
push ecx
mov ecx, eax
call fcn.00474e30
jmp 0x43d29a
xor eax, eax
mov dword [ebp], eax
inc edi
add ebp, 4
cmp edi, 5
mov byte [esp + 0x24], bl
jl 0x43d271
push 0x10
call fcn.005120bc
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 2
cmp eax, ebx
je 0x43d2cf
push 0xc0010062
mov ecx, eax
call fcn.00474e30
jmp 0x43d2d1
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x5c], eax
call fcn.005120bc
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 3
cmp eax, ebx
je 0x43d2fd
push 0xc0010063
mov ecx, eax
call fcn.00474e30
jmp 0x43d2ff
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x58], eax
call fcn.005120bc
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 4
cmp eax, ebx
je 0x43d32b
push 0xc0010071
mov ecx, eax
call fcn.00474e30
jmp 0x43d32d
xor eax, eax
push 0x10
mov byte [esp + 0x28], bl
mov dword [esi + 0x34], eax
call fcn.005120bc
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 5
cmp eax, ebx
je 0x43d35c
push 0xc0010070
mov ecx, eax
call fcn.00474e30
mov dword [esi + 0x38], eax
jmp 0x43d35f
mov dword [esi + 0x38], ebx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x43df10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55ce9e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c8810]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x24], ebx
mov dword [esi], vtable.K17_FIDVID_Control.0
xor edi, edi
lea ebp, [esi + 0x3c]
jmp 0x43df80
push 0x10
call fcn.005120bc
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 1
cmp eax, ebx
je 0x43dfa7
lea ecx, [edi - 0x3ffeff9c]
push ecx
mov ecx, eax
call fcn.00474e30
jmp 0x43dfa9
xor eax, eax
mov dword [ebp], eax
inc edi
add ebp, 4
cmp edi, 8
mov byte [esp + 0x24], bl
jl 0x43df80
push 0x10
call fcn.005120bc
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], 2
cmp eax, ebx
je 0x43dfe1
push 0xc0010293
mov ecx, eax
call fcn.00474e30
mov dword [esi + 0x34], eax
jmp 0x43dfe4
mov dword [esi + 0x34], ebx
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x451434
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x78
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x84]
push edi
push esi
call fcn.00441eb0
xor ebp, ebp
mov edi, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebp
cmp edi, 0xffffffff
je 0x451684
mov eax, dword [esi + 0x170]
cmp eax, ebp
je 0x451684
cmp dword [esi + 0x174], ebp
je 0x451684
cmp dword [esi + 0x180], ebp
je 0x451684
cmp dword [esi + 0x17c], ebp
je 0x451684
mov edx, dword [esi + 0x110]
push ebp
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edx + edi*4]
push ecx
call eax
add esp, 0xc
test eax, eax
jne 0x451677
mov eax, dword [esp + 0xc]
cmp eax, ebp
jbe 0x451677
xor ecx, ecx
mov edx, 4
mul edx
seto cl
push ebx
neg ecx
or ecx, eax
push ecx
call fcn.005120eb
mov ecx, dword [esi + 0x110]
mov edx, dword [ecx + edi*4]
mov ebx, eax
push ebx
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x170]
push edx
call eax
add esp, 0x10
test eax, eax
jne 0x45166d
xor edi, edi
cmp dword [esp + 0x10], ebp
jbe 0x45166d
mov ebp, dword [esp + 0x94]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x174]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0x20
mov edx, dword [ebx + edi*4]
push ecx
push edx
call eax
add esp, 8
test eax, eax
jne 0x451662
mov eax, dword [esp + 0x38]
sub eax, 0
je 0x4515db
sub eax, 1
jne 0x451662
cmp dword [esp + 0x90], eax
je 0x4515a6
push 0x38
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.00530830
mov ecx, dword [esi + 0x180]
lea edx, [esp + 0x5c]
mov dword [esp + 0x5c], 0x38
mov eax, dword [ebx + edi*4]
push edx
push eax
call ecx
add esp, 0x14
test eax, eax
jne 0x451662
fld qword [esp + 0x78]
fstp dword [ebp + 8]
jmp 0x45165a
mov ecx, dword [esi + 0x17c]
xor eax, eax
mov dword [esp + 0x18], eax
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0x18
mov eax, dword [ebx + edi*4]
push edx
push eax
call ecx
jmp 0x45164c
cmp dword [esp + 0x90], 0
je 0x451619
push 0x38
lea edx, [esp + 0x54]
push 0
push edx
call fcn.00530830
mov edx, dword [esi + 0x180]
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0x38
mov ecx, dword [ebx + edi*4]
push eax
push ecx
call edx
add esp, 0x14
test eax, eax
jne 0x451662
fld qword [esp + 0x78]
jmp 0x451657
mov edx, dword [esi + 0x17c]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x18
mov ecx, dword [ebx + edi*4]
push eax
push ecx
call edx
add esp, 8
test eax, eax
jne 0x451662
fld qword [esp + 0x28]
fstp dword [ebp + 4]
mov dword [esp + 0x14], 1
inc edi
cmp edi, dword [esp + 0x10]
jb 0x451504
push ebx
call fcn.005120f6
add esp, 4
pop ebx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
add esp, 0x78
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x78
ret 0xc
Function at 0x45d690
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x55d048
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5c8810]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 0x10
call fcn.0042da30
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dl, byte [esp + 0x28]
xor edi, edi
mov dword [esi + 0x14], eax
mov al, byte [esp + 0x2c]
mov dword [esi + 0x18], ecx
mov cl, byte [esp + 0x30]
push 0x200
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CDrive.0
mov dword [esi + 0x10], edi
mov byte [esi + 0x20], dl
mov byte [esi + 0x21], al
mov byte [esi + 0x22], cl
mov dword [esi + 0x24], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
call fcn.005120eb
push 0x564842
push 0x200
push eax
mov dword [esi + 0x34], eax
call fcn.00531f88
push 0x200
call fcn.005120eb
push 0x564842
push 0x200
push eax
mov dword [esi + 0x38], eax
call fcn.00531f88
push 0x200
call fcn.005120eb
push 0x564842
push 0x200
push eax
mov dword [esi + 0x3c], eax
call fcn.00531f88
push 0x20
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call fcn.005120bc
fld qword [0x569628]
add esp, 0x34
cmp eax, edi
je 0x45d786
fld dword [0x564828]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x45d78a
fstp st(0)
xor eax, eax
push 0x20
mov dword [esi + 0x48], eax
call fcn.005120bc
add esp, 4
cmp eax, edi
je 0x45d7b8
fld dword [0x564828]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fld qword [0x569628]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x45d7ba
xor eax, eax
push 0x20
mov dword [esi + 0x4c], eax
call fcn.005120bc
add esp, 4
cmp eax, edi
je 0x45d7e8
fld dword [0x564828]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fld qword [0x569628]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x45d7ea
xor eax, eax
push 0x20
mov dword [esi + 0x50], eax
call fcn.005120bc
add esp, 4
cmp eax, edi
je 0x45d818
fld dword [0x564828]
mov dword [eax], vtable.CCounter.0
fstp dword [eax + 0x18]
fld qword [0x569628]
fst qword [eax + 0x10]
fstp qword [eax + 8]
jmp 0x45d81a
xor eax, eax
mov dword [esi + 0x54], eax
or eax, 0xffffffff
mov ecx, 1
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], ecx
mov dword [esi + 0x94], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0x14