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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x418b06
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 0x418b02
mov ecx, dword [edx + 0x18]
mov edx, dword [ecx + 0x78]
test edx, edx
jle 0x4186c3
add esp, 0x58
ret
mov ecx, dword [ecx + 0x74]
test ecx, ecx
jne 0x4186bf
xor ecx, ecx
jmp 0x4186d7
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]
movsd xmm0, qword [0x6137e0]
movsd qword [esp + 0x40], xmm0
mov dword [esp], ebx
mov ebp, 0
sbb ebp, edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 4], ebp
call fcn.00450a90
movsd xmm0, qword [esp + 0x40]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.004509f0
mov eax, dword [esp + 8]
cmp eax, 0x10000
setb cl
mov edx, dword [esp + 0xc]
test edx, edx
setl bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, ecx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x418ab6
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
lea ebp, [0x6137a8]
mov dword [esp], ebp
call fcn.00402030
mov eax, dword [esp + 8]
test eax, eax
sete cl
mov edx, dword [esp + 4]
test edx, edx
seta bl
test eax, eax
xchg ebp, ebx
setg bl
xchg ebp, ebx
and ebx, ecx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x418932
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movzx edx, byte [0x60b128]
test dl, dl
je 0x418928
movzx edx, byte [esp + 0x17]
test dl, dl
je 0x4188e5
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, [0x4522c0]
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.004545c0
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x44]
mov edx, dword [0x613370]
test edx, edx
jne 0x4188d2
mov dword [eax + 0x44], 0
test ecx, ecx
jne 0x4188c4
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 0x41888c
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x41887b
nop
lea eax, [0x52764c]
mov dword [esp], eax
call fcn.00454560
mov eax, dword [esp + 0x5c]
movzx ecx, byte [esp + 0x17]
jmp 0x4186d7
call fcn.00418f60
movzx eax, byte [esp]
test al, al
je 0x4186ce
movzx eax, byte [esp + 0x17]
test al, al
jne 0x418899
add esp, 0x58
ret
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.00449b50
jmp 0x418895
call fcn.004157a0
mov eax, dword [esp + 0x5c]
jmp 0x418835
lea edi, [eax + 0x44]
mov edx, eax
xor eax, eax
call fcn.00455f20
mov eax, edx
jmp 0x41882d
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 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.00449b50
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, 1
jmp 0x4187c7
movzx edx, byte [esp + 0x17]
jmp 0x4187c7
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
setl bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x18]
cmp edx, esi
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, ebp
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x418a22
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, [0x6137a8]
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.00402040
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 0x4189e9
mov ecx, edx
jmp 0x4187ab
movzx eax, byte [esp + 0x17]
test al, al
jne 0x4189f6
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.00449b50
jmp 0x4189f2
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov ecx, dword [esp + 0x5c]
mov ebx, dword [ecx + 0xd4]
mov dword [esp + 0x34], ebx
mov ebp, dword [ecx + 0xd0]
mov dword [esp + 0x30], ebp
movsd xmm0, qword [0x6137e8]
movsd qword [esp + 0x40], xmm0
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00450a90
movsd xmm0, qword [esp + 0x40]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.004509f0
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 0x418987
movsd xmm0, qword [0x6137e8]
movsd qword [esp + 0x40], xmm0
mov dword [esp], 0x10000
mov dword [esp + 4], 0
call fcn.00450a90
movsd xmm0, qword [esp + 0x40]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.004509f0
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
xor edx, edx
mov eax, 0x10000
jmp 0x41875c
add esp, 0x58
ret
call fcn.004546e0
jmp fcn.00418680