Function at 0x410600
Capabilities:
Copy file
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522e56
mov eax, dword fs:[0]
push eax
mov eax, 0x18c8
call fcn.004e1540
mov eax, dword [0x574464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.0049da30
add esp, 0xc
lea ecx, [ebp - 0x1050]
call fcn.00410be0
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.0049da30
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.0049da30
add esp, 0xc
lea edx, [ebp - 0x218]
call fcn.0043a4e0
push str..exe
push str.XJCadconverter_uninst_worker
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0xe48]
push 0x104
push eax
call fcn.00504963
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.0049da30
add esp, 0x24
lea ecx, [ebp - 0xc40]
call fcn.00410b30
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.0049da30
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.0049da30
add esp, 0xc
lea edx, [ebp - 0x218]
call fcn.0043a4e0
push str..exe
push str.XJCadconverter_inst
lea eax, [ebp - 0x218]
push eax
push 0
lea eax, [ebp - 0xa38]
push 0x104
push eax
call fcn.00504963
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea eax, [ebp - 0xa38]
add esp, 0x18
push 0
push eax
lea eax, [ebp - 0xc40]
push eax
call edi
push 0
lea eax, [ebp - 0xe48]
push eax
lea eax, [ebp - 0x1050]
push eax
call edi
push 0x208
push 0
test eax, eax
je 0x41098b
lea eax, [ebp - 0x1460]
push eax
call fcn.0049da30
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1460]
add esp, 0xc
push 0x104
push eax
push 0
call esi
push 0x104
lea eax, [ebp - 0x628]
push eax
push 0
call esi
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0049da30
add esp, 0xc
lea eax, [ebp - 0x1258]
push 0x208
push 0
push eax
call fcn.0049da30
add esp, 0xc
lea edx, [ebp - 0x1258]
call fcn.0043a4e0
push str..exe
push str.XJCadconverter_un_asa
lea eax, [ebp - 0x1258]
push eax
push 0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00504963
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0049da30
add esp, 0x24
lea edx, [ebp - 0x420]
call fcn.0043a4e0
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1460]
push eax
call edi
test eax, eax
je 0x410b13
push str._instdir
lea ecx, [ebp - 0x18b8]
call fcn.00405d80
mov dword [ebp - 4], 0
mov esi, 0x579a18
cmp dword [0x579a2c], 8
mov ecx, eax
push 1
cmovae esi, dword [0x579a18]
push 0x55e910
call fcn.00405690
cmp word [ebp - 0x628], 0
mov edi, eax
jne 0x410885
xor ecx, ecx
jmp 0x41089f
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410890
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x628]
mov ecx, edi
push eax
call fcn.00405690
push 2
push 0x55e914
mov ecx, eax
call fcn.00405690
cmp word [esi], 0
mov edi, eax
jne 0x4108c8
xor ecx, ecx
jmp 0x4108df
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4108d0
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00405690
xor ecx, ecx
mov dword [ebp - 0x1874], 7
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x1888], cx
lea ecx, [ebp - 0x1888]
push eax
mov dword [ebp - 0x1878], 0
call fcn.004058d0
mov eax, dword [ebp - 0x18a4]
cmp eax, 8
jb 0x410932
inc eax
lea ecx, [ebp - 0x18b8]
push eax
push dword [ebp - 0x18b8]
call fcn.00405de0
cmp dword [ebp - 0x1874], 8
lea ecx, [ebp - 0x420]
push 1
push ecx
lea eax, [ebp - 0x1888]
cmovae eax, dword [ebp - 0x1888]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x55e0fc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x1874]
cmp eax, 8
jb 0x410b13
inc eax
lea ecx, [ebp - 0x1888]
push eax
push dword [ebp - 0x1888]
call fcn.00405de0
jmp 0x410b13
lea eax, [ebp - 0x1668]
push eax
call fcn.0049da30
add esp, 0xc
lea eax, [ebp - 0x1668]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0049da30
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x208
push 0
push eax
call fcn.0049da30
add esp, 0xc
lea edx, [ebp - 0x420]
call fcn.0043a4e0
push str..exe
push str.XJCadconverter_un_asa
lea eax, [ebp - 0x420]
push eax
push 0
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.00504963
push 0x208
lea eax, [ebp - 0x1870]
push 0
push eax
call fcn.0049da30
add esp, 0x24
lea edx, [ebp - 0x1870]
call fcn.0043a4e0
push 1
push 0x55e120
push 0x55e91c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
je 0x410a4a
push 0xffffffffffffffff
call fcn.00504dcd
push 0
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x1668]
push eax
call edi
test eax, eax
je 0x410b13
push str._instdir
lea ecx, [ebp - 0x18d0]
call fcn.00405d80
push 0x55e910
push str.Test
push 0x55e910
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.004057c0
mov ecx, eax
call fcn.004057c0
mov ecx, eax
call fcn.004057c0
xor ecx, ecx
mov dword [ebp - 0x188c], 7
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x18a0], cx
lea ecx, [ebp - 0x18a0]
push eax
mov dword [ebp - 0x1890], 0
call fcn.004058d0
lea ecx, [ebp - 0x18d0]
call fcn.00405eb0
cmp dword [ebp - 0x188c], 8
lea ecx, [ebp - 0x1870]
push 1
push ecx
lea eax, [ebp - 0x18a0]
cmovae eax, dword [ebp - 0x18a0]
push eax
lea eax, [ebp - 0x830]
push eax
push 0x55e0fc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x18a0]
call fcn.00405eb0
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.004e072a
mov esp, ebp
pop ebp
ret