Function at 0x464840
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x508bcb
mov eax, dword fs:[0]
push eax
sub esp, 0x168
mov eax, dword [0x5364d0]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x17c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x18c]
call fcn.004b1940
test eax, eax
je 0x464b09
mov eax, dword [ebx + 4]
push 0x3ef
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [esp + 0x64]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x70]
mov eax, 0x58
mov dword [esp + 0x28], edx
call fcn.0041cd00
mov ecx, dword [esp + 0x64]
lea edx, [ecx + eax*4]
mov dword [esp + 0x24], edx
mov dword [esp + 0x184], 3
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0x7ff8
push 0
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov dword [esp + 0x30], eax
xor eax, eax
push 0xfe
push eax
lea ecx, [esp + 0x7e]
push ecx
mov word [esp + 0x80], ax
call fcn.004e8fe0
mov edx, dword [ebx + 0x53d0]
mov edi, dword [edx]
mov esi, dword [ebx + 0x53b8]
add esp, 0xc
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
jmp 0x464930
mov ebp, dword [ebx + 0x53d0]
mov eax, dword [ebx + 0x53b8]
test esi, esi
je 0x464944
cmp esi, eax
je 0x464949
call fcn.004e48f7
cmp edi, ebp
je 0x464a83
test esi, esi
jne 0x464a20
call fcn.004e48f7
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x46496a
call fcn.004e48f7
mov eax, dword [edi + 0x10]
push eax
lea ecx, [esp + 0x78]
push 0x80
push ecx
call fcn.004e65c8
xor ebp, ebp
add esp, 0xc
mov dword [esp + 0x34], 0x30
mov dword [esp + 0x38], 0x14b
mov dword [esp + 0x3c], ebp
cmp esi, ebp
jne 0x464a27
call fcn.004e48f7
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x4649af
call fcn.004e48f7
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x74]
mov dword [esp + 0x44], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], pe_nt_image_headers32
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ebp
cmp esi, ebp
jne 0x464a2e
call fcn.004e48f7
xor esi, esi
cmp edi, dword [esi + 0x18]
jne 0x4649e7
call fcn.004e48f7
mov eax, dword [ebx + 0x51d4]
mov edx, dword [ebx + 0x53b4]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov esi, esp
cmp edx, dword [edi + 0xc]
jne 0x464a32
call fcn.004048c0
add eax, 0x10
mov dword [esi], eax
call fcn.0048afc0
add esp, 4
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 0xb
jmp 0x464a4e
mov eax, dword [esi]
jmp 0x464960
mov eax, dword [esi]
jmp 0x4649a5
mov esi, dword [esi]
jmp 0x4649dd
call fcn.004048c0
add eax, 0x10
mov dword [esi], eax
call fcn.0048afc0
add esp, 4
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 3
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
push ebp
push edi
push ecx
call dword [sym.imp.USER32.dll_InsertMenuItemW]
lea esi, [esp + 0x1c]
call fcn.0048d760
mov esi, dword [esp + 0x1c]
inc edi
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x20]
jmp 0x464930
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ebp, dword [ebx + 4]
call fcn.00428c90
mov edx, dword [esp + 0x28]
xor edi, edi
push edi
push ebp
mov ebp, dword [esp + 0x20]
push edi
push edx
push eax
push edi
push ebp
call dword [sym.imp.USER32.dll_TrackPopupMenu]
call fcn.004b1940
test eax, eax
je 0x464afe
mov eax, dword [ebx + 4]
push 0x3ef
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
mov dword [esp + 0x14], edi
cmp esi, edi
je 0x464afe
call fcn.0041d3e0
cmp eax, edi
je 0x464aec
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x2774
push esi
push eax
mov eax, dword [ecx + 0x20]
call eax
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x464afe
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
push 0xffffffffffffffff
push eax
call edx
cmp ebp, edi
je 0x464b09
push ebp
call dword [sym.imp.USER32.dll_DestroyMenu]
mov ecx, dword [esp + 0x17c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.004e3edb
add esp, 0x174
ret 4