Function at 0x1029bd50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x68
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov esi, dword [0x102b8b14]
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
add esi, 0xffffe9dc
mov dword [0x102b8b18], esi
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1029bdd2
jmp 0x1029bdfc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [0x102b8b18], ecx
mov dword [0x102b8b14], 0x1f45
mov dword [ebp - 0x18], eax
jmp 0x1029bdd2
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [0x102b8b14], eax
mov dword [0x102b8b18], 0x7b4
add ecx, 0xfffffff8
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
add esp, 0x68
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, 0x4d
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 0x2d], dl
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esi
jmp 0x1029be51
mov dword [0x102b8b18], 0x1f15
mov dword [0x102b8b14], 0x1e97
mov ecx, dword fs:[0x18]
mov eax, dword [0x102b8b14]
add eax, 0xffffe5dc
mov dword [0x102b8b14], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x102b8b14], 0x2441
cmp eax, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x2c], eax
je 0x1029bfa9
jmp 0x1029bddd
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
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 - 0x2d]
and bh, bl
test bh, 1
mov ebx, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x24], ecx
jne 0x1029bdb4
mov eax, 0x7b4
mov ecx, dword [ebp - 0x44]
mov dx, word [ecx]
shr dx, 1
movzx esi, dx
cmp dx, 0
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], eax
je 0x1029bf76
xor eax, eax
mov ecx, 0xffffff6d
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ecx
jmp 0x1029bec1
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x48]
mov si, word [edx + ecx*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
mov word [ebp - 0x66], si
mov word [ebp - 0x68], bx
jb 0x1029befb
mov ax, word [ebp - 0x66]
mov word [ebp - 0x68], ax
mov ax, word [ebp - 0x68]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x64]
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 - 0x60]
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x6a], al
mov dword [ebp - 0x70], esi
jne 0x1029bf59
mov eax, 0x1bf
mov ecx, 0x9b9
mov edx, dword [ebp - 0x64]
add edx, 1
mov esi, dword [ebp - 0x50]
cmp edx, esi
mov bl, byte [ebp - 0x69]
mov dword [ebp - 0x58], edx
mov byte [ebp - 0x6a], bl
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x70], ecx
jb 0x1029bec1
mov eax, dword [ebp - 0x70]
mov cl, byte [ebp - 0x6a]
test cl, 1
mov edx, eax
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x54], eax
jne 0x1029bd99
mov eax, dword [ebp - 0x54]
mov ecx, 0xffffe506
mov edx, dword [ebp - 0x40]
mov esi, dword [edx]
mov edi, dword [ebp - 0x3c]
cmp esi, edi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x74], eax
jne 0x1029be51
mov eax, dword [ebp - 0x74]
mov dword [0x102b8b14], 0x8fa
mov dword [0x102b8b18], eax
xor eax, eax
mov dword [0x102b8b14], 0x926
mov dword [ebp - 0x18], eax
jmp 0x1029bdd2