Function at 0x4038a5
Capabilities:
Accept command line arguments
Create process on windows
Get file size
Hide graphical window
Read file on windows
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44d2ba
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x45e0a0]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x45e0a0]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
push dword [ebp + 0xc]
mov ebx, ecx
push dword [ebp + 8]
call fcn.00415b80
mov dword [esp + 0x44], eax
call fcn.00408e53
test eax, eax
je 0x403a0d
lea eax, [esp + 0x1c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
xor edi, edi
test eax, eax
je 0x403a0f
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x20]
push eax
push 0x12
push dword [esp + 0x2c]
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x403a0f
cmp dword [esp + 0x18], 3
jne 0x403a0f
mov edi, dword [esp + 0x1c]
call fcn.0040485a
test eax, eax
je 0x403a0d
mov eax, dword [0x45fb34]
and dword [esp + 0x10], 0
mov ecx, 0x45fb34
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
and dword [esp + 0xc0], 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
test ebx, ebx
je 0x4039c8
xor edi, edi
inc edi
cmp dword [esp + 0x10], edi
jle 0x4039c1
push dword [ebx + edi*4]
lea ecx, [esp + 0x20]
push 0x452d74
call fcn.00404f2a
inc edi
cmp edi, dword [esp + 0x18]
pop ecx
pop ecx
jl 0x4039a3
mov esi, dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call fcn.004047f1
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [esi - 0x10]
call fcn.00402f9a
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.004347e5
mov esp, ebp
pop ebp
ret 8
xor edi, edi
fldz
mov dword [esp + 0x3c], edi
fstp qword [esp + 0x34]
mov dword [esp + 0xc0], 1
lea esi, [esp + 0x2c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
call fcn.00426770
push edi
push 0x80
push 3
push edi
push 1
push closesocket
mov byte [esp + 0xd8], 2
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x24], esi
je 0x403ca7
push edi
push esi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x3e
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x72]
push edi
push eax
mov word [esp + 0x78], di
call fcn.00434800
add esp, 0xc
push edi
lea eax, [esp + 0x24]
push eax
push 0x40
lea eax, [esp + 0x78]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
call esi
test eax, eax
je 0x403c97
mov eax, dword [esp + 0xa8]
push edi
push edi
add eax, 0xfffffffc
push eax
push dword [esp + 0x30]
mov dword [esp + 0x38], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [esp + 0x24]
push eax
push 4
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x34]
call esi
test eax, eax
je 0x403c97
mov eax, dword [esp + 0x28]
cmp eax, edi
jbe 0x403c97
cmp eax, dword [esp + 0x18]
jae 0x403c97
push edi
push edi
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [esp + 0x24]
push eax
push 4
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x403c97
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x28]
cmp dword [esp + 0x10], eax
jae 0x403c97
push dword [esp + 0x10]
call fcn.004343c0
pop ecx
push edi
lea ecx, [esp + 0x24]
push ecx
push dword [esp + 0x18]
mov dword [esp + 0x24], eax
push eax
push dword [esp + 0x34]
call esi
test eax, eax
je 0x403c97
mov ecx, dword [esp + 0x18]
lea esi, [esp + 0x34]
call fcn.00427e00
test al, al
je 0x403c97
mov esi, str.mode
mov ecx, esi
lea edx, [esp + 0x34]
call fcn.00427ac0
test al, al
je 0x403ba2
push esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], 1
call fcn.00427700
mov ecx, eax
call fcn.00427410
mov dword [ebx + 0xe84], eax
mov esi, str.channel
mov ecx, esi
lea edx, [esp + 0x34]
call fcn.00427ac0
test al, al
je 0x403bcd
push esi
lea ecx, [esp + 0x38]
call fcn.00427700
mov ecx, eax
call fcn.00427410
mov dword [ebx + 0xe38], eax
mov esi, str.quiet
mov ecx, esi
lea edx, [esp + 0x34]
call fcn.00427ac0
test al, al
je 0x403bf7
push esi
lea ecx, [esp + 0x38]
call fcn.00427700
call fcn.004274e0
movzx eax, al
mov dword [esp + 0x1c], eax
call fcn.0042e920
cmp eax, 1
lea edx, [esp + 0x34]
mov esi, str.ituneslite64
je 0x403c0f
mov esi, str.ituneslite32
mov ecx, esi
call fcn.00427ac0
test al, al
je 0x403c32
push esi
lea ecx, [esp + 0x38]
call fcn.00427700
call fcn.004274e0
movzx eax, al
mov dword [ebx + 0x8a0], eax
mov esi, 0x452db4
mov ecx, esi
lea edx, [esp + 0x34]
call fcn.00427ac0
test al, al
je 0x403c97
lea eax, [esp + 0x4c]
push eax
call fcn.0042d1c0
push esi
lea ecx, [esp + 0x38]
mov byte [esp + 0xc4], 3
call fcn.00427700
call fcn.00427590
push 0xfde9
push eax
lea eax, [esp + 0x54]
push eax
call fcn.0042c640
push eax
lea eax, [ebx + 0x8b0]
push eax
call fcn.004031ed
lea edi, [esp + 0x4c]
mov byte [esp + 0xc0], 2
call fcn.0042c530
xor edi, edi
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], edi
jne 0x403ce8
push 0x10
push edi
push 0x452db8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.00402f9a
or dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.00427210
jmp 0x4039e5
cmp dword [ebx + 0xe84], edi
jne 0x403e30
mov eax, dword [0x45fb34]
mov ecx, 0x45fb34
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea esi, [esp + 0x18]
mov byte [esp + 0xc0], 4
call fcn.00426680
mov byte [esp + 0xc0], 5
push dword [eax]
lea eax, [esp + 0x18]
push 0x452dd8
push eax
call fcn.00402dc0
mov byte [esp + 0xcc], 4
mov eax, dword [esp + 0x24]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00402f9a
mov esi, dword [esp + 0x14]
push esi
push dword [esp + 0x30]
call fcn.004350dd
test eax, eax
pop ecx
pop ecx
je 0x403e20
push dword [esp + 0x2c]
mov ebx, esi
call fcn.004267f0
pop ecx
call fcn.00408e53
test eax, eax
je 0x403dd0
push 0x3c
pop edi
push edi
xor ebx, ebx
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.00434800
mov eax, 0x453370
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
add esp, 0xc
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], str.runas
mov dword [esp + 0x80], esi
mov dword [esp + 0x8c], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x403de3
push 5
xor eax, eax
push eax
push eax
push esi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [esi - 0x10]
call fcn.00402f9a
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.00402f9a
xor esi, esi
or dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.00427210
mov eax, esi
jmp 0x4039e7
lea eax, [esi - 0x10]
mov byte [esp + 0xc0], 2
call fcn.00402f9a
mov eax, dword [0x45fb34]
mov esi, 0x45fb34
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0xc0], 6
mov eax, dword [0x45fb34]
mov ecx, esi
mov dword [esp + 0x30], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x48], eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xc4], 7
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp eax, edi
mov dword [esp + 0x10], eax
je 0x403eee
xor esi, esi
cmp dword [esp + 0x30], edi
jle 0x403ee4
mov eax, dword [esp + 0x10]
push dword [eax + esi*4]
push 0x452e10
call fcn.00434f04
test eax, eax
pop ecx
pop ecx
jne 0x403eae
mov dword [esp + 0x1c], 1
jmp 0x403edd
mov eax, dword [esp + 0x10]
push dword [eax + esi*4]
push 0x452e18
call fcn.00434f04
test eax, eax
pop ecx
pop ecx
jne 0x403edd
inc esi
cmp esi, dword [esp + 0x30]
jge 0x403edd
mov eax, dword [esp + 0x10]
push dword [eax + esi*4]
lea eax, [esp + 0x24]
push eax
call fcn.004031ed
inc esi
cmp esi, dword [esp + 0x30]
jl 0x403e8d
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [0x46076c]
push 0x81
push 0x452e20
push dword [ecx + 0xc]
lea esi, [ebx + 0xe88]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
cmp dword [ebx + 0xe84], edi
mov eax, dword [ebx]
push edi
mov ecx, ebx
je 0x4042e9
push str.MainWindow
push esi
call dword [eax + 0xfc]
push edi
push str.MainWindow_InstallButton
push 2
mov eax, esi
pop ecx
mov edx, ebx
call fcn.004167c0
push edi
push str.MainWindow_CheckBoxDesktop
push 0xa
mov dword [ebx + 0xee8], eax
mov eax, esi
pop ecx
mov edx, ebx
call fcn.004167c0
mov edi, 0x452e6c
mov esi, eax
mov dword [ebx + 0xefc], eax
call fcn.0041ed40
mov ecx, dword [ebx + 0xefc]
call fcn.0041e920
push 0
push str.MainWindow_CheckBoxTaskbar
push 0xa
lea eax, [ebx + 0xe88]
pop ecx
mov edx, ebx
call fcn.004167c0
mov edi, 0x452e9c
mov esi, eax
mov dword [ebx + 0xf00], eax
call fcn.0041ed40
mov ecx, dword [ebx + 0xf00]
call fcn.0041e920
push 0
push str.MainWindow_CheckBoxStartMenu
push 0xa
lea eax, [ebx + 0xe88]
pop ecx
mov edx, ebx
call fcn.004167c0
mov edi, 0x452ed0
mov esi, eax
mov dword [ebx + 0xf04], eax
call fcn.0041ed40
mov ecx, dword [ebx + 0xf04]
call fcn.0041e920
push 0
push str.MainWindow_CheckBoxAgree
push 0xa
lea eax, [ebx + 0xe88]
pop ecx
mov edx, ebx
call fcn.004167c0
mov edi, 0x452f04
mov esi, eax
mov dword [ebx + 0xef8], eax
call fcn.0041ed40
mov ecx, dword [ebx + 0xef8]
call fcn.0041e920
push 0
push str.MainWindow_LisenceButton
push 2
lea eax, [ebx + 0xe88]
pop ecx
mov edx, ebx
call fcn.004167c0
mov edi, str._u7bOS
mov esi, eax
mov dword [ebx + 0xef4], eax
call fcn.0041f4a0
push 0x188
call fcn.0043477b
pop ecx
mov dword [esp + 0x14], eax
mov byte [esp + 0xc0], 8
test eax, eax
je 0x40405a
mov edi, eax
call fcn.00412bb0
jmp 0x40405c
xor eax, eax
push 0
mov byte [esp + 0xc4], 7
push str.MainWindow_EditBoxPath
lea ecx, [ebx + 0xe88]
mov dword [ebx + 0xf10], eax
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0xfc]
push dword [ebx + 0xf10]
mov eax, ebx
call fcn.004164c0
mov eax, dword [esp + 0x20]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x4040c3
lea edi, [ebx + 0xe80]
lea eax, [esp + 0x20]
call fcn.00404a69
mov esi, 0x452f54
push esi
call fcn.00434f36
pop ecx
push eax
push esi
mov eax, edi
call fcn.00404ed9
jmp 0x404164
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004048c9
pop ecx
pop ecx
lea edi, [ebx + 0xe80]
mov byte [esp + 0xc0], 9
call fcn.00404a69
mov byte [esp + 0xc0], 7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00402f9a
push 0x208
mov esi, edi
call fcn.004033c5
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.00404ec5
cmp dword [esp + 0x14], 0xbb8
jge 0x404127
call fcn.00402ef1
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x404164
lea esi, [esp + 0x14]
call fcn.00426bd0
mov byte [esp + 0xc0], 0xa
push dword [eax]
push str._sThinkSkyiTools_3
push edi
call fcn.00402dc0
mov byte [esp + 0xcc], 7
mov eax, dword [esp + 0x20]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00402f9a
push dword [edi]
mov eax, dword [ebx + 0xf10]
call fcn.004131a6
push 0
push str.MainWindow_ButtonBrowser
push 2
lea eax, [ebx + 0xe88]
pop ecx
mov edx, ebx
call fcn.004167c0
mov edi, 0x452fb0
mov esi, eax
mov dword [ebx + 0xeec], eax
call fcn.0041f4a0
xor esi, esi
push esi
push str.MainWindow_ButtonOption
push 2
lea edi, [ebx + 0xe88]
mov eax, edi
pop ecx
mov edx, ebx
call fcn.004167c0
push esi
push str.MainWindow_LabelPath
push 9
mov dword [ebx + 0xef0], eax
mov eax, edi
pop ecx
mov edx, ebx
call fcn.004167c0
push eax
mov edi, 0x452fec
mov dword [ebx + 0xf08], eax
call fcn.0041e430
push esi
push str.MainWindow_LabelCheck
push 9
lea eax, [ebx + 0xe88]
pop ecx
mov edx, ebx
call fcn.004167c0
push eax
mov edi, 0x453010
mov dword [ebx + 0xf0c], eax
call fcn.0041e430
mov eax, dword [ebx + 0xe84]
mov ecx, dword [ebx + 4]
push esi
push esi
push esi
push esi
push esi
push str.CHWindow
lea edi, [ebx + 0x440]
push 0x453370
mov dword [ebx + 0x88c], eax
push closesocket
xor edx, edx
mov eax, edi
mov dword [esp + 0x48], edi
call fcn.00414340
mov edx, dword [edi]
push esi
push str.ProcessWindow
lea eax, [ebx + 0xe88]
push eax
mov ecx, edi
call dword [edx + 0xfc]
lea eax, [esp + 0x6c]
push eax
call fcn.0042d1c0
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0xc4], 0xb
call fcn.0042d1c0
mov byte [esp + 0xc0], 0xc
push str.protocol
lea ecx, [esp + 0x38]
call fcn.00427700
call fcn.00427590
lea ecx, [esp + 0x4c]
push ecx
call fcn.0042d5a0
push 0xfde9
push eax
lea eax, [esp + 0x74]
push eax
call fcn.0042c640
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00403216
push ebx
xor eax, eax
mov byte [esp + 0xc4], 0xd
call fcn.00404973
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.00402f9a
lea esi, [esp + 0x4c]
call fcn.0042d210
lea edi, [esp + 0x6c]
mov byte [esp + 0xc0], 7
call fcn.0042c530
jmp 0x4043a2
push str.UninstallWindow
push esi
call dword [eax + 0xfc]
push edi
push str.UninstallWindow_Label2
push 9
mov eax, esi
pop ecx
mov edx, ebx
call fcn.004167c0
push eax
mov edi, 0x453060
call fcn.0041e430
xor edi, edi
push edi
xor ecx, ecx
push str.UninstallWindow_Panel1
mov eax, esi
inc ecx
mov edx, ebx
call fcn.004167c0
push edi
push str.UninstallWindow_ButtonOK
push 2
mov eax, esi
pop ecx
mov edx, ebx
call fcn.004167c0
push edi
push str.UninstallWindow_ButtonCancel
push 2
mov eax, esi
pop ecx
mov edx, ebx
call fcn.004167c0
mov eax, dword [ebx + 0xe84]
mov ecx, dword [ebx + 4]
push edi
push edi
push edi
push edi
push edi
push str.CHWindow
mov dword [ebx + 0x88c], eax
push 0x453370
lea eax, [ebx + 0x440]
push closesocket
xor edx, edx
mov dword [esp + 0x48], eax
call fcn.00414340
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
push edi
push str.ProcessWindow
push esi
call dword [eax + 0xfc]
push 0x140
push 0x290
mov esi, ebx
call fcn.00414da0
call fcn.00414c30
mov eax, ebx
call fcn.00417670
cmp dword [esp + 0x1c], 0
je 0x40442d
push 1
push 1
mov esi, ebx
call fcn.00414da0
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebx + 0xe80]
lea edi, [ebx + 0x8a4]
call fcn.00404a69
mov eax, dword [ebx + 0xefc]
mov eax, dword [eax + 0x2a8]
mov esi, dword [esp + 0x28]
mov dword [ebx + 0x890], eax
mov eax, dword [ebx + 0xf00]
mov eax, dword [eax + 0x2a8]
mov dword [ebx + 0x894], eax
mov eax, dword [ebx + 0xf04]
mov eax, dword [eax + 0x2a8]
mov dword [ebx + 0x898], eax
mov dword [ebx + 0x89c], 1
call fcn.00405fc0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.00402f9a
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.00402f9a
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.00402f9a
mov esi, dword [esp + 0x44]
jmp 0x403e08