Function at 0x64912b
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
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 0x649377
jmp 0x6491bc
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 0x1d], cl
mov dword [ebp - 0x24], edx
jmp 0x64922a
mov eax, 0x1680
mov cl, byte [ebp - 0x25]
test cl, 1
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], eax
jne 0x649346
jmp 0x64919b
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
mov esi, dword [edx]
mov edi, dword [ebp - 0x3c]
cmp esi, edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x24], esi
je 0x649360
jmp 0x64922a
mov dword [0x667818], 0x1b0e
mov dword [0x667814], 0x707
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x667814], 0x1b18
mov edx, dword [0x667818]
mov esi, edx
add esi, 0xfffff24f
mov dword [0x667814], esi
add edx, 0xfffffb40
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov esi, ecx
add esi, 0x14
mov ecx, dword [ecx + 0x14]
mov dword [0x667814], edx
cmp ecx, esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x18], eax
je 0x649377
jmp 0x649166
mov eax, dword [ebp - 0x24]
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 - 0x1d]
and bh, bl
test bh, 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], esi
jne 0x64925b
jmp 0x64927f
mov dword [0x667818], 0x9a0
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff8
mov dword [0x667814], 0x3248
mov dword [ebp - 0x18], eax
jmp 0x649377
mov eax, 0x1fda
mov ecx, 0x9a0
mov edx, 0xfffff0a1
xor esi, esi
mov edi, dword [ebp - 0x48]
mov bx, word [edi]
shr bx, 1
movzx edi, bx
cmp bx, 0
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], esi
je 0x64919b
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
mov edx, 0xfffffd81
mov esi, eax
add esi, 1
mov edi, dword [ebp - 0x4c]
mov bx, word [edi + eax*2]
mov di, bx
add di, 0xffbf
mov dword [ebp - 0x60], esi
mov si, bx
add si, 0x20
cmp di, 0x1a
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x68], edx
mov word [ebp - 0x6a], bx
mov word [ebp - 0x6c], si
jb 0x649304
mov ax, word [ebp - 0x6a]
mov word [ebp - 0x6c], ax
mov ax, word [ebp - 0x6c]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x64]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x54]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, dword [ebp - 0x68]
mov byte [ebp - 0x25], bl
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], eax
jne 0x6492b7
jmp 0x64917f
mov dword [0x667818], 0x1680
mov eax, dword [ebp - 0x2c]
mov dword [0x667814], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x18], ecx
jmp 0x649377
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov dword [0x667818], ecx
mov edx, dword [ebp - 0x44]
mov dword [0x667814], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret