Function at 0x1014ad68
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
mov esi, dword [0x10194060]
cmp ecx, 0
sete bh
add esi, 0x2373
mov dword [0x10194064], esi
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1014afb8
jmp 0x1014ae26
mov eax, dword [ebp - 0x1c]
mov ecx, 0x1d6a
mov edx, dword [ebp - 0x20]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x2a], si
mov word [ebp - 0x2c], bx
jb 0x1014adf1
mov ax, word [ebp - 0x2a]
mov word [ebp - 0x2c], ax
mov ax, word [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov esi, dword [ebp - 0x28]
mov byte [ebp - 0x2d], bl
mov dword [ebp - 0x34], esi
jne 0x1014af4b
jmp 0x1014af19
mov dword [0x10194060], 0xffffeff6
mov dword [0x10194064], 0x17e1
mov ecx, dword fs:[0x18]
mov dword [0x10194060], 0x1b4a
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x10194060], 0x13eb
cmp eax, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jne 0x1014ae82
mov eax, dword [0x10194064]
add eax, 0xfffffcbc
mov dword [ebp - 0x40], eax
jmp 0x1014afab
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 0x41], cl
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
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 - 0x41]
and bh, bl
test bh, 1
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x54], esi
jne 0x1014aec7
jmp 0x1014aee6
mov eax, dword [0x10194064]
add eax, 0x26eb
mov dword [0x10194060], eax
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x1014afb8
mov eax, 0x2532
xor ecx, ecx
mov edx, dword [ebp - 0x50]
mov si, word [edx]
mov dword [0x10194064], 0x7d9
shr si, 1
movzx edi, si
cmp si, 0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], eax
je 0x1014af77
jmp 0x1014adb5
mov eax, dword [ebp - 0x24]
add eax, 1
mov ecx, dword [ebp - 0x58]
cmp eax, ecx
setb dl
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x61], dl
mov eax, 0x13f4
mov cl, byte [ebp - 0x61]
test cl, 1
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x34], eax
jne 0x1014adb5
jmp 0x1014af4b
mov eax, dword [ebp - 0x34]
mov ecx, 0x1ac1
mov dword [0x10194064], eax
mov dl, byte [ebp - 0x2d]
test dl, 1
mov dword [ebp - 0x5c], ecx
jne 0x1014af65
jmp 0x1014af77
mov dword [0x10194060], 0x1a2f
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x18], eax
jmp 0x1014afb8
mov eax, dword [ebp - 0x5c]
mov dword [0x10194064], 0xc24
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x38]
cmp edx, esi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x48], edx
jne 0x1014ae96
mov eax, 0x8e0
mov ecx, dword [ebp - 0x68]
mov dword [0x10194060], ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
xor ecx, ecx
mov dword [0x10194060], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret