Function at 0x6a809d30
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6a80a226
sub esp, 0x28
mov eax, dword [esp + 0x30]
test eax, eax
setbe cl
mov edx, dword [esp + 0x34]
test edx, edx
sete bl
xchg ebp, ebx
setl bl
xchg ebp, ebx
and ecx, ebx
or ecx, ebp
test cl, cl
jne 0x6a80a20f
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jl 0x6a80a1f9
mov eax, dword [esp + 0x2c]
test byte [eax], al
lea ecx, [eax + 0x2c]
mov dword [esp + 0x24], ecx
mov dword [esp], ecx
call fcn.6a7c2130
mov eax, dword [esp + 4]
cmp eax, 3
ja 0x6a809e33
cmp eax, 1
jbe 0x6a809e2a
cmp eax, 2
je 0x6a809ed4
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x24]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 6
call fcn.6a7c2150
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6a809f80
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x6a809d7a
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x6a809d7a
mov dword [eax + 8], 0xfffffade
jmp 0x6a809d7a
test eax, eax
je 0x6a809e45
jmp 0x6a809ef1
cmp eax, 5
ja 0x6a809ec1
cmp eax, 4
je 0x6a809ed4
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x24]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 6
call fcn.6a7c2150
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6a809fa8
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x6a809d7a
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x6a809d7a
mov dword [eax + 8], 0xfffffade
jmp 0x6a809d7a
cmp eax, 6
je 0x6a809f6d
cmp eax, 8
jbe 0x6a809ef1
cmp eax, 9
jne 0x6a809ee7
lea eax, [0x6a86e86c]
mov dword [esp], eax
call fcn.6a815f00
jmp 0x6a809d7a
call fcn.6a80b840
jmp 0x6a809d7a
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x24]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 6
call fcn.6a7c2150
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6a809fb5
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x6a809d7a
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x6a809d7a
mov dword [eax + 8], 0xfffffade
jmp 0x6a809d7a
lea eax, [0x6a86e86c]
mov dword [esp], eax
call fcn.6a815f00
jmp 0x6a809d7a
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
test byte [ecx], al
add ecx, 0x1194
mov dword [esp], ecx
mov dword [esp + 4], 0xffffffff
call fcn.6a7c2280
xor eax, eax
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x6a809fc0
mov eax, 1
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x6a809fc0
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, 1
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov dword [ebp + 0x10], ebx
mov ebx, dword [esp + 0x38]
mov dword [ebp + 0xc], ebx
mov ebx, dword [0x6a9033b0]
test ebx, ebx
jne 0x6a809fe5
mov ebx, dword [esp + 0x40]
mov dword [ebp + 0x14], ebx
jmp 0x6a809ff5
lea edi, [ebp + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x40]
call fcn.6a817430
mov eax, ebx
mov ebx, dword [esp + 0x44]
mov dword [ebp + 0x18], ebx
mov ebx, dword [0x6a9033b0]
test ebx, ebx
jne 0x6a80a00f
mov ebx, dword [esp + 0x48]
mov dword [ebp + 0x1c], ebx
jmp 0x6a80a01f
lea edi, [ebp + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x48]
call fcn.6a817430
mov eax, ebx
mov dword [esp + 0x18], ecx
mov byte [esp + 0x13], dl
mov ebx, dword [esp + 0x4c]
mov dword [ebp + 0x20], ebx
test al, al
jne 0x6a80a123
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x28], eax
mov ebx, dword [esp + 0x30]
mov dword [ebp + 0x24], ebx
cmp dword [ebp + 4], ebx
xchg esi, ebx
seta bl
xchg esi, ebx
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x34]
cmp edx, edi
sete dl
xchg edi, ebx
setl bl
xchg edi, ebx
and esi, edx
or esi, edi
xchg esi, eax
test al, al
xchg esi, eax
je 0x6a80a072
mov edx, 7
jmp 0x6a80a077
mov edx, 8
mov dword [esp + 0x14], edx
mov ebp, dword [ebp]
cmp edx, 7
jne 0x6a80a097
mov dword [esp], ebp
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
call fcn.6a80b1a0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 6
mov dword [esp + 8], edx
call fcn.6a7c2150
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6a80a0bd
call fcn.6a80b840
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x6a80a0fd
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x6a80a0f4
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x14]
cmp eax, 7
jmp 0x6a80a104
mov eax, dword [esp + 0x14]
cmp eax, 7
jmp 0x6a80a104
mov eax, dword [esp + 0x14]
cmp eax, 7
jne 0x6a80a1ec
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.6a7f9460
jmp 0x6a80a1ec
mov eax, dword [esp + 0x34]
mov dword [ebp + 8], eax
mov ecx, dword [esp + 0x30]
mov dword [ebp + 4], ecx
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x58]
mov dword [esp + 0x20], edx
test byte [edx], al
lea ebx, [edx + 0x1180]
mov dword [esp + 0x1c], ebx
nop
mov dword [esp], ebx
call fcn.6a7c87b0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.6a8095c0
nop
nop
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.6a7c89b0
mov eax, dword [esp + 0x24]
mov dword [esp], eax
mov dword [esp + 4], 6
mov dword [esp + 8], 1
call fcn.6a7c2150
movzx eax, byte [esp + 0xc]
test al, al
jne 0x6a80a1a9
call fcn.6a80b840
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x6a80a1d8
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x6a80a1d8
mov dword [eax + 8], 0xfffffade
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.6a7f9460
movzx eax, byte [esp + 0x13]
mov byte [esp + 0x50], al
add esp, 0x28
ret
lea eax, [0x6a86c187]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.6a7f15a0
lea eax, [0x6a86ae35]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
call fcn.6a7f15a0
nop
call fcn.6a816010
jmp fcn.6a809d30