Function at 0x1000ac9c
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
cmp eax, 0
sete bl
cmp ecx, 0
sete bh
mov dword [0x101c0b98], 0x148f
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1000aee3
jmp 0x1000ad50
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x101c0b98], ecx
mov edx, dword [ebp - 0x20]
mov dword [0x101c0b9c], edx
mov dword [ebp - 0x18], eax
jmp 0x1000aee3
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x24]
mov byte [ebp - 0x25], cl
mov dword [ebp - 0x2c], edx
jmp 0x1000adad
mov eax, 0x1d96
mov ecx, 0x22d4
xor edx, edx
mov esi, dword [ebp - 0x30]
mov di, word [esi]
shr di, 1
movzx ebx, di
cmp di, 0
mov esi, ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], ecx
je 0x1000aebf
jmp 0x1000ae05
mov dword [0x101c0b98], 0xfffff60d
mov eax, dword [0x101c0b9c]
add eax, 0xffffe5e5
mov dword [0x101c0b9c], eax
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x101c0b9c], 0xad6
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov ecx, dword [ecx + 0x14]
mov dword [0x101c0b98], 0x21aa
cmp ecx, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x18], eax
je 0x1000aee3
jmp 0x1000acfd
mov eax, dword [ebp - 0x2c]
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 - 0x25]
and bh, bl
test bh, 1
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], esi
jne 0x1000ade1
jmp 0x1000ad16
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff8
mov dword [0x101c0b98], 0x22d4
mov dword [0x101c0b9c], 0x1d96
mov dword [ebp - 0x18], eax
jmp 0x1000aee3
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x40]
add ecx, 0xffffdaf9
mov edx, eax
add edx, 1
mov esi, dword [ebp - 0x50]
mov di, word [esi + eax*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], edx
mov word [ebp - 0x62], di
mov word [ebp - 0x64], si
jb 0x1000ae50
mov ax, word [ebp - 0x62]
mov word [ebp - 0x64], ax
mov ax, word [ebp - 0x64]
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 - 0x60]
mov edi, dword [ebp - 0x3c]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 0x65], bl
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x40], eax
jne 0x1000ae05
mov eax, 0x125d
mov cl, byte [ebp - 0x65]
test cl, 1
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], edx
jne 0x1000aea5
jmp 0x1000aebf
mov eax, dword [ebp - 0x5c]
mov dword [0x101c0b98], eax
mov dword [0x101c0b9c], 0x1547
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x18], ecx
jmp 0x1000aee3
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x4c]
mov esi, dword [edx]
mov edi, dword [ebp - 0x48]
cmp esi, edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x2c], esi
je 0x1000ace1
jmp 0x1000adad
mov eax, dword [ebp - 0x18]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret