Function at 0x1000acab
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov dword [0x101c0b64], 0x148f
cmp eax, 0
sete bl
cmp ecx, 0
sete bh
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1000aee0
jmp 0x1000ada3
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, ecx
add edx, 1
add eax, 0xffffdaf9
mov esi, dword [ebp - 0x24]
mov di, word [esi + ecx*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov word [ebp - 0x32], di
mov word [ebp - 0x34], si
jb 0x1000ad3d
mov ax, word [ebp - 0x32]
mov word [ebp - 0x34], ax
mov ax, word [ebp - 0x34]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x38]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x39], bl
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
jne 0x1000acf3
jmp 0x1000ae78
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff8
mov dword [0x101c0b64], 0x22d4
mov dword [0x101c0b68], 0x1d96
mov dword [ebp - 0x18], eax
jmp 0x1000aee0
mov dword [0x101c0b64], 0xfffff60d
mov eax, dword [0x101c0b68]
add eax, 0xffffe5e5
mov dword [0x101c0b68], eax
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x101c0b68], 0xad6
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov ecx, dword [ecx + 0x14]
mov dword [0x101c0b64], 0x21aa
cmp ecx, edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x18], eax
je 0x1000aee0
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x44]
mov byte [ebp - 0x49], cl
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
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 - 0x49]
and bh, bl
test bh, 1
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x58], esi
jne 0x1000ad7f
mov eax, 0x22d4
mov ecx, 0x1d96
xor edx, edx
mov esi, dword [ebp - 0x54]
mov di, word [esi]
shr di, 1
movzx ebx, di
cmp di, 0
mov esi, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x60], ecx
je 0x1000aeaa
jmp 0x1000acf3
mov eax, 0x125d
mov cl, byte [ebp - 0x39]
test cl, 1
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x60], eax
jne 0x1000ae90
jmp 0x1000aeaa
mov eax, dword [ebp - 0x30]
mov dword [0x101c0b64], eax
mov dword [0x101c0b68], 0x1547
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x18], ecx
jmp 0x1000aee0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x40]
mov esi, dword [edx]
mov edi, dword [ebp - 0x48]
cmp esi, edi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x50], esi
jne 0x1000ae0f
xor eax, eax
mov ecx, dword [ebp - 0x68]
mov dword [0x101c0b64], ecx
mov edx, dword [ebp - 0x64]
mov dword [0x101c0b68], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret