Function at 0x480a50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66cbd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
lea ecx, [esp + 0x30]
call fcn.0064dc20
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x48]
push eax
mov ecx, ebx
call fcn.004d4310
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
fld qword [esp + 0x30]
fmul qword [0x692698]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov esi, dword [ebp + 0xc]
mov edi, dword [0x8213f8]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
fstp qword [esp + 0x24]
fld qword [esp + 0x38]
fmul qword [0x692698]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
push str.__0_n
push esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
fstp qword [esp + 0x24]
call edi
add esp, 8
push str.POINT_n
push esi
call edi
add esp, 8
push str.__8_n
push esi
call edi
mov eax, dword [ebp + 0x18]
add esp, 8
push eax
push 0x6dd510
push esi
call edi
add esp, 0xc
push str._10_n
push esi
call edi
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 8
push ecx
push edx
push 0x6dd7fc
push esi
call edi
add esp, 0x10
push str._20_n
push esi
call edi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add esp, 8
push eax
push ecx
push 0x6dd7fc
push esi
call edi
mov eax, dword [ebp + 0x1c]
add esp, 0x10
test eax, eax
je 0x480d14
mov eax, dword [0x706cf4]
test eax, eax
je 0x480d14
push 7
mov ecx, ebx
call fcn.00529de0
test eax, eax
jne 0x480d14
lea ecx, [esp + 0x14]
call fcn.0065e79e
mov edi, dword [ebp + 0x10]
lea eax, [esp + 0x14]
mov dword [esp + 0x68], 0
mov edx, dword [edi]
push edx
push str.__d
push eax
call fcn.0065ea8c
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x44]
push 0
push 0
push 0
push 0
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [ebp + 0x18]
push ecx
push edx
push eax
push esi
call fcn.00480970
mov edx, dword [edi]
add esp, 0x38
inc edx
mov ecx, ebx
mov dword [edi], edx
mov edx, dword [ebx]
push 0
call dword [edx + 0x68]
mov ebx, dword [ebp + 0x14]
xor edi, edi
mov dword [esp + 0x24], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov esi, edx
mov dword [esp + 0x18], esi
inc esi
cmp esi, edi
jne 0x480c07
cmp eax, edi
je 0x480bfc
push eax
call fcn.0065e732
add esp, 4
mov dword [ebx + 4], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 8], edi
jmp 0x480cf5
cmp eax, edi
jne 0x480c3f
lea edi, [esi*4]
push edi
call fcn.0065e5d0
mov edx, eax
mov ecx, edi
mov dword [ebx + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0xc], esi
mov dword [ebx + 8], esi
jmp 0x480cf5
mov ecx, dword [ebx + 0xc]
cmp esi, ecx
jg 0x480c5d
cmp esi, edx
jle 0x480c55
mov ecx, esi
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 8], esi
jmp 0x480cf5
mov eax, dword [ebx + 0x10]
cmp eax, edi
jne 0x480c87
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x480c7b
mov eax, 4
jmp 0x480c87
cmp eax, 0x400
jle 0x480c87
mov eax, 0x400
add eax, ecx
cmp esi, eax
mov dword [esp + 0x10], eax
jl 0x480c95
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x10]
lea ecx, [eax*4]
push ecx
call fcn.0065e5d0
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x20], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx + 8]
lea esi, [ecx + 1]
lea edi, [eax + edx*4]
mov ecx, esi
xor eax, eax
sub ecx, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
push eax
call fcn.0065e732
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], eax
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x68], 0xffffffff
mov dword [ecx + eax*4], edx
lea ecx, [esp + 0x14]
call fcn.0065e798
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret