Function at 0x42afa0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bc63
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x487304]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.0042ece7
test al, al
jne 0x42b05e
sub esp, 0x44
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0042e437
mov ecx, edi
call fcn.00427480
test eax, eax
je 0x42b088
mov ecx, dword [edi + 0x3a8]
test ecx, ecx
je 0x42b010
push eax
call fcn.0042dd40
push 0x1fc
lea eax, [ebp - 0x210]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [edi + 4]
add esp, 0xc
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x208], 0x6c
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
xor bl, bl
lea ecx, [ebp + 8]
call fcn.0042e585
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004662d8
mov esp, ebp
pop ebp
ret 0x44
mov eax, dword [edi + 0x2dc]
test eax, eax
je 0x42b05e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42b05e
mov ecx, dword [edi + 0x2e0]
xor bl, bl
mov eax, dword [edi + 0x2d8]
mov esi, dword [edi + 0x2dc]
mov dword [ebp - 0x214], eax
test ecx, ecx
je 0x42b060
push 1
push esi
call fcn.0044704c
mov bh, al
mov bl, bh
test bh, bh
je 0x42b060
mov ecx, dword [edi + 0x3a8]
mov eax, dword [ebp - 0x214]
mov dword [edi + 0x2d4], esi
mov dword [edi + 0x1c], eax
test ecx, ecx
je 0x42b060
push ecx
push 1
lea eax, [ebp + 8]
push eax
push dword [edi + 0x2d8]
call fcn.0042db30
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x280]
call fcn.0042e437
mov esi, dword [edi + 0x2dc]
push 0x104
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x280]
call fcn.0042e701
push eax
lea eax, [ebp - 0x118]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
mov dword [ebp - 0x230], 0x104
lea eax, [ebp - 0x118]
mov dword [ebp - 0x234], 0xb
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x234]
push eax
push 0
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 0
call fcn.0042e585
mov ecx, edi
call fcn.00427ff0
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
call fcn.00403300
mov ecx, eax
test ecx, ecx
je 0x42b2c4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
call fcn.00403300
mov ecx, eax
test ecx, ecx
je 0x42b2c4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x218], eax
mov byte [ebp - 4], 2
lea esi, [edi + 0x2d8]
mov eax, dword [edi + 0x2dc]
lea ecx, [ebp + 8]
mov dword [ebp - 0x224], eax
mov eax, dword [esi]
mov byte [ebp - 0x220], 0
mov dword [ebp - 0x228], eax
call fcn.0042e701
mov edx, eax
test edx, edx
jne 0x42b20e
xor ecx, ecx
jmp 0x42b22d
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x214], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42b220
sub ecx, dword [ebp - 0x214]
push ecx
push edx
lea ecx, [ebp - 0x21c]
call fcn.00408260
lea eax, [ebp - 0x228]
push eax
push esi
lea ecx, [edi + 0x328]
call fcn.0042c2e0
mov ecx, eax
call fcn.00426ab0
mov eax, dword [0x488f5c]
test eax, eax
je 0x42b273
cmp byte [eax + 0x338], 0
je 0x42b273
push dword [edi + 0x2dc]
mov ecx, edi
call fcn.00427cc0
mov ecx, edi
call fcn.0042a860
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x218]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42b29e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov bl, bh
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x42b060
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x42b060
push 0x80004005
call fcn.004030d0
int3