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

Disassembly:
mov ecx, dword [0x5b96c8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x420350
sub esp, 0xbc
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
call fcn.00420c30
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x5b9e44], eax
mov dword [0x5b9e40], ecx
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0xe0]
mov edx, dword [eax + 0xe4]
mov ebx, dword [esp + 0xc4]
sub ebx, ecx
mov dword [esp + 0x70], ebx
mov ecx, dword [esp + 0xc8]
sbb ecx, edx
mov dword [esp + 0x74], ecx
test ecx, ecx
sete dl
xchg ebp, ebx
setg bl
xchg ebp, ebx
test ebx, ebx
xchg esi, ebx
seta bl
xchg esi, ebx
and edx, esi
or ebp, edx
xchg ebp, eax
mov byte [esp + 0x1b], al
xchg ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x41fa2f
mov edx, 0x3fd00000
xor esi, esi
jmp 0x41fafa
mov edx, eax
mov eax, ebx
mov ebp, dword [esp + 0xcc]
mov esi, edx
mul ebp
mov dword [esp + 0x9c], eax
imul ecx, ebp
add ecx, edx
sar ebp, 0x1f
imul ebp, ebx
add ecx, ebp
mov dword [esp + 0x98], ecx
lea ebp, [esi + 0xc0]
mov dword [esp], ebp
call fcn.004029a0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0044e6a0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x94], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x9c]
mov dword [esp], ebx
call fcn.0044e6a0
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
call fcn.0044d1c0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 4], 0x3fd00000
mov dword [esp], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
call fcn.0044c750
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc0]
mov esi, ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], esi
lea ecx, [eax + 0x68]
mov dword [esp + 0xb8], ecx
mov dword [esp], ecx
call fcn.00402b20
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc0]
mov ebx, dword [edx + 0x5c]
cmp dword [edx + 0x58], eax
setae al
cmp ebx, ecx
sete cl
seta bl
and eax, ecx
or eax, ebx
test al, al
jne 0x41fe6a
movzx ecx, byte [esp + 0x1b]
test cl, cl
jne 0x41fb58
xor eax, eax
xor ecx, ecx
jmp 0x41fc06
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0xcc]
mov ebx, edx
mov ebp, eax
mul ecx
mov dword [esp + 0x94], eax
mov esi, dword [esp + 0x74]
imul esi, ecx
add edx, esi
sar ecx, 0x1f
imul ebp, ecx
lea ecx, [edx + ebp]
mov dword [esp + 0x90], ecx
lea edx, [ebx + 0xd8]
mov dword [esp], edx
call fcn.004029a0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0044e6a0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0x88], edx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
call fcn.0044e6a0
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
call fcn.0044d1c0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], ecx
mov ebx, dword [esp + 0x9c]
xor ebx, 0x80000000
mov dword [esp + 0x8c], ebx
lea esi, [edx + 0xa0]
mov dword [esp + 0xb4], esi
lea edi, [edx + 0xa8]
mov dword [esp + 0xb0], edi
lea ebx, [edx + 0xb0]
mov dword [esp + 0xac], ebx
mov dword [esp], esi
call fcn.004029a0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
call fcn.004029a0
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0xac]
mov dword [esp], edx
call fcn.004029a0
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
call fcn.00402b20
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc0]
mov ebx, dword [edx + 0x58]
mov ebp, dword [edx + 0x5c]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
add esi, edi
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
adc edi, edx
mov edx, dword [esp + 0x30]
add edx, esi
mov dword [esp + 0x60], edx
mov esi, dword [esp + 0x44]
adc edi, esi
mov dword [esp + 0x64], edi
sub eax, ebx
sbb ecx, ebp
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0044e860
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov edx, dword [esp + 0x9c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x90]
mov dword [esp + 8], ebp
call fcn.0044c750
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.0044cdb0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x60]
mov dword [esp], edx
call fcn.0044e6a0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x84], ecx
mov dword [esp + 4], 0x3ff00000
mov dword [esp], 0
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 8], edx
call fcn.0044c750
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x88]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x84]
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.0044cdb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x94]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x90]
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.0044d1c0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0xc0]
mov ebx, dword [edx + 0x20]
mov dword [esp + 0x8c], ebx
mov ebp, dword [edx + 0x24]
mov dword [esp + 0x88], ebp
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
xor esi, esi
jmp 0x41fe94
add esp, 0xbc
ret
mov edi, dword [esp + 0x6c]
lea esi, [edi + 1]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x88]
cmp esi, 4
jge 0x41fef7
mov dword [esp + 0x6c], esi
lea eax, [edx + esi*8 + 0x28]
mov dword [esp + 0xa8], eax
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov ebp, dword [edx + 0x20]
mov edi, dword [edx + 0x24]
mov dword [esp + 4], ebx
mov dword [esp], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebp
call fcn.0044e550
movzx eax, byte [esp + 0x10]
test al, al
je 0x41feeb
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0xc0]
mov dword [edx + 0x20], ecx
mov dword [edx + 0x24], eax
jmp 0x41fe71
mov edx, dword [esp + 0xc0]
jmp 0x41fe71
lea eax, [edx + 0x28]
mov dword [esp], eax
lea eax, [edx + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
call fcn.00466ff0
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xc0]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x90]
mov dword [ecx + 0x44], eax
mov eax, dword [0x5b99f4]
test eax, eax
jle 0x420349
call fcn.004397b0
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 0xc], 0x40590000
mov dword [esp + 8], 0
call fcn.0044cdb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0044e6f0
mov eax, dword [esp + 8]
mov dword [esp + 0x80], eax
mov dword [esp + 4], 0x40390000
mov dword [esp], 0
call fcn.0044e6f0
mov eax, dword [esp + 0x80]
sar eax, 0x1f
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 8]
mov dword [esp + 0x78], edx
call fcn.004397b0
lea eax, [0x4dfaa7]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043a380
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.0043a1a0
lea eax, [0x4dfaae]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043a380
mov eax, dword [esp + 0x78]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0043a1a0
lea eax, [0x4e046a]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0043a380
call fcn.00439810
mov eax, dword [esp + 0xc0]
lea ecx, [eax + 0x80]
mov dword [esp + 0xa4], ecx
lea edx, [eax + 0x90]
mov dword [esp + 0xa0], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp], ebx
call fcn.004029a0
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
call fcn.004029a0
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xac]
mov dword [esp], edx
call fcn.004029a0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp], edx
call fcn.00402b20
mov eax, dword [esp + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0xa0]
mov dword [esp], edx
call fcn.00402b20
mov eax, dword [esp + 0xc0]
mov ecx, dword [eax + 0x78]
mov dword [esp + 0x9c], ecx
mov edx, dword [eax + 0x7c]
mov dword [esp + 0x98], edx
mov ebx, dword [esp + 4]
mov dword [esp + 0x1c], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x4c], ebp
call fcn.004397b0
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.0043a1a0
lea eax, [0x4df476]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043a380
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.0043a1a0
lea eax, [0x4df476]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043a380
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0043a1a0
lea eax, [0x4dfecf]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0043a380
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x50]
adc ecx, edx
mov edx, dword [esp + 0x1c]
add edx, eax
mov eax, dword [esp + 0x4c]
adc ecx, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0043a060
lea eax, [0x4dfed8]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0043a380
call fcn.00439810
nop
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
call fcn.00402b20
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0xc0]
mov ebx, dword [edx + 0x58]
mov dword [esp + 0x9c], ebx
mov ebp, dword [edx + 0x5c]
mov dword [esp + 0x98], ebp
mov esi, dword [edx + 0x60]
mov dword [esp + 0x94], esi
mov edx, dword [edx + 0x64]
mov dword [esp + 0x90], edx
call fcn.004397b0
lea eax, [0x4df525]
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0043a380
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
call fcn.0043a060
lea eax, [0x4df8e4]
mov dword [esp], eax
mov dword [esp + 4], 6
call fcn.0043a380
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
call fcn.0043a060
lea eax, [0x4e087d]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043a380
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x94]
sub eax, ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x90]
sbb ecx, edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0043a1a0
lea eax, [0x4e0889]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.0043a380
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.00439a60
lea eax, [0x4df477]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.0043a380
call fcn.00439810
call fcn.004397b0
call fcn.004399c0
call fcn.00439810
mov eax, dword [0x5b96c8]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
movzx ecx, byte [eax + 0x8b]
lea edx, [ecx - 1]
nop
mov byte [eax + 0x8b], dl
cmp cl, 1
jne 0x420349
nop
nop
lea eax, [0x5b9654]
mov dword [esp], eax
call fcn.00409d60
add esp, 0xbc
ret
call fcn.00465370
jmp fcn.0041f990