Function at 0x111ae0e0
Capabilities:
Create thread
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d0
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x3bc
lea eax, [ebp - 0x3c0]
push 0
push eax
mov esi, ecx
call sub.MSVCR100.dll_memset
mov ecx, dword [0x1127ab38]
add esp, 0xc
mov dword [ebp - 0x3c0], 0x3bc
mov dword [ebp - 0x3bc], ecx
mov dword [ebp - 0x3b8], 2
mov bl, 1
cmp edi, 7
ja case.0x111ae138.6
jmp dword [edi*4 + 0x111ae4b0]
xor bl, bl
cmp dword [0x1127f778], 0
jne case.0x111ae138.6
push 0
push 1
push 5
mov dword [ebp - 0x3b0], 0x5fd
mov dword [ebp - 0x3b4], 7
call fcn.111bb9f0
add esp, 0xc
test eax, eax
je 0x111ae17b
push 0x47d
jmp 0x111ae180
push 0x455
call fcn.110fe3e0
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x80
push 0x453
mov dword [ebp - 0x3ac], eax
call fcn.111bccb0
add esp, 4
push eax
lea edx, [ebp - 0x3a8]
push edx
call dword [sym.imp.MSVCR100.dll_wcsncpy]
add esp, 0xc
lea eax, [ebp - 0x3c0]
push eax
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
push 0
mov ecx, esi
mov dword [0x1127f778], esi
call fcn.1108a5a0
push eax
call fcn.111b7990
add esp, 8
mov dword [0x1127f77c], eax
test bl, bl
je case.0x111ae138.6
push 0
push 1
call fcn.111adf90
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1127f77c]
test eax, eax
jne 0x111ae213
mov eax, str._null_
mov ecx, dword [0x1127f778]
push eax
push ecx
push str.LC_LOAD___gUI.pLoadCtlConn___x__gUI.pLoadCtlParams__s_n
call fcn.111bd7b0
add esp, 0xc
push str.NSMWControl32
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
je 0x111ae264
push 0
push str.NSMWControl32
call dword [sym.imp.USER32.dll_FindWindowW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
call fcn.111a15e0
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
push 0
push 0xffffffffffffffff
call eax
push str.NSMCloseCtl32
push 0
push 1
lea ecx, [ebp - 0x3cc]
push ecx
mov dword [ebp - 0x3cc], 0xc
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], 1
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [0x1127b21c]
mov dword [0x1127f780], eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x90]
push 0
push 0
call eax
lea ecx, [ebp - 0x3d0]
push ecx
push 0
push 0
push 0x111a1490
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
xor ebx, ebx
cmp esi, ebx
je 0x111ae310
cmp dword [0x1127f778], esi
jne case.0x111ae138.6
call fcn.111a15e0
cmp dword [0x1127f778], ebx
je 0x111ae32f
cmp esi, ebx
je 0x111ae32f
push 0x454
push ebx
call fcn.111adf90
add esp, 8
mov eax, dword [0x1127f780]
cmp eax, ebx
je 0x111ae33f
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [0x1127f780], ebx
cmp edi, 2
je case.0x111ae138.6
lea edx, [ebp - 0x3c0]
push edx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov eax, dword [0x1127f77c]
push eax
mov dword [0x1127f778], ebx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
pop esi
mov dword [0x1127f77c], ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
cmp dword [0x1127f778], 0
je 0x111ae39f
push 0x457
push 0
call fcn.111adf90
add esp, 8
mov eax, dword [0x1127f780]
test eax, eax
je 0x111ae3af
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push 1
push 5
mov dword [ebp - 0x3b0], 0
mov dword [ebp - 0x3b4], 7
call fcn.111bb9f0
add esp, 0xc
test eax, eax
je 0x111ae3dc
push 0x47e
jmp 0x111ae3e1
push 0x458
call fcn.110fe3e0
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x80
push 0x457
mov dword [ebp - 0x3ac], eax
call fcn.111bccb0
add esp, 4
push eax
lea ecx, [ebp - 0x3a8]
push ecx
call dword [sym.imp.MSVCR100.dll_wcsncpy]
add esp, 0xc
lea edx, [ebp - 0x3c0]
push edx
jmp 0x111ae496
push 0
push 1
call fcn.111adf90
push 0
push 1
push 5
mov dword [ebp - 0x3b0], 0x5fd
mov dword [ebp - 0x3b4], 7
call fcn.111bb9f0
add esp, 0x14
test eax, eax
je 0x111ae455
push 0x47d
jmp 0x111ae45a
push 0x455
call fcn.110fe3e0
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x80
push 0x453
mov dword [ebp - 0x3ac], eax
call fcn.111bccb0
add esp, 4
push eax
lea eax, [ebp - 0x3a8]
push eax
call dword [sym.imp.MSVCR100.dll_wcsncpy]
add esp, 0xc
lea ecx, [ebp - 0x3c0]
push ecx
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret