Function at 0x6473cc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x3a
add esp, 0xfffff004
push eax
dec eax
jne 0x6473d5
mov eax, dword [ebp - 4]
add esp, 0xfffff50c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x3aaf8], ebx
mov dword [ebp - 0x3aaf4], ebx
mov dword [ebp - 0x3aaf0], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x34], ebx
mov esi, edx
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x647aab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404c7c
mov byte [ebp - 0x35], 1
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x468c34]
call fcn.0046e118
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x10], 0
je 0x6474f6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
call fcn.0046b984
mov esi, eax
dec esi
test esi, esi
jl 0x6474f6
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.0046b994
call fcn.006472e8
mov edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
call fcn.0046bd00
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.0046b994
call fcn.0046b984
test eax, eax
jle 0x6474ee
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.0046b994
call fcn.0046b984
dec eax
test eax, eax
jl 0x6474ee
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.0046b994
mov edx, dword [ebp - 0x20]
call fcn.0046b994
call fcn.006472e8
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.0046b994
pop edx
call fcn.0046bd00
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x6474b8
inc ebx
dec esi
jne 0x647461
mov eax, dword [0x98a420]
mov eax, dword [eax]
mov edx, dword [eax + 0xe0]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0xe4]
mov dword [ebp - 0x2c], edx
mov eax, dword [0x98a420]
mov eax, dword [eax]
xor edx, edx
mov dword [eax + 0xe0], edx
mov dword [eax + 0xe4], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x6475a9
xor eax, eax
push ebp
push 0x6475a2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3a9c0]
mov ecx, 0xea60
mov eax, dword [ebp - 4]
call fcn.006471d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x3aaf0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x3aaf0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
lea eax, [ebp - 0x34]
call fcn.0040568c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6475e3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x48]
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00646858
mov dword [ebp - 0x3a9c0], eax
lea edx, [ebp - 0x3aaf4]
mov eax, dword [ebp - 4]
call fcn.0064885c
mov ecx, dword [ebp - 0x3aaf4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
lea eax, [ebp - 0x34]
call fcn.0040568c
mov dword [ebp - 0x1c], 1
xor eax, eax
push ebp
push 0x647a35
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [0x98aaa0]
push eax
lea eax, [ebp - 0x3a9c0]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.00646e54
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
mov ebx, eax
mov eax, ebx
call fcn.0041de14
test al, al
je 0x6479e7
mov eax, dword [ebp - 4]
add eax, 0x5c
call fcn.00406fe8
push eax
mov eax, dword [0x98a6c4]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
je 0x647657
mov eax, dword [ebp - 4]
add eax, 0x5c
call fcn.00406fe8
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x34]
test eax, eax
je 0x6479ce
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x60], edx
mov ebx, 4
mov eax, dword [ebp - 4]
cmp word [eax + 0x202], 0
je 0x647685
add ebx, 0x10
push ebx
push 0x7fff
push 1
push 0
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x34]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, eax
mov eax, ebx
call fcn.0041de14
test al, al
je 0x6479ce
cmp dword [ebp - 0x10], 0
je 0x6476ce
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x72], 0
je 0x6476ce
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x74]
call dword [ebx + 0x70]
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0045f564
push eax
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0x102
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x34]
push eax
call sub.user32.dll_TrackPopupMenu
mov word [ebp - 0x16], ax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
call fcn.0046b984
mov esi, eax
dec esi
test esi, esi
jl 0x647846
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.0046b994
mov ax, word [eax + 0x50]
cmp ax, word [ebp - 0x16]
jne 0x647774
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.0046b994
cmp word [eax + 0x8a], 0
je 0x647774
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.0046b994
mov edi, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.0046b994
mov edx, eax
mov eax, dword [edi + 0x8c]
call dword [edi + 0x88]
mov word [ebp - 0x16], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.0046b994
call fcn.0046b984
test eax, eax
jle 0x64783e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.0046b994
call fcn.0046b984
dec eax
test eax, eax
jl 0x64783e
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.0046b994
mov edx, dword [ebp - 0x20]
call fcn.0046b994
mov ax, word [eax + 0x50]
cmp ax, word [ebp - 0x16]
jne 0x647832
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.0046b994
mov edx, dword [ebp - 0x20]
call fcn.0046b994
cmp word [eax + 0x8a], 0
je 0x647832
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.0046b994
mov edx, dword [ebp - 0x20]
call fcn.0046b994
mov edi, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.0046b994
mov edx, dword [ebp - 0x20]
call fcn.0046b994
mov edx, eax
mov eax, dword [edi + 0x8c]
call dword [edi + 0x88]
mov word [ebp - 0x16], 0
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x6477b4
inc ebx
dec esi
jne 0x647716
cmp word [ebp - 0x16], 0
jbe 0x6479ce
push 0x104
lea eax, [ebp - 0x3aae9]
push eax
push 0
push 0
movzx eax, word [ebp - 0x16]
dec eax
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x3aae9]
call fcn.00404e7c
mov eax, dword [ebp - 4]
cmp word [eax + 0x212], 0
je 0x6478a4
lea ecx, [ebp - 0x35]
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x214]
call dword [ebx + 0x210]
jmp 0x6478f2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x21d], 0
je 0x6478ed
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, 0x647ac4
call fcn.0040aec4
test eax, eax
je 0x6478e9
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, 0x647ad4
call fcn.0040aec4
test eax, eax
je 0x6478e9
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, 0x647ae0
call fcn.0040aec4
test eax, eax
jne 0x6478ed
xor eax, eax
jmp 0x6478ef
mov al, 1
mov byte [ebp - 0x35], al
cmp byte [ebp - 0x35], 0
je 0x6479c6
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, 0x647af0
call fcn.0040aec4
test eax, eax
jne 0x64794a
mov eax, dword [ebp - 4]
cmp word [eax + 0x202], 0
je 0x64794a
cmp byte [ebp - 0x35], 0
je 0x64794a
mov eax, dword [ebp - 4]
cmp word [eax + 0x202], 0
je 0x6479ce
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x204]
call dword [ebx + 0x200]
jmp 0x6479ce
mov dword [ebp - 0x3a9e4], 0x24
xor eax, eax
mov dword [ebp - 0x3a9e0], eax
mov eax, dword [ebp - 4]
call fcn.00646e54
mov dword [ebp - 0x3a9dc], eax
movzx eax, word [ebp - 0x16]
dec eax
mov dword [ebp - 0x3a9d8], eax
xor eax, eax
mov dword [ebp - 0x3a9c8], eax
xor eax, eax
mov dword [ebp - 0x3a9c4], eax
mov dword [ebp - 0x3a9cc], 1
xor eax, eax
mov dword [ebp - 0x3a9d4], eax
xor eax, eax
mov dword [ebp - 0x3a9d0], eax
lea eax, [ebp - 0x3a9e4]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
mov ebx, eax
mov eax, ebx
call fcn.0041de14
test al, al
jne 0x6479ce
mov eax, dword [ebp + 8]
call fcn.00404c7c
jmp 0x6479ce
mov eax, dword [ebp + 8]
call fcn.00404c7c
mov eax, dword [0x98a420]
mov eax, dword [eax]
mov edx, dword [ebp - 0x30]
mov dword [eax + 0xe0], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0xe4], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x647a3c
mov dl, 1
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [ebp - 4]
add eax, 0x5c
call fcn.00406fe8
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x60], edx
mov esi, dword [ebp - 0x1c]
dec esi
test esi, esi
jl 0x647a34
inc esi
lea ebx, [ebp - 0x3a9c0]
mov eax, dword [ebx]
push eax
mov eax, dword [0x9981f4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
add ebx, 4
dec esi
jne 0x647a20
ret