Function at 0x418792
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x29c
mov eax, dword [esp + 0x2b0]
mov ecx, dword [eax]
mov eax, dword [ecx]
and dword [ecx], 0
test eax, eax
je 0x418e00
mov ebx, dword [eax]
call fcn.004186fa
mov esi, eax
add eax, 0xa8
mov dword [esp + 0x34], eax
lea eax, [esi + 0xc0]
lea ebp, [esi + 0x1b0]
mov dword [esp + 4], eax
lea eax, [esi + 0x90]
mov dword [esp + 0x30], eax
lea eax, [esi + 0xf0]
mov dword [esp + 0x38], eax
lea eax, [esi + 0x108]
mov dword [esp + 0x3c], eax
lea eax, [esi + 0x120]
mov dword [esp + 0x40], eax
lea eax, [esi + 0x138]
mov dword [esp + 0x44], eax
lea eax, [esi + 0x150]
mov dword [esp + 0x48], eax
lea eax, [esi + 0x168]
mov dword [esp + 0x4c], eax
lea eax, [esi + 0x180]
mov dword [esp + 0x50], eax
lea eax, [esi + 0x198]
mov dword [esp + 0x54], eax
lea eax, [esi + 0x1c8]
mov dword [esp + 8], eax
mov eax, 0x1e0
lea eax, [esi + eax]
mov dword [esp + 0x58], eax
lea eax, [esi + 0x210]
mov dword [esp], eax
lea eax, [esi + 0x228]
mov dword [esp + 0x5c], eax
lea eax, [esi + 0x240]
mov dword [esp + 0x60], eax
lea eax, [esi + 0x270]
mov dword [esp + 0x64], eax
lea eax, [esi + 0x678]
mov dword [esp + 0x6c], eax
lea eax, [esi + 0x690]
mov dword [esp + 0x68], eax
lea eax, [esi + 0x450]
mov dword [esp + 0x70], eax
lea eax, [esi + 0x630]
mov dword [esp + 0x7c], eax
lea eax, [esi + 0x648]
mov dword [esp + 0x78], eax
lea eax, [esi + 0x660]
mov dword [esp + 0x74], eax
lea eax, [esi + 0x6a8]
mov dword [esp + 0x84], eax
lea eax, [esi + 0x4f8]
mov dword [esp + 0x94], eax
lea eax, [esi + 0x528]
mov dword [esp + 0x90], eax
lea eax, [esi + 0x540]
mov dword [esp + 0x8c], eax
lea eax, [esi + 0x558]
mov dword [esp + 0x10], eax
lea eax, [esi + 0x468]
mov dword [esp + 0xac], eax
lea eax, [esi + 0x498]
mov dword [esp + 0x9c], eax
lea eax, [esi + 0x4b0]
mov dword [esp + 0x98], eax
lea eax, [esi + 0x4c8]
mov dword [esp + 0xc], eax
push 4
pop ecx
mov edx, ecx
mov edi, ecx
call fcn.00418e02
lea ecx, [esi + 0x570]
mov dword [esp + 0x2c], eax
mov edx, edi
mov dword [eax], ecx
lea eax, [esi + 0x510]
mov dword [esp + 0x20], ecx
mov ecx, edi
mov dword [esp + 0x80], eax
lea eax, [esi + 0x480]
mov dword [esp + 0x88], eax
lea eax, [esi + 0x6c0]
mov dword [esp + 0xa8], eax
lea eax, [esi + 0x6d8]
mov dword [esp + 0xa4], eax
lea eax, [esi + 0x6f0]
mov dword [esp + 0xa0], eax
lea eax, [esi + 0x5e8]
mov dword [esp + 0xb8], eax
lea eax, [esi + 0x600]
mov dword [esp + 0xb4], eax
lea eax, [esi + 0x618]
mov dword [esp + 0xb0], eax
call fcn.00418e02
lea edi, [esi + 0x348]
mov dword [esp + 0x28], eax
mov dword [eax], edi
push 8
pop ecx
push 4
pop edx
call fcn.00418e02
mov ecx, eax
mov dword [esp + 0x24], eax
mov dword [eax], edi
mov eax, dword [esp]
mov dword [ecx + 4], eax
push 8
pop ecx
push 4
pop edx
call fcn.00418e02
mov dword [eax], edi
mov edi, dword [esp + 4]
mov dword [esp + 0x1c], eax
mov dword [eax + 4], edi
push 4
pop ecx
mov edx, ecx
call fcn.00418e02
mov ecx, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp]
mov dword [ecx], eax
push 4
pop ecx
mov edx, ecx
call fcn.00418e02
mov dword [esp + 0x14], eax
mov dword [eax], edi
push 4
pop ecx
mov edx, ecx
call fcn.00418e02
mov edi, eax
mov eax, dword [esp + 0x20]
mov ecx, 0x1e0
mov dword [edi], eax
lea eax, [esp + 0xbc]
push ecx
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
and dword [ebx], 0
push 4
pop edx
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 4], edx
and dword [ebx + 8], 0
xor eax, eax
inc eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x14], eax
and dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], edx
and dword [ebx + 0x20], 0
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], eax
push 2
pop ecx
mov edx, dword [esp + 0x24]
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x34], edx
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x44], ecx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x58], ecx
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], edi
mov dword [ebx + 0x68], eax
and dword [ebx + 0x6c], 0
push 4
pop eax
mov dword [ebx + 0x70], eax
mov eax, dword [esp + 0x34]
and dword [ebx + 0x74], 0
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 8]
mov edi, dword [esp + 0x6c]
mov dword [ebx + 0x78], eax
mov eax, dword [esp + 4]
mov dword [ebx + 0x7c], ebp
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], edx
mov dword [ebx + 0x88], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x8c], ebp
mov dword [ebx + 0x90], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x94], ebp
mov dword [ebx + 0x98], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x9c], ebp
mov dword [ebx + 0xa0], eax
mov eax, dword [esp + 0x44]
mov dword [ebx + 0xa4], ebp
mov dword [ebx + 0xa8], eax
mov eax, dword [esp + 0x48]
mov dword [ebx + 0xac], ebp
mov dword [ebx + 0xb0], eax
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0xb4], ebp
mov dword [ebx + 0xb8], eax
mov eax, dword [esp + 0x50]
mov dword [ebx + 0xbc], ebp
mov dword [ebx + 0xc0], eax
mov eax, dword [esp + 0x54]
mov dword [ebx + 0xc4], ebp
mov dword [ebx + 0xc8], eax
mov dword [ebx + 0xcc], ebp
mov dword [ebx + 0xd0], ecx
mov dword [ebx + 0xd4], edx
mov dword [ebx + 0xd8], ecx
mov ecx, dword [esp + 0x58]
mov eax, edx
mov dword [ebx + 0xdc], ebp
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0xe0], ecx
mov ecx, dword [esp]
mov dword [ebx + 0xe4], ebp
mov dword [ebx + 0xe8], ecx
mov dword [ebx + 0xec], edx
mov dword [ebx + 0xf0], ecx
mov dword [ebx + 0xf4], ebp
mov dword [ebx + 0xf8], eax
mov eax, dword [esp + 0x60]
mov dword [ebx + 0xfc], ebp
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov dword [ebx + 0x100], eax
mov eax, dword [esp + 0x64]
mov dword [ebx + 0x104], ebp
mov dword [ebx + 0x108], eax
mov dword [ebx + 0x10c], ebp
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x110], esi
mov dword [ebx + 0x114], edi
mov dword [ebx + 0x118], ebp
mov dword [ebx + 0x11c], eax
mov eax, dword [esp + 0x7c]
mov dword [ebx + 0x120], esi
mov dword [ebx + 0x124], eax
mov dword [ebx + 0x128], ecx
mov dword [ebx + 0x12c], edx
mov dword [ebx + 0x130], esi
mov dword [ebx + 0x134], edi
mov edi, dword [esp + 0x84]
mov dword [ebx + 0x138], ebp
mov ebp, dword [esp + 0x98]
mov dword [ebx + 0x13c], edi
mov dword [ebx + 0x140], esi
mov dword [ebx + 0x144], eax
mov eax, dword [esp + 0x94]
mov dword [ebx + 0x148], ecx
mov dword [ebx + 0x14c], edx
mov dword [ebx + 0x150], esi
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
mov edi, dword [esp + 0x9c]
mov dword [ebx + 0x154], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x158], ecx
mov dword [ebx + 0x15c], edx
mov dword [ebx + 0x160], eax
mov eax, dword [esp + 0xac]
mov dword [ebx + 0x164], esi
mov dword [ebx + 0x168], eax
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x16c], edi
mov dword [ebx + 0x170], ebp
mov dword [ebx + 0x174], eax
mov eax, dword [esp + 0x80]
mov dword [ebx + 0x178], esi
mov dword [ebx + 0x17c], eax
mov dword [ebx + 0x180], ecx
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x184], edx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0xa8]
mov dword [ebx + 0x188], ecx
mov ecx, dword [esp + 0x88]
mov dword [ebx + 0x18c], esi
mov dword [ebx + 0x190], ecx
mov ecx, dword [esp + 0xa4]
mov dword [ebx + 0x194], edi
mov dword [ebx + 0x198], ebp
mov dword [ebx + 0x19c], eax
mov dword [ebx + 0x1a0], esi
mov dword [ebx + 0x1a4], edx
mov edx, dword [esp + 0xa0]
mov edi, dword [esp + 4]
mov dword [ebx + 0x1a8], ecx
mov ecx, dword [esp + 0xb8]
mov dword [ebx + 0x1ac], edx
mov dword [ebx + 0x1b0], esi
mov edx, dword [esp + 0xb4]
mov dword [ebx + 0x1b4], ecx
mov ecx, dword [esp + 0xb0]
mov dword [ebx + 0x1b8], edx
mov edx, dword [esp]
mov dword [ebx + 0x1bc], ecx
mov ecx, dword [esp + 8]
mov dword [ebx + 0x1c0], esi
mov dword [ebx + 0x1c4], edx
mov dword [ebx + 0x1c8], edi
mov dword [ebx + 0x1cc], ecx
mov dword [ebx + 0x1d0], esi
mov dword [ebx + 0x1d4], edx
mov dword [ebx + 0x1d8], edi
mov dword [ebx + 0x1dc], esi
lea ecx, [esp + 0xbc]
cmp dword [ecx], 0x80000000
jne 0x418dc2
add esp, 0x29c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xffffffffffffffe8
pop esi
test esi, esi
je 0x418de1
mov ecx, dword [esp + esi + 0xd4]
mov edx, dword [esp + esi + 0xd8]
call fcn.00418e14
add esi, 0xc
jmp 0x418dc5
push 0xffffffffffffffa0
pop esi
test esi, esi
je 0x418db7
mov ecx, dword [esp + esi + 0x134]
mov edx, dword [esp + esi + 0x138]
call fcn.00418e14
add esi, 0xc
jmp 0x418de4
ud2