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

Disassembly:
mov ecx, dword [0x5e82a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41bf33
sub esp, 0x70
mov eax, dword [0x5e82a4]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x18]
cmp dword [edx], eax
je 0x41bae6
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 0x7c]
test edx, edx
jg 0x41bade
mov eax, dword [eax + 0x78]
test eax, eax
je 0x41bae2
add esp, 0x70
ret
xor eax, eax
jmp 0x41baef
add esp, 0x70
ret
movzx eax, byte [esp + 0x17]
mov byte [esp + 0x17], al
nop
lea ecx, [0x5e8564]
mov dword [esp], ecx
call fcn.004029d0
movzx eax, byte [esp + 4]
test al, al
jne 0x41befc
nop
lea eax, [0x5e8b18]
mov dword [esp], eax
call fcn.00402c90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 0x48], xmm0
nop
lea eax, [0x5e8b20]
mov dword [esp], eax
call fcn.00402c90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xf4]
mov edx, dword [eax + 0xf8]
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 0x40], xmm0
xor ebx, ebx
sub ebx, ecx
mov dword [esp + 0x30], ebx
mov ecx, 0
sbb ecx, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.0045c0b0
movsd xmm0, qword [esp + 0x48]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.0045c010
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
test ecx, ecx
setl cl
sete bl
cmp eax, 0x10000
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, ebx
or ebp, ecx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x41bbde
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
jmp 0x41bc1b
mov dword [esp + 4], 0
mov dword [esp], 0x10000
call fcn.0045c0b0
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x40]
mulsd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.0045c010
mov ebx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
xor edx, edx
mov eax, 0x10000
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
nop
lea ebp, [0x5e8ad8]
mov dword [esp], ebp
call fcn.00402b10
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test ecx, ecx
sete dl
setg bl
test eax, eax
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebp, edx
or ebx, ebp
test bl, bl
jne 0x41bc68
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
jmp 0x41bd80
mov edx, dword [esp + 0x2c]
cmp edx, ecx
sete cl
setg bl
mov ebp, dword [esp + 0x28]
cmp ebp, eax
xchg esi, ebx
seta bl
xchg esi, ebx
and esi, ecx
or ebx, esi
test bl, bl
jne 0x41bcb3
mov ecx, dword [esp + 0x74]
mov ebx, dword [ecx + 0xf4]
mov esi, dword [ecx + 0xf8]
mov edi, dword [esp + 0x30]
add ebx, edi
mov dword [ecx + 0xf4], ebx
mov ebx, dword [esp + 0x34]
adc esi, ebx
mov dword [ecx + 0xf8], esi
jmp 0x41bd2f
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0045c0b0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0xf4]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 0xf8]
mov dword [esp + 0x38], edx
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x40]
mulsd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.0045c010
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x3c]
add eax, edx
mov edx, dword [esp + 0x38]
adc ecx, edx
add eax, 1
mov edx, dword [esp + 0x74]
mov dword [edx + 0xf4], eax
adc ecx, 0
mov dword [edx + 0xf8], ecx
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], edx
lea eax, [0x5e8ad8]
mov dword [esp], eax
xor eax, eax
sub eax, ebp
mov ecx, 0
sbb ecx, edx
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call fcn.00402b30
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
sub eax, ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
sbb ecx, edx
test eax, eax
sete dl
test ecx, ecx
sete bl
and ebx, edx
test bl, bl
jne 0x41bec5
movzx edx, byte [0x5cc824]
test dl, dl
je 0x41bdd4
movzx edx, byte [esp + 0x17]
test dl, dl
jne 0x41bdd9
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
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.00454840
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, 1
jmp 0x41bdd9
movzx edx, byte [esp + 0x17]
mov byte [esp + 0x17], dl
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea ebx, [0x41bf40]
mov dword [esp + 0x60], ebx
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
lea eax, [esp + 0x60]
mov dword [esp], eax
call fcn.004620f0
mov eax, dword [0x5e83c0]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x44]
test eax, eax
je 0x41be3e
mov eax, dword [ecx + 0x44]
call fcn.004635e0
mov dword [edi], eax
mov dword [ecx + 0x44], 0
test edx, edx
je 0x41be52
call fcn.004174c0
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0xf8]
test eax, eax
jge 0x41be8e
movzx eax, byte [ecx + 0x65]
test al, al
je 0x41be7d
nop
lea eax, [0x509b5c]
mov dword [esp], eax
call fcn.00462090
movzx eax, byte [esp + 0x17]
jmp 0x41baef
call fcn.0041c450
movzx eax, byte [esp]
test al, al
je 0x41baea
movzx eax, byte [esp + 0x17]
test al, al
je 0x41bec1
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.00454840
add esp, 0x70
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x41bef8
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.00454840
add esp, 0x70
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x41bf2f
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.00454840
add esp, 0x70
ret
call fcn.004621e0
jmp fcn.0041baa0