Function at 0x526074
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x52607c
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov edi, dword [0x5a26e4]
xor eax, eax
push ebp
push 0x5263fd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x526414
push dword [edi + 0xc]
push dword [edi + 8]
lea ecx, [ebp - 8]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 8]
push 0x526428
movzx eax, word [edi + 0x10]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fdiv dword [0x526438]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0xc]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 0xc]
push 0x526444
lea eax, [ebp - 4]
mov edx, 5
call fcn.00405c48
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x364]
call fcn.0045a1f0
push 0x526414
push dword [edi + 0x1e]
push dword [edi + 0x1a]
lea ecx, [ebp - 0x18]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 0x18]
push 0x526428
movzx eax, word [edi + 0x22]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fdiv dword [0x526438]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x1c]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 0x1c]
push 0x526444
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00405c48
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x368]
call fcn.0045a1f0
push 0x526414
push dword [edi + 0x30]
push dword [edi + 0x2c]
lea ecx, [ebp - 0x24]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 0x24]
push 0x526428
movzx eax, word [edi + 0x34]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fdiv dword [0x526438]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x28]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 0x28]
push 0x526444
lea eax, [ebp - 0x20]
mov edx, 5
call fcn.00405c48
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x36c]
call fcn.0045a1f0
push 0x526414
push dword [edi + 0x42]
push dword [edi + 0x3e]
lea ecx, [ebp - 0x30]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 0x30]
push 0x526428
movzx eax, word [edi + 0x46]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fdiv dword [0x526438]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x34]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 0x34]
push 0x526444
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.00405c48
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x370]
call fcn.0045a1f0
push 0x526450
mov eax, dword [0x5a30b0]
push dword [eax + 0x2c]
push dword [eax + 0x28]
lea ecx, [ebp - 0x3c]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 0x3c]
push 0x526464
mov eax, dword [0x5a30b0]
push dword [eax + 0x24]
push dword [eax + 0x20]
lea ecx, [ebp - 0x40]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 0x40]
push 0x526478
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.00405c48
mov edx, dword [ebp - 0x38]
mov eax, dword [ebx + 0x3a4]
call fcn.0045a1f0
push 0x526450
mov eax, dword [0x5a30b0]
push dword [eax + 0x5d]
push dword [eax + 0x59]
lea ecx, [ebp - 0x48]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 0x48]
push 0x526464
mov eax, dword [0x5a30b0]
push dword [eax + 0x55]
push dword [eax + 0x51]
lea ecx, [ebp - 0x4c]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 0x4c]
push 0x526478
lea eax, [ebp - 0x44]
mov edx, 5
call fcn.00405c48
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x3ac]
call fcn.0045a1f0
push 0x526450
mov eax, dword [0x5a30b0]
push dword [eax + 0x8e]
push dword [eax + 0x8a]
lea ecx, [ebp - 0x54]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 0x54]
push 0x526464
mov eax, dword [0x5a30b0]
push dword [eax + 0x86]
push dword [eax + 0x82]
lea ecx, [ebp - 0x58]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 0x58]
push 0x526478
lea eax, [ebp - 0x50]
mov edx, 5
call fcn.00405c48
mov edx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x3b0]
call fcn.0045a1f0
push 0x526450
mov eax, dword [0x5a30b0]
push dword [eax + 0xbf]
push dword [eax + 0xbb]
lea ecx, [ebp - 0x60]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 0x60]
push 0x526464
mov eax, dword [0x5a30b0]
push dword [eax + 0xb7]
push dword [eax + 0xb3]
lea ecx, [ebp - 0x64]
mov dl, 2
mov al, 4
call fcn.00512f30
push dword [ebp - 0x64]
push 0x526478
lea eax, [ebp - 0x5c]
mov edx, 5
call fcn.00405c48
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebx + 0x3b4]
call fcn.0045a1f0
mov edx, esi
mov eax, ebx
call fcn.0052675c
mov edx, esi
mov eax, ebx
call fcn.00526838
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x526404
lea eax, [ebp - 0x64]
mov edx, 0x15
call fcn.004058d8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004058d8
ret