Function at 0x100649c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad66d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100df00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x28], eax
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x14]
mov ebx, dword [eax]
add ecx, 4
mov eax, dword [eax + 0xc]
mov edi, dword [ebp + 8]
add eax, ecx
mov ecx, dword [0x100e4754]
push edx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x24], eax
push edx
push dword [edi + 4]
mov eax, dword [ecx]
push 4
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x1a], 0
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [eax + 0x12c]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add eax, 0x5b
cdq
mov ecx, dword [ecx + 0x30]
sub eax, edx
mov esi, eax
sar esi, 1
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
jne 0x10064aa2
cmp byte [ecx + 0x14], 0
je 0x10064a5c
cmp dword [ecx + 0x10], edi
jne 0x10064acb
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x10064a84
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x10064a80
nop
cmp ecx, dword [eax + 8]
jne 0x10064a80
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x10064a70
mov ecx, eax
jmp 0x10064a9c
mov ecx, eax
mov edx, dword [ecx]
cmp byte [edx + 0xd], 0
jne 0x10064a9c
nop
mov eax, dword [edx]
mov ecx, edx
mov edx, eax
cmp byte [eax + 0xd], 0
je 0x10064a90
cmp byte [ecx + 0xd], 0
je 0x10064a51
mov ecx, dword [0x100e7730]
lea edx, [esi + ebx]
mov esi, dword [ebp - 0x24]
mov eax, dword [0x100e7734]
add esi, 0xe
cmp ecx, ebx
jle 0x10064acb
cmp ecx, edx
jge 0x10064acb
cmp eax, dword [ebp - 0x24]
jle 0x10064acb
cmp eax, esi
jge 0x10064acb
mov bl, 1
jmp 0x10064acd
xor bl, bl
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
add esi, 0x30
mov dword [ebp - 0x14], edi
push eax
mov ecx, esi
call fcn.1006cb40
cmp byte [eax], 0
jne 0x10064aee
test bl, bl
jne 0x10064aee
xor bh, bh
jmp 0x10064af0
mov bh, 1
lea eax, [ebp - 0x14]
mov byte [ebp - 0x19], bh
push eax
mov ecx, esi
mov dword [ebp - 0x14], edi
call fcn.1006cb40
cmp byte [eax], 0
jne 0x10064b36
test bl, bl
je 0x10064b36
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [0x100e5404]
jne 0x10064b36
cmp dword [0x100e7334], 1
jne 0x10064b36
lea eax, [ebp - 0x14]
mov byte [ebp - 0x1a], 1
push eax
mov ecx, esi
mov dword [ebp - 0x14], edi
call fcn.1006cb40
mov byte [eax], 1
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
mov ecx, esi
call fcn.1006cb40
cmp byte [eax], 0
je 0x10064c20
xor esi, esi
nop
lea eax, [esi - 1]
cmp eax, 5
lea eax, [esi - 0x41]
setbe bl
cmp eax, 0x19
setbe dl
cmp esi, 0xa0
je 0x10064b99
cmp esi, 0xa1
je 0x10064b99
cmp esi, 0x10
je 0x10064b99
cmp esi, 0x1b
je 0x10064b99
cmp esi, 0x2d
je 0x10064b99
cmp esi, 0x12
je 0x10064b99
cmp esi, 0x14
je 0x10064b99
cmp esi, 0x20
je 0x10064b99
cmp esi, 0x11
je 0x10064b99
xor cl, cl
jmp 0x10064b9b
mov cl, 1
lea eax, [esi - 0x60]
cmp eax, 9
setbe al
test bl, bl
jne 0x10064bb4
test dl, dl
jne 0x10064bb4
test cl, cl
jne 0x10064bb4
test al, al
je 0x10064be4
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [0x100e5404]
jne 0x10064be4
movsx eax, si
cmp dword [eax*4 + 0x100e7330], 1
jne 0x10064be4
cmp esi, 0x2d
je 0x10064c0b
cmp esi, 0x1b
je 0x10064bfd
cmp esi, 1
jne 0x10064bf3
cmp byte [ebp - 0x1a], 0
je 0x10064bf3
inc esi
cmp esi, 0x100
jl 0x10064b50
jmp 0x10064c20
mov dword [edi], esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], edi
jmp 0x10064c11
mov dword [edi], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], edi
jmp 0x10064c11
mov dword [ebp - 0x38], edi
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
push eax
lea ecx, [ecx + 0x30]
call fcn.1006cb40
mov byte [eax], 0
mov eax, dword [0x100dfa88]
mov ecx, eax
mov esi, dword [ebp - 0x24]
mov dl, byte [0x100dfa8a]
add esi, 0xe
shr ecx, 8
test bh, bh
je 0x10064c6e
mov byte [ebp - 0x17], cl
mov ecx, dword [0x100e4754]
mov byte [ebp - 0x18], al
mov byte [ebp - 0x16], dl
mov byte [ebp - 0x15], 0x19
mov eax, dword [ecx]
push dword [ebp - 0x18]
call dword [eax + 0x28]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [0x100e4754]
push esi
lea edi, [edx + 0x5a]
mov eax, dword [ecx]
push edi
push dword [ebp - 0x24]
push edx
call dword [eax + 0x30]
jmp 0x10064c74
mov edi, dword [ebp - 0x2c]
add edi, 0x5a
mov ecx, dword [0x100e4754]
push dword [0x100dfa64]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [0x100e4754]
push esi
mov esi, dword [ebp - 0x2c]
push edi
push dword [ebp - 0x24]
mov eax, dword [ecx]
push esi
call dword [eax + 0x38]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x20]
mov ebx, dword [ebp - 0x20]
push eax
mov dword [ebp - 0x20], ebx
lea ecx, [ecx + 0x30]
call fcn.1006cb40
cmp byte [eax], 0
je 0x10064cf4
mov esi, dword [ebp - 0x24]
mov ecx, 0x100dfabc
push 0x100ce8dc
add esi, 7
mov dword [ebp - 0x20], 4
cmp byte [ebp - 0x19], 0
mov eax, 0x100dfab8
push 0x18
cmove eax, ecx
push eax
mov eax, dword [ebp - 0x2c]
push esi
add eax, 0x2d
push eax
lea eax, [ebp - 0x20]
push eax
push 0x100df94c
call fcn.1007a330
add esp, 0x1c
jmp 0x10064d59
movzx eax, word [ebx]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.10064dc0
mov edx, eax
mov dword [ebp - 4], 0
cmp dword [edx + 0x14], 8
jb 0x10064d12
mov edx, dword [edx]
cmp byte [ebp - 0x19], 0
mov eax, 0x100dfabc
push edx
mov ecx, 0x100dfab8
mov dword [ebp - 0x20], 4
cmove ecx, eax
lea eax, [esi + 0x2d]
mov esi, dword [ebp - 0x24]
push 0x18
push ecx
add esi, 7
push esi
push eax
lea eax, [ebp - 0x20]
push eax
push 0x100df94c
call fcn.1007a5e0
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10007860
push dword [ebx + 4]
lea eax, [edi + 4]
mov dword [ebp - 0x20], 4
push 0x10
push 0x100dfab8
push esi
push eax
lea eax, [ebp - 0x20]
push eax
push 0x100df94c
call fcn.1007a5e0
mov ecx, dword [ebp - 0x28]
add esp, 0x1c
mov eax, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
xor al, al
mov dword [ecx + 8], 0x5a
mov dword [ecx + 0xc], 0xe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a6425
mov esp, ebp
pop ebp
ret 8