Function at 0x42dbf0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a797d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4fb040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x18]
xorps xmm0, xmm0
mov dword [esi + 0x30], 0xfffffffb
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
movsd qword [esi + 0x40], xmm0
call fcn.00402ce0
mov ecx, esi
call fcn.00402ce0
lea ecx, [esi + 0xc]
call fcn.00402ce0
lea ebx, [esi + 0x24]
mov ecx, ebx
call fcn.00402ce0
push ecx
push 0
lea ecx, [esi + 0x48]
call fcn.00478630
mov ecx, edi
call fcn.00405960
cmp eax, 0xa
jge 0x42dc84
mov eax, dword [esi + 0x30]
jmp 0x42debf
push ecx
lea ecx, [esi + 0x54]
call fcn.00410310
test al, al
je 0x42dc7c
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.00402b30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
call fcn.00402b30
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
call fcn.00402b30
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 2
push eax
push 0x4cdb60
push 0
lea ecx, [esi + 0x54]
call fcn.00410b80
test eax, eax
je 0x42dd03
lea ecx, [ebp - 0x1c]
call fcn.00403e00
mov dword [esi + 0x34], eax
lea eax, [ebp - 0x1c]
push eax
push 0x4cdb6c
push 0
lea ecx, [esi + 0x54]
call fcn.00410b80
test eax, eax
je 0x42ddb9
lea ecx, [ebp - 0x1c]
call fcn.00403e00
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x54]
lea eax, [esi + 0x18]
push eax
push 0x4cdb88
push 0
call fcn.00410b80
push ebx
push 0x4cdba0
push 0
lea ecx, [esi + 0x54]
call fcn.00410b80
test eax, eax
je 0x42dd5b
mov ecx, ebx
call fcn.00403170
test al, al
je 0x42dd8a
push ebx
push 0x4cdba8
push 0
lea ecx, [esi + 0x54]
call fcn.00410b80
test eax, eax
je 0x42dd7a
mov ecx, ebx
call fcn.00403170
test al, al
je 0x42dd8a
push ebx
push 0x4cdbb0
push 0
lea ecx, [esi + 0x54]
call fcn.00410b80
mov ebx, dword [esi + 0x30]
cmp ebx, 1
jl 0x42dea5
push esi
push 0x4cdbc4
push 0
lea ecx, [esi + 0x54]
call fcn.00410b80
mov ecx, esi
call fcn.00402e90
mov ecx, eax
call fcn.00430750
mov dword [esi + 0x3c], eax
jmp 0x42de11
lea eax, [ebp - 0x1c]
push eax
push 0x4cdc14
push 0
lea ecx, [esi + 0x54]
call fcn.00410b80
test eax, eax
je 0x42de11
push str.true
lea ecx, [ebp - 0x1c]
call fcn.00402c70
test al, al
je 0x42ddea
mov dword [esi + 0x30], 0
jmp 0x42de11
push ebx
push 0x4cdc20
push 0
lea ecx, [esi + 0x54]
call fcn.00410b80
test eax, eax
je 0x42de11
mov ecx, ebx
call fcn.00402d50
cmp eax, 0x1e
jle 0x42de11
mov dword [esi + 0x30], 1
mov ebx, dword [esi + 0x30]
cmp ebx, 1
jl 0x42dea5
lea eax, [esi + 0xc]
push eax
push 0x4cdc2c
push 0
lea ecx, [esi + 0x54]
call fcn.00410b80
lea eax, [ebp - 0x1c]
push eax
push 0x4cdc40
push 0
lea ecx, [esi + 0x54]
call fcn.00410b80
test eax, eax
je 0x42de52
lea ecx, [ebp - 0x1c]
call fcn.00403e00
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x42de80
xorps xmm0, xmm0
lea ecx, [esi + 0xc]
movsd qword [esi + 0x40], xmm0
call fcn.00402d50
cmp eax, 0xa
jle 0x42dea2
mov ecx, esi
call fcn.00403170
test al, al
je 0x42dea2
mov ebx, 0xfffffffe
jmp 0x42dea5
movd xmm1, dword [esi + 0x38]
cvtdq2pd xmm1, xmm1
movd xmm0, eax
mulsd xmm1, qword [0x4ed060]
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
movsd qword [esi + 0x40], xmm1
mov ebx, dword [esi + 0x30]
lea ecx, [ebp - 0x2c]
call fcn.00402cd0
lea ecx, [ebp - 0x38]
call fcn.00402cd0
lea ecx, [ebp - 0x1c]
call fcn.00402cd0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478dff
mov esp, ebp
pop ebp
ret 8