Function at 0x4089f0
Capabilities:
Check os version
Create process on windows
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x44ddac
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4651b0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4651b0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x24c]
mov ebp, dword [esp + 0x248]
mov dword [esp + 0x20], 0
cmp ebx, 0x1000500
jne 0x408d88
call dword [sym.imp.KERNEL32.DLL_GetVersion]
movzx eax, al
cmp eax, 5
jbe 0x408d88
push 0x6a
lea ebx, [esp + 0x28]
call fcn.00403b00
mov dword [esp + 0x240], 0
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x408a84
lea eax, [esp + 0x2c]
push 0x14
push 0x45a5f0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x408d55
lea ebx, [esp + 0x44]
call fcn.00402960
mov byte [esp + 0x240], 1
mov ecx, dword [esp + 0x5c]
lea esi, [ecx - 1]
cmp esi, ecx
jbe 0x408ac2
call fcn.00438e02
mov ecx, dword [esp + 0x5c]
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x408ad1
lea eax, [esp + 0x4c]
cmp word [eax + esi*2], 0x5c
jne 0x408b26
lea eax, [esp + 0x48]
dec ecx
push eax
xor edx, edx
lea esi, [esp + 0x88]
call fcn.00401640
push eax
lea esi, [esp + 0x68]
mov byte [esp + 0x244], 2
call fcn.00401080
mov eax, esi
lea esi, [esp + 0x44]
mov byte [esp + 0x240], 3
call fcn.004014d0
lea ecx, [esp + 0x64]
call fcn.004010f0
lea esi, [esp + 0x84]
call fcn.0040ba00
xor eax, eax
mov word [esp + 0xcc], ax
mov edx, 7
xor ecx, ecx
mov eax, vtable.TString.0
mov dword [esp + 0xe0], edx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xc4], eax
xor esi, esi
mov dword [esp + 0xc0], edx
mov dword [esp + 0xbc], ecx
mov word [esp + 0xac], si
mov dword [esp + 0xa4], eax
mov dword [esp + 0x100], edx
mov dword [esp + 0xfc], ecx
mov word [esp + 0xec], cx
mov dword [esp + 0xe4], eax
lea edx, [esp + 0x48]
mov byte [esp + 0x240], 6
push edx
lea edi, [ecx + 1]
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], 0x5c
call fcn.004040f0
lea edi, [eax + 1]
lea eax, [esp + 0x48]
push eax
mov ecx, edi
xor edx, edx
lea esi, [esp + 0x88]
call fcn.00401640
xor ecx, ecx
mov ebx, 7
mov byte [esp + 0x240], bl
push 0xffffffffffffffff
mov word [esp + 0x70], cx
push ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], 0
call fcn.00401670
mov dword [esp + 0x64], vtable.TString.0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x70]
lea ecx, [esp + 0xd0]
mov byte [esp + 0x248], 8
call fcn.00401670
lea ecx, [esp + 0x64]
call fcn.004010f0
mov byte [esp + 0x240], 6
cmp dword [esp + 0x9c], 8
jb 0x408c46
mov edx, dword [esp + 0x88]
push edx
call fcn.00438e12
add esp, 4
lea eax, [esp + 0x48]
push eax
or ecx, 0xffffffff
mov edx, edi
lea esi, [esp + 0x88]
call fcn.00401640
xor ecx, ecx
mov byte [esp + 0x240], 9
push 0xffffffffffffffff
mov word [esp + 0x70], cx
push ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], 0
call fcn.00401670
mov dword [esp + 0x64], vtable.TString.0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x70]
lea ecx, [esp + 0xb0]
mov byte [esp + 0x248], 0xa
call fcn.00401670
lea ecx, [esp + 0x64]
call fcn.004010f0
cmp dword [esp + 0x9c], 8
jb 0x408cd0
mov edx, dword [esp + 0x88]
push edx
call fcn.00438e12
add esp, 4
mov edx, dword [esp + 0xec]
mov ecx, 8
cmp dword [esp + 0x100], ecx
jae 0x408cec
lea edx, [esp + 0xec]
mov eax, dword [esp + 0xac]
cmp dword [esp + 0xc0], ecx
jae 0x408d03
lea eax, [esp + 0xac]
cmp dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0xcc]
jae 0x408d1a
lea ecx, [esp + 0xcc]
push 0
push 1
push edx
push ecx
call fcn.0040cf70
add esp, 0x10
lea ecx, [esp + 0xe4]
call fcn.004010f0
lea ecx, [esp + 0xa4]
call fcn.004010f0
lea ecx, [esp + 0xc4]
call fcn.004010f0
lea ecx, [esp + 0x44]
call fcn.004010f0
push 0
push 1
push 0x111
push ebp
call dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esp + 0x40], 8
mov dword [esp + 0x24], vtable.TString.0
jb 0x408d81
mov eax, dword [esp + 0x2c]
push eax
call fcn.00438e12
add esp, 4
xor eax, eax
jmp 0x409311
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
push ebp
call esi
push 0
push 0x64
push 0x402
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x3ef
push ebp
call esi
push 0x4681f4
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov edi, dword [0x46821c]
push 0x4681f4
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
test edi, edi
je 0x408e1e
push 0x6b
lea ebx, [esp + 0x28]
call fcn.00403b00
mov eax, dword [esp + 0x2c]
mov ebx, 8
cmp dword [esp + 0x40], ebx
jae 0x408df4
lea eax, [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
push ecx
call edi
mov dword [esp + 0x24], vtable.TString.0
cmp dword [esp + 0x40], ebx
jb 0x408f15
mov edx, dword [esp + 0x2c]
push edx
jmp 0x408f0d
xor eax, eax
mov edi, vtable.TString.0
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov dword [esp + 0x44], edi
mov dword [esp + 0x240], 0xb
test bl, 1
je 0x408e8b
push 0x6c
lea ebx, [esp + 0x28]
call fcn.00403b00
mov byte [esp + 0x240], 0xc
test eax, eax
je 0x408e6a
add eax, 4
jmp 0x408e6c
xor eax, eax
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
call fcn.00401670
cmp dword [esp + 0x40], 8
mov dword [esp + 0x24], edi
jb 0x408ece
mov ecx, dword [esp + 0x2c]
push ecx
jmp 0x408ec6
mov eax, ebx
lea ecx, [esp + 0x24]
call fcn.004037c0
mov byte [esp + 0x240], 0xd
test eax, eax
je 0x408ea7
add eax, 4
jmp 0x408ea9
xor eax, eax
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
call fcn.00401670
cmp dword [esp + 0x40], 8
mov dword [esp + 0x24], edi
jb 0x408ece
mov edx, dword [esp + 0x2c]
push edx
call fcn.00438e12
add esp, 4
mov eax, dword [esp + 0x4c]
mov ebx, 8
cmp dword [esp + 0x60], ebx
jae 0x408ee1
lea eax, [esp + 0x4c]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
mov eax, dword [esp + 0x18]
push eax
call edi
mov dword [esp + 0x240], 0xffffffff
mov dword [esp + 0x44], vtable.TString.0
cmp dword [esp + 0x60], ebx
jb 0x408f15
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00438e12
add esp, 4
push 0x3f0
push ebp
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x65
push ebp
call esi
push 0
push eax
call ebx
push 2
push ebp
call esi
push 0x78
lea ebx, [esp + 0x108]
mov esi, eax
call fcn.00403b00
mov dword [esp + 0x240], 0xe
cmp dword [esp + 0x120], 8
mov eax, dword [esp + 0x10c]
jae 0x408f6a
lea eax, [esp + 0x10c]
push eax
push esi
call edi
push 1
push 0xfffffffffffffff4
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0x24c]
and eax, 1
mov dword [esp + 0x18], eax
je 0x408fa8
lea esi, [esp + 0x24]
call fcn.00403180
cmp dword [eax + 0x18], 0
mov ecx, 1
jbe 0x408fac
mov bl, cl
jmp 0x408fae
mov cl, byte [esp + 0x20]
xor bl, bl
test cl, 1
je 0x408fcf
cmp dword [esp + 0x40], 8
mov dword [esp + 0x24], vtable.TString.0
jb 0x408fcf
mov edx, dword [esp + 0x2c]
push edx
call fcn.00438e12
add esp, 4
test bl, bl
je 0x4091f9
lea esi, [esp + 0x24]
call fcn.00403180
mov ecx, 7
xor edx, edx
xor eax, eax
mov dword [esp + 0x144], ecx
mov dword [esp + 0x140], edx
mov word [esp + 0x130], ax
mov eax, vtable.TString.0
mov dword [esp + 0x164], ecx
mov dword [esp + 0x160], edx
xor ecx, ecx
mov edx, 0x22
mov dword [esp + method.CommandLineParser.virtual_0], vtable.CommandLineParser.0
mov dword [esp + 0x128], eax
mov word [esp + 0x150], cx
mov dword [esp + 0x148], eax
mov word [esp + 0x168], dx
mov byte [esp + 0x240], 0x10
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x409059
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x128]
push eax
call fcn.00401210
lea esi, [esp + 0x84]
lea eax, [esp + 0x124]
call fcn.00401500
lea esi, [esp + 0x44]
lea eax, [esp + 0x124]
mov byte [esp + 0x240], 0x11
call fcn.00401540
lea edi, [esp + 0x16c]
mov byte [esp + 0x240], 0x12
call fcn.004061d0
lea ecx, [esp + 0x84]
push ecx
mov edx, edi
push edx
mov byte [esp + 0x248], 0x13
call fcn.004067e0
mov eax, esi
push eax
mov ecx, edi
push ecx
call fcn.004067e0
push 6
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ebp
call ebx
lea esi, [esp + 0x64]
call fcn.00403010
mov esi, dword [esp + 0x4c]
mov edi, 8
cmp dword [esp + 0x60], edi
jae 0x4090f9
lea esi, [esp + 0x4c]
mov edx, dword [esp + 0x8c]
cmp dword [esp + 0xa0], edi
jae 0x409110
lea edx, [esp + 0x8c]
cmp dword [eax + 0x1c], edi
jb 0x40911a
mov ecx, dword [eax + 8]
jmp 0x40911d
lea ecx, [eax + 8]
push 1
push 0
push esi
push ecx
mov eax, edx
call fcn.0040cf70
add esp, 0x10
mov esi, vtable.TString.0
mov dword [esp + 0x64], esi
cmp dword [esp + 0x80], edi
jb 0x40914c
mov edx, dword [esp + 0x6c]
push edx
call fcn.00438e12
add esp, 4
push 1
push ebp
call ebx
push 9
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esp + 0x16c]
call fcn.004066c0
mov dword [esp + 0x44], esi
cmp dword [esp + 0x60], edi
jb 0x40917d
mov eax, dword [esp + 0x4c]
push eax
call fcn.00438e12
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], cx
mov dword [esp + 0x84], esi
cmp dword [esp + 0xa0], edi
jb 0x4091b2
mov edx, dword [esp + 0x8c]
push edx
call fcn.00438e12
add esp, 4
xor eax, eax
lea ecx, [esp + 0x124]
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], ax
call fcn.004011a0
mov byte [esp + 0x240], 0xe
mov dword [esp + 0x24], esi
cmp dword [esp + 0x40], edi
jb 0x4091f9
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00438e12
add esp, 4
push 0x3eb
push ebp
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push pe_nt_image_headers32
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40925a
cmp dword [esp + 0x1c], 0
jne 0x40925a
cmp dword [esp + 0x18], 0
je 0x40925a
lea esi, [esp + 0x24]
call fcn.00403010
cmp dword [eax + 0x1c], 8
jb 0x40923b
mov eax, dword [eax + 8]
jmp 0x40923e
add eax, 8
push 0xa
push eax
push 0
push 0
push str.open
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x24]
call fcn.004010f0
cmp dword [0x46829c], 0
je 0x4092c9
push 0x6f
lea ebx, [esp + 0x68]
call fcn.00403b00
mov eax, dword [esp + 0x6c]
mov esi, 8
cmp dword [esp + 0x80], esi
jae 0x409284
lea eax, [esp + 0x6c]
mov edx, dword [esp + 0x14]
push eax
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push ebp
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0xc8
push 0
push ebp
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esp + 0x64], vtable.TString.0
cmp dword [esp + 0x80], esi
jb 0x4092e7
mov eax, dword [esp + 0x6c]
push eax
call fcn.00438e12
add esp, 4
jmp 0x4092e7
cmp dword [0x468298], 0
je 0x4092e2
push 0
push 1
push 0x111
push ebp
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.00403730
cmp dword [esp + 0x120], 8
mov dword [esp + method.TString.virtual_0], vtable.TString.0
jb 0x40930c
mov ecx, dword [esp + 0x10c]
push ecx
call fcn.00438e12
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00438b17
add esp, 0x230
ret