Function at 0x539650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x553873
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5973cc]
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.00532f70
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.0052c2d0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x44]
push eax
mov dword [esp + 0x44], ebx
call fcn.004057f0
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x38], 0xffffffff
jb 0x5396dc
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00505cfe
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 0x539822
xor ecx, ecx
mov word [esi + 0x24], cx
test edi, 0x700
jne 0x53973e
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 0x5398d4
shr eax, 0xa
mov dword [esi + 0x20], ebx
test al, 1
je 0x539784
cmp dword [esi + 0x34], ebx
jne 0x539759
push 0xcb
mov ecx, esi
call fcn.005380e0
push ebp
call fcn.00536220
add esp, 4
test al, al
jne 0x539772
push 0xd0
mov ecx, esi
call fcn.005380e0
or dword [esi + 0x3c], 0x90
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x40], ecx
jmp 0x539804
mov eax, dword [esp + 0x48]
cmp eax, ebx
ja 0x539798
push 0xcc
mov ecx, esi
call fcn.005380e0
mov dword [esi + 8], eax
test edi, 0x200
je 0x5397f3
or dword [esi + 0x3c], 0x70
mov ecx, esi
call fcn.00537670
push 0x18
call fcn.00506654
mov edi, eax
add esp, 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], 1
cmp edi, ebx
je 0x5397e1
mov ecx, edi
call fcn.00534500
mov dword [esp + 0x38], 0xffffffff
mov dword [esi + 0x88], edi
jmp 0x5397f7
xor edi, edi
mov dword [esp + 0x38], 0xffffffff
mov dword [esi + 0x88], edi
jmp 0x5397f7
or dword [esi + 0x3c], 0x30
mov ecx, esi
call fcn.005376c0
mov edx, dword [esi + 0x38]
mov dword [esi + 0x40], edx
push 4
mov ecx, esi
call fcn.00538ad0
push 1
push 4
push str.PK_a_b
mov ecx, esi
call fcn.00538e90
jmp 0x5398d4
or dword [esi + 0x3c], 8
and eax, 3
cmp al, 3
sete al
cmp al, bl
je 0x539836
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 0x539867
or dword [esi + 0x3c], 0x90
jmp 0x5398d4
test edi, 0x200
je 0x5398c6
or dword [esi + 0x3c], 0x70
mov ecx, esi
call fcn.005376c0
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 0x5398a0
push 0xc9
mov ecx, esi
call fcn.005380e0
dec eax
mov word [esi + 0x24], ax
test ax, ax
jbe 0x5398b9
movzx ecx, ax
mov dword [esi + 8], ecx
mov ecx, esi
call fcn.00539420
jmp 0x5398d4
mov ecx, esi
call fcn.00536e40
and dword [esi + 0x3c], 0xffffff8f
jmp 0x5398d4
mov edx, edi
shr edx, 8
test dl, 1
je 0x5398d4
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