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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5bc
mov ebp, dword [esp + 0x5d0]
lea edi, [esp + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
cmp ebp, dword [esp + 0x5d4]
je 0x41caca
mov eax, dword [ebp + 0x144]
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov esi, 0x280000
or eax, dword [ebp + 0x148]
and dword [esp + 0x10], 0
mov dword [esp + 0x18], 1
and dword [esp + 0x1c], 0
mov dword [esp + 0x20], 5
mov dword [esp + 0x2c], 0x110000
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
and eax, 0x800000
or eax, esi
push 4
pop ecx
mov dword [esp + 0x38], ecx
and dword [esp + 0x3c], 0
and dword [esp + 0x40], 0
mov dword [esp + 0x44], ecx
and dword [esp + 0x48], 0
and dword [esp + 0x4c], 0
mov dword [esp + 0x50], ecx
and dword [esp + 0x54], 0
and dword [esp + 0x58], 0
mov dword [esp + 0x5c], ecx
and dword [esp + 0x60], 0
and dword [esp + 0x64], 0
mov dword [esp + 0x68], ecx
and dword [esp + 0x6c], 0
and dword [esp + 0x70], 0
mov dword [esp + 0x74], ecx
and dword [esp + 0x78], 0
and dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
and dword [esp + 0x84], 0
and dword [esp + 0x88], 0
mov dword [esp + 0x8c], 8
and dword [esp + 0x90], 0
and dword [esp + 0x94], 0
mov dword [esp + 0x98], ecx
and dword [esp + 0x9c], 0
and dword [esp + 0xa0], 0
and dword [esp + 0xa4], 0
and dword [esp + 0xac], 0
and dword [esp + 0xb8], 0
and dword [esp + 0xc4], 0
and dword [esp + 0xcc], 0
and dword [esp + 0xd4], 0
and dword [esp + 0xdc], 0
and dword [esp + 0xe8], 0
and dword [esp + 0xf4], 0
and dword [esp + 0x100], 0
and dword [esp + 0x10c], 0
and dword [esp + 0x118], 0
and dword [esp + 0x124], 0
and dword [esp + 0x130], 0
and dword [esp + 0x13c], 0
and dword [esp + 0x148], 0
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], esi
and dword [esp + 0x15c], 0
and dword [esp + 0x164], 0
and dword [esp + 0x16c], 0
and dword [esp + 0x174], 0
mov byte [esp + 0x178], 0
mov edx, edi
lea ecx, [esp + 0x17c]
mov eax, dword [ebp + 0x64]
imul esi, dword [ebp + 0x6c], 0x16c
add esi, eax
push esi
push eax
call fcn.0041c80b
pop eax
pop ecx
mov edx, dword [ebp + 0xcc]
test edx, edx
je 0x41ca50
mov eax, dword [esp + 0x248]
mov ecx, dword [esp + 0x24c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov ecx, edi
push dword [ebp + 0xd4]
call fcn.00413d10
pop eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
call fcn.0041c1b0
mov dword [esp + 0x248], esi
mov dword [esp + 0x250], edi
lea edi, [esp + 0x10]
mov dword [esp + 0x24c], ebx
mov esi, dword [esp + 0x17c]
push 0x168
lea eax, [esp + 0x184]
push eax
lea eax, [esp + 0x45c]
push eax
call fcn.005669c0
add esp, 0xc
cmp esi, 2
je 0x41caca
mov dword [esp + 0x2e8], esi
push 0x168
lea eax, [esp + 0x458]
push eax
lea eax, [esp + 0x2f4]
push eax
call fcn.005669c0
add esp, 0xc
mov ebx, 0x16c
push ebx
mov esi, dword [esp + 4]
push esi
push edi
call fcn.005669c0
add esp, 0xc
lea eax, [esp + 0x2e8]
mov ecx, esi
mov edx, edi
push eax
call fcn.0041cae7
pop eax
add ebp, ebx
jmp 0x41c827
push 0x16c
push dword [esp + 4]
push dword [esp + 0xc]
call fcn.005669c0
add esp, 0x5c8
pop esi
pop edi
pop ebx
pop ebp
ret