Function at 0x40b140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b6617
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [eax], vtable.NotifyIconWindow.0
mov dword [eax + 8], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0x44d270
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call esi
mov dword [ebp - 0x28], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], 0x4db278
push eax
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
push 0
movzx edi, ax
call esi
push eax
push 0
push 0
push closesocket
push closesocket
push closesocket
push closesocket
push 0
push str.NotifyIconWindowTitle
push edi
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [ebp - 0x10]
push dword [edi + 8]
mov dword [edi + 4], eax
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov bl, byte [ebp + 0x14]
lea esi, [edi + 0xc]
push 0x3b8
push 0
push esi
mov dword [edi], vtable.NotifyIcon.0
mov dword [edi + 0x3c4], 0
mov byte [edi + 0x3c8], bl
call fcn.00499220
add esp, 0xc
mov dword [esi], 0x3a8
test bl, bl
je 0x40b259
mov eax, dword [edi + 4]
push esi
push 0
mov dword [edi + 0x18], 1
mov dword [edi + 0x10], eax
mov dword [edi + 0x1c], 0x401
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov byte [edi + 0x3c8], 1
mov dword [ebp - 4], 0
mov dword [edi + method.WindowProcHolder.virtual_0], vtable.WindowProcHolder.0
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x3d0], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x3d4], eax
mov eax, dword [ebp + 8]
mov dword [edi], vtable.ControlTrayIcon.0
mov dword [edi + method.ControlTrayIcon.1.virtual_0], vtable.ControlTrayIcon.1.0
mov dword [edi + 0x3e4], eax
mov dword [edi + 0x3f0], 0
mov dword [edi + 0x3f4], 0x7d
mov dword [edi + 0x3f8], 0x4db25c
mov dword [edi + 0x3fc], 0
mov dword [edi + 0x404], 0
mov dword [edi + 0x40c], 0
mov dword [edi + 0x3ec], 0x4cd8b4
lea eax, [edi + 0x410]
mov dword [ebp + 0x14], eax
add eax, 4
mov dword [ebp + 0x14], eax
lea esi, [eax + 4]
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00403ad0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cd35c
push ecx
call fcn.0049af00
add esp, 0xc
lea eax, [edi + 0x428]
mov dword [edi + 0x424], 0x4cd520
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ecx
mov byte [ebp - 4], 5
lea ecx, [edi + 0x454]
mov byte [edi + 0x450], 0
call fcn.0041de80
mov byte [ebp - 4], 6
mov ecx, 0x4fb5c8
mov byte [edi + 0x45c], 0
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov ecx, 0x4fb5c8
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov byte [ebp - 4], 6
mov ebx, dword [0x4fed18]
push 0xc
call fcn.00497cd4
add esp, 4
mov esi, eax
mov dword [ebp + 0x14], esi
mov edi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x75
push dword [ebx + 4]
call edi
mov dword [esi], vtable.Icon.0
mov dword [esi + 4], eax
mov byte [esi + 8], 1
mov eax, dword [ebp - 0x10]
push 0xc
mov dword [eax + 0x3d8], esi
call fcn.00497cd4
add esp, 4
mov esi, eax
mov dword [ebp + 0x14], esi
push 0x73
push dword [ebx + 4]
call edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esi], vtable.Icon.0
mov byte [esi + 8], 1
push 0xc
mov dword [eax + 0x3dc], esi
call fcn.00497cd4
add esp, 4
mov esi, eax
mov dword [ebp + 0x14], esi
push 0x77
push dword [ebx + 4]
call edi
mov ebx, dword [ebp - 0x10]
mov dword [esi + 4], eax
mov dword [esi], vtable.Icon.0
mov byte [esi + 8], 1
lea eax, [ebx + 0x3cc]
mov dword [ebx + 0x3e0], esi
push eax
push 0xffffffffffffffeb
push dword [ebx + 4]
mov dword [ebx + 8], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 8
call fcn.00497cd4
mov dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x3e4]
push 8
mov dword [eax], vtable.UpdateRemoteConfigCommand.0
mov dword [eax + 4], ecx
mov dword [ebx + 0x440], eax
call fcn.00497cd4
mov dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x3e4]
push 0xc
mov dword [eax], vtable.UpdateLocalConfigCommand.0
mov dword [eax + 4], ecx
mov dword [ebx + 0x444], eax
call fcn.00497cd4
mov esi, eax
add esp, 0xc
mov dword [ebp + 0x14], esi
mov byte [ebp - 4], 9
lea edi, [esi + 4]
push 0
mov dword [esi], vtable.MacroCommand.0
push 0
mov dword [ebp + 0xc], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0040c210
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x14]
mov dword [edi], eax
mov eax, dword [ebx + 0x440]
mov dword [ebx + 0x448], esi
mov esi, dword [edi]
push ecx
mov dword [ebp + 0x14], eax
mov eax, dword [esi + 4]
push eax
push esi
mov dword [ebp + 0xc], eax
call fcn.0040dbc0
mov edx, eax
mov ecx, 0x15555554
mov eax, dword [edi + 4]
sub ecx, eax
cmp ecx, 1
jb 0x40b632
inc eax
mov dword [edi + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], edx
push 0x10
mov dword [eax], edx
call fcn.00497cd4
mov dword [ebp + 0x14], eax
mov edx, dword [ebx + 0x3d0]
mov ecx, dword [ebx + 0x448]
mov dword [eax], vtable.ControlCommand.0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov byte [eax + 0xc], 0
push 0x5e4
mov dword [ebx + 0x44c], eax
call fcn.00497cd4
mov esi, eax
add esp, 8
mov dword [ebp + 0x14], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0x6b
mov dword [esi + 0xc], vtable.Control.0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov dword [esi], vtable.ConfigDialog.0
mov dword [esi + 0x24], vtable.Control.0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], vtable.TabControl.0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
lea ecx, [esi + 0x4c]
call fcn.004230d0
lea ecx, [esi + 0x230]
call fcn.004251c0
lea ecx, [esi + 0x280]
mov byte [ebp - 4], 0xf
call fcn.00425a40
lea ecx, [esi + 0x3a0]
mov byte [ebp - 4], 0x10
call fcn.00428170
lea ecx, [esi + 0x558]
call fcn.00427160
mov byte [esi + 0x5d8], 0
mov ecx, esi
mov dword [esi + 0x5dc], 0
mov dword [esi + 0x5e0], 0
mov byte [ebp - 4], 6
mov eax, dword [ebx + 0x44c]
mov dword [ebx + 0x3e8], esi
mov dword [esi + 0x5dc], eax
call fcn.00422fd0
mov ecx, ebx
call fcn.0040c140
mov ecx, ebx
call fcn.0040bfa0
push 0x4cd6f8
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [0x4fed20], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push str.list_T__too_long
call fcn.004987b6
int3