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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41ca66
sub esp, 0x64
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x18]
mov edx, dword fs:[0x14]
mov edx, dword [edx]
cmp dword [ecx], edx
je 0x41c6aa
mov ecx, dword [edx + 0x18]
mov edx, dword [ecx + 0x78]
test edx, edx
jg 0x41c6a2
mov ecx, dword [ecx + 0x74]
test ecx, ecx
je 0x41c6a6
add esp, 0x64
ret
xor ecx, ecx
jmp 0x41c6b3
add esp, 0x64
ret
movzx ecx, byte [esp + 0x1b]
mov byte [esp + 0x1b], cl
lea eax, [0x7185b8]
mov dword [esp], eax
call fcn.004020d0
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x3c], ecx
lea edx, [0x7185c0]
mov dword [esp], edx
call fcn.004020d0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0xe4]
xor edx, edx
sub edx, ecx
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 0xe8]
mov ebx, 0
sbb ebx, ecx
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov ebp, dword [esp + 4]
mov dword [esp + 0x44], ebp
mov dword [esp + 4], ebx
mov dword [esp], edx
call fcn.0044d560
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.0044bf70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044d5f0
mov eax, dword [esp + 0xc]
test eax, eax
setl cl
mov edx, dword [esp + 8]
cmp edx, 0x10000
setb bl
test eax, eax
sete al
and ebx, eax
or ebx, ecx
mov eax, dword [esp + 0xc]
test bl, bl
jne 0x41c77d
mov ebx, dword [esp + 0x30]
mov ecx, edx
mov edx, dword [esp + 0x2c]
jmp 0x41c7c8
mov dword [esp + 4], 0
mov dword [esp], 0x10000
call fcn.0044d560
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call fcn.0044bf70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044d5f0
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
xor eax, eax
mov ecx, 0x10000
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ebx
lea ebp, [0x718580]
mov dword [esp], ebp
call fcn.00402270
mov eax, dword [esp + 4]
test eax, eax
seta cl
mov edx, dword [esp + 8]
test edx, edx
sete bl
xchg ebp, ebx
setg bl
xchg ebp, ebx
mov esi, dword [esp + 8]
and ebx, ecx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x41c81a
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
jmp 0x41c95c
mov ecx, dword [esp + 0x28]
cmp ecx, edx
sete dl
setg bl
mov ebp, dword [esp + 0x24]
cmp ebp, eax
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, edx
or ebx, edi
test bl, bl
jne 0x41c86a
mov edx, dword [esp + 0x68]
mov ebx, dword [edx + 0xe4]
mov edi, dword [esp + 0x2c]
add ebx, edi
mov edi, dword [edx + 0xe8]
mov dword [edx + 0xe4], ebx
mov ebx, dword [esp + 0x30]
adc edi, ebx
mov dword [edx + 0xe8], edi
mov eax, ebp
jmp 0x41c8fd
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0xe4]
mov dword [esp + 0x50], edx
mov ebx, dword [ecx + 0xe8]
mov dword [esp + 0x4c], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0044d560
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.0044bf70
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044d5f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x50]
mov edx, eax
add eax, ecx
mov ebx, eax
add eax, 1
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x68]
mov dword [esi + 0xe4], eax
add edx, ecx
mov eax, dword [esp + 0x4c]
adc ebp, eax
add ebx, 1
adc ebp, 0
mov dword [esi + 0xe8], ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebp
xor edx, edx
sub edx, ebp
sub eax, ebp
mov dword [esp + 0x50], eax
lea esi, [0x718580]
mov dword [esp], esi
xor esi, esi
sub esi, ebp
mov esi, 0
sbb esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 4], edx
call fcn.00402280
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
sbb eax, ecx
test eax, eax
sete cl
mov edx, dword [esp + 0x50]
test edx, edx
sete bl
and ecx, ebx
test cl, cl
jne 0x41ca54
movzx ecx, byte [0x6fbf88]
test cl, cl
je 0x41c98c
movzx ecx, byte [esp + 0x1b]
test cl, cl
jne 0x41c991
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
call fcn.004585a0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ecx, 1
jmp 0x41c991
movzx ecx, byte [esp + 0x1b]
mov byte [esp + 0x1b], cl
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea ebx, [0x41ca70]
mov dword [esp + 0x54], ebx
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
mov dword [esp], eax
call fcn.00462d60
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x44]
mov edx, dword [0x717c00]
test edx, edx
jne 0x41c9f5
mov dword [eax + 0x44], 0
jmp 0x41ca03
lea edi, [eax + 0x44]
mov edx, eax
xor eax, eax
call fcn.00464240
mov eax, edx
test ecx, ecx
je 0x41ca10
call fcn.00418e70
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0xe8]
test ecx, ecx
jge 0x41ca42
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x41ca31
call fcn.0043a0c0
movzx ecx, byte [esp + 0x1b]
jmp 0x41c6b3
call fcn.0041cf10
movzx eax, byte [esp]
test al, al
je 0x41c6ae
movzx eax, byte [esp + 0x1b]
test al, al
je 0x41ca50
call fcn.004585f0
add esp, 0x64
ret
movzx eax, byte [esp + 0x1b]
test al, al
je 0x41ca62
call fcn.004585f0
add esp, 0x64
ret
call fcn.00462e70
jmp fcn.0041c660