Function at 0x10151e20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp eax, 0
sete bl
mov esi, dword [0x101710f8]
cmp ecx, 0
sete bh
add esi, 0xffffddc9
mov dword [0x101710f4], esi
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x101520af
jmp 0x10151f1f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov si, word [edx + ecx*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x2e], si
mov word [ebp - 0x30], bx
jb 0x10151eaa
mov ax, word [ebp - 0x2e]
mov word [ebp - 0x30], ax
mov ax, word [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
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 al, bl
mov esi, dword [ebp - 0x28]
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x32], al
mov dword [ebp - 0x38], esi
jne 0x1015203f
jmp 0x10152018
mov eax, dword [ebp - 0x3c]
mov dword [0x101710f4], 0x2301
mov dword [ebp - 0x18], eax
jmp 0x101520af
mov eax, dword [ebp - 0x40]
mov cx, word [eax]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], esi
je 0x1015207d
jmp 0x10152008
mov dword [0x101710f8], 0x24b6
mov dword [0x101710f4], 0x475
mov ecx, dword fs:[0x18]
mov dword [0x101710f8], 0xf40
mov dword [0x101710f4], 0x8f2
mov dword [0x101710f8], 0x230a
mov eax, dword [ecx + 0x30]
mov dword [0x101710f8], 0xffffdb4b
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x101710f4], 0xffffe04f
cmp eax, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], eax
je 0x101520a0
mov eax, 0xffffdb4b
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x58], esi
mov byte [ebp - 0x59], dl
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x58]
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 - 0x59]
and bh, bl
test bh, 1
mov ebx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
jne 0x10151fea
jmp 0x10151ef9
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x70]
add eax, 0xffffe149
add ecx, 0xfffffff8
mov dword [0x101710f4], eax
mov dword [ebp - 0x18], ecx
jmp 0x101520af
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
jmp 0x10151e70
mov eax, 0xb7
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov edx, dword [ebp - 0x48]
cmp ecx, edx
mov bl, byte [ebp - 0x31]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x71], bl
jb 0x10151e70
jmp 0x10152052
mov eax, dword [ebp - 0x38]
mov cl, byte [ebp - 0x32]
add eax, 0xffffeef6
mov byte [ebp - 0x72], cl
mov dword [ebp - 0x78], eax
jmp 0x10152060
mov al, byte [ebp - 0x71]
mov ecx, 0xb7
mov byte [ebp - 0x72], al
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp - 0x78]
mov cl, byte [ebp - 0x72]
mov dword [0x101710f8], eax
test cl, 1
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x4c], eax
jne 0x10151ee4
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x50]
cmp edx, esi
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x60], eax
jne 0x10151fa8
mov dword [0x101710f4], 0x131c
xor eax, eax
mov dword [0x101710f8], 0x21a3
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret