Function at 0x10292408
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 dword [0x102b6174], 0x6e2
mov dword [0x102b6178], 0x61f
cmp ecx, 0
sete dl
cmp eax, 0
sete dh
and dl, dh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x1029268d
jmp 0x1029249e
mov eax, dword [ebp - 0x20]
mov dword [0x102b6174], eax
mov dword [0x102b6178], 0x1fbb
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
jmp 0x1029268d
mov dword [0x102b6174], 0x13c8
mov dword [0x102b6178], 0xa39
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x1029268d
mov dword [0x102b6178], 0x20b5
mov dword [0x102b6174], 0x198c
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x102b6174], 0x263a
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x102b6174], 0x5c2
mov ecx, dword [ecx + 0x14]
mov dword [0x102b6178], 0xffffe77d
cmp ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x1c], eax
je 0x1029268d
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 0x31], cl
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
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 - 0x31]
and bh, bl
test bh, 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x24], esi
jne 0x1029247a
mov eax, 0x1b1
mov ecx, 0xa39
xor edx, edx
mov esi, dword [ebp - 0x3c]
mov di, word [esi]
shr di, 1
movzx ebx, di
cmp di, 0
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ecx
je 0x10292652
mov eax, dword [ebp - 0x44]
mov ecx, 0x381
mov edx, 0x1bd0
mov esi, dword [ebp - 0x40]
mov di, word [esi + eax*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x54], eax
mov word [ebp - 0x56], bx
mov dword [ebp - 0x5c], edx
mov word [ebp - 0x5e], si
mov word [ebp - 0x60], di
mov dword [ebp - 0x64], ecx
jb 0x102925b8
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov cx, word [ebp - 0x56]
cmp cx, 0x1a
mov dx, word [ebp - 0x5e]
mov dword [ebp - 0x68], eax
mov word [ebp - 0x6a], dx
jb 0x102925d9
mov ax, word [ebp - 0x60]
mov word [ebp - 0x6a], ax
mov ax, word [ebp - 0x6a]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x54]
cmp word [ecx + edx*2], ax
sete bl
mov esi, dword [ebp - 0x68]
add esi, 0x1b2a
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x70], esi
mov byte [ebp - 0x71], bl
mov dword [ebp - 0x78], edi
jne 0x10292635
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x7c], eax
mov eax, 0x1b0e
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x4c]
cmp ecx, edx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x78], eax
jb 0x10292572
mov eax, dword [ebp - 0x78]
mov cl, byte [ebp - 0x71]
test cl, 1
mov edx, eax
mov esi, dword [ebp - 0x70]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x50], esi
jne 0x1029245d
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x28]
mov esi, dword [edx]
mov edi, dword [ebp - 0x30]
cmp esi, edi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x38], esi
jne 0x1029250f
mov eax, dword [ebp - 0x84]
mov dword [0x102b6174], eax
xor eax, eax
mov ecx, dword [ebp - 0x80]
mov dword [0x102b6178], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x78
pop esi
pop edi
pop ebx
pop ebp
ret