Function at 0x10006c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp eax, 0
sete bl
cmp ecx, 0
sete bh
mov dword [0x1018f690], 0x148f
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x10006e4b
jmp 0x10006c75
mov eax, 0x1d96
mov ecx, 0x22d4
mov edx, dword [ebp - 0x1c]
mov si, word [edx]
shr si, 1
movzx edi, si
cmp si, 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x10006e16
jmp 0x10006d1a
mov dword [0x1018f690], 0xfffff60d
mov eax, dword [0x1018f694]
add eax, 0xffffe5e5
mov dword [0x1018f694], eax
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x1018f694], 0xad6
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov ecx, dword [ecx + 0x14]
mov dword [0x1018f690], 0x21aa
cmp ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x18], eax
je 0x10006e4b
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 0x31], cl
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x31]
and bh, bl
test bh, 1
mov edi, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], edi
jne 0x10006d29
jmp 0x10006c45
xor eax, eax
mov ecx, 0x22d4
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
jmp 0x10006d4d
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff8
mov dword [0x1018f690], 0x22d4
mov dword [0x1018f694], 0x1d96
mov dword [ebp - 0x18], eax
jmp 0x10006e4b
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov edx, ecx
add edx, 1
add eax, 0xffffdaf9
mov esi, dword [ebp - 0x40]
mov di, word [esi + ecx*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], eax
mov word [ebp - 0x5e], di
mov word [ebp - 0x60], si
jb 0x10006d97
mov ax, word [ebp - 0x5e]
mov word [ebp - 0x60], ax
mov ax, word [ebp - 0x60]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x58]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x20]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x4c], esi
mov byte [ebp - 0x65], bl
jne 0x10006d4d
mov al, byte [ebp - 0x65]
mov ecx, dword [ebp - 0x64]
mov edx, 0x125d
test al, 1
mov esi, dword [ebp - 0x44]
mov edi, ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x28], ecx
jne 0x10006dfc
jmp 0x10006e16
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
mov dword [0x1018f690], eax
mov dword [0x1018f694], 0x1547
mov dword [ebp - 0x18], ecx
jmp 0x10006e4b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x3c]
mov esi, dword [edx]
mov edi, dword [ebp - 0x30]
cmp esi, edi
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x78], eax
jne 0x10006ce1
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x74]
xor edx, edx
mov dword [0x1018f690], eax
mov dword [0x1018f694], ecx
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret