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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41bc21
sub esp, 0x58
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x18]
mov edx, dword fs:[0x14]
mov edx, dword [edx]
cmp dword [ecx], edx
je 0x41bc1d
mov ecx, dword [edx + 0x18]
mov edx, dword [ecx + 0x78]
test edx, edx
jle 0x41b7d3
add esp, 0x58
ret
mov ecx, dword [ecx + 0x74]
test ecx, ecx
jne 0x41b7cf
xor ecx, ecx
jmp 0x41b7e7
mov eax, dword [esp + 0x5c]
movzx ecx, byte [esp + 0x17]
mov byte [esp + 0x17], cl
mov edx, dword [eax + 0xd0]
xor ebx, ebx
sub ebx, edx
mov dword [esp + 0x28], ebx
mov edx, dword [eax + 0xd4]
fld qword [0xc6c3c0]
fld st(0)
fstp qword [esp + 0x40]
mov dword [esp], ebx
mov ebp, 0
sbb ebp, edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 4], ebp
fstp st(0)
call fcn.0044c790
fld qword [esp + 8]
fld qword [esp + 0x40]
fld st(1)
fmulp st(1)
fld st(0)
fstp qword [esp]
fstp st(0)
fstp st(0)
call fcn.0044c6f0
mov eax, dword [esp + 0xc]
test eax, eax
sete cl
setl dl
mov ebx, dword [esp + 8]
cmp ebx, 0x10000
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, ecx
or edx, ebp
test dl, dl
jne 0x41bbcd
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
lea ebp, [0xc6c388]
mov dword [esp], ebp
call fcn.00401fc0
mov eax, dword [esp + 8]
test eax, eax
setg cl
sete dl
mov ebx, dword [esp + 4]
test ebx, ebx
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebp, edx
or ebp, ecx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x41ba45
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movzx edx, byte [0xc639a8]
test dl, dl
je 0x41ba3b
movzx edx, byte [esp + 0x17]
test dl, dl
je 0x41b9f7
mov byte [esp + 0x17], dl
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea ebx, [0x44df40]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.00450690
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x44]
mov edx, dword [0xc6be00]
test edx, edx
jne 0x41b9e4
mov dword [eax + 0x44], 0
test ecx, ecx
jne 0x41b9d6
mov ecx, dword [eax + 0xd4]
test ecx, ecx
setl cl
sete dl
mov ebx, dword [eax + 0xd0]
test ebx, ebx
setb bl
and ebx, edx
or ebx, ecx
test bl, bl
je 0x41b99d
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x41b98c
nop
lea eax, [0x8e7d70]
mov dword [esp], eax
call fcn.00450630
mov eax, dword [esp + 0x5c]
movzx ecx, byte [esp + 0x17]
jmp 0x41b7e7
call fcn.0041c090
movzx eax, byte [esp]
test al, al
je 0x41b7de
movzx eax, byte [esp + 0x17]
test al, al
jne 0x41b9aa
add esp, 0x58
ret
nop
mov byte [esp], 0x2c
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00445770
jmp 0x41b9a6
call fcn.00417b80
mov eax, dword [esp + 0x5c]
jmp 0x41b946
lea edi, [eax + 0x44]
mov edx, eax
xor eax, eax
call fcn.00451ff0
mov eax, edx
jmp 0x41b93e
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
nop
mov byte [esp], 0x2b
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00445770
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, 1
jmp 0x41b8d8
movzx edx, byte [esp + 0x17]
jmp 0x41b8d8
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
setl dl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x18]
cmp ebx, esi
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, ebp
or edi, edx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x41bb35
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0xd0]
mov ebx, dword [esp + 0x28]
add ebx, edx
mov edx, dword [eax + 0xd4]
mov dword [eax + 0xd0], ebx
mov ebx, dword [esp + 0x2c]
adc edx, ebx
mov dword [eax + 0xd4], edx
mov edx, esi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], esi
xor eax, eax
sub eax, esi
sub edx, esi
mov dword [esp + 0x20], edx
lea ebp, [0xc6c388]
mov dword [esp], ebp
mov dword [esp + 4], eax
xor eax, eax
sub eax, esi
mov eax, 0
sbb eax, ecx
mov dword [esp + 8], eax
call fcn.00401fd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x38]
sub eax, ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
sbb eax, ecx
test eax, eax
sete cl
mov edx, dword [esp + 0x20]
test edx, edx
sete bl
and ecx, ebx
test cl, cl
jne 0x41bafc
mov ecx, edx
jmp 0x41b8bc
movzx eax, byte [esp + 0x17]
test al, al
jne 0x41bb09
add esp, 0x58
ret
nop
mov byte [esp], 0x2c
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.00445770
jmp 0x41bb05
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0xd4]
mov dword [esp + 0x34], edx
mov ebp, dword [ecx + 0xd0]
mov dword [esp + 0x30], ebp
fld qword [0xc6c3c8]
fld st(0)
fstp qword [esp + 0x40]
mov dword [esp], ebx
mov dword [esp + 4], eax
fstp st(0)
call fcn.0044c790
fld qword [esp + 8]
fld qword [esp + 0x40]
fld st(0)
fmulp st(2)
fld st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
call fcn.0044c6f0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x30]
mov edx, eax
add eax, ecx
mov ebx, eax
add eax, 1
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x5c]
mov dword [esi + 0xd0], eax
add edx, ecx
mov eax, dword [esp + 0x34]
adc ebp, eax
add ebx, 1
adc ebp, 0
mov dword [esi + 0xd4], ebp
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
jmp 0x41ba9a
fld qword [0xc6c3c8]
fld st(0)
fstp qword [esp + 0x40]
mov dword [esp], 0x10000
mov dword [esp + 4], 0
fstp st(0)
call fcn.0044c790
fld qword [esp + 8]
fld qword [esp + 0x40]
fld st(0)
fmulp st(2)
fld st(1)
fstp qword [esp]
fstp st(0)
fstp st(0)
call fcn.0044c6f0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
xor eax, eax
mov ebx, 0x10000
jmp 0x41b86f
add esp, 0x58
ret
call fcn.004507b0
jmp fcn.0041b790