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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe64
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp byte [eax + 0x6a], 0
je 0x41f91e
mov eax, dword [0x919818]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
call fcn.00403268
mov dword [ebp - 0x10], eax
mov eax, dword [0x919818]
mov eax, dword [eax]
cmp dword [eax + 0x3c], 0
jbe 0x41f715
push 0
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x919818]
mov eax, dword [eax]
mov eax, dword [eax + 4]
call fcn.00404f04
push eax
call fcn.0041a800
push 0
push 0
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x88]
mov ecx, 0x40
call fcn.0040da78
lea eax, [ebp - 0x24]
push eax
push 0
push 0x80
push 1
push 1
push 0x60
push 0
push 0
lea ecx, [ebp - 0x88]
lea eax, [ebp - 0x1c]
mov edx, 0x80100080
call fcn.0041c494
test eax, eax
jne 0x41f70c
mov eax, dword [0x919818]
mov eax, dword [eax]
mov eax, dword [eax + 0x34]
xor edx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [0x919818]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
call fcn.00403268
mov ebx, eax
push 0
lea eax, [ebp - 0x24]
push eax
push ebx
mov eax, dword [0x919818]
mov eax, dword [eax]
mov eax, dword [eax + 0x3c]
push eax
lea eax, [ebp - 0x30]
push eax
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x1c]
call fcn.0041c43c
test eax, eax
jne 0x41f6fd
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.0041d2ec
mov eax, ebx
call fcn.00403288
mov eax, dword [ebp - 0x1c]
call fcn.0041c3b4
lea eax, [ebp - 0x18]
push eax
call fcn.0041a810
mov edx, dword [ebp - 0x10]
mov eax, edx
mov ebx, dword [eax + 0x3c]
add ebx, edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebx + 0x50]
xor edx, edx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edx
push 5
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], edx
lea eax, [ebp - 0x38]
xor edx, edx
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x178], edx
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
lea eax, [ebp - 0x70]
xor edx, edx
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x164], 0x1000
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0x40
mov dword [ebp - 0x158], 0
lea eax, [ebp - 0x184]
push eax
mov eax, dword [ebp - 4]
call fcn.0041f3e8
push edx
push eax
call fcn.0041ea7c
add esp, 0x10
mov eax, dword [ebx + 0x50]
call fcn.00403268
mov edi, eax
mov edx, dword [ebx + 0x50]
mov eax, edi
call fcn.00406ed0
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, edi
call fcn.00406ec8
movzx esi, word [ebx + 6]
dec esi
test esi, esi
jl 0x41f837
inc esi
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
cmp dword [ebx + eax*8 + 0x11c], 0
jbe 0x41f831
mov edx, dword [ebx + eax*8 + 0x118]
push edx
mov edx, dword [ebp - 0xc]
lea edx, [edx + edx*4]
mov edx, dword [ebx + edx*8 + 0x11c]
add edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebx + eax*8 + 0x114]
add eax, edi
pop edx
pop ecx
call fcn.00406ec8
inc dword [ebp - 0xc]
dec esi
jne 0x41f7f8
mov eax, dword [ebp - 0x10]
call fcn.00403288
mov ecx, edi
mov eax, ecx
mov ebx, dword [eax + 0x3c]
add ebx, ecx
mov esi, dword [ebx + 0xb0]
test esi, esi
je 0x41f879
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
push edx
push eax
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x34]
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov edx, esi
add edx, ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041f458
xor eax, eax
mov dword [ebp - 0x4c], eax
cmp dword [ebx + 0x88], 0
je 0x41f89b
mov ecx, 0x8fb4b0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, edi
call fcn.0041f504
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebx + 0x50]
xor edx, edx
push edx
push eax
push edi
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
mov eax, dword [0x919818]
mov eax, dword [eax]
call dword [eax + 0x18]
push 2
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x19c], eax
mov dword [ebp - 0x198], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x194], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x190], eax
mov eax, dword [ebx + 0x50]
xor edx, edx
mov dword [ebp - 0x18c], eax
mov dword [ebp - 0x188], edx
lea eax, [ebp - 0x19c]
push eax
mov eax, dword [ebp - 4]
call fcn.0041f30c
push edx
push eax
call fcn.0041ea7c
add esp, 0x10
mov eax, edi
call fcn.00403288
jmp 0x41fb33
mov eax, dword [0x919818]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
call fcn.00403268
mov dword [ebp - 0x10], eax