Function at 0x4038e0
Capabilities:
Check os version
Hide graphical window

Disassembly:
jmp 0x407580
push 0xffffffffffffffff
push 0x4d6308
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4d8754
mov dword [esp + 0x34], 3
call fcn.00419cf0
mov ecx, esi
call fcn.0041bba0
mov eax, dword [esi + 0x844]
test eax, eax
je 0x4075d6
lea eax, [esi + 0x20c]
push eax
push 0x4fb718
call dword [sym.imp.kernel32.dll_lstrcpy]
push ebx
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push ebp
xor edi, edi
mov ebp, 0x20
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x14]
push ecx
push edi
push 0x1019
push edx
mov dword [esp + 0x24], ebp
call ebx
test eax, eax
je 0x407611
push edi
mov ecx, esi
call fcn.00416430
mov ecx, dword [esp + 0x30]
mov dword [eax*4 + 0x4fb890], ecx
inc edi
cmp edi, 6
jl 0x4075e5
mov al, byte [0x4fbcf1]
test al, al
jne 0x40762f
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x14b
push edx
call ebx
mov eax, dword [0x4ee264]
mov ecx, dword [esi + 0x20]
push 0x4ee498
push eax
push 0x400
push 0
push 0
push ecx
call fcn.00445320
mov edx, dword [esi + 8]
add esp, 0x18
push edx
call dword [sym.imp.user32.dll_IsWindow]
test eax, eax
je 0x407673
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.user32.dll_ShowWindow]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.user32.dll_DestroyWindow]
mov eax, dword [esi + 0x5c]
mov edi, dword [sym.imp.comctl32.dll_ImageList_Destroy]
test eax, eax
je 0x407683
push eax
call edi
mov eax, dword [esi + 0x58]
test eax, eax
je 0x40768d
push eax
call edi
mov eax, dword [esi + 0x68]
test eax, eax
je 0x407697
push eax
call edi
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4076a5
push eax
call dword [sym.imp.user32.dll_DestroyCursor]
mov edx, dword [esi + 0x6c]
push edx
call dword [sym.imp.gdi32.dll_DeleteObject]
mov eax, dword [esi + 0xb0]
mov edi, dword [sym.imp.user32.dll_DestroyCursor_1]
push eax
call edi
mov ecx, dword [esi + 0xac]
push ecx
call edi
mov eax, dword [esi + 0xbc]
mov ebp, dword [sym.imp.kernel32.dll_SetEvent]
mov ebx, dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov edi, dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
je 0x40770a
mov edx, dword [esi + 0xb4]
push edx
call ebp
mov eax, dword [esi + 0xbc]
push 0xffffffffffffffff
push eax
call ebx
mov ecx, dword [esi + 0xbc]
push ecx
call edi
mov dword [esi + 0xbc], 0
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x40773b
mov edx, dword [esi + 0xb8]
push edx
call ebp
mov eax, dword [esi + 0xc0]
push 0xffffffffffffffff
push eax
call ebx
mov ecx, dword [esi + 0xc0]
push ecx
call edi
mov dword [esi + 0xc0], 0
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x407748
push eax
call edi
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x407755
push eax
call edi
mov eax, dword [esi + 0xcc]
test eax, eax
je 0x407762
push eax
call edi
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x40776f
push eax
call edi
mov eax, dword [esi + 0x204]
test eax, eax
je 0x40777f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, esi
call fcn.0041ba40
mov ecx, dword [esi + 0x208]
test ecx, ecx
je 0x407796
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esi + 0x4dc]
mov byte [esp + 0x3c], 2
call fcn.00423490
lea ecx, [esi + 0x490]
mov byte [esp + 0x3c], 1
call fcn.0041e630
mov eax, dword [esi + 0x480]
mov ebx, 0x4d86f4
test eax, eax
mov byte [esp + 0x3c], 0
mov dword [esi + 0x470], ebx
je 0x407805
mov eax, dword [esi + 0x478]
xor edi, edi
test eax, eax
jle 0x407805
cmp edi, eax
jge 0x4077ef
test edi, edi
jl 0x4077ef
mov ecx, dword [esi + 0x474]
mov eax, dword [ecx + edi*4]
jmp 0x4077f1
xor eax, eax
push eax
call fcn.004c7e56
mov eax, dword [esi + 0x478]
add esp, 4
inc edi
cmp edi, eax
jl 0x4077e0
mov eax, dword [esi + 0x474]
push eax
call fcn.004c7e56
mov eax, dword [esi + 0x464]
add esp, 4
mov dword [esi + 0x454], ebx
mov dword [esp + 0x3c], 0xffffffff
pop ebp
pop ebx
test eax, eax
je 0x407863
mov eax, dword [esi + 0x45c]
xor edi, edi
test eax, eax
jle 0x407863
cmp edi, eax
jge 0x40784d
test edi, edi
jl 0x40784d
mov edx, dword [esi + 0x458]
mov eax, dword [edx + edi*4]
jmp 0x40784f
xor eax, eax
push eax
call fcn.004c7e56
mov eax, dword [esi + 0x45c]
add esp, 4
inc edi
cmp edi, eax
jl 0x40783e
mov eax, dword [esi + 0x458]
push eax
call fcn.004c7e56
mov ecx, dword [esp + 0x30]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x30
ret