Function at 0x10176b70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x88
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov dword [0x101806dc], 0x23d6
mov esi, dword [0x101806e0]
mov edi, esi
add edi, 0xfffffb21
mov dword [0x101806e0], edi
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], edx
jne 0x10176e5d
jmp 0x10176cc3
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, eax
add edx, 0x63f
mov esi, ecx
add esi, 0x24
mov edi, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
cmp ebx, eax
sete al
mov ah, byte [ebp - 0x29]
and ah, al
test ah, 1
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], edi
jne 0x10176d2e
jmp 0x10176c8c
mov eax, 0x4c0
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x29], dl
mov dword [ebp - 0x20], eax
jmp 0x10176bd2
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x34]
mov esi, dword [edx]
mov edi, dword [ebp - 0x50]
cmp esi, edi
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ecx
je 0x10176c79
jmp 0x10176bd2
mov eax, dword [ebp - 0x58]
mov dword [0x101806dc], eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0xffffec0d
mov dword [0x101806e0], ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
jmp 0x10176e5d
xor eax, eax
mov ecx, dword [ebp - 0x54]
mov dword [0x101806dc], ecx
mov dword [ebp - 0x1c], eax
jmp 0x10176e5d
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dx, word [ecx]
shr dx, 1
movzx esi, dx
cmp dx, 0
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x68], eax
je 0x10176c37
jmp 0x10176d47
mov eax, dword [ebp - 0x18]
add eax, 0xfffff9c6
mov dword [0x101806dc], 0x170c
mov dword [0x101806e0], eax
mov ecx, dword fs:[0x18]
mov dword [0x101806dc], 0xcf7
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [0x101806e0], 0x4c0
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0xc]
mov esi, edx
add esi, 0x14
mov edx, dword [edx + 0x14]
mov dword [0x101806dc], 0xcc9
cmp edx, esi
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x1c], eax
je 0x10176e5d
jmp 0x10176c18
mov eax, dword [ebp - 0x38]
mov dword [0x101806dc], eax
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff8
mov dword [ebp - 0x1c], ecx
jmp 0x10176e5d
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x60]
mov edx, 0x3a0
mov esi, dword [ebp - 0x40]
mov di, word [esi + eax*2]
mov ebx, ecx
add ebx, 0xffffdb51
mov si, di
add si, 0xffbf
mov word [ebp - 0x6e], si
mov si, di
add si, 0x20
mov word [ebp - 0x70], si
mov si, word [ebp - 0x6e]
cmp si, 0x1a
mov si, word [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x78], edx
mov word [ebp - 0x7a], si
mov word [ebp - 0x7c], di
mov dword [ebp - 0x80], ebx
jb 0x10176da4
mov ax, word [ebp - 0x7c]
mov word [ebp - 0x7a], ax
mov ax, word [ebp - 0x7a]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x74]
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 - 0x78]
mov byte [ebp - 0x81], bl
mov dword [ebp - 0x88], esi
jne 0x10176e2f
mov eax, dword [ebp - 0x5c]
add eax, 0xffffd3c4
mov ecx, dword [ebp - 0x74]
add ecx, 1
mov edx, dword [ebp - 0x64]
cmp ecx, edx
setb bl
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], ecx
mov byte [ebp - 0x91], bl
mov al, byte [ebp - 0x91]
test al, 1
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x90]
mov esi, dword [ebp - 0x8c]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x88], esi
jne 0x10176d47
jmp 0x10176e2f
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x80]
mov dword [0x101806e0], ecx
mov dl, byte [ebp - 0x81]
test dl, 1
mov esi, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], esi
jne 0x10176c57
jmp 0x10176c37
mov eax, dword [ebp - 0x1c]
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
ret