Function at 0x4223b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x881354
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x78], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x48]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x44]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x40]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x78]
call fcn.004204f0
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x20], ecx
push 0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x78]
call fcn.00421340
mov byte [ebp - 0x7d], al
mov al, byte [ebp - 0x7d]
mov byte [ebp - 0x5d], al
movzx ecx, byte [ebp - 0x5d]
test ecx, ecx
jne 0x42248a
mov dword [ebp - 0x5c], 0xffffff94
mov dword [ebp - 0x58], 0
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], eax
push 0xb69d6c
lea ecx, [ebp - 0x54]
push ecx
call fcn.0083d8fb
cvtsi2sd xmm0, dword [ebp + 8]
cvtsi2sd xmm1, dword [ebp - 0x20]
divsd xmm1, xmm0
sub esp, 8
movsd qword [esp], xmm1
call fcn.00610350
add esp, 8
call fcn.0083d850
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x20]
jle 0x4224c1
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0058c400
push 0
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x78]
call fcn.00421340
mov byte [ebp - 0x7e], al
mov al, byte [ebp - 0x7e]
mov byte [ebp - 0x71], al
movzx ecx, byte [ebp - 0x71]
test ecx, ecx
jne 0x422522
mov dword [ebp - 0x70], 0xffffff94
mov dword [ebp - 0x6c], 0
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], eax
push 0xb69d6c
lea ecx, [ebp - 0x68]
push ecx
call fcn.0083d8fb
cvtsi2sd xmm0, dword [ebp + 8]
cvtsi2sd xmm1, dword [ebp - 0x24]
divsd xmm1, xmm0
sub esp, 8
movsd qword [esp], xmm1
call fcn.00610350
add esp, 8
call fcn.0083d850
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x24]
jle 0x422559
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.0058ccf0
jmp 0x422588
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc