Function at 0x1027f860
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x74
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov esi, dword [0x102ab398]
cmp eax, 0
sete bl
cmp ecx, 0
sete bh
add esi, 0xffffddc9
mov dword [0x102ab394], esi
and bh, bl
test bh, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1027fb13
jmp 0x1027f9fe
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov si, word [edx + eax*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 0x1027f8ea
mov ax, word [ebp - 0x2e]
mov word [ebp - 0x30], ax
mov ax, word [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
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 - 0x2c]
mov al, bl
mov byte [ebp - 0x31], bl
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x39], al
jne 0x1027f935
jmp 0x1027fac7
mov eax, dword [ebp - 0x40]
mov dword [0x102ab394], 0x2301
mov dword [ebp - 0x18], eax
jmp 0x1027fb13
mov al, byte [ebp - 0x39]
mov ecx, dword [ebp - 0x38]
add ecx, 0xffffeef6
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x45], al
jmp 0x1027faf1
xor eax, eax
mov dword [0x102ab398], 0x21a3
mov dword [ebp - 0x18], eax
jmp 0x1027fb13
mov eax, dword [ebp - 0x4c]
mov cx, word [eax]
shr cx, 1
movzx edx, cx
cmp cx, 0
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], esi
je 0x1027f9a4
jmp 0x1027fab7
mov eax, 0xffffdb4b
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, dword [ebp - 0x5c]
mov byte [ebp - 0x5d], dl
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], esi
jmp 0x1027fa6f
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x70]
cmp edx, esi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], edx
je 0x1027f9ef
jmp 0x1027fa6f
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x78]
add eax, 0xffffe149
add ecx, 0xfffffff8
mov dword [0x102ab394], eax
mov dword [ebp - 0x18], ecx
jmp 0x1027fb13
mov al, byte [ebp - 0x79]
mov ecx, 0xb7
mov dword [ebp - 0x44], ecx
mov byte [ebp - 0x45], al
jmp 0x1027faf1
mov dword [0x102ab394], 0x131c
jmp 0x1027f94c
mov dword [0x102ab398], 0x24b6
mov dword [0x102ab394], 0x475
mov ecx, dword fs:[0x18]
mov dword [0x102ab398], 0xf40
mov dword [0x102ab394], 0x8f2
mov dword [0x102ab398], 0x230a
mov eax, dword [ecx + 0x30]
mov dword [0x102ab398], 0xffffdb4b
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x102ab394], 0xffffe04f
cmp eax, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x5c], eax
je 0x1027f94c
jmp 0x1027f982
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x64]
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 - 0x5d]
and bh, bl
test bh, 1
mov ebx, eax
mov dword [ebp - 0x6c], eax
mov eax, ecx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x78], ebx
jne 0x1027f9be
jmp 0x1027f960
xor eax, eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
jmp 0x1027f8b0
mov eax, 0xb7
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov edx, dword [ebp - 0x54]
cmp ecx, edx
mov bl, byte [ebp - 0x31]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x79], bl
jb 0x1027f8b0
jmp 0x1027f9dc
mov al, byte [ebp - 0x45]
mov ecx, dword [ebp - 0x44]
mov dword [0x102ab398], ecx
test al, 1
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x58], ecx
jne 0x1027f920
jmp 0x1027f9a4
mov eax, dword [ebp - 0x18]
add esp, 0x74
pop esi
pop edi
pop ebx
pop ebp
ret