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

Disassembly:
push 0xffffffffffffffff
push 0x4c32b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [0x508e4c]
xor eax, esp
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x5c], eax
mov al, byte [esi + 0x112]
xor ebx, ebx
cmp al, bl
push edi
je 0x419286
mov ecx, dword [esi + 0xf0]
cmp ecx, ebx
je 0x419286
lea edi, [esi + 0x30c]
mov dword [edi], 0x3a8
mov eax, dword [ecx]
push ebp
call dword [eax + 8]
mov dword [esi + 0x310], eax
cmp dword [esi + 0x78], ebx
mov ebp, 1
mov dword [esi + 0x314], ebp
mov dword [esi + 0x31c], 0x401
jne 0x4191f9
mov ecx, dword [esi + 0x68]
push 0x6b
push ecx
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esi + 0x78], eax
xor ebp, ebp
mov edx, dword [esi + 0x78]
mov dword [esi + 0x320], edx
cmp dword [esi + 0x6cc], 8
jb 0x419213
mov eax, dword [esi + 0x6b8]
jmp 0x419219
lea eax, [esi + 0x6b8]
push 0x80
push eax
lea eax, [esi + 0x324]
push eax
call fcn.004a9b9d
add esp, 0xc
push edi
push ebp
mov dword [esi + 0x318], 3
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
cmp eax, ebx
pop ebp
jne 0x41925f
push ebx
push 0x4c79d8
push str.Unable_to_Set_Tray_Icon
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4192d8
mov ecx, dword [esi + 0xf0]
mov edx, dword [ecx]
push 6
call dword [edx + 8]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
mov ecx, dword [esi + 0xf0]
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
push eax
call edi
jmp 0x4192d8
mov eax, dword [esp + 0x74]
cmp eax, ebx
jne 0x4192c0
mov eax, dword [esi + 0xe4]
mov edi, dword [eax]
cmp edi, eax
je 0x4192d8
lea ebx, [ebx]
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
jne 0x4192b4
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov edi, dword [edi]
cmp edi, dword [esi + 0xe4]
jne 0x4192a0
jmp 0x4192d8
push eax
call fcn.00443100
mov ecx, eax
call fcn.0043d4f0
cmp eax, ebx
je 0x4192d8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x4c]
cmp dword [esi + 0xf0], ebx
je 0x419454
mov edi, 7
push 0x4c5cec
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
call fcn.004a94d1
add esp, 4
push eax
push 0x4c5cec
lea ecx, [esp + 0x4c]
call fcn.004057c0
push 0x4c5ad4
mov dword [esp + 0x70], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
call fcn.004a94d1
add esp, 4
push eax
push 0x4c5ad4
lea ecx, [esp + 0x14]
call fcn.004057c0
push 0x4c5ce8
mov byte [esp + 0x70], 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.004a94d1
add esp, 4
push eax
push 0x4c5ce8
lea ecx, [esp + 0x30]
call fcn.004057c0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0xf0]
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x78], 2
call fcn.004447e0
push str.mdm.__dispatchEvent
call fcn.004a94d1
add esp, 4
push eax
push str.mdm.__dispatchEvent
lea ecx, [esp + 0x4c]
call fcn.004057c0
push str.AppMinimizeApplicationstatus_z_true
call fcn.004a94d1
add esp, 4
push eax
push str.AppMinimizeApplicationstatus_z_true
lea ecx, [esp + 0x14]
call fcn.004057c0
push 0x4c5938
call fcn.004a94d1
add esp, 4
push eax
push 0x4c5938
lea ecx, [esp + 0x30]
call fcn.004057c0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi + 0xf0]
lea edx, [esp + 0x4c]
push edx
call fcn.004447e0
mov eax, dword [esp + 0x40]
mov esi, 8
cmp eax, esi
jb 0x419414
mov eax, dword [esp + 0x2c]
push eax
call fcn.004a8222
add esp, 4
cmp dword [esp + 0x24], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
jb 0x419434
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004a8222
add esp, 4
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
mov word [esp + 0x10], bx
jb 0x419454
mov edx, dword [esp + 0x48]
push edx
call fcn.004a8222
add esp, 4
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x58]
pop ebx
xor ecx, esp
call fcn.004a8ea5
add esp, 0x64
ret 4