Function at 0x1029bdd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x74
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x102b8cfc]
add edx, 0xffffe9dc
mov dword [0x102b8d00], edx
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], bl
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x1029be1f
jmp 0x1029be73
mov eax, dword [ebp - 0x1c]
add esp, 0x74
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [0x102b8d00], ecx
mov dword [0x102b8cfc], 0x1f45
mov dword [ebp - 0x1c], eax
jmp 0x1029be1f
xor eax, eax
mov dword [0x102b8cfc], 0x926
mov dword [ebp - 0x1c], eax
jmp 0x1029be1f
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0x2c]
test al, 1
mov edx, ecx
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x34], ecx
jne 0x1029be2a
jmp 0x1029c019
mov dword [0x102b8d00], 0x1f15
mov dword [0x102b8cfc], 0x1e97
mov ecx, dword fs:[0x18]
mov eax, dword [0x102b8cfc]
add eax, 0xffffe5dc
mov dword [0x102b8cfc], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
mov ecx, eax
add ecx, 0x14
mov eax, dword [eax + 0x14]
mov dword [0x102b8cfc], 0x2441
cmp eax, ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
je 0x1029be45
mov eax, 0x4d
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
setne dl
mov esi, dword [ebp - 0x3c]
mov byte [ebp - 0x3d], dl
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
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 - 0x3d]
and bh, bl
test bh, 1
mov ebx, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x5c], ecx
jne 0x1029bf1b
jmp 0x1029bf3e
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
mov dword [0x102b8cfc], eax
mov dword [0x102b8d00], 0x7b4
add ecx, 0xfffffff8
mov dword [ebp - 0x1c], ecx
jmp 0x1029be1f
mov eax, dword [ebp - 0x54]
mov cx, word [eax]
shr cx, 1
movzx edx, cx
mov word [ebp - 0x5e], cx
mov dword [ebp - 0x64], edx
mov eax, 0x7b4
mov cx, word [ebp - 0x5e]
cmp cx, 0
mov dword [ebp - 0x34], eax
je 0x1029c019
mov eax, 0xffffff6d
xor ecx, ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], ecx
jmp 0x1029bf78
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x58]
mov si, word [edx + eax*2]
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x74], ecx
mov word [ebp - 0x76], si
mov word [ebp - 0x78], bx
jb 0x1029bfb2
mov ax, word [ebp - 0x76]
mov word [ebp - 0x78], ax
mov ax, word [ebp - 0x78]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x70]
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 - 0x74]
mov al, bl
mov byte [ebp - 0x79], bl
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x25], al
jne 0x1029be56
mov eax, 0x1bf
mov ecx, 0x9b9
mov edx, dword [ebp - 0x70]
add edx, 1
mov esi, dword [ebp - 0x64]
cmp edx, esi
mov bl, byte [ebp - 0x79]
mov byte [ebp - 0x25], bl
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x6c], edx
jb 0x1029bf78
jmp 0x1029be56
mov eax, dword [ebp - 0x34]
mov ecx, 0xffffe506
mov edx, dword [ebp - 0x4c]
mov esi, dword [edx]
mov edi, dword [ebp - 0x38]
cmp esi, edi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x80], eax
jne 0x1029bedf
mov eax, dword [ebp - 0x80]
mov dword [0x102b8cfc], 0x8fa
mov dword [0x102b8d00], eax
jmp 0x1029be45