Function at 0x10165de0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x70
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov esi, dword [0x10191038]
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
add esi, 0xffffddc9
mov dword [0x10191034], esi
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x10165e29
jmp 0x10165e95
mov eax, dword [ebp - 0x18]
add esp, 0x70
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x10165fa1
mov al, byte [ebp - 0x25]
mov ecx, 0xb7
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 0x2d], al
jmp 0x10166015
mov al, byte [ebp - 0x2e]
mov ecx, dword [ebp - 0x34]
add ecx, 0xffffeef6
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 0x2d], al
jmp 0x10166015
mov eax, 0xb7
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov edx, dword [ebp - 0x3c]
cmp ecx, edx
mov bl, byte [ebp - 0x3d]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x25], bl
mov dword [ebp - 0x24], eax
jb 0x10165fa1
jmp 0x10165e44
mov dword [0x10191038], 0x24b6
mov dword [0x10191034], 0x475
mov ecx, dword fs:[0x18]
mov dword [0x10191038], 0xf40
mov dword [0x10191034], 0x8f2
mov dword [0x10191038], 0x230a
mov eax, dword [ecx + 0x30]
mov dword [0x10191038], 0xffffdb4b
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x10191034], 0xffffe04f
cmp eax, ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x10166068
mov eax, 0xffffdb4b
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x4c], esi
mov byte [ebp - 0x4d], dl
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x4c]
mov edx, ecx
add edx, 0x24
mov esi, dword [ecx + 0x28]
mov edi, dword [ecx + 0x10]
mov ebx, dword [ebp - 0x10]
cmp edi, ebx
sete bl
mov bh, byte [ebp - 0x4d]
and bh, bl
test bh, 1
mov ebx, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x6c], ebx
jne 0x10165f5d
jmp 0x10165f7b
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x6c]
add eax, 0xffffe149
add ecx, 0xfffffff8
mov dword [0x10191034], eax
mov dword [ebp - 0x18], ecx
jmp 0x10165e29
mov eax, dword [ebp - 0x60]
mov cx, word [eax]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x70], esi
je 0x10166045
jmp 0x10165e34
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x64]
mov si, word [edx + ecx*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x38], ecx
mov word [ebp - 0x76], si
mov word [ebp - 0x78], bx
jb 0x10165fdb
mov ax, word [ebp - 0x76]
mov word [ebp - 0x78], ax
mov ax, word [ebp - 0x78]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x38]
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 - 0x74]
mov al, bl
mov byte [ebp - 0x3d], bl
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x2e], al
jne 0x10165e57
jmp 0x10165e6e
mov al, byte [ebp - 0x2d]
mov ecx, dword [ebp - 0x2c]
mov dword [0x10191038], ecx
test al, 1
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x70], ecx
jne 0x10166030
jmp 0x10166045
mov eax, dword [ebp - 0x7c]
mov dword [0x10191034], 0x2301
mov dword [ebp - 0x18], eax
jmp 0x10165e29
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x44]
cmp edx, esi
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x54], eax
jne 0x10165f1e
mov dword [0x10191034], 0x131c
xor eax, eax
mov dword [0x10191038], 0x21a3
mov dword [ebp - 0x18], eax
jmp 0x10165e29