Function at 0x41fdd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4218
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [esp + 0x38]
mov ecx, dword [0x4ca2e8]
push ebx
push ebp
mov ebx, dword [eax + 0xc]
push esi
mov eax, ebx
mov esi, ebx
sub eax, ecx
push edi
cdq
sub eax, edx
mov byte [esp + 0x2c], 8
sar eax, 1
sub esi, eax
xor eax, eax
dec esi
mov dword [esp + 0x34], eax
mov ebp, esi
mov dword [esp + 0x30], eax
sub ebp, ecx
mov dword [esp + 0x28], eax
inc ebp
imul ecx, dword [0x4ca2f8]
mov dword [esp + 0x40], eax
mov eax, dword [0x4ca2b8]
add ecx, eax
movsx ecx, cx
shl ecx, 2
push ecx
call fcn.00442a90
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x28], eax
push edx
mov edi, eax
call fcn.0046b210
add esp, 8
cmp esi, ebp
jl 0x41fe9f
mov ecx, dword [0x4ca2f8]
lea eax, [esp + 0x28]
push eax
push ecx
mov ecx, dword [esp + 0x50]
push esi
push 0
call fcn.0046b2e0
mov ecx, dword [0x4ca2f8]
xor eax, eax
test ecx, ecx
jle 0x41fe9a
mov edx, dword [esp + 0x28]
xor ecx, ecx
add edi, 4
mov cl, byte [eax + edx]
inc eax
mov dword [esp + 0x20], ecx
fild dword [esp + 0x20]
fstp dword [edi - 4]
mov ecx, dword [0x4ca2f8]
cmp eax, ecx
jl 0x41fe78
dec esi
cmp esi, ebp
jge 0x41fe5a
mov ecx, dword [0x4ca2e8]
fld dword [esp + 0x4c]
sub ebx, ecx
mov dword [esp + 0x4c], ebx
fild dword [esp + 0x4c]
fmul qword [0x4a8220]
fsubp st(1)
fst dword [esp + 0x4c]
fcomp dword [0x4a8234]
fnstsw ax
test ah, 1
je 0x41fed4
fld dword [0x4a8234]
jmp 0x41fefc
fild dword [0x4ca2e8]
fcomp dword [esp + 0x4c]
fnstsw ax
test ah, 0x41
je 0x41fef2
lea eax, [ecx + 1]
mov dword [esp + 0x4c], eax
fild dword [esp + 0x4c]
jmp 0x41fefc
fld dword [esp + 0x4c]
fadd dword [0x4a8248]
mov eax, dword [0x4ca2b8]
inc ecx
mov dword [esp + 0x4c], ecx
fidiv dword [esp + 0x4c]
test eax, eax
jle 0x41ff5f
fmul qword [0x4a82a8]
cmp eax, 1
jle 0x420031
xor ecx, ecx
test eax, eax
jle 0x41ff5f
mov dword [esp + 0x4c], ecx
fild dword [esp + 0x4c]
fidiv dword [0x4ca2b8]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x41ff44
mov dword [edi], 0x3f800000
jmp 0x41ff4a
mov dword [edi], 0
mov edx, dword [0x4ca2b8]
add edi, 4
inc ecx
movsx eax, cx
cmp eax, edx
mov dword [esp + 0x4c], eax
jl 0x41ff27
fstp st(0)
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
push edi
call fcn.00453ca0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
push ebx
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
call fcn.00420040
mov esi, eax
mov al, byte [0x4ca488]
add esp, 0x3c
test al, al
je 0x41fff9
fld dword [esp + 0x10]
movsx ecx, byte [esp + 0x14]
movsx edx, si
movsx eax, bl
push edx
push eax
movsx edx, byte [esp + 0x24]
sub esp, 8
fstp qword [esp]
fld dword [esp + 0x28]
push ecx
sub esp, 8
fstp qword [esp]
push edx
push 0x4b6374
call fcn.00443600
add esp, 0x24
push edi
call fcn.00442aa0
mov eax, dword [esp + 0x34]
add esp, 4
test eax, eax
mov dword [esp + 0x40], 0xffffffff
je 0x42001b
push eax
call fcn.00442aa0
add esp, 4
mov ecx, dword [esp + 0x38]
mov ax, si
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
fstp dword [edi]
jmp 0x41ff61