Function at 0x409770
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d9f08
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x64106c]
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 dword [ebp - 0x54], esi
mov edx, esi
lea eax, [esi + 0x3a0]
neg edx
sbb edx, edx
and edx, eax
push edx
push ecx
call fcn.00451dc0
add esp, 4
mov ecx, eax
call fcn.00451a00
push 0
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00403670
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
cmp eax, 2
jne 0x4098db
call fcn.00403670
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea ecx, [ebp - 0x60]
call fcn.00404eb0
mov dword [ebp - 4], 0
mov eax, 0x1b4e81b5
mov ecx, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x60]
sub ecx, ebx
imul ecx
mov dword [ebp - 0x44], 0
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x4c], eax
je 0x4098cc
mov eax, 0xffffff1c
lea ecx, [esi + 4]
sub eax, ebx
mov dword [ebp - 0x50], ecx
lea esi, [ebx + 0xe4]
mov dword [ebp - 0x48], eax
nop dword [eax]
cmp dword [esi + 0x14], 8
jb 0x40984a
mov edi, dword [esi]
jmp 0x40984c
mov edi, esi
push 0xffffffffffffffff
push edi
call fcn.004ce1e5
mov ebx, eax
test ebx, ebx
je 0x40989b
mov edx, dword [ebx]
mov ecx, ebx
push str.check
call dword [edx + 4]
test eax, eax
je 0x40989b
mov ecx, ebx
call fcn.004cf416
mov dword [esi - 4], eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x60]
mov byte [eax + esi + 0xfc], 1
call fcn.00403670
mov ebx, dword [ebp - 0x44]
lea ecx, [esi - 0xe4]
push ebx
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
jmp 0x4098b3
push 0xffffffffffffffff
push edi
push str.check
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
call fcn.00401a70
mov ebx, dword [ebp - 0x44]
add esp, 0x10
mov ecx, dword [ebp - 0x50]
inc ebx
add esi, 0x12c
mov dword [ebp - 0x44], ebx
cmp ebx, dword [ebp - 0x4c]
jb 0x409840
mov esi, dword [ebp - 0x54]
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.00405870
call fcn.00403670
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push 1
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0x61e670
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00405a70
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0x12
xor eax, eax
mov dword [ebp - 0x14], 7
push str.IS_INSTALL_SUCCESS
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00405a70
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0044e6f0
mov ecx, eax
call fcn.0044e570
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x409961
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00406d90
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x40998a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00406d90
push 0
push 0xf060
push 0x112
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_SendMessageW]
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.004c2233
mov esp, ebp
pop ebp
ret