Function at 0x10013b91
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x1027c55c]
add edx, 0x446
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov eax, 0xffffffff
mov ecx, dword [ebp - 0x18]
mov dword [0x1027c55c], ecx
mov edx, dword [ebp - 0x14]
cmp edx, 0
sete bl
mov esi, dword [ebp - 0x10]
cmp esi, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x1c], eax
jne 0x10013bfa
jmp 0x10013c74
mov dword [0x1027c55c], 0x1542
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dx, word [ecx + eax*2]
mov si, dx
add si, 0xffbf
mov di, dx
add di, 0x20
cmp si, 0x1a
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x2e], dx
mov word [ebp - 0x30], di
jb 0x10013c39
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
add edx, 1
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x34]
cmp edx, esi
setb bh
and al, bh
test al, 1
mov byte [ebp - 0x35], bl
mov dword [ebp - 0x24], edx
jne 0x10013c05
jmp 0x10013d75
mov eax, dword [0x1027c560]
add eax, 0xffffd93b
mov dword [0x1027c560], eax
mov dword [0x1027c55c], 0x268e
mov ecx, dword fs:[0x18]
mov dword [0x1027c55c], 0xbfb
mov eax, dword [ecx + 0x30]
mov dword [0x1027c560], 0x19f0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, 0x25c3
mov ecx, dword [ebp - 0x3c]
add ecx, 0x14
mov dword [0x1027c55c], 0x25c3
mov edx, dword [ebp - 0x3c]
mov esi, dword [edx + 0x14]
cmp esi, ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x10013dc4
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x49], cl
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
jmp 0x10013cf6
mov eax, dword [ebp - 0x50]
mov cx, word [eax + 0x24]
mov edx, dword [eax + 0x28]
mov dword [0x1027c55c], 0x1e46
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x49]
and bh, bl
test bh, 1
mov dword [ebp - 0x54], eax
mov word [ebp - 0x56], cx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], esi
jne 0x10013d2e
jmp 0x10013d44
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff8
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
jmp 0x10013bfa
mov eax, 0x240
xor ecx, ecx
mov dword [0x1027c55c], 0x240
mov dx, word [ebp - 0x56]
shr dx, 1
movzx esi, dx
cmp dx, 0
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x60], eax
je 0x10013d9d
jmp 0x10013c05
mov eax, 0xef1
mov dword [0x1027c55c], 0xef1
mov dword [0x1027c560], 0x1b45
mov cl, byte [ebp - 0x35]
test cl, 1
mov dword [ebp - 0x60], eax
jne 0x10013bea
mov eax, dword [ebp - 0x60]
mov ecx, eax
add ecx, 0xfffffed7
mov dword [0x1027c560], ecx
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x44]
cmp edx, esi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], eax
jne 0x10013cf6
mov eax, dword [ebp - 0x48]
xor ecx, ecx
add eax, 0xffffe5ec
mov dword [0x1027c560], eax
mov dword [ebp - 0x1c], ecx
jmp 0x10013bfa