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

Disassembly:
sub esp, 0x90
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x10], ebp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xb8]
push eax
call sym.MfcHlpr520.dll_public:_class_CMHPControl____thiscall_CMHPCommandBar::GetControl_int_const
mov esi, eax
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x3c], esi
jne 0x6795a00a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x90
ret 4
mov edi, dword [esp + 0xa4]
cmp edi, 5
je 0x6795a6dc
cmp edi, 0xa
je 0x6795a6dc
cmp edi, 3
je 0x6795a046
cmp edi, 2
je 0x6795a046
cmp edi, 8
je 0x6795a046
cmp edi, 9
je 0x6795a046
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x90
ret 4
push edi
push 1
lea ecx, [esp + 0x48]
push esi
push ecx
mov ecx, ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.67959e50
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
add eax, edx
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov dword [esp + 0x14], ebx
mov esi, eax
mov dword [esp + 0x38], ebx
sar esi, 1
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPCommandBar::GetControlCount_void_const
mov ecx, eax
cmp edi, 9
mov dword [esp + 0x34], ecx
jne 0x6795a261
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x2c], eax
jle 0x6795a715
mov ecx, dword [esp + 0x10]
push eax
mov ecx, dword [ecx + 8]
call sym.MfcHlpr520.dll_public:_class_CMHPControl____thiscall_CMHPCommandBar::GetControl_int_const
mov edi, eax
mov eax, dword [esp + 0x3c]
cmp edi, eax
mov dword [esp + 0x50], edi
je 0x6795a247
mov edx, dword [edi]
push 8
mov ecx, edi
call dword [edx + 0x84]
test eax, eax
je 0x6795a247
mov ecx, edi
call sym.MfcHlpr520.dll_public:_unsigned_int___thiscall_CMHPTrayIcon::GetCallbackMessage_void_
test al, 2
jne 0x6795a247
mov ecx, dword [esp + 0x10]
push 9
push 0
lea eax, [esp + 0x88]
push edi
push eax
call fcn.67959e50
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x8c]
lea ecx, [edi + 1]
cmp ecx, eax
jl 0x6795a11b
cmp edi, dword [esp + 0x4c]
jl 0x6795a12e
lea edx, [eax + 1]
cmp edx, edi
jl 0x6795a247
cmp eax, ebx
jge 0x6795a247
mov ebp, dword [esp + 0x80]
mov eax, dword [esp + 0x48]
cmp ebp, eax
jl 0x6795a1a3
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6795a184
mov eax, dword [esp + 0x18]
cmp ebp, eax
jl 0x6795a184
jne 0x6795a1a3
lea eax, [ebx + edi]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x24]
add eax, edx
cdq
sub eax, edx
sar eax, 1
sub eax, esi
cdq
xor eax, edx
sub eax, edx
sar ecx, 1
mov dword [esp + 0x28], eax
mov eax, ecx
mov ecx, dword [esp + 0x28]
sub eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jge 0x6795a1a3
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x6795a23f
add ecx, 0xc4
mov edx, ecx
mov eax, dword [edx]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x74], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x70]
mov edx, dword [edx + 0xc]
cmp ebp, eax
mov dword [esp + 0x7c], edx
jl 0x6795a23f
mov eax, ecx
mov edx, dword [eax]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x68], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
cmp ebp, eax
jne 0x6795a247
lea eax, [ebx + edi]
cdq
sub eax, edx
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x90], edx
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x98], edx
add eax, ecx
cdq
sub eax, edx
sar eax, 1
sub eax, esi
cdq
sar edi, 1
mov ecx, eax
mov eax, edi
xor ecx, edx
sub eax, esi
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jge 0x6795a247
mov edx, dword [esp + 0x50]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x6795a0a4
jmp 0x6795a66d
cmp edi, 8
jne 0x6795a416
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x50], eax
jle 0x6795a715
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
call sym.MfcHlpr520.dll_public:_class_CMHPControl____thiscall_CMHPCommandBar::GetControl_int_const
mov edi, eax
mov eax, dword [esp + 0x3c]
cmp edi, eax
mov dword [esp + 0x2c], edi
je 0x6795a3fc
mov edx, dword [edi]
push 8
mov ecx, edi
call dword [edx + 0x84]
test eax, eax
je 0x6795a3fc
mov ecx, edi
call sym.MfcHlpr520.dll_public:_unsigned_int___thiscall_CMHPTrayIcon::GetCallbackMessage_void_
test al, 2
jne 0x6795a3fc
mov ecx, dword [esp + 0x10]
push 8
push 0
lea eax, [esp + 0x68]
push edi
push eax
call fcn.67959e50
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x6c]
lea ecx, [edi + 1]
cmp ecx, eax
jl 0x6795a2e6
cmp edi, dword [esp + 0x4c]
jl 0x6795a2f9
lea edx, [eax + 1]
cmp edx, edi
jl 0x6795a3fc
cmp eax, ebx
jge 0x6795a3fc
mov ebp, dword [esp + 0x68]
mov eax, dword [esp + 0x40]
cmp ebp, eax
jg 0x6795a368
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6795a34c
mov eax, dword [esp + 0x20]
cmp ebp, eax
jg 0x6795a34c
jne 0x6795a368
lea eax, [ebx + edi]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x24]
add eax, edx
cdq
sub eax, edx
sar eax, 1
sub eax, esi
cdq
xor eax, edx
sub eax, edx
sar ecx, 1
mov dword [esp + 0x28], eax
mov eax, ecx
mov ecx, dword [esp + 0x28]
sub eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jge 0x6795a368
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x6795a3f4
add ecx, 0xc4
mov edx, ecx
mov eax, dword [edx]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x74], eax
mov eax, dword [edx + 8]
cmp ebp, eax
mov edx, dword [edx + 0xc]
mov dword [esp + 0x7c], edx
jge 0x6795a3f4
mov edx, ecx
mov eax, dword [edx]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x74], eax
mov eax, dword [edx + 8]
cmp ebp, eax
mov edx, dword [edx + 0xc]
mov dword [esp + 0x7c], edx
jne 0x6795a3fc
lea eax, [ebx + edi]
cdq
sub eax, edx
mov edx, dword [ecx + 8]
mov edi, eax
mov eax, dword [ecx]
mov dword [esp + 0x90], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x98], edx
add eax, ecx
cdq
sub eax, edx
sar eax, 1
sub eax, esi
cdq
sar edi, 1
mov ecx, eax
mov eax, edi
xor ecx, edx
sub eax, esi
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jge 0x6795a3fc
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x6795a278
jmp 0x6795a66d
cmp edi, 3
jne 0x6795a542
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
add eax, edx
mov dword [esp + 0x10], ebx
cdq
sub eax, edx
sar eax, 1
cmp ecx, ebx
mov dword [esp + 0x2c], eax
jle 0x6795a715
mov eax, ebx
mov ecx, dword [ebp + 8]
push eax
call sym.MfcHlpr520.dll_public:_class_CMHPControl____thiscall_CMHPCommandBar::GetControl_int_const
mov edi, eax
mov eax, dword [esp + 0x3c]
cmp edi, eax
je 0x6795a528
mov eax, dword [edi]
push 8
mov ecx, edi
call dword [eax + 0x84]
test eax, eax
je 0x6795a528
mov ecx, edi
call sym.MfcHlpr520.dll_public:_unsigned_int___thiscall_CMHPTrayIcon::GetCallbackMessage_void_
test al, 2
jne 0x6795a528
push 3
push 0
lea ecx, [esp + 0x58]
push edi
push ecx
mov ecx, ebp
call fcn.67959e50
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x58]
lea edx, [esi + 1]
cmp edx, eax
jl 0x6795a4a4
cmp esi, dword [esp + 0x48]
jl 0x6795a4af
lea ecx, [eax + 1]
cmp ecx, esi
jl 0x6795a528
cmp eax, ebx
jge 0x6795a528
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x4c]
cmp edx, eax
jl 0x6795a528
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6795a50c
mov ecx, dword [esp + 0x1c]
mov eax, edx
cmp eax, ecx
jl 0x6795a510
jne 0x6795a528
lea eax, [ebx + esi]
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x20]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x2c]
sar ecx, 1
mov dword [esp + 0x28], eax
mov eax, ecx
mov ecx, dword [esp + 0x28]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jge 0x6795a528
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x6795a440
jmp 0x6795a671
cmp edi, 2
jne 0x6795a715
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
add eax, ecx
mov ecx, dword [esp + 0x34]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x50], eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x2c], eax
jle 0x6795a715
jmp 0x6795a576
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
push eax
call sym.MfcHlpr520.dll_public:_class_CMHPControl____thiscall_CMHPCommandBar::GetControl_int_const
mov edi, eax
mov eax, dword [esp + 0x3c]
cmp edi, eax
je 0x6795a658
mov edx, dword [edi]
push 8
mov ecx, edi
call dword [edx + 0x84]
test eax, eax
je 0x6795a658
mov ecx, edi
call sym.MfcHlpr520.dll_public:_unsigned_int___thiscall_CMHPTrayIcon::GetCallbackMessage_void_
test al, 2
jne 0x6795a658
push 2
push 0
lea eax, [esp + 0x68]
push edi
push eax
mov ecx, ebp
call fcn.67959e50
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x68]
lea ecx, [esi + 1]
cmp ecx, eax
jl 0x6795a5da
cmp esi, dword [esp + 0x48]
jl 0x6795a5e5
lea edx, [eax + 1]
cmp edx, esi
jl 0x6795a658
cmp eax, ebx
jge 0x6795a658
mov ebp, dword [esp + 0x6c]
mov eax, dword [esp + 0x44]
cmp ebp, eax
jg 0x6795a658
mov eax, dword [esp + 0x14]
test eax, eax
je 0x6795a640
mov eax, dword [esp + 0x24]
cmp ebp, eax
jg 0x6795a640
jne 0x6795a658
lea eax, [ebx + esi]
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x20]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x50]
sar eax, 1
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x50]
sar ecx, 1
mov dword [esp + 0x28], eax
mov eax, ecx
mov ecx, dword [esp + 0x28]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jge 0x6795a658
mov edx, dword [esp + 0x64]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x6795a572
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x6795a691
mov eax, dword [esp + 0xa4]
cmp eax, 9
je 0x6795a6af
cmp eax, 3
mov eax, 3
jne 0x6795a6b4
jmp 0x6795a6af
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x6795a715
mov eax, dword [esp + 0xa4]
cmp eax, 9
je 0x6795a6af
cmp eax, 3
mov eax, 3
jne 0x6795a6b4
mov eax, 2
mov ebp, dword [ebp + 8]
push eax
mov eax, dword [ecx + 0x84]
mov ecx, ebp
mov edx, dword [ebp]
push eax
call dword [edx + 0xcc]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x90
ret 4
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x78]
test eax, eax
je 0x6795a70b
mov edx, dword [esi]
xor ecx, ecx
xor eax, eax
push ecx
push eax
push 1
mov ecx, esi
call dword [edx + 0xd8]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x90
ret 4
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb4]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x90
ret 4