Function at 0x436040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4628a3
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x476cd4]
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.0042d5e0
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.00409520
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x44]
push eax
mov dword [esp + 0x44], ebx
call fcn.00408e40
cmp dword [esp + 0x2c], 8
mov dword [esp + 0x38], 0xffffffff
jb 0x4360cc
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0043e711
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 0x436212
xor ecx, ecx
mov word [esi + 0x24], cx
test edi, 0x700
jne 0x43612e
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 0x4362c4
shr eax, 0xa
mov dword [esi + 0x20], ebx
test al, 1
je 0x436174
cmp dword [esi + 0x34], ebx
jne 0x436149
push 0xcb
mov ecx, esi
call fcn.00434ad0
push ebp
call fcn.00425570
add esp, 4
test al, al
jne 0x436162
push 0xd0
mov ecx, esi
call fcn.00434ad0
or dword [esi + 0x3c], 0x90
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x40], ecx
jmp 0x4361f4
mov eax, dword [esp + 0x48]
cmp eax, ebx
ja 0x436188
push 0xcc
mov ecx, esi
call fcn.00434ad0
mov dword [esi + 8], eax
test edi, 0x200
je 0x4361e3
or dword [esi + 0x3c], 0x70
mov ecx, esi
call fcn.00434060
push 0x18
call fcn.0043eddd
mov edi, eax
add esp, 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], 1
cmp edi, ebx
je 0x4361d1
mov ecx, edi
call fcn.0042fab0
mov dword [esp + 0x38], 0xffffffff
mov dword [esi + 0x88], edi
jmp 0x4361e7
xor edi, edi
mov dword [esp + 0x38], 0xffffffff
mov dword [esi + 0x88], edi
jmp 0x4361e7
or dword [esi + 0x3c], 0x30
mov ecx, esi
call fcn.004340b0
mov edx, dword [esi + 0x38]
mov dword [esi + 0x40], edx
push 4
mov ecx, esi
call fcn.004354c0
push 1
push 4
push str.PK_a_b
mov ecx, esi
call fcn.00435880
jmp 0x4362c4
or dword [esi + 0x3c], 8
and eax, 3
cmp al, 3
sete al
cmp al, bl
je 0x436226
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 0x436257
or dword [esi + 0x3c], 0x90
jmp 0x4362c4
test edi, 0x200
je 0x4362b6
or dword [esi + 0x3c], 0x70
mov ecx, esi
call fcn.004340b0
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 0x436290
push 0xc9
mov ecx, esi
call fcn.00434ad0
dec eax
mov word [esi + 0x24], ax
test ax, ax
jbe 0x4362a9
movzx ecx, ax
mov dword [esi + 8], ecx
mov ecx, esi
call fcn.00435e10
jmp 0x4362c4
mov ecx, esi
call fcn.004338b0
and dword [esi + 0x3c], 0xffffff8f
jmp 0x4362c4
mov edx, edi
shr edx, 8
test dl, 1
je 0x4362c4
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