Function at 0x102168b2
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x7c
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 [0x10235cc4], 0x6e2
mov dword [0x10235cc8], 0x61f
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x102168fd
jmp 0x10216908
mov eax, dword [ebp - 0x18]
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x10235cc8], 0x20b5
mov dword [0x10235cc4], 0x198c
mov ecx, dword fs:[0x18]
mov dword [0x10235cc4], 0x263a
add ecx, 0x30
mov dword [ebp - 0x1c], ecx
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
mov esi, edx
add esi, 0x14
mov dword [0x10235cc4], 0x5c2
mov edx, dword [edx + 0x14]
mov dword [0x10235cc8], 0xffffe77d
cmp edx, esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], eax
je 0x102168fd
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x20]
mov byte [ebp - 0x25], cl
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
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 - 0x25]
and bh, bl
test bh, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], esi
jne 0x102169b1
jmp 0x102169d5
mov dword [0x10235cc4], 0x13c8
mov dword [0x10235cc8], 0xa39
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x102168fd
mov eax, 0x1b1
mov ecx, 0xa39
xor edx, edx
mov esi, dword [ebp - 0x34]
mov di, word [esi]
shr di, 1
movzx ebx, di
cmp di, 0
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ecx
je 0x10216b0e
mov eax, dword [ebp - 0x40]
mov ecx, 0x381
mov edx, 0x1bd0
mov esi, dword [ebp - 0x38]
mov di, word [esi + eax*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x50], eax
mov word [ebp - 0x52], bx
mov dword [ebp - 0x58], edx
mov word [ebp - 0x5a], si
mov word [ebp - 0x5c], di
mov dword [ebp - 0x60], ecx
jb 0x10216a4b
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov cx, word [ebp - 0x52]
cmp cx, 0x1a
mov dx, word [ebp - 0x5a]
mov dword [ebp - 0x64], eax
mov word [ebp - 0x66], dx
jb 0x10216a6c
mov ax, word [ebp - 0x5c]
mov word [ebp - 0x66], ax
mov ax, word [ebp - 0x66]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x50]
cmp word [ecx + edx*2], ax
sete bl
mov esi, dword [ebp - 0x64]
add esi, 0x1b2a
cmp ax, 0
sete bh
mov al, bl
xor al, 1
or bh, al
test bh, 1
mov edi, dword [ebp - 0x64]
mov dword [ebp - 0x6c], esi
mov byte [ebp - 0x6d], bl
mov dword [ebp - 0x74], edi
jne 0x10216ad6
mov eax, dword [ebp - 0x50]
add eax, 1
mov ecx, dword [ebp - 0x48]
cmp eax, ecx
setb dl
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x79], dl
mov eax, 0x1b0e
mov cl, byte [ebp - 0x79]
test cl, 1
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x74], eax
jne 0x10216a05
jmp 0x10216ad6
mov eax, dword [ebp - 0x74]
mov cl, byte [ebp - 0x6d]
test cl, 1
mov edx, eax
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x4c], esi
jne 0x10216af1
jmp 0x10216b0e
mov eax, dword [ebp - 0x80]
mov dword [0x10235cc4], eax
mov dword [0x10235cc8], 0x1fbb
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], eax
jmp 0x102168fd
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
mov esi, dword [edx]
mov edi, dword [ebp - 0x24]
cmp esi, edi
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x2c], esi
jne 0x10216980
xor eax, eax
mov ecx, dword [ebp - 0x88]
mov dword [0x10235cc4], ecx
mov edx, dword [ebp - 0x84]
mov dword [0x10235cc8], edx
mov dword [ebp - 0x18], eax
jmp 0x102168fd