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

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
test edx, edx
jne 0x41c663
xor eax, eax
add esp, 0x24
ret 0x20
mov eax, dword [0x4938c0]
push ebx
push esi
mov esi, dword [eax + 0xd74]
push edi
mov edi, dword [eax + 0xd7c]
mov eax, dword [edi + 0x9be68]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x228]
test eax, eax
mov dword [esp + 0x18], edi
jne 0x41c6a2
mov ecx, dword [edx + 0x188]
test ecx, ecx
jne 0x41c69d
xor ecx, ecx
jmp 0x41c6a8
mov ecx, dword [edx + 0x78]
jmp 0x41c6a8
mov ecx, dword [edx + 0x1c0]
test eax, eax
mov dword [esp + 0x1c], ecx
jne 0x41c6cb
mov eax, dword [edx + 0x188]
test eax, eax
jne 0x41c6c2
xor eax, eax
mov dword [esp + 0x20], eax
jmp 0x41c6d5
mov eax, dword [edx + 0x7c]
mov dword [esp + 0x20], eax
jmp 0x41c6d5
mov edx, dword [edx + 0x1bc]
mov dword [esp + 0x20], edx
mov eax, dword [edi + 0x18338]
lea eax, [eax + eax*4]
shl eax, 1
push eax
mov ecx, esi
call fcn.00422c80
push 0x19
push 0x19
mov ecx, esi
call fcn.00422960
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov eax, ebx
mov dword [esp + 0xc], edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41c704
sub eax, edx
test eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], 0
jle 0x41c920
add edi, 0x19
mov dword [esp + 0x10], edi
mov edi, ebx
push ebp
mov dword [esp + 0x3c], edi
jmp 0x41c740
mov edi, dword [esp + 0x3c]
jmp 0x41c740
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x28], ecx
mov ecx, 1
cmp eax, ecx
jne 0x41c788
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18358], ecx
jne 0x41c788
cmp dword [esp + 0x54], ecx
jne 0x41c788
movzx edx, byte [eax + 0x1835e]
movzx ebx, byte [eax + 0x1835c]
movzx ebp, byte [eax + 0x1835d]
mov dword [esp + 0x28], edx
movsx ecx, byte [edi]
xor eax, eax
mov word [esp + 0x40], ax
push ecx
mov byte [esp + 0x46], al
call fcn.0045bae2
add esp, 4
test eax, eax
je 0x41c7d3
push 2
lea edx, [esp + 0x44]
push edi
push edx
call fcn.0045af60
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
mov eax, 2
add edx, eax
add esp, 0xc
add ecx, eax
mov edi, 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x3c], ecx
jmp 0x41c7f7
push 1
lea eax, [esp + 0x44]
push edi
push eax
call fcn.0045af60
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
add esp, 0xc
xor edi, edi
inc ecx
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0x20], ecx
jle 0x41c911
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
add edx, 0x19
cmp eax, edx
jle 0x41c911
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1833c]
test ecx, ecx
je 0x41c870
mov ecx, dword [eax + 0x18334]
test ecx, ecx
mov ecx, esi
jne 0x41c836
push 0
jmp 0x41c838
push 2
call fcn.00422cb0
push 0
push 0
push 0
mov ecx, esi
call fcn.004228f0
push 0x19
push 0x19
mov ecx, esi
call fcn.00422960
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
add eax, 2
add ecx, 2
push eax
push ecx
mov ecx, esi
call fcn.00422990
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x18334]
test ecx, ecx
mov ecx, dword [eax + 0x18340]
jne 0x41c88e
test ecx, ecx
mov ecx, esi
jne 0x41c88a
push 0
jmp 0x41c89a
push 3
jmp 0x41c89a
test ecx, ecx
mov ecx, esi
jne 0x41c898
push 2
jmp 0x41c89a
push 4
call fcn.00422cb0
mov edx, dword [esp + 0x28]
push edx
push ebp
push ebx
mov ecx, esi
call fcn.004228f0
mov ebx, 0x19
push ebx
push ebx
mov ecx, esi
call fcn.00422960
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00422990
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.0042a890
cmp edi, 1
jne 0x41c8f8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
add ecx, ebx
add eax, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x41c911
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, 0xc
add edx, eax
add ecx, eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x30]
jl 0x41c731
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x24
ret 0x20