Function at 0x101c9fd2
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]
cmp ecx, 0
sete dl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov eax, 0xffffffff
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
sete dl
mov dh, byte [ebp - 0x15]
and dh, dl
test dh, 1
mov dword [ebp - 0x1c], eax
jne 0x101ca20d
jmp 0x101ca080
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov dword [0x10273968], ecx
mov dword [ebp - 0x1c], eax
jmp 0x101ca20d
mov eax, 0x1c32
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, dword [ebp - 0x24]
mov byte [ebp - 0x25], dl
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esi
jmp 0x101ca0ea
mov eax, dword [ebp - 0x34]
mov dword [0x10273964], eax
mov al, byte [ebp - 0x35]
test al, 1
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], ecx
jne 0x101ca1df
jmp 0x101ca1ef
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 0xffffd8fa
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x44], eax
jmp 0x101ca170
mov dword [0x10273964], 0xfffff235
mov dword [0x10273968], 0x191f
mov ecx, dword fs:[0x18]
xor eax, eax
mov edx, dword [0x10273964]
add edx, 0xffffe4cd
mov dword [0x10273964], edx
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x10273968], 0x702
mov ecx, dword [ecx + 0x14]
mov dword [0x10273964], 0x1c32
cmp ecx, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x1c], eax
je 0x101ca20d
jmp 0x101ca02a
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, eax
add edx, 0x24
mov esi, dword [eax + 0x28]
mov edi, ecx
add edi, 0xfffff2d7
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
cmp ebx, eax
sete al
mov ah, byte [ebp - 0x25]
and ah, al
test ah, 1
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x20], edi
jne 0x101ca157
mov eax, dword [ebp - 0x54]
mov cx, word [eax]
shr cx, 1
mov word [ebp - 0x5a], cx
mov ax, word [ebp - 0x5a]
movzx ecx, ax
cmp ax, 0
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x3c], edx
je 0x101ca1ef
jmp 0x101ca06a
mov eax, dword [ebp - 0x20]
mov dword [0x10273968], eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff8
mov dword [ebp - 0x1c], ecx
jmp 0x101ca20d
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x58]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x64], eax
mov word [ebp - 0x66], dx
mov word [ebp - 0x68], di
jb 0x101ca1a4
mov ax, word [ebp - 0x66]
mov word [ebp - 0x68], ax
mov ax, word [ebp - 0x68]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x64]
cmp word [ecx + edx*2], ax
sete bl
add edx, 1
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x60]
cmp edx, esi
setb bh
and al, bh
test al, 1
mov byte [ebp - 0x35], bl
mov dword [ebp - 0x44], edx
jne 0x101ca170
jmp 0x101ca04c
mov eax, dword [ebp - 0x20]
mov dword [0x10273968], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1c], eax
jmp 0x101ca20d
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x48]
cmp edx, esi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
je 0x101ca017
jmp 0x101ca0ea
mov eax, dword [ebp - 0x1c]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret