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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x41a268
sub esp, 0x84
mov edx, dword [esp + 0x88]
mov ebx, dword fs:[0x14]
mov ecx, dword [ebx]
mov ebp, dword [edx + 0x18]
mov ebx, dword [ebp]
cmp ecx, ebx
jne 0x419d55
add esp, 0x84
ret
mov ebx, dword fs:[0x14]
mov ebx, dword [ebx]
mov eax, dword [ebx + 0x18]
mov ebp, dword [eax + 0x70]
cmp ebp, 0
jg 0x41a261
mov ebp, dword [eax + 0x6c]
cmp ebp, 0
jne 0x41a261
mov eax, dword [edx + 0xdc]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0xe0]
mov dword [esp + 0x40], eax
neg dword [esp + 0x3c]
adc dword [esp + 0x40], 0
neg dword [esp + 0x40]
movsd xmm0, qword [0x6b5ae8]
movsd qword [esp + 0x64], xmm0
fild qword [esp + 0x3c]
fstp qword [esp + 0x5c]
movsd xmm0, qword [esp + 0x5c]
movsd qword [esp + 0x5c], xmm0
movsd xmm0, qword [esp + 0x5c]
movsd xmm1, qword [esp + 0x64]
mulsd xmm1, xmm0
movsd qword [esp + 0x64], xmm1
movsd xmm0, qword [esp + 0x64]
movsd qword [esp + 0x64], xmm0
fld qword [esp + 0x64]
fnstcw word [esp + 0x22]
mov word [esp + 0x20], 0xf7f
fldcw word [esp + 0x20]
fistp qword [esp + 0x6c]
fldcw word [esp + 0x22]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
cmp dword [esp + 0x38], 0
jg 0x419ea3
jl 0x419e24
cmp dword [esp + 0x34], 0x10000
jae 0x419ea3
mov dword [esp + 0x34], 0x10000
mov dword [esp + 0x38], 0
movsd xmm0, qword [0x6b5af0]
movsd qword [esp + 0x5c], xmm0
fild qword [esp + 0x34]
fstp qword [esp + 0x54]
movsd xmm0, qword [esp + 0x54]
movsd qword [esp + 0x54], xmm0
movsd xmm0, qword [esp + 0x54]
movsd xmm1, qword [esp + 0x5c]
mulsd xmm1, xmm0
movsd qword [esp + 0x5c], xmm1
movsd xmm0, qword [esp + 0x5c]
movsd qword [esp + 0x5c], xmm0
fld qword [esp + 0x5c]
fnstcw word [esp + 0x1e]
mov word [esp + 0x1c], 0xf7f
fldcw word [esp + 0x1c]
fistp qword [esp + 0x6c]
fldcw word [esp + 0x1e]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], eax
mov ebx, 0x6b5aa0
mov dword [esp], ebx
add dword [esp], 8
call fcn.004f75c0
mov esi, dword [esp + 0x88]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
cmp ecx, 0
jl 0x41a011
jg 0x419ee7
cmp edx, 0
jbe 0x41a011
cmp ecx, dword [esp + 0x38]
jg 0x41a20c
jl 0x419efd
cmp edx, dword [esp + 0x34]
jae 0x41a20c
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov eax, dword [esi + 0xdc]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0xe0]
mov dword [esp + 0x70], eax
movsd xmm1, qword [0x6b5af0]
fild qword [esp + 0x2c]
fstp qword [esp + 0x44]
movsd xmm0, qword [esp + 0x44]
movsd qword [esp + 0x44], xmm0
movsd xmm0, qword [esp + 0x44]
mulsd xmm1, xmm0
movsd qword [esp + 0x54], xmm1
fld qword [esp + 0x54]
fnstcw word [esp + 0x1a]
mov word [esp + 0x18], 0xf7f
fldcw word [esp + 0x18]
fistp qword [esp + 0x4c]
fldcw word [esp + 0x1a]
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov eax, 1
xor edx, edx
add eax, ebx
adc edx, ecx
mov ebx, eax
mov ecx, edx
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
add eax, ebx
adc edx, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x4c]
mov dword [esi + 0xdc], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0xe0], eax
mov ebx, 0x6b5aa0
mov dword [esp], ebx
add dword [esp], 8
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
neg dword [esp + 4]
adc dword [esp + 8], 0
neg dword [esp + 8]
call fcn.004f75d0
mov esi, dword [esp + 0x88]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
sub eax, dword [esp + 0x2c]
sbb edx, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
cmp dword [esp + 0x38], 0
jne 0x41a011
cmp dword [esp + 0x34], 0
jne 0x41a011
add esp, 0x84
ret
mov byte [esp + 0x17], 0
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x74]
mov ecx, 0x44c990
mov dword [eax], ecx
mov dword [eax + 4], esi
lea ebx, [esp + 0x34]
mov dword [eax + 8], ebx
lea ebx, [esp + 0x17]
mov dword [eax + 0xc], ebx
mov dword [esp], eax
call fcn.00450dc0
cmp byte [esp + 0x17], 0
je 0x41a05b
call fcn.00416720
mov ebx, dword [esp + 0x88]
mov eax, dword [ebx + 0xdc]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0xe0]
mov dword [esp + 0x70], eax
cmp dword [esp + 0x70], 0
jg 0x41a1eb
jl 0x41a08e
cmp dword [esp + 0x6c], 0
jae 0x41a1eb
mov ebx, dword [esp + 0x88]
movzx ebx, byte [ebx + 0x80]
cmp bl, 0
je 0x41a0ab
call fcn.0042bd10
jmp 0x419ea3
mov ebx, 0x6c8fa0
mov dword [esp], ebx
add dword [esp], 0xc0
call fcn.0040ca70
mov ebx, 0x6d9ce0
mov dword [esp], ebx
call fcn.004f7460
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 4]
cmp ebx, 0
jne 0x41a0f7
mov ebx, 0x6c8fa0
mov dword [esp], ebx
add dword [esp], 0xc0
call fcn.0040ccb0
add esp, 0x84
ret
mov eax, dword [0x6c9068]
mov edx, dword [0x6c9064]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
cmp edx, 0
jne 0x41a1f9
mov eax, 0x6c8fa0
add eax, 0xc0
add eax, 4
mov dword [eax], ecx
mov eax, 0x6c8fa0
add eax, 0xc0
add eax, 8
mov dword [eax], ecx
mov eax, ecx
cmp ecx, 0
je 0x41a1f2
add eax, 0x7c
xor ecx, ecx
mov dword [eax], ecx
mov ebx, 0x6b5aa0
mov dword [esp], ebx
add dword [esp], 8
call fcn.004f75c0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x70], eax
cmp dword [esp + 0x70], 0
jl 0x41a1b9
jg 0x41a179
cmp dword [esp + 0x6c], 0
jbe 0x41a1b9
mov ebx, dword [esp + 0x28]
mov dword [0x6c9064], ebx
mov dword [0x6c9068], ecx
cmp ecx, 0
je 0x41a19c
mov eax, ecx
cmp ecx, 0
je 0x41a1b5
add eax, 0x7c
xor ecx, ecx
mov dword [eax], ecx
mov ebx, 0x6c8fa0
mov dword [esp], ebx
add dword [esp], 0xc0
call fcn.0040ccb0
jmp 0x419ea3
mov dword [ecx], eax
jmp 0x41a195
mov ebx, 0x6c8fa0
mov dword [esp], ebx
add dword [esp], 0xc0
mov ebx, 0x5f7f0c
mov dword [esp + 4], ebx
mov dword [esp + 8], 0xe
mov byte [esp + 0xc], 0x14
mov dword [esp + 0x10], 2
call fcn.0042bec0
add esp, 0x84
ret
mov dword [ecx], eax
jmp 0x41a13d
cmp eax, 0
je 0x41a208
add eax, 0x7c
mov dword [eax], ecx
jmp 0x41a123
mov dword [eax], eax
jmp 0x41a1fe
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xdc]
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0xe0]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
add eax, dword [esp + 0x3c]
adc edx, dword [esp + 0x40]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x4c]
mov dword [esi + 0xdc], eax
mov eax, dword [esp + 0x50]
mov dword [esi + 0xe0], eax
jmp 0x419f9f
add esp, 0x84
ret
call fcn.00450ed0
jmp fcn.00419d10