Function at 0x409380
Capabilities:
Enumerate gui resources
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c6a4
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x48b088]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x48d4e4]
add esi, 0x10
mov dword [ebp - 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x48d56c]
lea eax, [ebp - 0x10]
push eax
call fcn.00409ec0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x4093ea
lea ecx, [ebx + 0x24]
mov dword [ebp - 0x10], ecx
jmp 0x4093f1
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0x10]
call fcn.00409e20
lea esi, [ebx + 0x44]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x409427
push 0x410
push 0
push esi
call fcn.00434d70
add esp, 0xc
mov ecx, esi
call fcn.004095c0
jmp 0x409429
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, ebx
mov dword [ebx + 0x40], eax
call fcn.00409960
push 3
push 0
push 0
push 0
push 6
call fcn.00423a70
add esp, 0x14
test eax, eax
movzx eax, word [ebx + 0x3e]
push eax
je 0x40945d
call dword [sym.imp.KERNEL32.dll_SetThreadUILanguage]
jmp 0x409463
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
push str.Globalunchecky_svc
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov ecx, dword [ebx + 0x40]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ecx], eax
mov eax, dword [ebx + 0x40]
cmp dword [eax], 0
jne 0x409492
call edi
test eax, eax
jne 0x4095a2
mov ecx, dword [ebx + 0x40]
add ecx, 4
call fcn.00409f10
test eax, eax
jne 0x4095a2
mov esi, dword [ebx + 0x40]
mov dword [ebp - 0x1c], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
push 8
lea eax, [ebp - 0x1c]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4094d5
call edi
jmp 0x4094dd
lea ecx, [esi + 4]
call fcn.0040a090
test eax, eax
jne 0x4095a2
mov ecx, dword [ebx + 0x40]
lea eax, [ecx + 4]
add ecx, 0x3d0
push eax
call fcn.00413270
test eax, eax
jne 0x4095a2
cmp byte [ebx + 0x3d], al
jne 0x409531
mov esi, dword [ebx + 0x40]
push 2
push eax
push eax
push 0x404860
push eax
push 0x800e
push 0x800c
call dword [sym.imp.USER32.dll_SetWinEventHook]
mov dword [esi + 0x400], eax
test eax, eax
jne 0x409531
call edi
test eax, eax
jne 0x4095a2
mov eax, dword [ebx + 0x40]
add eax, 0x3d0
push eax
push 0x413380
call dword [sym.imp.USER32.dll_EnumWindows]
push ecx
mov ecx, dword [ebx + 0x40]
push dword [ebx + 4]
add ecx, 8
call fcn.0040bbd0
mov edi, dword [ebx + 0x40]
xor eax, eax
mov esi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
add edi, 8
cmp byte [ebx + 0x3c], al
push edi
sete al
push 0
mov dword [edi + 0x118], eax
mov dword [edi + 0x11c], 1
call esi
push edi
push 4
mov dword [edi + 0x320], 3
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebx + 0x38], eax
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4