Function at 0x4719b0
Capabilities:
Check if file exists
Check mutex on windows
Create process on windows
Get file attributes
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a57f
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x4a6a04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
movzx eax, word [ebp + 8]
lea edi, [eax - 0x44c]
mov dword [ebp - 0xfc], edi
cmp eax, 2
jne 0x4719fe
mov eax, dword [esi]
call dword [eax + 8]
jmp 0x4720d3
test edi, edi
js 0x4720d3
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
sub eax, ecx
sar eax, 3
imul edx, eax, 0x286bca1b
cmp edi, edx
jae 0x4720d3
imul edi, edi, 0x98
add edi, ecx
mov eax, dword [edi + 0x78]
cmp eax, 5
je 0x471f2a
cmp eax, 3
je 0x471f36
cmp eax, 4
je 0x471f36
cmp eax, 1
jne 0x471b92
push 0x38
lea eax, [ebp - 0x184]
mov dword [ebp - 0x188], 0x3c
push 0
push eax
call fcn.00458a10
lea eax, [edi + 0x48]
mov dword [ebp - 0x184], 0x8040
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x471a80
mov eax, dword [eax]
cmp dword [edi + 0x74], 0x10
mov dword [ebp - 0x178], eax
lea eax, [edi + 0x60]
jb 0x471a91
mov eax, dword [eax]
cmp dword [edi + 0x40], 0
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x16c], 1
je 0x471ab4
add edi, 0x30
cmp dword [edi + 0x14], 0x10
jb 0x471ab6
mov edi, dword [edi]
jmp 0x471ab6
xor edi, edi
lea eax, [ebp - 0x188]
mov dword [ebp - 0x17c], edi
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x4720d3
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x110], 0xc
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], 1
push 0x1388
push dword [ebp - 0x150]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1f4
mov dword [ebp - 0xfc], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x38], 0x10
lea ecx, [esi + 0x24]
jb 0x471b43
mov ecx, dword [esi + 0x24]
push ecx
push 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x100], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x471f2a
push dword [ebp - 0x100]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xfc], 0x102
je 0x471b15
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4720d3
cmp eax, 7
jne 0x471c32
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040cd70
mov dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0
jne 0x471bc0
lea eax, [esi + 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040cb20
lea eax, [edi + 0x60]
push eax
lea eax, [ebp - 0x40]
lea ecx, [edi + 0x48]
push eax
push ecx
call fcn.004704e0
test al, al
je 0x471c25
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x2c
push 0x497304
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040cfe0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x40
cmovae eax, dword [ebp - 0x28]
push 0x497334
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x28]
call fcn.0040cb50
lea ecx, [ebp - 0x40]
call fcn.0040cb50
jmp 0x4720d3
cmp dword [edi + 0x5c], 0x10
lea ecx, [edi + 0x48]
jb 0x471c3e
mov ecx, dword [edi + 0x48]
mov eax, dword [edi + 0x58]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x10c], ecx
cmp eax, 0xc
jae 0x471c5d
movsx eax, byte [eax + str.explorer.exe]
neg eax
jmp 0x471ccb
jbe 0x471c65
movsx eax, byte [ecx + 0xc]
jmp 0x471ccb
xor eax, eax
mov edx, str.explorer.exe
sub edx, ecx
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x100], edx
nop word [eax + eax]
mov eax, dword [ebp - 0x100]
mov dl, byte [ecx]
mov dh, byte [eax + ecx]
mov eax, dword [ebp - 0xfc]
cmp dl, dh
je 0x471cb9
movsx eax, dh
movsx edx, dl
sub edx, eax
mov eax, edx
mov dword [ebp - 0x108], edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x20
jne 0x471d80
mov eax, dword [ebp - 0xfc]
inc eax
inc ecx
mov dword [ebp - 0xfc], eax
cmp eax, dword [ebp - 0x104]
jb 0x471c80
xor eax, eax
test eax, eax
jne 0x471e5c
cmp dword [edi + 0x74], 0x10
lea ecx, [edi + 0x60]
jb 0x471cdf
mov ecx, dword [edi + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x471cf3
test al, 0x10
jne 0x471e5c
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xf4]
cmp dword [edi + 0x70], 0
je 0x471d8b
push 0x49734c
call fcn.0040d4f0
mov byte [ebp - 4], 3
lea ecx, [edi + 0x60]
mov dword [ebp - 0x110], ecx
lea edx, [ebp - 0x110]
mov ecx, eax
mov dword [ebp - 0x10c], fcn.0040bec0
mov dword [ebp - 0x108], 0x411730
call fcn.00410b50
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0040d670
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x471d71
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040cfe0
lea ecx, [ebp - 0x40]
jmp 0x471dc0
mov eax, dword [ebp - 0x108]
jmp 0x471ccb
push 0x497370
call fcn.0040d4f0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.0040d670
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x471db3
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.0040cfe0
lea ecx, [ebp - 0x58]
call fcn.0040cb50
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 2
call fcn.0040c000
push 1
push 0x497390
lea ecx, [ebp - 0x28]
call fcn.0040cfe0
push 0x17
push 0x497394
lea ecx, [ebp - 0x28]
call fcn.0040cfe0
push 0x2e
push 0x4973ac
lea ecx, [ebp - 0x28]
call fcn.0040cfe0
cmp dword [esi + 0x6c], 0x10
lea ecx, [esi + 0x58]
jb 0x471e0c
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4720d3
mov ecx, dword [ebp - 0x28]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x471e4e
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x4720f2
push ecx
call fcn.0044efd0
add esp, 4
jmp 0x4720d3
push 0x38
lea eax, [ebp - 0x148]
mov dword [ebp - 0x14c], 0x3c
push 0
push eax
call fcn.00458a10
lea eax, [edi + 0x48]
mov dword [ebp - 0x148], 0x8040
add esp, 0xc
cmp dword [eax + 0x14], 0x10
jb 0x471e8e
mov eax, dword [eax]
cmp dword [edi + 0x74], 0x10
mov dword [ebp - 0x13c], eax
lea eax, [edi + 0x60]
jb 0x471e9f
mov eax, dword [eax]
cmp dword [edi + 0x40], 0
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x130], 1
je 0x471ec2
cmp dword [edi + 0x44], 0x10
lea eax, [edi + 0x30]
jb 0x471ec4
mov eax, dword [eax]
jmp 0x471ec4
xor eax, eax
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x4720d3
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x4720d3
cmp dword [edi + 0x78], 6
jne 0x471f12
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push dword [ebp - 0x114]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x78]
cmp eax, 2
je 0x471f2a
cmp eax, 6
jne 0x4720d3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
jmp 0x4720d3
xor edi, edi
test edx, edx
je 0x471f93
xor edx, edx
mov dword [ebp - 0x100], edx
mov eax, dword [ecx + edx + 0x78]
cmp eax, 3
je 0x471f52
cmp eax, 4
jne 0x471f71
push 0
lea eax, [edi + 0x44c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 0x100]
mov eax, dword [esi + 0x1c]
inc edi
mov ecx, dword [esi + 0x18]
add edx, 0x98
sub eax, ecx
mov dword [ebp - 0x100], edx
sar eax, 3
imul eax, eax, 0x286bca1b
cmp edi, eax
jb 0x471f44
push 0
push dword [ebp - 0xfc]
mov ecx, esi
call fcn.00471540
mov ecx, dword [esi + 0x1c]
xor edi, edi
mov edx, dword [esi + 0x18]
sub ecx, edx
sar ecx, 3
imul ecx, ecx, 0x286bca1b
mov byte [ebp - 0xf6], al
mov dword [ebp - 0x100], edi
test ecx, ecx
je 0x4720d3
mov ecx, dword [ebp - 0xfc]
xor eax, eax
mov dword [ebp - 0x104], eax
mov eax, dword [edx + eax + 0x78]
cmp edi, ecx
jne 0x471ffc
cmp eax, 3
jne 0x471ff4
cmp byte [ebp - 0xf6], 0
sete byte [ebp - 0xf5]
jmp 0x47202f
mov al, byte [ebp - 0xf6]
jmp 0x472029
cmp eax, 3
jne 0x472016
push 1
push edi
mov ecx, esi
call fcn.00471540
test al, al
sete byte [ebp - 0xf5]
jmp 0x47202f
cmp eax, 4
jne 0x4720a3
push 1
push edi
mov ecx, esi
call fcn.00471540
mov byte [ebp - 0xf5], al
lea ecx, [edi + 0x44c]
push ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi + 0x18]
mov edi, eax
mov eax, dword [ebp - 0x104]
cmp dword [eax + ecx + 0x78], 3
jne 0x472055
push 1
jmp 0x47205d
movzx eax, byte [ebp - 0xf5]
push eax
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [ebp - 0xf5], 0
mov eax, dword [esi + 0x18]
mov ecx, dword [ebp - 0x104]
jne 0x472085
cmp dword [eax + ecx + 0x28], 0
lea edx, [eax + ecx]
je 0x472085
lea eax, [edx + 0x18]
jmp 0x472087
add eax, ecx
cmp dword [eax + 0x14], 0x10
jb 0x47208f
mov eax, dword [eax]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 0xfc]
mov edi, dword [ebp - 0x100]
mov eax, dword [esi + 0x1c]
inc edi
mov edx, dword [esi + 0x18]
sub eax, edx
add dword [ebp - 0x104], 0x98
sar eax, 3
imul eax, eax, 0x286bca1b
mov dword [ebp - 0x100], edi
cmp edi, eax
mov eax, dword [ebp - 0x104]
jb 0x471fd7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455d51
mov esp, ebp
pop ebp
ret 8
call fcn.0045d555
int3