Function at 0x4a65f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b681
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x567e00]
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 [0x56d69c]
mov edx, dword [eax + edx*4]
mov eax, dword [0x56d138]
cmp eax, dword [edx + 4]
jg 0x4a6820
cmp byte [0x56d134], 0
jne 0x4a666b
push 0
push 0
mov ecx, esi
call fcn.0045c630
push 0x53
push 0
push 0
push 0
push 0
push 1
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4a6800
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x40], eax
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.004a4d20
test eax, eax
je 0x4a66cd
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
push 0
call fcn.0045c630
push 0x53
push 0
push 0
push 0
push 0
push dword [ebp - 0x44]
push dword [esi + 8]
jmp 0x4a67ac
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x4a66e8
push eax
push eax
mov ecx, esi
call fcn.0045c630
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4a6786
lea edi, [esi + 4]
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x4a671a
call fcn.004c83f5
mov dword [edi + 0x14], eax
test eax, eax
jne 0x4a671a
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
mov dword [esi + 0x44], eax
jmp 0x4a67b2
push 0
push 0
push eax
call fcn.004c84f7
lea ebx, [edi + 8]
test ebx, ebx
je 0x4a68ef
test edi, edi
je 0x4a68ef
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x5673e4
mov dword [ebx + 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x5673fc]
mov dword [ebx + 8], eax
push 0x5673e4
mov dword [0x5673fc], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push 0x4613c0
push dword [ebp - 0x44]
push 0x165
push dword [0x56d9e4]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [esi + 0x44], eax
jmp 0x4a67b2
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 0x4a67a9
push 0xfffffffffffffffe
jmp 0x4a67ab
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 0x4a6800
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a67f6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a67f6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
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.004c6f8b
mov esp, ebp
pop ebp
ret 4
push 0x56d138
call fcn.004c7345
add esp, 4
cmp dword [0x56d138], 0xffffffff
jne 0x4a663d
push 0x14
xor eax, eax
mov dword [ebp - 0x28], 0
push str.UpdateBalloonTopMost
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00403a70
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.004e51c0
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [0x56d134], al
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4a68c2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a68b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4a68b6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
jmp 0x4a68c2
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x56d138
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
call fcn.004c72fb
add esp, 4
jmp 0x4a663d
push 1
push 0xc0000005
call fcn.004116f0
int3