Function at 0x648244
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x3a
add esp, 0xfffff004
push eax
dec eax
jne 0x64824d
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 0x648923
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404bbc
mov byte [ebp - 0x35], 1
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x45f6b0]
call fcn.00464bc4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x10], 0
je 0x64836e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
call fcn.00462430
mov esi, eax
dec esi
test esi, esi
jl 0x64836e
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.00462440
call fcn.00648160
mov edx, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
call fcn.004627ac
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.00462440
call fcn.00462430
test eax, eax
jle 0x648366
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.00462440
call fcn.00462430
dec eax
test eax, eax
jl 0x648366
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.00462440
mov edx, dword [ebp - 0x20]
call fcn.00462440
call fcn.00648160
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.00462440
pop edx
call fcn.004627ac
inc dword [ebp - 0x20]
dec dword [ebp - 0x3c]
jne 0x648330
inc ebx
dec esi
jne 0x6482d9
mov eax, dword [0x83fa38]
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 [0x83fa38]
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 0x648421
xor eax, eax
push ebp
push 0x64841a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3a9c0]
mov ecx, 0xea60
mov eax, dword [ebp - 4]
call fcn.0064804c
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.004055cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64845b
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.00647804
mov dword [ebp - 0x3a9c0], eax
lea edx, [ebp - 0x3aaf4]
mov eax, dword [ebp - 4]
call fcn.00649680
mov ecx, dword [ebp - 0x3aaf4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
lea eax, [ebp - 0x34]
call fcn.004055cc
mov dword [ebp - 0x1c], 1
xor eax, eax
push ebp
push 0x6488ad
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [0x840078]
push eax
lea eax, [ebp - 0x3a9c0]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.00647dc4
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.0041b928
test al, al
je 0x64885f
mov eax, dword [ebp - 4]
add eax, 0x5c
call fcn.00406e28
push eax
mov eax, dword [0x83fcbc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax]
test eax, eax
je 0x6484cf
mov eax, dword [ebp - 4]
add eax, 0x5c
call fcn.00406e28
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
call dword [edx + 0x34]
test eax, eax
je 0x648846
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 0x6484fd
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.0041b928
test al, al
je 0x648846
cmp dword [ebp - 0x10], 0
je 0x648546
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x72], 0
je 0x648546
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.00455ff8
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.00462430
mov esi, eax
dec esi
test esi, esi
jl 0x6486be
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.00462440
mov ax, word [eax + 0x50]
cmp ax, word [ebp - 0x16]
jne 0x6485ec
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.00462440
cmp word [eax + 0x8a], 0
je 0x6485ec
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.00462440
mov edi, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.00462440
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.00462440
call fcn.00462430
test eax, eax
jle 0x6486b6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.00462440
call fcn.00462430
dec eax
test eax, eax
jl 0x6486b6
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.00462440
mov edx, dword [ebp - 0x20]
call fcn.00462440
mov ax, word [eax + 0x50]
cmp ax, word [ebp - 0x16]
jne 0x6486aa
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.00462440
mov edx, dword [ebp - 0x20]
call fcn.00462440
cmp word [eax + 0x8a], 0
je 0x6486aa
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.00462440
mov edx, dword [ebp - 0x20]
call fcn.00462440
mov edi, eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x34]
mov edx, ebx
call fcn.00462440
mov edx, dword [ebp - 0x20]
call fcn.00462440
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 0x64862c
inc ebx
dec esi
jne 0x64858e
cmp word [ebp - 0x16], 0
jbe 0x648846
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.00404dbc
mov eax, dword [ebp - 4]
cmp word [eax + 0x212], 0
je 0x64871c
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 0x64876a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x21d], 0
je 0x648765
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, 0x64893c
call fcn.0040abd4
test eax, eax
je 0x648761
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, 0x64894c
call fcn.0040abd4
test eax, eax
je 0x648761
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, 0x648958
call fcn.0040abd4
test eax, eax
jne 0x648765
xor eax, eax
jmp 0x648767
mov al, 1
mov byte [ebp - 0x35], al
cmp byte [ebp - 0x35], 0
je 0x64883e
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, 0x648968
call fcn.0040abd4
test eax, eax
jne 0x6487c2
mov eax, dword [ebp - 4]
cmp word [eax + 0x202], 0
je 0x6487c2
cmp byte [ebp - 0x35], 0
je 0x6487c2
mov eax, dword [ebp - 4]
cmp word [eax + 0x202], 0
je 0x648846
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x204]
call dword [ebx + 0x200]
jmp 0x648846
mov dword [ebp - 0x3a9e4], 0x24
xor eax, eax
mov dword [ebp - 0x3a9e0], eax
mov eax, dword [ebp - 4]
call fcn.00647dc4
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.0041b928
test al, al
jne 0x648846
mov eax, dword [ebp + 8]
call fcn.00404bbc
jmp 0x648846
mov eax, dword [ebp + 8]
call fcn.00404bbc
mov eax, dword [0x83fa38]
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 0x6488b4
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.00406e28
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x60], edx
mov esi, dword [ebp - 0x1c]
dec esi
test esi, esi
jl 0x6488ac
inc esi
lea ebx, [ebp - 0x3a9c0]
mov eax, dword [ebx]
push eax
mov eax, dword [0x8492c4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
add ebx, 4
dec esi
jne 0x648898
ret