Function at 0x4038a8
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x414a54
call fcn.0040a32c
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
mov esi, ecx
je 0x403b2b
cmp eax, 5
jne 0x4039b6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.00405bc9
cmp eax, ebx
je 0x403afc
cmp dword [ebp - 0x10], ebx
ja 0x403afc
jb 0x4038ff
cmp dword [ebp - 0x14], 0x100000
jae 0x403afc
mov edi, 0x4181e0
lea ecx, [ebp - 0x20]
push edi
mov dword [esi + 0x4e4], 0xa
call fcn.0040102d
mov dword [ebp - 4], ebx
lea ebx, [esi + 0x254]
push eax
mov ecx, ebx
call fcn.004010c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004010b2
push edi
lea ecx, [ebp - 0x20]
call fcn.0040102d
lea edi, [esi + 0x260]
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.004010c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004010b2
mov ecx, edi
call fcn.0040117d
cmp eax, 0x40
ja 0x4039a2
cmp byte [esi + 0x23e], 0
je 0x4039a2
mov ecx, edi
mov dword [esi + 0x284], 7
call fcn.00401170
push eax
lea eax, [esi + 0x290]
push eax
call fcn.00409ab0
pop ecx
lea eax, [esi + 0x278]
pop ecx
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov ecx, ebx
call fcn.00401170
push eax
mov ecx, esi
call fcn.00404fe5
jmp 0x403b06
cdq
push edx
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
mov dword [ebp - 0x10], edx
call fcn.00404a63
mov ebx, eax
mov edi, 0x4181cc
lea ecx, [ebp - 0x2c]
push edi
mov dword [ebp - 4], 2
call fcn.0040102d
push ebx
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
call fcn.00401451
add esp, 0xc
lea ebx, [esi + 0x254]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.004010c2
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004010b2
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.004010b2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004010b2
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
mov ecx, esi
push dword [ebp - 0x14]
push eax
call fcn.00404a63
mov dword [ebp + 0xc], eax
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 5
call fcn.0040102d
push dword [ebp + 0xc]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00401451
add esp, 0xc
lea edi, [esi + 0x260]
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.004010c2
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.004010b2
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004010b2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004010b2
mov ecx, edi
call fcn.0040117d
cmp eax, 0x40
ja 0x403adb
cmp byte [esi + 0x23e], 0
je 0x403adb
mov ecx, edi
mov dword [esi + 0x284], 7
call fcn.00401170
push eax
lea eax, [esi + 0x290]
push eax
call fcn.00409ab0
pop ecx
lea eax, [esi + 0x278]
pop ecx
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov ecx, ebx
call fcn.00401170
push eax
mov ecx, esi
call fcn.00404fe5
push dword [esi + 0x210]
push dword [esi + 0x4f0]
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0x4e4], 7
mov ecx, esi
call fcn.00405ac8
push 0
push 0x3e8
push dword [esi + 0x214]
push dword [esi + 0x4f0]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x403ca1
push dword [esi + 0x464]
mov ecx, esi
mov byte [esi + 0x46c], 1
push dword [esi + 0x460]
call fcn.00404abf
lea ebx, [esi + 0x254]
mov edi, 0x4181c0
push edi
mov ecx, ebx
call fcn.00401109
mov ecx, ebx
call fcn.00401170
push eax
mov ecx, esi
call fcn.00404fe5
lea ebx, [esi + 0x260]
push edi
mov ecx, ebx
call fcn.00401109
mov ecx, ebx
call fcn.0040117d
cmp eax, 0x40
ja 0x403bb9
cmp byte [esi + 0x23e], 0
je 0x403bc0
mov ecx, ebx
mov dword [esi + 0x284], 7
call fcn.00401170
push eax
lea eax, [esi + 0x290]
push eax
call fcn.00409ab0
pop ecx
lea eax, [esi + 0x278]
pop ecx
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
cmp byte [esi + 0x23e], 0
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x403c3c
push str.Shell32.dll
mov ecx, esi
call fcn.00403cb2
test eax, eax
je 0x403c32
lea eax, [esi + 0x318]
push edi
push eax
mov dword [esi + 0x278], 0x1e8
mov dword [esi + 0x284], 0x10
mov dword [esi + 0x418], 4
mov dword [esi + 0x45c], 1
call fcn.00409ab0
lea eax, [esi + 0x41c]
push 0x4181a8
push eax
call fcn.00409ab0
add esp, 0x10
lea eax, [esi + 0x278]
push eax
push 1
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
jmp 0x403c3c
push 5
push dword [esi + 0x4f0]
call ebx
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x3fa
push dword [esi + 0x4f0]
call edi
push eax
call ebx
push 5
push 0x400
push dword [esi + 0x4f0]
call edi
push eax
call ebx
mov eax, dword [esi + 0x468]
test eax, eax
je 0x403c79
mov al, byte [eax + 4]
mov byte [esi + 0x242], al
cmp byte [esi + 0x242], 0
je 0x403ca1
push 0
push 0xf020
push 0x112
push dword [esi + 0x4f0]
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, esi
call fcn.00404d50
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8