Function at 0x4a06d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e7c1c
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x53d9f8]
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 esi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x5421c0]
mov edx, dword [eax + edx*4]
mov eax, dword [0x541bf4]
cmp eax, dword [edx + 4]
jg 0x4a08fd
cmp byte [0x541bf0], 0
jne 0x4a074b
push 0
push 0
mov ecx, esi
call fcn.00459520
push 0x53
push 0
push 0
push 0
push 0
push 1
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4a08dd
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0049ee00
test eax, eax
je 0x4a07aa
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
push 0
call fcn.00459520
push 0x53
push 0
push 0
push 0
push 0
push dword [ebp - 0x44]
push dword [esi + 8]
jmp 0x4a0889
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x4a07c5
push eax
push eax
mov ecx, esi
call fcn.00459520
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4a0863
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea edi, [esi + 4]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x4a07f7
call fcn.004c04b8
mov dword [edi + 0x14], eax
test eax, eax
jne 0x4a07f7
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
mov dword [esi + 0x44], eax
jmp 0x4a088f
push 0
push 0
push eax
call fcn.004c05ba
lea ebx, [edi + 8]
test ebx, ebx
je 0x4a09c5
test edi, edi
je 0x4a09c5
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x53d104
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x53d11c]
mov dword [ebx + 8], eax
push 0x53d104
mov dword [0x53d11c], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x45e150
push dword [ebp - 0x44]
push 0x165
push dword [0x542504]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [esi + 0x44], eax
jmp 0x4a088f
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x48], 0
mov eax, dword [esi + 8]
push 0x53
push 0
push 0
push 0
push 0
je 0x4a0886
push 0xfffffffffffffffe
jmp 0x4a0888
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0xea60
push 4
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4a08dd
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a08d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a08d3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
xor eax, eax
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.004bee49
mov esp, ebp
pop ebp
ret 4
push 0x541bf4
call fcn.004bf206
add esp, 4
cmp dword [0x541bf4], 0xffffffff
jne 0x4a071d
push 0x14
xor eax, eax
mov dword [ebp - 4], 0
push str.UpdateBalloonTopMost
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004033b0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.004d8860
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [0x541bf0], al
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4a0998
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a098c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a098c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004bee2d
add esp, 8
jmp 0x4a0998
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x541bf4
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
call fcn.004bf1bc
add esp, 4
jmp 0x4a071d
push 1
push 0xc0000005
call fcn.00411d10
int3