Function at 0x10151f00
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
cmp eax, 0
sete bl
cmp ecx, 0
sete bh
mov esi, dword [0x10171578]
add esi, 0xffffddc9
mov dword [0x10171574], esi
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1015218d
jmp 0x10151fa1
mov eax, 0xffffdb4b
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 0x1d], dl
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esi
jmp 0x1015200e
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x34]
cmp edx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x1015217e
jmp 0x1015200e
xor eax, eax
mov dword [0x10171578], 0x21a3
mov dword [ebp - 0x18], eax
jmp 0x1015218d
mov dword [0x10171578], 0x24b6
mov dword [0x10171574], 0x475
mov ecx, dword fs:[0x18]
mov dword [0x10171578], 0xf40
mov dword [0x10171574], 0x8f2
mov dword [0x10171578], 0x230a
mov eax, dword [ecx + 0x30]
mov dword [0x10171578], 0xffffdb4b
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x10171574], 0xffffe04f
cmp eax, ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x1c], eax
je 0x10151f8d
jmp 0x10151f4d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, eax
add edx, 0x24
mov esi, dword [eax + 0x28]
mov edi, dword [eax + 0x10]
mov ebx, dword [ebp - 0x10]
cmp edi, ebx
sete bl
mov bh, byte [ebp - 0x1d]
and bh, bl
test bh, 1
mov ebx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], ebx
jne 0x1015204d
jmp 0x1015206c
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x4c]
add ecx, 0xffffe149
add eax, 0xfffffff8
mov dword [0x10171574], ecx
mov dword [ebp - 0x18], eax
jmp 0x1015218d
mov eax, dword [ebp - 0x40]
mov cx, word [eax]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x3c]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x2c], esi
je 0x10151f6f
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x58], eax
jmp 0x1015209a
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x44]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
mov word [ebp - 0x62], si
mov word [ebp - 0x64], bx
jb 0x101520d4
mov ax, word [ebp - 0x62]
mov word [ebp - 0x64], ax
mov ax, word [ebp - 0x64]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x5c]
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 - 0x60]
mov al, bl
mov byte [ebp - 0x65], bl
mov dword [ebp - 0x6c], esi
mov byte [ebp - 0x6d], al
jne 0x1015212c
mov eax, 0xb7
mov ecx, dword [ebp - 0x5c]
add ecx, 1
mov edx, dword [ebp - 0x50]
cmp ecx, edx
mov bl, byte [ebp - 0x65]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], ecx
mov byte [ebp - 0x6e], bl
jb 0x1015209a
jmp 0x10152140
mov al, byte [ebp - 0x6d]
mov ecx, dword [ebp - 0x6c]
add ecx, 0xffffeef6
mov dword [ebp - 0x74], ecx
mov byte [ebp - 0x75], al
jmp 0x1015214e
mov al, byte [ebp - 0x6e]
mov ecx, 0xb7
mov dword [ebp - 0x74], ecx
mov byte [ebp - 0x75], al
mov al, byte [ebp - 0x75]
mov ecx, dword [ebp - 0x74]
mov dword [0x10171578], ecx
test al, 1
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x7c], edx
jne 0x1015216c
jmp 0x10151f6f
mov eax, dword [ebp - 0x7c]
mov dword [0x10171574], 0x2301
mov dword [ebp - 0x18], eax
jmp 0x1015218d
mov dword [0x10171574], 0x131c
jmp 0x10151f8d
mov eax, dword [ebp - 0x18]
add esp, 0x70
pop esi
pop edi
pop ebx
pop ebp
ret