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

Disassembly:
mov ecx, dword [0x9d5f40]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41d5f1
sub esp, 0x70
mov eax, dword [0x9d5f40]
mov eax, dword fs:[eax]
mov eax, dword [eax]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x18]
cmp dword [edx], eax
je 0x41d1a6
mov eax, dword [eax + 0x18]
mov edx, dword [eax + 0x7c]
test edx, edx
jg 0x41d19e
mov eax, dword [eax + 0x78]
test eax, eax
je 0x41d1a2
add esp, 0x70
ret
xor eax, eax
jmp 0x41d1af
add esp, 0x70
ret
movzx eax, byte [esp + 0x17]
mov byte [esp + 0x17], al
nop
lea ecx, [0x9d6484]
mov dword [esp], ecx
call fcn.00402f50
movzx eax, byte [esp + 4]
test al, al
jne 0x41d5ba
nop
lea eax, [0x9d6c78]
mov dword [esp], eax
call fcn.00403210
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, [0x9d6c80]
mov dword [esp], eax
call fcn.00403210
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.004600d0
movsd xmm0, qword [esp + 0x48]
mulsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
call fcn.00460030
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
test ecx, ecx
sete cl
setl bl
cmp eax, 0x10000
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, ecx
or ebx, ebp
test bl, bl
jne 0x41d29c
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
jmp 0x41d2d9
mov dword [esp + 4], 0
mov dword [esp], 0x10000
call fcn.004600d0
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [esp + 0x40]
mulsd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.00460030
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, [0x9d6c38]
mov dword [esp], ebp
call fcn.00403090
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
setg dl
sete bl
test ecx, ecx
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebx, ebp
or ebx, edx
test bl, bl
jne 0x41d326
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
jmp 0x41d43e
mov edx, dword [esp + 0x2c]
cmp edx, eax
sete al
setg bl
mov ebp, dword [esp + 0x28]
cmp ebp, ecx
xchg esi, ebx
seta bl
xchg esi, ebx
and eax, esi
or ebx, eax
test bl, bl
jne 0x41d371
mov eax, dword [esp + 0x74]
mov ebx, dword [eax + 0xf4]
mov esi, dword [eax + 0xf8]
mov edi, dword [esp + 0x30]
add ebx, edi
mov dword [eax + 0xf4], ebx
mov ebx, dword [esp + 0x34]
adc esi, ebx
mov dword [eax + 0xf8], esi
jmp 0x41d3ed
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004600d0
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.00460030
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 + 0x24], edx
mov dword [esp + 0x20], ebp
lea eax, [0x9d6c38]
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.004030b0
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 ecx, ecx
sete dl
test eax, eax
sete bl
and edx, ebx
test dl, dl
jne 0x41d583
movzx edx, byte [0x9ba464]
test dl, dl
je 0x41d492
movzx edx, byte [esp + 0x17]
test dl, dl
jne 0x41d497
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
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.00458840
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, 1
jmp 0x41d497
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, [0x41d600]
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.004674f0
mov eax, dword [0x9d6200]
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx + 0x44]
test eax, eax
je 0x41d4fc
mov eax, dword [ecx + 0x44]
call fcn.00468a00
mov dword [edi], eax
mov dword [ecx + 0x44], 0
test edx, edx
je 0x41d510
call fcn.00418b90
mov ecx, dword [esp + 0x74]
mov eax, dword [ecx + 0xf8]
test eax, eax
jge 0x41d54c
movzx eax, byte [ecx + 0x65]
test al, al
je 0x41d53b
nop
lea eax, [0x7e3bb8]
mov dword [esp], eax
call fcn.00467490
movzx eax, byte [esp + 0x17]
jmp 0x41d1af
call fcn.0041db10
movzx eax, byte [esp]
test al, al
je 0x41d1aa
movzx eax, byte [esp + 0x17]
test al, al
je 0x41d57f
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.00458840
add esp, 0x70
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x41d5b6
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.00458840
add esp, 0x70
ret
movzx eax, byte [esp + 0x17]
test al, al
je 0x41d5ed
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.00458840
add esp, 0x70
ret
call fcn.004675e0
jmp fcn.0041d160