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

Disassembly:
push 0xffffffffffffffff
push 0x4c3288
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 0x418e36
mov ecx, dword [esi + 0xf0]
cmp ecx, ebx
je 0x418e36
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 0x418da9
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 0x418dc3
mov eax, dword [esi + 0x6b8]
jmp 0x418dc9
lea eax, [esi + 0x6b8]
push 0x80
push eax
lea eax, [esi + 0x324]
push eax
call fcn.004a9496
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 0x418e0f
push ebx
push 0x4c79d0
push str.Unable_to_Set_Tray_Icon
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x418e88
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 0x418e88
mov eax, dword [esp + 0x74]
cmp eax, ebx
jne 0x418e70
mov eax, dword [esi + 0xe4]
mov edi, dword [eax]
cmp edi, eax
je 0x418e88
lea ebx, [ebx]
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
call dword [edx + 4]
test eax, eax
jne 0x418e64
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov edi, dword [edi]
cmp edi, dword [esi + 0xe4]
jne 0x418e50
jmp 0x418e88
push eax
call fcn.00442c30
mov ecx, eax
call fcn.0043d020
cmp eax, ebx
je 0x418e88
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x4c]
cmp dword [esi + 0xf0], ebx
je 0x419004
mov edi, 7
push 0x4c5cd4
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
call fcn.004a9141
add esp, 4
push eax
push 0x4c5cd4
lea ecx, [esp + 0x4c]
call fcn.00405640
push 0x4c5abc
mov dword [esp + 0x70], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
call fcn.004a9141
add esp, 4
push eax
push 0x4c5abc
lea ecx, [esp + 0x14]
call fcn.00405640
push 0x4c5cd0
mov byte [esp + 0x70], 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
call fcn.004a9141
add esp, 4
push eax
push 0x4c5cd0
lea ecx, [esp + 0x30]
call fcn.00405640
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.00444310
push str.mdm.__dispatchEvent
call fcn.004a9141
add esp, 4
push eax
push str.mdm.__dispatchEvent
lea ecx, [esp + 0x4c]
call fcn.00405640
push str.AppMinimizeApplicationstatus_z_true
call fcn.004a9141
add esp, 4
push eax
push str.AppMinimizeApplicationstatus_z_true
lea ecx, [esp + 0x14]
call fcn.00405640
push 0x4c591c
call fcn.004a9141
add esp, 4
push eax
push 0x4c591c
lea ecx, [esp + 0x30]
call fcn.00405640
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.00444310
mov eax, dword [esp + 0x40]
mov esi, 8
cmp eax, esi
jb 0x418fc4
mov eax, dword [esp + 0x2c]
push eax
call fcn.004a7e92
add esp, 4
cmp dword [esp + 0x24], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
jb 0x418fe4
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004a7e92
add esp, 4
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
mov word [esp + 0x10], bx
jb 0x419004
mov edx, dword [esp + 0x48]
push edx
call fcn.004a7e92
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.004a8b15
add esp, 0x64
ret 4