Function at 0x527420
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x591c83
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x2c]
xor ebx, ebx
push ebx
mov eax, 0xffff
push ecx
lea ecx, [esi + 0x14]
mov word [esi + 0x24], ax
call fcn.00521d30
mov ebp, dword [esp + 0x40]
mov dword [esi + 0xc], ebx
or dword [esi + 0x3c], 5
lea edx, [esi + 0x60]
push ebp
lea ecx, [esp + 0x18]
mov dword [esi + 4], edx
call fcn.0051d640
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x44]
push eax
mov dword [esp + 0x44], ebx
call fcn.0042d910
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x38], 0xffffffff
jb 0x5274ac
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004f6734
add esp, 4
mov edi, dword [esp + 0x44]
mov eax, edi
shr eax, 2
xor edx, edx
test al, 1
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
mov dword [esi + 0x40], ebx
mov eax, edi
je 0x5275f2
xor ecx, ecx
mov word [esi + 0x24], cx
test edi, 0x700
jne 0x52750e
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
mov edx, dword [edx]
and eax, 0xc
sub al, 0xc
movsx eax, al
neg eax
sbb eax, eax
and eax, 0xfffff000
add eax, 0x2000
push 1
or eax, 0x22
push eax
push ebp
call edx
jmp 0x5276a4
shr eax, 0xa
mov dword [esi + 0x20], ebx
test al, 1
je 0x527554
cmp dword [esi + 0x34], ebx
jne 0x527529
push 0xcb
mov ecx, esi
call fcn.00525eb0
push ebp
call fcn.00524510
add esp, 4
test al, al
jne 0x527542
push 0xd0
mov ecx, esi
call fcn.00525eb0
or dword [esi + 0x3c], 0x90
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x40], ecx
jmp 0x5275d4
mov eax, dword [esp + 0x48]
cmp eax, ebx
ja 0x527568
push 0xcc
mov ecx, esi
call fcn.00525eb0
mov dword [esi + 8], eax
test edi, 0x200
je 0x5275c3
or dword [esi + 0x3c], 0x70
mov ecx, esi
call fcn.00525440
push 0x18
call fcn.004f78be
mov edi, eax
add esp, 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], 1
cmp edi, ebx
je 0x5275b1
mov ecx, edi
call fcn.0051e300
mov dword [esp + 0x38], 0xffffffff
mov dword [esi + 0x88], edi
jmp 0x5275c7
xor edi, edi
mov dword [esp + 0x38], 0xffffffff
mov dword [esi + 0x88], edi
jmp 0x5275c7
or dword [esi + 0x3c], 0x30
mov ecx, esi
call fcn.00525490
mov edx, dword [esi + 0x38]
mov dword [esi + 0x40], edx
push 4
mov ecx, esi
call fcn.005268a0
push 1
push 4
push str.PK_a_b4Z
mov ecx, esi
call fcn.00526c60
jmp 0x5276a4
or dword [esi + 0x3c], 8
and eax, 3
cmp al, 3
sete al
cmp al, bl
je 0x527606
or dword [esi + 0x3c], 2
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
xor ebx, ebx
test al, al
mov eax, dword [edx]
setne bl
push 1
dec ebx
and ebx, 2
or ebx, 0x2020
push ebx
push ebp
call eax
mov ecx, edi
shr ecx, 0xa
test cl, 1
je 0x527637
or dword [esi + 0x3c], 0x90
jmp 0x5276a4
test edi, 0x200
je 0x527696
or dword [esi + 0x3c], 0x70
mov ecx, esi
call fcn.00525490
mov ecx, dword [esi + 0x84]
mov edx, dword [ecx]
lea eax, [esi + 0x44]
push eax
mov eax, dword [edx + 8]
call eax
mov word [esi + 0x24], ax
test ax, ax
jne 0x527670
push 0xc9
mov ecx, esi
call fcn.00525eb0
dec eax
mov word [esi + 0x24], ax
test ax, ax
jbe 0x527689
movzx ecx, ax
mov dword [esi + 8], ecx
mov ecx, esi
call fcn.005271f0
jmp 0x5276a4
mov ecx, esi
call fcn.00524d30
and dword [esi + 0x3c], 0xffffff8f
jmp 0x5276a4
mov edx, edi
shr edx, 8
test dl, 1
je 0x5276a4
or dword [esi + 0x3c], 0x30
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc