Function at 0x1028a9f9
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x70
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
mov dword [0x10311f90], 0x6e2
mov dword [0x10311f94], 0x61f
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x1028ac73
jmp 0x1028aaa1
mov dword [0x10311f90], 0x13c8
mov dword [0x10311f94], 0xa39
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x1028ac73
mov eax, 0x1b1
mov ecx, 0xa39
xor edx, edx
mov esi, dword [ebp - 0x20]
mov di, word [esi]
shr di, 1
movzx ebx, di
cmp di, 0
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ecx
je 0x1028ac3d
jmp 0x1028ab4a
mov dword [0x10311f94], 0x20b5
mov dword [0x10311f90], 0x198c
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x10311f90], 0x263a
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x10311f90], 0x5c2
mov ecx, dword [ecx + 0x14]
mov dword [0x10311f94], 0xffffe77d
cmp ecx, edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x18], eax
je 0x1028ac73
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x34]
mov byte [ebp - 0x39], cl
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
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 - 0x39]
and bh, bl
test bh, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], esi
jne 0x1028aa48
jmp 0x1028aa6c
mov eax, dword [ebp - 0x24]
mov ecx, 0x381
mov edx, 0x1bd0
mov esi, dword [ebp - 0x44]
mov di, word [esi + eax*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x4e], bx
mov dword [ebp - 0x54], edx
mov word [ebp - 0x56], si
mov word [ebp - 0x58], di
mov dword [ebp - 0x5c], ecx
jb 0x1028ab90
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov cx, word [ebp - 0x4e]
cmp cx, 0x1a
mov dx, word [ebp - 0x56]
mov dword [ebp - 0x60], eax
mov word [ebp - 0x62], dx
jb 0x1028abb1
mov ax, word [ebp - 0x58]
mov word [ebp - 0x62], ax
mov ax, word [ebp - 0x62]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x4c]
cmp word [ecx + edx*2], ax
sete bl
mov esi, dword [ebp - 0x60]
add esi, 0x1b2a
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x68], esi
mov byte [ebp - 0x69], bl
mov dword [ebp - 0x70], edi
jne 0x1028ac08
mov eax, 0x1b0e
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov edx, dword [ebp - 0x2c]
cmp ecx, edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x70], eax
jb 0x1028ab4a
mov eax, dword [ebp - 0x70]
mov cl, byte [ebp - 0x69]
test cl, 1
mov edx, eax
mov esi, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x30], esi
jne 0x1028ac23
jmp 0x1028ac3d
mov eax, dword [ebp - 0x74]
mov dword [0x10311f90], eax
mov dword [0x10311f94], 0x1fbb
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x18], ecx
jmp 0x1028ac73
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
mov edi, dword [ebp - 0x38]
cmp esi, edi
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x40], esi
jne 0x1028ab12
xor eax, eax
mov ecx, dword [ebp - 0x7c]
mov dword [0x10311f90], ecx
mov edx, dword [ebp - 0x78]
mov dword [0x10311f94], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x70
pop esi
pop edi
pop ebx
pop ebp
ret