Function at 0x1029bd50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x78
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov esi, dword [0x102b92b4]
add esi, 0xffffe9dc
mov dword [0x102b92b8], esi
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1029bff7
jmp 0x1029be9d
mov al, byte [ebp - 0x19]
mov ecx, dword [ebp - 0x20]
test al, 1
mov edx, ecx
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
jne 0x1029bf94
jmp 0x1029bfaf
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov si, word [edx + ecx*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x46], si
mov word [ebp - 0x48], bx
jb 0x1029bdfb
mov ax, word [ebp - 0x46]
mov word [ebp - 0x48], ax
mov ax, word [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
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 - 0x40]
mov al, bl
mov byte [ebp - 0x49], bl
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x19], al
jne 0x1029bda0
jmp 0x1029bf51
mov eax, 0x7b4
mov ecx, dword [ebp - 0x50]
mov dx, word [ecx]
shr dx, 1
movzx esi, dx
cmp dx, 0
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x30], eax
je 0x1029bfaf
jmp 0x1029bf3f
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x5c]
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 - 0x64], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], ebx
jne 0x1029bf1c
jmp 0x1029be35
mov dword [0x102b92b8], 0x1f15
mov dword [0x102b92b4], 0x1e97
mov ecx, dword fs:[0x18]
mov eax, dword [0x102b92b4]
add eax, 0xffffe5dc
mov dword [0x102b92b4], eax
add ecx, 0x30
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov ecx, dword [ecx + 0x14]
mov dword [0x102b92b4], 0x2441
cmp ecx, edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x78], ecx
je 0x1029bfe8
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x5d], cl
mov eax, 0x4d
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ecx
jmp 0x1029be5d
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
mov dword [0x102b92b4], ecx
add eax, 0xfffffff8
mov dword [0x102b92b8], 0x7b4
mov dword [ebp - 0x18], eax
jmp 0x1029bff7
xor eax, eax
mov ecx, 0xffffff6d
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
jmp 0x1029bdc1
mov eax, dword [ebp - 0x44]
add eax, 1
mov ecx, dword [ebp - 0x54]
cmp eax, ecx
setb dl
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x7d], dl
mov eax, 0x1bf
mov ecx, 0x9b9
mov dl, byte [ebp - 0x7d]
test dl, 1
mov dh, byte [ebp - 0x49]
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x19], dh
mov dword [ebp - 0x34], eax
jne 0x1029bdc1
jmp 0x1029bda0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
mov dword [0x102b92b8], ecx
mov dword [0x102b92b4], 0x1f45
mov dword [ebp - 0x18], eax
jmp 0x1029bff7
mov eax, dword [ebp - 0x30]
mov ecx, 0xffffe506
mov edx, dword [ebp - 0x64]
mov esi, dword [edx]
mov edi, dword [ebp - 0x74]
cmp esi, edi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x84], eax
jne 0x1029be5d
mov eax, dword [ebp - 0x84]
mov dword [0x102b92b4], 0x8fa
mov dword [0x102b92b8], eax
xor eax, eax
mov dword [0x102b92b4], 0x926
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret