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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41d7f5
sub esp, 0x48
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov ecx, dword [eax + 0x18]
movsd xmm0, qword [0x7e4868]
movsd qword [esp + 0x3c], xmm0
inc dword [ecx + 0x78]
lea ecx, [0x7e4830]
mov dword [esp], ecx
call fcn.00402430
mov eax, dword [esp + 4]
test eax, eax
jne 0x41d72f
lea eax, [0x7e4834]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00402540
mov eax, dword [0x7e482c]
mov dword [esp + 0x14], eax
lea eax, [0x7e47a0]
mov dword [esp], eax
call fcn.0041d080
mov eax, dword [esp + 4]
mov dword [esp + 0x18], eax
test eax, eax
je 0x41d70e
lea ecx, [eax + 0x3b]
mov dword [esp], ecx
call fcn.004023e0
movzx eax, byte [esp + 4]
cmp al, 1
je 0x41d4b6
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [esp + 0x14]
cmp edx, ecx
je 0x41d468
lea ebx, [edx + 3]
cmp ecx, ebx
je 0x41d468
jmp 0x41d745
mov eax, dword [esp + 0x14]
lea ecx, [eax - 2]
mov edx, dword [esp + 0x18]
cmp dword [edx + 0x30], ecx
je 0x41d6e6
xor ecx, ecx
test cl, cl
jne 0x41d4d4
mov edx, eax
jmp 0x41d468
test edx, edx
jne 0x41d6a3
mov eax, 0xffffffff
mov dword [esp + 0x1c], eax
lea ecx, [0x7e4834]
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call fcn.00402540
mov eax, dword [esp + 8]
test eax, eax
je 0x41d687
xor eax, eax
test al, al
jne 0x41d523
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x78]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
add esp, 0x48
ret
lea eax, [0x5158cc]
mov dword [esp], eax
call fcn.004534b0
nop
lea eax, [0x7e04a0]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004025f0
mov eax, dword [0x7fccb0]
test eax, eax
jle 0x41d50d
mov eax, dword [0x7ff9d8]
mov dword [esp + 0x38], eax
mov ecx, dword [0x7e4860]
mov dword [esp + 0x34], ecx
sub eax, ecx
mov dword [esp + 0x30], eax
mov ebx, dword [0x7ff9dc]
mov dword [esp + 0x2c], ebx
mov ebp, dword [0x7e4864]
mov dword [esp + 0x28], ebp
mov esi, dword [0x7e4850]
mov dword [esp + 0x24], esi
mov edi, dword [0x7e4854]
mov dword [esp + 0x20], edi
call fcn.0042f920
lea eax, [0x513188]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.00430220
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov edx, dword [esp + 0x38]
shr edx, 0x14
or edx, ecx
mov dword [esp], edx
call fcn.0042fec0
lea eax, [0x50f4e6]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.00430220
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
sub eax, ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
sbb eax, ecx
mov ecx, eax
shr eax, 0x14
mov dword [esp + 4], eax
shl ecx, 0xc
mov eax, dword [esp + 0x30]
shr eax, 0x14
or eax, ecx
mov dword [esp], eax
call fcn.0042fec0
lea eax, [0x51136f]
mov dword [esp], eax
mov dword [esp + 4], 0x17
call fcn.00430220
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0042fec0
lea eax, [0x50ea0a]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00430220
movsd xmm0, qword [esp + 0x3c]
movsd qword [esp], xmm0
call fcn.0042fbe0
lea eax, [0x50ef00]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00430220
call fcn.0042f990
jmp 0x41d50d
lea eax, [0x7e4830]
mov dword [esp], eax
call fcn.00402430
mov eax, dword [esp + 4]
test eax, eax
setne al
jmp 0x41d509
mov eax, dword [edx + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp], edx
mov byte [esp + 4], 0
call fcn.0041d910
movzx eax, byte [esp + 8]
test al, al
jne 0x41d6c7
xor eax, eax
jmp 0x41d4e1
lea eax, [0x7e4880]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.004024c0
mov eax, dword [esp + 0x1c]
jmp 0x41d4e1
lea ebx, [edx + 0x30]
mov dword [esp], ebx
mov dword [esp + 4], ecx
lea ecx, [eax - 1]
mov dword [esp + 8], ecx
call fcn.00402450
movzx ecx, byte [esp + 0xc]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x41d4cc
lea eax, [0x7e4830]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004025f0
mov edx, dword [esp + 0x18]
test edx, edx
jmp 0x41d4d6
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x78]
mov dword [esp + 0x4c], 0xffffffff
add esp, 0x48
ret
mov byte [esp + 0x13], al
mov dword [esp + 0x38], ecx
call fcn.0042f920
lea eax, [0x5121fd]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
call fcn.00430220
mov dword [esp + 4], 0
movzx eax, byte [esp + 0x13]
movzx eax, al
mov dword [esp], eax
call fcn.0042fec0
lea eax, [0x50ef24]
mov dword [esp], eax
mov dword [esp + 4], 0xc
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0042fec0
lea eax, [0x50ea50]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.00430220
mov dword [esp + 4], 0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0042fec0
call fcn.0042fb40
call fcn.0042f990
lea eax, [0x513169]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.0042e560
nop
call fcn.004535d0
jmp fcn.0041d3f0