Function at 0x1001346f
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, 0xffffffff
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
mov esi, dword [0x10028f84]
add esi, 0xffffdf1a
mov dword [0x10028f80], esi
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x100136aa
mov dword [0x10028f80], 0x2004
mov dword [0x10028f84], 0x1aec
mov ecx, dword fs:[0x18]
mov eax, dword [0x10028f84]
add eax, 0xfffff28d
mov dword [0x10028f80], eax
mov dword [0x10028f84], 0xe5f
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov dword [0x10028f84], 0x242f
mov eax, dword [eax + 0x14]
mov dword [0x10028f80], 0xe91
cmp eax, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
jne 0x1001358a
xor eax, eax
mov dword [0x10028f80], 0x1bc8
mov dword [ebp - 0x18], eax
jmp 0x100136aa
mov eax, dword [ebp - 0x24]
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x25]
and bh, bl
test bh, 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
jne 0x100135a0
mov eax, 0x15ad
xor ecx, ecx
mov edx, dword [ebp - 0x30]
mov si, word [edx]
shr si, 1
movzx edi, si
cmp si, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], eax
je 0x1001367a
jmp 0x100135ba
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x20]
mov byte [ebp - 0x25], cl
mov dword [ebp - 0x24], edx
jmp 0x10013531
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff8
mov dword [0x10028f80], 0x15ad
mov dword [ebp - 0x18], eax
jmp 0x100136aa
mov eax, dword [ebp - 0x3c]
mov ecx, 0x178f
mov edx, dword [ebp - 0x34]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov word [ebp - 0x4e], si
mov word [ebp - 0x50], bx
jb 0x100135f6
mov ax, word [ebp - 0x4e]
mov word [ebp - 0x50], ax
mov ax, word [ebp - 0x50]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
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 - 0x4c]
mov byte [ebp - 0x51], bl
mov dword [ebp - 0x58], esi
jne 0x10013641
mov eax, 0x1639
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov edx, dword [ebp - 0x40]
cmp ecx, edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x58], eax
jb 0x100135ba
mov eax, dword [ebp - 0x58]
mov dword [0x10028f84], 0xdaf
mov cl, byte [ebp - 0x51]
test cl, 1
mov edx, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x44], edx
jne 0x10013660
jmp 0x1001367a
mov eax, dword [ebp - 0x5c]
mov dword [0x10028f80], eax
add eax, 0xffffe24a
mov dword [0x10028f84], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
jmp 0x100136aa
mov eax, dword [ebp - 0x44]
mov dword [0x10028f84], 0x1e05
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x1c]
cmp edx, esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x24], edx
jne 0x10013531
mov eax, dword [ebp - 0x60]
mov dword [0x10028f80], eax
jmp 0x1001351d
mov eax, dword [ebp - 0x18]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret