Function at 0x524d10
Capabilities:
Access peb ldr_data
Check os version
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537535
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x5c6150]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
mov dword [esi + 8], 0xff0
mov dword [esi], 0
mov dword [esi + 4], 0
lea eax, [esi + 0xc]
mov dword [eax], 0
mov dword [ebp - 0x3c], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x18]
call fcn.00448800
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0x24]
call fcn.00448560
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
push ecx
sar eax, 5
lea ecx, [esi + 0x30]
push eax
call fcn.004483e0
mov byte [ebp - 4], 9
mov eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x20]
push ecx
sar eax, 2
lea ecx, [esi + 0x3c]
push eax
call fcn.004483e0
lea eax, [esi + 0x48]
mov dword [eax], 0
mov dword [ebp - 0x34], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x14]
push ecx
sar eax, 4
lea ecx, [esi + 0x54]
push eax
call fcn.004483e0
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x60]
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x14]
sar eax, 4
push ecx
push eax
mov dword [ebp - 0x40], ecx
call fcn.004483e0
lea eax, [esi + 0x6c]
mov dword [eax], 0
mov dword [ebp - 0x24], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x78], eax
mov eax, dword [ebp + 0x30]
mov dword [esi + 0x7c], eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, dword [ebp + 8]
sar eax, 4
mov dword [esi + 0x84], eax
mov eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x20]
sar eax, 2
mov dword [esi + 0x88], eax
lea eax, [esi + 0x9c]
sar ecx, 5
mov dword [esi + 0x80], ecx
mov byte [esi + 0x90], 1
mov dword [esi + 0x98], 0
mov dword [ebp - 0x30], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [esi + 0xa8]
mov dword [eax], 0
mov dword [ebp - 0x38], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea edi, [esi + 0xb4]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
xor esi, esi
mov byte [ebp - 4], 0x11
test ecx, ecx
jle 0x524ef2
nop
lea eax, [ebp + 0x2c]
mov dword [ebp + 0x2c], 0
push eax
mov ecx, edi
call fcn.00448340
mov ebx, dword [ebp + 0xc]
inc esi
mov eax, ebx
sub eax, dword [ebp + 8]
sar eax, 5
cmp esi, eax
jl 0x524ed0
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov esi, dword [edi + 0x84]
mov ecx, dword [edi + 0x80]
mov edx, dword [edi + 0x88]
lea eax, [esi + 2]
add eax, ecx
add eax, edx
lea eax, [eax + eax*2]
shl eax, 2
mov dword [edi + 0x8c], eax
lea eax, [ecx + edx]
lea eax, [eax + ecx*4]
lea eax, [eax + esi*4]
mov esi, dword [ebp + 0x40]
lea eax, [eax*4 + 0xc]
mov dword [ebp - 0x18], esi
mov dword [edi + 0x94], eax
mov eax, dword [ebp + 8]
sub ebx, eax
mov edi, dword [ebp + 0x34]
sar ebx, 5
mov dword [ebp - 0x14], edi
test ebx, ebx
jle 0x525251
xor ebx, ebx
mov dword [ebp + 0x30], ebx
add eax, ebx
xor edx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp + 0x2c], edx
mov eax, dword [eax]
and eax, 0xffffff8f
cmp eax, 5
jne 0x524f8b
cmp edi, dword [ebp + 0x38]
je 0x524f95
cmp esi, dword [ebp + 0x44]
je 0x524f95
mov edx, dword [edi]
add edi, 4
mov ecx, dword [esi]
add esi, 4
mov dword [ebp + 0x2c], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
jmp 0x524f95
cmp esi, dword [ebp + 0x44]
je 0x524f95
mov eax, dword [esi]
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
and eax, 0xffffff8f
dec eax
cmp eax, 5
ja 0x524fae
push eax
push edx
xor ecx, ecx
call fcn.00527620
jmp 0x524fb0
xor eax, eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + ebx]
and eax, 0xffffff8f
dec eax
cmp eax, 5
ja 0x524fcd
mov ecx, dword [ebp + 0x2c]
push eax
call fcn.00527510
jmp 0x524fcf
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp + 0x2c], eax
lea eax, [ebp - 0x20]
push eax
call fcn.004233b0
mov ecx, dword [ebp - 0x38]
lea eax, [ebp + 0x2c]
push eax
call fcn.004233b0
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x28]
push ecx
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x4c]
push dword [eax + 4]
call fcn.0044eb00
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x12
call fcn.0044e820
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x2c]
add ebx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 4]
sar eax, 2
add eax, eax
add dword [edx + 0x94], eax
xor edx, edx
mov eax, dword [ebx]
mov dword [ebp - 0x20], eax
shr eax, 4
test al, 1
mov eax, 4
cmovne edx, eax
mov eax, dword [ebx]
shr eax, 5
mov dword [ebp + 0x2c], edx
mov dword [ebp - 0x10], edx
test al, 1
jne 0x52505a
mov eax, dword [ebp - 0x20]
shr eax, 6
test al, 1
je 0x525063
add edx, 4
mov dword [ebp + 0x2c], edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebx + 0x10]
test eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
jns 0x525106
mov edi, dword [ebp - 0x1c]
xor ebx, ebx
mov eax, dword [eax + 8]
sub eax, dword [edi + 4]
mov edi, dword [ebp - 0x14]
sar eax, 2
test eax, eax
jle 0x5250e5
mov esi, dword [ebp + 0x30]
mov edi, dword [ebp + 0x2c]
nop
mov eax, dword [esi + ecx + 4]
lea edx, [ebx*4]
mov ecx, dword [ebp - 0x24]
add eax, edx
push eax
call fcn.0044b690
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + esi]
and eax, 0xffffff8f
cmp eax, 4
jne 0x5250b8
test ebx, ebx
je 0x5250c9
mov eax, dword [esi + ecx + 4]
mov eax, dword [eax + ebx*4]
add edi, dword [eax*4 + 0x557e70]
mov dword [ebp - 0x10], edi
mov eax, dword [esi + ecx + 8]
inc ebx
sub eax, dword [esi + ecx + 4]
sar eax, 2
cmp ebx, eax
jl 0x525090
mov esi, dword [ebp - 0x18]
mov dword [ebp + 0x2c], edi
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x30]
cmp dword [ecx + ebx + 0x10], 0xffffffff
jne 0x5250f5
add edx, 4
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x10]
push eax
call fcn.00448340
jmp 0x525224
mov ebx, dword [ebx + 8]
sub ebx, dword [eax + 4]
shl dword [ebp - 0x20], 4
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp + 0x14]
sar ebx, 2
mov dword [ebp - 0x1c], 0
sub ebx, dword [edi + eax]
mov edi, dword [ebp - 0x14]
test ebx, ebx
jle 0x52518b
mov eax, dword [ebp + 0x30]
mov edi, dword [ebp + 0x2c]
add eax, 4
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
nop dword [eax]
mov eax, dword [eax + ecx]
lea edx, [esi*4]
mov ecx, dword [ebp - 0x24]
add eax, edx
push eax
call fcn.0044b690
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x30]
mov eax, dword [ecx + eax]
and eax, 0xffffff8f
cmp eax, 4
jne 0x52516a
test esi, esi
je 0x52517a
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + ecx]
mov eax, dword [eax + esi*4]
add edi, dword [eax*4 + 0x557e70]
mov eax, dword [ebp - 0x20]
inc esi
cmp esi, ebx
jl 0x525140
mov dword [ebp + 0x2c], edi
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x10]
add edx, 4
push eax
mov dword [ebp - 0x10], edx
call fcn.00448340
mov ecx, dword [ebp + 0x30]
xor edx, edx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 8]
mov dword [ebp + 0x2c], edx
mov eax, dword [eax + ecx + 8]
sub eax, dword [esi + ecx + 4]
mov esi, dword [ebp - 0x18]
sar eax, 2
cmp ebx, eax
jge 0x525205
mov esi, dword [ebp - 0x24]
add ecx, 4
mov dword [ebp - 0x20], ecx
mov edi, edx
add ecx, dword [ebp + 8]
nop dword [eax + eax]
mov eax, dword [ecx]
lea ecx, [eax + ebx*4]
mov eax, dword [ecx]
push ecx
mov ecx, esi
add edi, dword [eax*4 + 0x557e70]
call fcn.0044b690
mov ecx, dword [ebp - 0x20]
inc ebx
add ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 2
cmp ebx, eax
jl 0x5251d0
mov esi, dword [ebp - 0x18]
mov dword [ebp + 0x2c], edi
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x30]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + ebx]
shr eax, 6
test al, 1
jne 0x525218
add edx, 4
mov eax, dword [ebp - 0x40]
mov ecx, dword [ecx + ebx + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4], edx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x11
call fcn.0044eba0
mov eax, dword [ebp + 0xc]
add ebx, 0x20
sub eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
inc ecx
sar eax, 5
cmp ecx, eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 8]
mov dword [ebp + 0x30], ebx
jl 0x524f58
lea ecx, [ebp + 8]
call fcn.00448bd0
lea ecx, [ebp + 0x14]
call fcn.00448a50
lea ecx, [ebp + 0x20]
call fcn.00436640
lea ecx, [ebp + 0x34]
call fcn.00436640
lea ecx, [ebp + 0x40]
call fcn.00436640
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x44