Function at 0x4a8160
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5afdca
mov eax, dword fs:[0]
push eax
sub esp, 0x118
push ebx
push esi
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
xor ebx, ebx
cmp dword [edi + 0x3d8], ebx
mov dword [edi + 0xa4], 1
mov dword [0x63c03c], ebx
je 0x4a8379
mov eax, dword [ebp + 8]
cmp eax, 4
je 0x4a85f5
cmp eax, 5
je 0x4a85f5
cmp eax, 1
jne 0x4a8379
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x1f4], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x130], 0x12
mov dword [esp + 0x14], ebx
push 0x2c
lea ecx, [esp + 0xcc]
push ebx
push ecx
mov dword [esp + 0xd0], ebx
call fcn.0057bb20
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
add esp, 0xc
lea edx, [esp + 0xa4]
push edx
call esi
lea eax, [esp + 0x84]
push eax
call esi
lea ecx, [esp + 0x74]
push ecx
call esi
mov esi, dword [ebp + 0x10]
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x134], 0x16
mov edx, dword [esi]
mov ecx, dword [edx]
push 0x5d2130
push esi
call ecx
mov edx, dword [esi]
mov ecx, dword [edx]
lea eax, [esp + 0x14]
push eax
push 0x5d1e20
push esi
call ecx
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
lea ecx, [esp + 0x18]
push ecx
push eax
call edx
mov eax, dword [0x63c8f8]
cmp eax, ebx
jne 0x4a8393
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.SHDOCLC.DLL
call esi
cmp eax, ebx
mov dword [0x63c8f8], eax
jne 0x4a8393
push str._binSHDOCLC.DLL
lea eax, [esp + 0x28]
push 0x63c670
push eax
call fcn.00401ba0
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
lea ecx, [esp + 0x24]
mov dword [0x63c8f8], eax
call fcn.00401f20
mov eax, dword [0x63c8f8]
cmp eax, ebx
jne 0x4a8393
cmp dword [0x63c8f4], ebx
jne 0x4a8325
call fcn.004a8120
cmp eax, ebx
je 0x4a8325
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x74]
push ecx
call esi
lea edx, [esp + 0x84]
push edx
call esi
lea eax, [esp + 0xa4]
push eax
call esi
mov byte [esp + 0x130], 0x12
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4a8311
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0x1c]
jmp 0x4a8749
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x74]
push eax
call esi
lea ecx, [esp + 0x84]
push ecx
call esi
lea edx, [esp + 0xa4]
push edx
call esi
mov byte [esp + 0x130], 0x12
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4a835e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4a8379
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x6041
push eax
call dword [sym.imp.USER32.dll_LoadMenuW]
push 1
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
lea edx, [esp + 0x74]
push edx
lea edx, [esp + 0x88]
push edx
push ebx
mov esi, eax
mov eax, dword [esp + 0x28]
push 0x35
mov word [esp + 0x94], 0x25
mov dword [esp + 0x9c], esi
mov word [esp + 0x84], 3
mov dword [esp + 0x8c], 1
mov ecx, dword [eax]
push 0x5d1d90
push eax
mov eax, dword [ecx + 0x10]
call eax
mov edi, dword [edi + 0x3d8]
add edi, 0xab0
je 0x4a8404
cmp dword [edi + 4], ebx
jne 0x4a8479
push edi
call fcn.0046c310
mov ecx, dword [edi + 4]
mov ebx, dword [sym.imp.USER32.dll_AppendMenuW]
push 0x5f664c
push 0xbc9
push 0x400
push ecx
call ebx
mov edx, dword [edi + 4]
push 0x5f6658
push 0xbca
push 0x400
push edx
call ebx
mov eax, dword [edi + 4]
push 0x5f666c
push 0xbcb
push 0x400
push eax
call ebx
mov ecx, dword [edi + 4]
push 0x5f6678
push 0xbd3
push 0x400
push ecx
call ebx
mov edx, dword [edi + 4]
push 0x5f668c
push 0xbd1
push 0x400
push edx
call ebx
mov edi, dword [edi + 4]
push 0x5f669c
push edi
push 0x410
push 0
mov dword [0x63c03c], edi
mov edi, dword [sym.imp.USER32.dll_InsertMenuW]
push esi
call edi
push 0
push 0
push 0xc00
push 1
push esi
call edi
mov eax, dword [esp + 0x18]
push 0x4a7ff0
push 0xfffffffffffffffc
push eax
mov dword [0x63c038], esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push esi
mov dword [0x63c040], eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x4a852a
push edi
push esi
call dword [sym.imp.USER32.dll_GetMenuItemID]
cmp eax, 0x8d5
je 0x4a84ea
add edi, 1
cmp edi, ebx
jl 0x4a84d2
jmp 0x4a852a
lea ecx, [esp + 0xc4]
push ecx
push 1
push edi
push esi
mov dword [esp + 0xd4], 0x30
mov dword [esp + 0xd8], 2
mov dword [esp + 0xe4], 0xbd4
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [eax + 0x224], edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0
push ecx
push 0
push edx
push eax
push 0x102
push esi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov ecx, dword [0x63c040]
mov edx, dword [esp + 0x18]
push ecx
push 0xfffffffffffffffc
push edx
mov esi, eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [esi - 0xbb8]
cmp eax, 0x1f2
mov dword [0x63c040], 0
ja 0x4a8588
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x20]
push 0
push esi
push 0x111
push edx
jmp 0x4a85a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push esi
mov dword [0x63c940], eax
mov eax, dword [esp + 0x20]
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x74]
push ecx
call esi
lea edx, [esp + 0x84]
push edx
call esi
lea eax, [esp + 0xa4]
push eax
call esi
mov byte [esp + 0x130], 0x12
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a85df
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
jmp 0x4a874b
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x130], ebx
mov dword [esp + 0x30], ebx
push 0x2c
lea eax, [esp + 0xfc]
push ebx
push eax
mov dword [esp + 0x100], ebx
call fcn.0057bb20
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
add esp, 0xc
lea ecx, [esp + 0xb4]
push ecx
call esi
lea edx, [esp + 0x94]
push edx
call esi
lea eax, [esp + 0x64]
push eax
call esi
mov esi, dword [ebp + 0x10]
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x134], 4
mov ecx, dword [esi]
mov eax, dword [ecx]
push 0x5d2130
push esi
call eax
mov ecx, dword [esi]
mov eax, dword [ecx]
lea edx, [esp + 0x30]
push edx
push 0x5d1e20
push esi
call eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [0x63c8f8]
or edi, 0xffffffff
cmp eax, ebx
jne 0x4a87bb
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.SHDOCLC.DLL
call esi
cmp eax, ebx
mov dword [0x63c8f8], eax
jne 0x4a87bb
push str._binSHDOCLC.DLL
lea ecx, [esp + 0x28]
push 0x63c670
push ecx
call fcn.00401ba0
mov eax, dword [eax]
add esp, 0xc
push eax
call esi
mov dword [0x63c8f8], eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4a86e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x63c8f8]
cmp eax, ebx
jne 0x4a87bb
cmp dword [0x63c8f4], ebx
jne 0x4a8772
call fcn.004a8120
cmp eax, ebx
je 0x4a8772
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x64]
push ecx
call esi
lea edx, [esp + 0x94]
push edx
call esi
lea eax, [esp + 0xb4]
push eax
call esi
mov byte [esp + 0x130], 0
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4a873e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x130], edi
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4a8755
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x64]
push eax
call esi
lea ecx, [esp + 0x94]
push ecx
call esi
lea edx, [esp + 0xb4]
push edx
call esi
mov byte [esp + 0x130], 0
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4a87ab
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x130], edi
mov eax, dword [esp + 0x2c]
jmp 0x4a836d
push 0x6041
push eax
call dword [sym.imp.USER32.dll_LoadMenuW]
mov esi, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x98]
push edx
push ebx
mov dword [esp + 0xa8], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push 0x35
mov word [esp + 0xa4], 0x25
mov word [esp + 0x74], 3
mov dword [esp + 0x7c], esi
mov ecx, dword [eax]
push 0x5d1d90
push eax
mov eax, dword [ecx + 0x10]
call eax
call fcn.00555692
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4a882d
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x130], 5
call fcn.00555692
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4a885f
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
xor ebx, ebx
lea edi, [esp + 0x28]
mov byte [esp + 0x130], 6
xor esi, esi
call fcn.004eb3b0
mov ecx, dword [esp + 0x10]
lea edi, [ecx + 0x218]
mov ebx, 1
call fcn.004eb3b0
lea ebx, [esp + 0x28]
call fcn.004146b0
mov edi, eax
call fcn.00414730
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4a88c6
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov byte [esp + 0x130], 7
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4a88f8
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x130], 8
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4a892a
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
mov byte [esp + 0x130], 9
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4a895c
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0x130], 0xa
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4a898e
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
mov byte [esp + 0x130], 0xb
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4a89c0
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x48], eax
mov byte [esp + 0x130], 0xc
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4a89f2
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x130], 0xd
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4a8a24
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x60], eax
mov byte [esp + 0x130], 0xe
call fcn.00555692
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4a8a56
push 0x80004005
call fcn.00401f90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x50], eax
mov byte [esp + 0x130], 0xf
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_InsertMenuW]
je 0x4a8e85
mov eax, dword [esp + 0x10]
lea ecx, [eax + 0x410]
mov dword [esp + 0x20], ecx
lea ecx, [eax + 0x40c]
mov dword [esp + 0x5c], ecx
lea ecx, [eax + 0x408]
mov dword [esp + 0x58], ecx
lea ecx, [eax + 0x404]
mov dword [esp + 0x34], ecx
lea ecx, [eax + 0x400]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x60]
push ecx
lea ecx, [eax + 0x41c]
push ecx
mov ecx, dword [esp + 0x78]
lea edx, [eax + 0x414]
lea edi, [eax + 0x3fc]
add eax, 0x418
push eax
mov eax, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x4c]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x60]
push edi
push edx
mov edx, dword [esp + 0x9c]
call fcn.00450d80
mov eax, dword [edi]
mov edi, dword [esp + 0x58]
add esp, 0x40
cmp dword [eax - 0xc], 0
je 0x4a8b4b
mov ecx, dword [esp + 0x44]
push ecx
push 0xbb8
push 0x400
push 0
push edi
call ebx
mov esi, 1
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x400]
add eax, 0x400
cmp dword [edx - 0xc], 0
je 0x4a8d6b
mov eax, dword [esp + 0x10]
add eax, 0x400
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
push 0x5e4e58
push ecx
call fcn.00404650
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
push 0xbb9
push 0x400
push esi
push edi
call ebx
lea ecx, [esp + 0x18]
add esi, 1
call fcn.00402700
lea ecx, [esp + 0x20]
call fcn.00402700
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
add ecx, 0xb8
mov byte [esp + 0x138], 0x11
call fcn.004545d0
mov edx, dword [esp + 0x20]
add esp, 8
cmp dword [edx - 0xc], 0
je 0x4a8c0c
mov eax, dword [esp + 0x10]
add eax, 0x400
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
push 0x5f6610
push ecx
call fcn.00404650
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
push 0xbc3
push 0x400
push esi
push edi
call ebx
add esi, 1
mov eax, dword [esp + 0x10]
add eax, 0x400
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
push 0x5e4e68
push ecx
call fcn.00404650
mov edx, dword [0x63c450]
add esp, 0xc
push edx
call fcn.004751b0
test eax, eax
mov dword [esp + 0x34], eax
je 0x4a8c50
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 4]
push ecx
push eax
push 0x410
push esi
push edi
call ebx
mov eax, dword [esp + 0x34]
add esi, 1
test eax, eax
jne 0x4a8c62
mov dword [0x63c03c], eax
jmp 0x4a8c6b
mov edx, dword [eax + 4]
mov dword [0x63c03c], edx
mov eax, dword [esp + 0x10]
add eax, 0x400
push eax
mov ecx, 0x63c840
call fcn.00402330
mov eax, dword [esp + 0x10]
add eax, 0x400
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
push 0x5e4e7c
push ecx
call fcn.00404650
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
push 0xbc6
push 0x400
push esi
push edi
call ebx
mov eax, dword [esp + 0x10]
add eax, 0x400
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
push 0x5e4e90
push ecx
add esi, 1
call fcn.00404650
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
push 0xbbd
push 0x400
push esi
push edi
call ebx
mov eax, dword [esp + 0x10]
add eax, 0x400
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
push 0x5e4ea8
push ecx
add esi, 1
call fcn.00404650
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
push 0xbbe
push 0x400
push esi
push edi
call ebx
mov byte [esp + 0x130], 0x10
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esi, 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a8d43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xf
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a8d6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x404]
add eax, 0x404
cmp dword [ecx - 0xc], 0
je 0x4a8d96
mov edx, dword [esp + 0x3c]
push edx
push 0xbba
push 0x400
push esi
push edi
call ebx
add esi, 1
mov eax, dword [esp + 0x10]
add eax, 0x40c
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x4a8dbd
mov ecx, dword [esp + 0x4c]
push ecx
push 0xbc0
push 0x400
push esi
push edi
call ebx
add esi, 1
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x408]
add eax, 0x408
cmp dword [edx - 0xc], 0
je 0x4a8de8
mov eax, dword [esp + 0x40]
push eax
push 0xbbf
push 0x400
push esi
push edi
call ebx
add esi, 1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x410]
add eax, 0x410
cmp dword [ecx - 0xc], 0
je 0x4a8e13
mov edx, dword [esp + 0x48]
push edx
push 0xbc1
push 0x400
push esi
push edi
call ebx
add esi, 1
mov eax, dword [esp + 0x10]
add eax, 0x414
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x4a8e3a
mov ecx, dword [esp + 0x1c]
push ecx
push 0xbc2
push 0x400
push esi
push edi
call ebx
add esi, 1
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x400]
add eax, 0x400
cmp dword [edx - 0xc], 0
je 0x4a8e89
mov eax, dword [esp + 0x10]
add eax, 0x400
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
push 0x5f6624
push ecx
call fcn.00404650
mov edx, dword [esp + 0x20]
add esp, 0xc
push edx
push 0xbc7
push 0x400
push esi
push edi
call ebx
add esi, 1
jmp 0x4a8e89
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add eax, 0x218
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x4a8eb0
push 0x5f6638
push 0xbd5
push 0x400
push esi
push edi
call ebx
add esi, 1
test esi, esi
jle 0x4a8ec3
push 0
push 0
push 0xc00
push esi
push edi
call ebx
jmp 0x4a8f08
mov ecx, dword [0x63c450]
push ecx
call fcn.0046bf90
test eax, eax
mov dword [esp + 0x20], eax
je 0x4a8f4c
push 0x5d3d08
mov edx, eax
mov eax, dword [edx + 4]
push eax
push 0x410
push esi
push edi
call ebx
push 0
push 0
push 0xc00
add esi, 1
push esi
push edi
call ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov dword [0x63c03c], ecx
mov edx, dword [esp + 0x38]
push 0x4a7ff0
push 0xfffffffffffffffc
push edx
mov dword [0x63c038], edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push edi
mov dword [0x63c040], eax
call dword [sym.imp.USER32.dll_GetMenuItemCount]
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x4a8f98
push esi
push edi
call dword [sym.imp.USER32.dll_GetMenuItemID]
cmp eax, 0x8d5
je 0x4a8f58
add esi, 1
cmp esi, ebx
jl 0x4a8f34
jmp 0x4a8f98
mov dword [0x63c03c], 0
jmp 0x4a8f08
lea eax, [esp + 0xf4]
push eax
push 1
push esi
push edi
mov dword [esp + 0x104], 0x30
mov dword [esp + 0x108], 2
mov dword [esp + 0x114], 0xbd4
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [edx + 0x224], ecx
mov eax, dword [esp + 0x38]
push 0
push eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0
push ecx
push edx
push 0x102
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
mov ecx, dword [esp + 0x38]
mov esi, eax
mov eax, dword [0x63c040]
push eax
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edx, [esi - 0xbb8]
cmp edx, 0x1f2
mov dword [0x63c040], 0
ja 0x4a8ff6
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
push 0
push esi
push 0x111
push ecx
jmp 0x4a900e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x38]
push 0
push esi
push 0x111
mov dword [0x63c940], eax
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x130], 0xe
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a903c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xd
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a9064
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xc
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a908c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xb
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a90b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xa
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a90dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 9
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a9104
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 8
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a912c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 7
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a9154
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 6
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a917c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a91a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a91cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [esp + 0x64]
push ecx
call esi
lea edx, [esp + 0x94]
push edx
call esi
lea eax, [esp + 0xb4]
push eax
call esi
mov byte [esp + 0x130], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4a9205
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0x2c]
test eax, eax
jmp 0x4a874b