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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53761d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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 ebx, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0
mov dword [ebx + 8], 0xff0
mov dword [ebx], 0
mov dword [ebx + 4], 0
lea eax, [ebx + 0xc]
mov dword [eax], 0
mov dword [ebp - 0x38], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebx + 0x18]
call fcn.00448800
lea eax, [ebp + 0x14]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebx + 0x24]
call fcn.00448560
mov byte [ebp - 4], 9
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
push ecx
sar eax, 5
lea ecx, [ebx + 0x30]
push eax
call fcn.004483e0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x20]
push ecx
sar eax, 2
lea ecx, [ebx + 0x3c]
push eax
call fcn.004483e0
mov dword [ebx + 0x48], 0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x14]
push ecx
sar eax, 4
lea ecx, [ebx + 0x54]
push eax
call fcn.004483e0
mov byte [ebp - 4], 0xd
lea ecx, [ebx + 0x60]
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x14]
sar eax, 4
push ecx
push eax
mov dword [ebp - 0x3c], ecx
call fcn.004483e0
lea eax, [ebx + 0x6c]
mov dword [eax], 0
mov dword [ebp - 0x2c], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp + 0x30]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 5
mov dword [ebx + 0x80], eax
mov eax, dword [ebp + 0x18]
sub eax, dword [ebp + 0x14]
sar eax, 4
mov dword [ebx + 0x84], eax
mov eax, dword [ebp + 0x24]
sub eax, dword [ebp + 0x20]
sar eax, 2
mov dword [ebx + 0x88], eax
lea eax, [ebx + 0x9c]
mov byte [ebx + 0x90], 1
mov dword [ebx + 0x98], 0
mov dword [ebp - 0x30], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [ebx + 0xa8]
mov dword [eax], 0
mov dword [ebp - 0x34], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
lea eax, [ebp + 0x4c]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebx + 0xb4]
call fcn.004482b0
mov byte [ebp - 4], 0x12
mov esi, dword [ebx + 0x84]
mov ecx, dword [ebx + 0x80]
mov edx, dword [ebx + 0x88]
mov edi, dword [ebp + 0x34]
lea eax, [esi + 2]
mov dword [ebp - 0x14], edi
add eax, ecx
mov dword [ebp - 0x1c], 0
add eax, edx
lea eax, [eax + eax*2]
shl eax, 2
mov dword [ebx + 0x8c], eax
lea eax, [ecx + edx]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 8]
lea eax, [eax + esi*4]
mov esi, dword [ebp + 0x40]
lea eax, [eax*4 + 0xc]
mov dword [ebp - 0x18], esi
mov dword [ebx + 0x94], eax
mov eax, dword [ebp + 0xc]
sub eax, ecx
sar eax, 5
test eax, eax
jle 0x525893
xor ebx, ebx
mov dword [ebp + 0x30], ebx
mov eax, dword [ecx + ebx]
and eax, 0xffffff8f
mov dword [ebp - 0x28], 0
mov dword [ebp + 0x2c], 0
cmp eax, 5
jne 0x5255b9
cmp edi, dword [ebp + 0x38]
je 0x5255c3
cmp esi, dword [ebp + 0x44]
je 0x5255c3
mov eax, dword [edi]
add edi, 4
mov dword [ebp - 0x28], eax
mov eax, dword [esi]
add esi, 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], esi
jmp 0x5255c0
cmp esi, dword [ebp + 0x44]
je 0x5255c3
mov eax, dword [esi]
mov dword [ebp + 0x2c], eax
mov edx, dword [ecx + ebx]
mov eax, dword [ebp + 0x4c]
and edx, 0xffffff8f
dec edx
cmp edx, 5
ja 0x5255e6
mov ecx, dword [ebp - 0x1c]
push edx
push dword [ebp - 0x28]
mov ecx, dword [eax + ecx*4]
call fcn.00527620
mov ecx, dword [ebp + 8]
jmp 0x5255e8
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + ebx]
and eax, 0xffffff8f
dec eax
cmp eax, 5
ja 0x525602
mov ecx, dword [ebp + 0x2c]
push eax
call fcn.00527510
jmp 0x525604
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp + 0x2c], eax
lea eax, [ebp - 0x28]
push eax
call fcn.004233b0
mov ecx, dword [ebp - 0x34]
lea eax, [ebp + 0x2c]
push eax
call fcn.004233b0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx]
lea ecx, [edx*4]
push ecx
mov eax, dword [eax + ecx]
lea ecx, [ebp - 0x48]
push dword [eax + 4]
call fcn.0044eb00
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0x13
call fcn.0044e820
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
add ebx, ecx
mov dword [ebp - 0x24], 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 - 0x28], 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 0x525696
mov eax, dword [ebp - 0x28]
shr eax, 6
test al, 1
je 0x52569f
add edx, 4
mov dword [ebp + 0x2c], edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebx + 0x10]
test eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
jns 0x525749
mov edi, dword [ebp - 0x24]
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 0x525725
mov esi, dword [ebp + 0x30]
mov edi, dword [ebp + 0x2c]
nop dword [eax + eax]
mov eax, dword [ecx + esi + 4]
lea edx, [ebx*4]
mov ecx, dword [ebp - 0x2c]
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 0x5256f8
test ebx, ebx
je 0x525709
mov eax, dword [ecx + esi + 4]
mov eax, dword [eax + ebx*4]
add edi, dword [eax*4 + 0x557e70]
mov dword [ebp - 0x10], edi
mov eax, dword [ecx + esi + 8]
inc ebx
sub eax, dword [ecx + esi + 4]
sar eax, 2
cmp ebx, eax
jl 0x5256d0
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 0x525735
add edx, 4
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ecx + 0x48]
call fcn.00448340
jmp 0x525864
mov ebx, dword [ebx + 8]
sub ebx, dword [eax + 4]
shl dword [ebp - 0x28], 4
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp + 0x14]
sar ebx, 2
mov dword [ebp - 0x24], 0
sub ebx, dword [edi + eax]
mov edi, dword [ebp - 0x14]
test ebx, ebx
jle 0x5257cb
mov eax, dword [ebp + 0x30]
mov edi, dword [ebp + 0x2c]
add eax, 4
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
nop dword [eax]
mov eax, dword [ecx + eax]
lea edx, [esi*4]
mov ecx, dword [ebp - 0x2c]
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 0x5257aa
test esi, esi
je 0x5257ba
mov eax, dword [ebp - 0x28]
mov eax, dword [ecx + eax]
mov eax, dword [eax + esi*4]
add edi, dword [eax*4 + 0x557e70]
mov eax, dword [ebp - 0x28]
inc esi
cmp esi, ebx
jl 0x525780
mov dword [ebp + 0x2c], edi
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
add edx, 4
push eax
mov dword [ebp - 0x10], edx
lea ecx, [ecx + 0x48]
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 0x525845
mov esi, dword [ebp - 0x2c]
add ecx, 4
mov dword [ebp - 0x28], ecx
mov edi, edx
add ecx, dword [ebp + 8]
nop
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 - 0x28]
inc ebx
add ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
sar eax, 2
cmp ebx, eax
jl 0x525810
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 0x525858
add edx, 4
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ecx + ebx + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4], edx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x12
call fcn.0044eba0
mov eax, dword [ebp + 0xc]
add ebx, 0x20
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
inc edx
sub eax, ecx
mov dword [ebp - 0x1c], edx
sar eax, 5
mov dword [ebp + 0x30], ebx
cmp edx, eax
jl 0x525581
mov ebx, dword [ebp - 0x20]
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
lea ecx, [ebp + 0x4c]
call fcn.00436640
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x50