Function at 0x4ae350
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x650fa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c8
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x98]
push ecx
mov dword [eax], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [edi + 4]
push 0
push 0
lea esi, [edi + 4]
push 0x1042
push edx
mov dword [ebp - 0x24], esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
mov dword [ebp - 0x2c], ebx
cmp ebx, 0xffffffff
je 0x4ae9ee
push 0x30
lea eax, [ebp - 0xc8]
push 0
push eax
call fcn.006100a0
mov edx, dword [esi]
add esp, 0xc
lea ecx, [ebp - 0xcc]
push ecx
push 0
push 0x104b
push edx
mov dword [ebp - 0xcc], 5
mov dword [ebp - 0xc8], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x2d8], 0
jne 0x4ae408
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x700724]
mov edx, dword [eax + 0xc]
mov ecx, 0x700724
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
mov edx, dword [edi + 0x2fc]
xor esi, esi
test edx, edx
je 0x4ae4b5
mov ebx, dword [ebp - 0xac]
xor ecx, ecx
cmp esi, edx
jae 0x4ae45a
mov eax, dword [edi + 0x2f8]
cmp dword [eax + ecx + 8], ebx
je 0x4ae456
inc esi
add ecx, 0xc
cmp esi, edx
jb 0x4ae440
jmp 0x4ae4b5
cmp esi, edx
jb 0x4ae464
push 0x80070057
call fcn.004011d0
mov ebx, dword [edi + 0x2f8]
lea eax, [esi + esi*2]
add eax, eax
add eax, eax
add ebx, eax
mov dword [ebp + 0x14], eax
mov eax, dword [ebx]
cmp dword [eax - 4], 1
jle 0x4ae489
mov eax, dword [eax - 0xc]
push eax
mov ecx, ebx
call fcn.00401370
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0x14]
call fcn.00409320
cmp esi, dword [edi + 0x2fc]
jb 0x4ae4a6
push 0x80070057
call fcn.004011d0
mov eax, dword [edi + 0x2f8]
add eax, dword [ebp + 0x14]
mov cl, byte [eax + 4]
mov byte [ebp + 0x17], cl
mov edx, dword [ebp - 0x14]
push 0x66f16a
push edx
call fcn.00612c79
add esp, 8
test eax, eax
setne al
test al, al
je 0x4aea06
lea eax, [ebp - 0x28]
push eax
call fcn.005bd6c0
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
add esp, 4
mov ecx, 0x700724
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4ae520
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00401400
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
push 0x104
push edx
push str.LogsDir
push ecx
call fcn.005bd4f0
mov edx, dword [ebp - 0x10]
add esp, 0x10
test eax, eax
jne 0x4ae5f2
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4ae566
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00401400
mov edx, dword [ebp - 0x10]
push edx
push 1
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x4ae59b
push str.SHGetFolderPathW__0__0x001a__0__SHGFP_TYPE_DEFAULT__strSysDir.GetBuffer__260__
push eax
lea ecx, [ebp - 0x90]
call fcn.0040de50
push 0x6ba4dc
lea edx, [ebp - 0x90]
push edx
call fcn.0060fb01
mov edx, dword [ebp - 0x10]
test edx, edx
jne 0x4ae5a6
xor eax, eax
jmp 0x4ae5c5
mov eax, edx
lea esi, [eax + 2]
jmp 0x4ae5b0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ae5b0
sub eax, esi
sar eax, 1
js 0x4ae45a
cmp eax, dword [edx - 8]
jg 0x4ae45a
mov dword [edx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
push 0x673c4c
mov word [edx + eax*2], cx
lea eax, [ebp - 0x10]
push str._sData_
push eax
call fcn.00414990
add esp, 0xc
jmp 0x4ae639
test edx, edx
jne 0x4ae5fa
xor eax, eax
jmp 0x4ae615
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4ae600
sub eax, esi
sar eax, 1
js 0x4ae45a
cmp eax, dword [edx - 8]
jg 0x4ae45a
mov dword [edx - 0xc], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
push 6
mov word [edx + eax*2], cx
push str.Data_
lea ecx, [ebp - 0x10]
call fcn.00401710
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.004011f0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
mov eax, dword [edi + 0x2d8]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00401710
push 1
push 0x66ea40
lea ecx, [ebp - 0x18]
call fcn.00401710
mov ecx, dword [edi + 0x2d8]
mov edx, dword [ecx + 0x14]
cmp dword [edx - 0xc], 0
jne 0x4ae6ae
push 9
push str.Clipboard
lea ecx, [ebp - 0x18]
call fcn.00401710
push 1
push 0x66ea40
lea ecx, [ebp - 0x18]
call fcn.00401710
push 0xe
push 0x673cac
lea ecx, [ebp - 0x18]
call fcn.00401710
mov eax, dword [ebp - 0x14]
push 0x5c
push eax
call fcn.0061571d
mov edx, dword [ebp - 0x14]
add esp, 8
test eax, eax
jne 0x4ae6d7
or ecx, 0xffffffff
jmp 0x4ae6db
sub eax, edx
mov ecx, eax
mov eax, dword [edx - 0xc]
sub eax, ecx
push eax
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0043ad60
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x14]
call fcn.004149b0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4ae71d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040b4e0
lea edx, [ebp - 0x7d4]
push edx
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, 0x200
ja 0x4ae982
test eax, eax
je 0x4ae982
lea eax, [ebp - 0x7d4]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040bea0
mov bl, 0xb
mov byte [ebp - 4], bl
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x3d2]
push edx
mov word [ebp - 0x3d4], cx
call fcn.006100a0
mov eax, dword [edi + 0x2ec]
add esp, 0xc
lea edx, [ebp - 0x68]
push edx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3d4]
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
push eax
push 0x1073
push edx
mov dword [ebp - 0x50], 0x104
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x3d4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040bea0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1c]
push 0x5c
push ecx
call fcn.00613b38
add esp, 8
test eax, eax
jne 0x4ae7dc
or esi, 0xffffffff
jmp 0x4ae7ec
sub eax, dword [ebp - 0x1c]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
jne 0x4ae876
lea edx, [ebp - 0x1c]
push 0x66f16a
push edx
call fcn.0045aef0
add esp, 8
test al, al
je 0x4ae857
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.004014a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.004014a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004014a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004014a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004014a0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov al, byte [ebp + 0x17]
cmp al, 1
jne 0x4ae865
push str..bmp
jmp 0x4ae86e
cmp al, 2
jne 0x4ae876
push str..emf
lea ecx, [ebp - 0x1c]
call fcn.00401b50
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax - 0xc]
sub eax, esi
dec eax
push eax
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00427cb0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00401710
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x20]
push ecx
lea ecx, [edi + 0x37c]
call fcn.004ad950
mov eax, dword [ebp - 0x20]
cmp dword [eax - 4], 1
jle 0x4ae8d7
mov edx, dword [eax - 0xc]
push edx
lea ecx, [ebp - 0x20]
call fcn.00401370
mov eax, dword [ebp - 0x20]
push 7
push 0
push 0
push eax
push 0x66f294
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ae90e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ae930
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ae953
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ae976
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
jmp 0x4aeb28
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ae9a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ae9c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ae9ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push 0x66eba8
lea ecx, [ebp + 0x14]
call fcn.0040bea0
mov bl, 0x13
mov byte [ebp - 4], bl
mov edi, dword [edi + 0x2ec]
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x24]
push edi
push edx
call fcn.004a2c80
lea eax, [ebp + 0x14]
push 0x66f16a
push eax
call fcn.0045aef0
add esp, 8
test al, al
je 0x4aea6c
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4aea67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4ae9c8
xor ecx, ecx
push 0xfe
push ecx
lea edx, [ebp - 0x1ca]
push edx
mov word [ebp - 0x1cc], cx
call fcn.006100a0
mov ecx, dword [0x716738]
add esp, 0xc
push 0x80
lea eax, [ebp - 0x1cc]
push eax
push 0xb6
push ecx
call dword [sym.imp.USER32.dll_LoadStringW]
lea edx, [ebp - 0x1cc]
push edx
lea ecx, [ebp - 0x80]
call fcn.004a2650
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x60]
call fcn.004078d0
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp dword [ebp - 0x6c], 0
mov esi, eax
jne 0x4aeaeb
call fcn.0060ed18
mov dword [ebp - 0x6c], eax
test eax, eax
jne 0x4aeaeb
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x4aeb16
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x78]
push edx
push 0x716768
call fcn.00426c90
mov eax, dword [0x716738]
push 0
push 0x427de0
push esi
push 0x8e
push eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x80]
call fcn.004d6090
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4aeb44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4aeb72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10