Function at 0x420870
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45152b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x468080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
lea ecx, [edi + 0x18]
mov dword [ebp - 0x1c], edi
mov eax, dword [ebx]
mov dword [edi], eax
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov al, byte [ebx + 0x14]
mov byte [edi + 0x14], al
lea eax, [ebx + 0x18]
push eax
call fcn.00406f00
mov al, byte [ebx + 0x30]
mov byte [edi + 0x30], al
mov eax, dword [ebx + 0x34]
mov dword [edi + 0x34], eax
mov al, byte [ebx + 0x38]
mov byte [edi + 0x38], al
mov dword [ebp - 4], 0
lea ecx, [edi + 0x54]
mov eax, dword [ebx + 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [ebx + 0x40]
mov dword [edi + 0x40], eax
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x44], eax
mov eax, dword [ebx + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [ebx + 0x4c]
mov dword [edi + 0x4c], eax
mov al, byte [ebx + 0x50]
mov byte [edi + 0x50], al
mov al, byte [ebx + 0x51]
mov byte [edi + 0x51], al
mov al, byte [ebx + 0x52]
mov byte [edi + 0x52], al
lea eax, [ebx + 0x54]
push eax
call fcn.00406f00
mov eax, dword [ebx + 0x6c]
mov dword [edi + 0x6c], eax
mov al, byte [ebx + 0x70]
mov byte [edi + 0x70], al
mov eax, dword [ebx + 0x74]
mov dword [edi + 0x74], eax
mov al, byte [ebx + 0x78]
mov byte [edi + 0x78], al
mov eax, dword [ebx + 0x7c]
mov dword [edi + 0x7c], eax
mov al, byte [ebx + 0x80]
mov byte [edi + 0x80], al
mov dword [ebp - 4], 1
lea esi, [edi + 0x88]
mov dword [ebp - 0x1c], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042970d
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 2
cmp byte [ebx + 0x30], 0
movss xmm0, dword [ebx]
movss xmm1, dword [ebx + 8]
je 0x4209d1
mulss xmm0, dword [0x45b95c]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
not ecx
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or ecx, eax
inc ecx
jmp 0x4209e1
mulss xmm0, dword [0x45b86c]
mulss xmm0, xmm1
cvttss2si ecx, xmm0
push ecx
lea ecx, [edi + 0x90]
call fcn.00422f00
mov byte [ebp - 4], 3
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x14], eax
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
mov dword [edi + 0x9c], 0
test eax, eax
je 0x420a54
cmp eax, 0x3fffffff
ja 0x420cfd
push eax
lea ecx, [edi + 0x94]
call fcn.0040a4e0
mov esi, dword [ebp - 0x14]
mov edi, dword [edi + 0x94]
shl esi, 2
push esi
push 0
push edi
call fcn.0042b4c0
lea eax, [esi + edi]
add esp, 0xc
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x98], eax
add edi, 0xa0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp - 0x10]
lea esi, [eax + 0xac]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [ebp - 4], 6
xorps xmm1, xmm1
movss xmm0, dword [ebx + 0x74]
comiss xmm0, xmm1
jbe 0x420aac
call fcn.00420670
mov eax, dword [ebp - 0x10]
movss dword [eax + 0x84], xmm0
movss xmm1, dword [0x45b880]
mov ecx, eax
call fcn.00420ed0
push dword [ebx + 0x3c]
mov edx, dword [ebx + 0x6c]
lea ecx, [ebp - 0x38]
call fcn.004206a0
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1c], ecx
cmp esi, ecx
je 0x420b4a
mov edx, dword [esi]
test edx, edx
je 0x420b26
mov ecx, dword [esi + 8]
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x420b05
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x14], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x420cf8
mov edx, dword [ebp - 0x14]
push ecx
push edx
call fcn.0042973d
mov ecx, dword [ebp - 0x1c]
add esp, 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 8]
mov dword [esi + 8], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x420b81
mov ecx, dword [ebp - 0x30]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x420b77
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420cf8
push ecx
push edx
call fcn.0042973d
add esp, 8
movss xmm0, dword [ebx + 0x7c]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x420ce1
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x1c], eax
xor esi, esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], esi
test eax, eax
je 0x420be3
cmp eax, 0x3fffffff
ja 0x420cfd
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040a4e0
mov esi, dword [ebp - 0x1c]
shl esi, 2
push esi
push ebx
mov ebx, dword [ebp - 0x2c]
push ebx
call fcn.0042b4c0
lea eax, [ebx + esi]
add esp, 0xc
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
cmp edi, eax
je 0x420c35
mov eax, dword [edi]
test eax, eax
je 0x420c26
mov ecx, dword [edi + 8]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x420c16
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420d02
mov eax, edx
push ecx
push eax
call fcn.0042973d
add esp, 8
mov dword [edi], 0
mov eax, dword [ebp - 0x14]
mov dword [edi], ebx
xor ebx, ebx
mov dword [edi + 8], esi
xor esi, esi
mov dword [edi + 4], eax
test ebx, ebx
je 0x420c66
sub esi, ebx
mov eax, ebx
and esi, 0xfffffffc
cmp esi, 0x1000
jb 0x420c5c
mov ebx, dword [eax - 4]
add esi, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420d02
push esi
push ebx
call fcn.0042973d
add esp, 8
mov eax, dword [edi + 4]
xor esi, esi
mov ebx, dword [edi]
sub eax, ebx
test eax, 0xfffffffc
je 0x420ce1
mov eax, dword [ebp + 8]
movss xmm1, dword [eax + 0x7c]
cvtps2pd xmm1, xmm1
movaps xmm0, xmm1
movsd qword [ebp - 0x18], xmm1
mulsd xmm0, qword [0x45b8a0]
movsd qword [ebp - 0x20], xmm0
nop word [eax + eax]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x45b8e0]
divsd xmm0, xmm1
call fcn.0044c720
mulsd xmm0, qword [ebp - 0x20]
movsd xmm1, qword [ebp - 0x18]
addsd xmm0, qword [0x45b8b8]
cvtsd2ss xmm0, xmm0
movss dword [ebx + esi*4], xmm0
inc esi
mov eax, dword [edi + 4]
sub eax, dword [edi]
sar eax, 2
cmp esi, eax
jne 0x420ca0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004312f0
call fcn.0040a4d0
call fcn.004312f0
int3