Function at 0x44c5b3
Capabilities:
Accept command line arguments
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba9a9
mov eax, dword fs:[0]
push eax
sub esp, 0x51c
mov eax, dword [0x4f9004]
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
lea ecx, [ebp - 0x528]
call fcn.00412ad4
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c614
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004057cc
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
lea eax, [ebp - 0x470]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x528]
call fcn.0041351d
mov esi, dword [ebp - 0x470]
mov byte [ebp - 4], 1
test esi, esi
je 0x44c741
mov edi, dword [ebp - 0x46c]
cmp esi, edi
je 0x44c6dc
mov edi, edi
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x44c6bc
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x44c6b2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44cc8c
mov eax, edx
push ecx
push eax
call fcn.0040660b
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x44c683
mov esi, dword [ebp - 0x470]
mov ecx, dword [ebp - 0x468]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x44c719
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44cc8c
push ecx
push esi
call fcn.0040660b
add esp, 8
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x44c77f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44c775
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44cc8c
push edx
push ecx
call fcn.0040660b
add esp, 8
push 1
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x4d1ae0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004057cc
push 9
xor eax, eax
mov byte [ebp - 4], 3
push str.Temporary
lea ecx, [ebp - 0x47c]
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 7
mov word [ebp - 0x47c], ax
call fcn.004057cc
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x47c]
push eax
lea ecx, [ebp - 0x528]
call fcn.00449a7e
mov edx, dword [ebp - 0x468]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x44c833
mov ecx, dword [ebp - 0x47c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44c829
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44cc91
push edx
push ecx
call fcn.0040660b
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 7
mov word [ebp - 0x47c], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x44c88d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44c883
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44cc91
push edx
push ecx
call fcn.0040660b
add esp, 8
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x528]
call fcn.00448ed3
lea eax, [ebp - 0x4ac]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x528]
call fcn.004493c1
push 0x208
lea eax, [ebp - 0x25c]
push 0
push eax
call fcn.00402780
add esp, 0xc
lea eax, [ebp - 0x25c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 7
mov word [ebp - 0x47c], ax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push 0xf
push eax
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0047fb60
lea ecx, [ebp - 0x38]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c937
sub ecx, edx
lea eax, [ebp - 0x38]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x47c]
call fcn.004057cc
lea eax, [ebp - 0x38]
push 0xf
push eax
push eax
call fcn.0047fb60
lea ecx, [ebp - 0x38]
add esp, 0xc
lea edx, [ecx + 2]
jmp 0x44c973
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c973
sub ecx, edx
lea eax, [ebp - 0x38]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x47c]
call fcn.0040684d
push 4
push str..exe
lea ecx, [ebp - 0x47c]
call fcn.0040684d
cmp dword [ebp - 0x468], 8
lea eax, [ebp - 0x47c]
cmovae eax, dword [ebp - 0x47c]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
mov dword [ebp - 0x484], 0
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x480], 7
mov word [ebp - 0x494], ax
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c9f3
sub ecx, edx
lea eax, [ebp - 0x25c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x494]
call fcn.004057cc
mov edx, dword [ebp - 0x468]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x44ca59
mov ecx, dword [ebp - 0x47c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44ca4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44cc96
push edx
push ecx
call fcn.0040660b
add esp, 8
xor eax, eax
mov dword [ebp - 0x46c], 0
mov dword [ebp - 0x468], 7
mov word [ebp - 0x47c], ax
cmp dword [ebp - 0x480], 8
lea ecx, [ebp - 0x494]
push 0
cmovae ecx, dword [ebp - 0x494]
lea eax, [ebp - 0x4c4]
cmp dword [ebp - 0x4b0], 8
push ecx
cmovae eax, dword [ebp - 0x4c4]
push eax
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x44cab7
xor ebx, ebx
jmp 0x44cb50
push 0x208
lea eax, [ebp - 0x464]
push 0
push eax
call fcn.00402780
add esp, 0xc
call fcn.0042389c
lea edx, [ebp - 0x464]
sub edx, eax
jmp 0x44cae3
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x44cae3
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x28], 1
movzx edx, word [ebp - 0x24]
jne 0x44cb0c
mov edx, 0xa
cmp dword [ebp - 0x498], 8
lea ecx, [ebp - 0x4ac]
push edx
cmovae ecx, dword [ebp - 0x4ac]
lea edx, [ebp - 0x464]
cmp dword [ebp - 0x480], 8
lea eax, [ebp - 0x494]
push edx
cmovae eax, dword [ebp - 0x494]
push ecx
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
cmp eax, 0x20
setg bl
mov edx, dword [ebp - 0x480]
cmp edx, 8
jb 0x44cb90
mov ecx, dword [ebp - 0x494]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44cb86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44cc9b
push edx
push ecx
call fcn.0040660b
add esp, 8
mov edx, dword [ebp - 0x498]
xor eax, eax
mov dword [ebp - 0x484], 0
mov dword [ebp - 0x480], 7
mov word [ebp - 0x494], ax
cmp edx, 8
jb 0x44cbed
mov ecx, dword [ebp - 0x4ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44cbe3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44cc9b
push edx
push ecx
call fcn.0040660b
add esp, 8
mov edx, dword [ebp - 0x4b0]
xor eax, eax
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x498], 7
mov word [ebp - 0x4ac], ax
cmp edx, 8
jb 0x44cc46
mov ecx, dword [ebp - 0x4c4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44cc3c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44cc9b
push edx
push ecx
call fcn.0040660b
add esp, 8
xor eax, eax
mov dword [ebp - 0x4b4], 0
lea ecx, [ebp - 0x528]
mov dword [ebp - 0x4b0], 7
mov word [ebp - 0x4c4], ax
call fcn.00424cb8
mov eax, ebx
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.00402c9b
mov esp, ebp
pop ebp
ret
call fcn.0047c5cb
call fcn.0047c5cb
call fcn.0047c5cb
call fcn.0047c5cb
int3