Function at 0x10151df0
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 [0x10171c38]
add esi, 0xffffddc9
mov dword [0x10171c34], esi
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x10151eb5
jmp 0x10151ec0
mov eax, dword [ebp - 0x1c]
mov cl, byte [ebp - 0x1d]
mov dword [0x10171c38], eax
test cl, 1
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jne 0x10152045
jmp 0x1015205a
mov eax, 0xffffdb4b
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, dword [ebp - 0x30]
mov byte [ebp - 0x31], dl
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], esi
jmp 0x10151f31
mov eax, 0xb7
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov edx, dword [ebp - 0x44]
cmp ecx, edx
mov bl, byte [ebp - 0x45]
mov byte [ebp - 0x46], bl
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
jb 0x10151fbe
mov al, byte [ebp - 0x46]
mov ecx, 0xb7
mov byte [ebp - 0x1d], al
mov dword [ebp - 0x1c], ecx
jmp 0x10151e3c
mov eax, dword [ebp - 0x18]
add esp, 0x70
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x10171c38], 0x24b6
mov dword [0x10171c34], 0x475
mov ecx, dword fs:[0x18]
mov dword [0x10171c38], 0xf40
mov dword [0x10171c34], 0x8f2
mov dword [0x10171c38], 0x230a
mov eax, dword [ecx + 0x30]
mov dword [0x10171c38], 0xffffdb4b
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x10171c34], 0xffffe04f
cmp eax, ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x30], eax
je 0x1015207d
jmp 0x10151e5e
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
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 - 0x31]
and bh, bl
test bh, 1
mov ebx, eax
mov dword [ebp - 0x58], eax
mov eax, ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x6c], ebx
jne 0x10151f72
jmp 0x10151f90
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x6c]
add eax, 0xffffe149
add ecx, 0xfffffff8
mov dword [0x10171c34], eax
mov dword [ebp - 0x18], ecx
jmp 0x10151eb5
mov eax, dword [ebp - 0x64]
mov cx, word [eax]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x60]
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x2c], esi
je 0x1015205a
xor eax, eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
jmp 0x10151fbe
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x68]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x70], ecx
mov word [ebp - 0x72], si
mov word [ebp - 0x74], bx
jb 0x10151ff8
mov ax, word [ebp - 0x72]
mov word [ebp - 0x74], ax
mov ax, word [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x40]
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 - 0x70]
mov al, bl
mov byte [ebp - 0x45], bl
mov dword [ebp - 0x78], esi
mov byte [ebp - 0x79], al
jne 0x1015202e
jmp 0x10151e80
mov al, byte [ebp - 0x79]
mov ecx, dword [ebp - 0x78]
add ecx, 0xffffeef6
mov byte [ebp - 0x1d], al
mov dword [ebp - 0x1c], ecx
jmp 0x10151e3c
mov eax, dword [ebp - 0x28]
mov dword [0x10171c34], 0x2301
mov dword [ebp - 0x18], eax
jmp 0x10151eb5
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x54]
cmp edx, esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
jne 0x10151f31
mov dword [0x10171c34], 0x131c
xor eax, eax
mov dword [0x10171c38], 0x21a3
mov dword [ebp - 0x18], eax
jmp 0x10151eb5