Function at 0x403e90
Capabilities:
Create process on windows
Move file
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd44
push edi
push 0x103
lea eax, [ebp - 0x36b]
mov dword [ebp - 0x14], 1
push 0
push eax
mov edi, 1
mov byte [ebp - 0x36c], 0
call fcn.00405ad0
push 0x103
lea eax, [ebp - 0x267]
mov byte [ebp - 0x268], 0
push 0
push eax
call fcn.00405ad0
push 0x3e7
lea eax, [ebp - 0x95b]
mov byte [ebp - 0x95c], 0
push 0
push eax
call fcn.00405ad0
push 0x3e7
lea eax, [ebp - 0xd43]
mov byte [ebp - 0xd44], 0
push 0
push eax
call fcn.00405ad0
push 0x103
lea eax, [ebp - 0x46f]
mov byte [ebp - 0x470], 0
push 0
push eax
call fcn.00405ad0
push 0x40
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
push eax
call fcn.00405ad0
add esp, 0x48
lea eax, [ebp - 0x36c]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x10], xmm0
push eax
call fcn.004024d0
add esp, 4
test eax, eax
jne 0x403f63
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 0x10
push ebx
push esi
push 0x103
lea eax, [ebp - 0x573]
mov byte [ebp - 0x574], 0
push 0
push eax
call fcn.00405ad0
lea eax, [ebp - 0x36c]
push eax
push str._sjoin.me.log
lea eax, [ebp - 0x574]
push 0x104
push eax
call fcn.00405aa7
lea eax, [ebp - 0x574]
push eax
call fcn.004046c0
mov esi, dword [ebp + 0x10]
mov eax, str.null
test esi, esi
cmovne eax, esi
push eax
push str.Command_line:__s
call fcn.004045b0
push str._nodel
push esi
call fcn.00401d80
push str._noexec
push esi
call fcn.00401d80
neg eax
push str._nocleanup
sbb eax, eax
neg eax
push esi
mov dword [ebp - 0x1c], eax
call fcn.00401d80
add esp, 0x40
neg eax
sbb eax, eax
xor ebx, ebx
inc eax
push str._update
push esi
mov dword [ebp - 0x18], eax
call fcn.00401d80
mov ecx, eax
mov eax, 0x41769a
test ecx, ecx
mov dword [ebp + 0x10], ecx
cmovne eax, ecx
push eax
push str.CheckParam__update_:__s
call fcn.004045b0
add esp, 0x10
cmp dword [ebp + 0x10], ebx
je 0x40409c
push str._url
push esi
call fcn.004027c0
add esp, 8
mov esi, eax
push esi
push dword [ebp + 0x10]
call fcn.00402760
add esp, 4
push eax
call fcn.004029e0
mov edi, eax
push edi
push str.JoinMe_Update_result:__d
call fcn.004045b0
add esp, 0x10
test esi, esi
je 0x404069
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [0x420524]
mov dword [0x420520], ebx
test eax, eax
je 0x404085
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [0x420524], ebx
pop esi
mov dword [0x420528], ebx
mov eax, edi
mov dword [0x42052c], ebx
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x10
push 0x417dcc
push esi
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x40454b
push str._ver
push esi
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x40454b
push str._version
push esi
call fcn.00401d80
add esp, 8
test eax, eax
jne 0x40454b
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x36c]
push eax
push 0
call fcn.00403120
add esp, 0xc
test eax, eax
jne 0x40411a
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x36c]
push eax
push 1
call fcn.00403120
add esp, 0xc
test eax, eax
je 0x404269
lea eax, [ebp - 0x36c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0x5ba4
call fcn.00402940
add esp, 4
test eax, eax
jne 0x40414a
push str.WinMain:_GetResource_IDF_LMI__failed._Reverting_update...
call fcn.004045b0
add esp, 4
jmp 0x404269
push section..data
push 0
push dword [0x42052c]
push dword [0x420528]
call fcn.004052f0
add esp, 0x10
test eax, eax
jne 0x404176
push str.WinMain:_UnpackFiles_failed._Reverting_update...
call fcn.004045b0
add esp, 4
push str.config.json
push 0x5fb4
call fcn.00403080
add esp, 8
test eax, eax
je 0x40419e
push str.WinMain:_Failed_to_save_config.json.
call fcn.004045b0
add esp, 4
jmp 0x404269
cmp dword [ebp - 0x1c], ebx
jne 0x404253
push dword [section..data]
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x95c]
push str.__s_s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x268]
mov dword [ebp - 0x60], 0x44
push eax
call fcn.00401d00
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x268]
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x95c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40421e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WinMain:_Failed_to_start_join.me._Error:__d
call fcn.004045b0
add esp, 8
jmp 0x404269
push 0xffffffffffffffff
push dword [ebp - 0x10]
xor edi, edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x14]
xor ebx, ebx
cmp eax, 2
push eax
push str.WinMain:_join.me_process_finished._Exit_code:__d
sete bl
call fcn.004045b0
add esp, 8
jmp 0x404269
push str._install
push esi
call fcn.00401d80
add esp, 8
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
call fcn.00402ef0
mov eax, dword [ebp - 0xc]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x40428b
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40429c
push eax
call ecx
mov dword [ebp - 0x10], 0
test ebx, ebx
je 0x404433
push 0x103
lea eax, [ebp - 0x163]
mov byte [ebp - 0x164], 0
push 0
push eax
call fcn.00405ad0
lea eax, [ebp - 0x164]
push eax
call fcn.004024d0
add esp, 0x10
test eax, eax
jne 0x4042e9
push str.WinMain:_GetInstallDirectory_failed.
call fcn.004045b0
add esp, 4
mov eax, edi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x164]
push str.config.json
push eax
lea eax, [ebp - 0x95c]
push str._s_s
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [ebp - 0x95c]
add esp, 0x10
push 1
push eax
push str.config.json
call edi
test eax, eax
jne 0x40433c
lea eax, [ebp - 0x95c]
push eax
push str.config.json
push 0
call fcn.00401040
add esp, 0xc
xor esi, esi
mov edi, edi
mov eax, dword [esi + section..data]
test eax, eax
je 0x404397
push eax
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x95c]
push str._s_s
push eax
call ebx
add esp, 0x10
lea eax, [ebp - 0x95c]
push 1
push eax
push dword [esi + section..data]
call edi
test eax, eax
jne 0x40438f
lea eax, [ebp - 0x95c]
push eax
push dword [esi + section..data]
push 0
call fcn.00401040
add esp, 0xc
add esi, 4
cmp esi, 0x3c
jb 0x404340
push dword [section..data]
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x95c]
push str.__s_s__install
push eax
call ebx
lea eax, [ebp - 0x164]
mov dword [ebp - 0x60], 0x44
push eax
xor edi, edi
call fcn.00401d00
add esp, 0x14
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x164]
push eax
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x95c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x404409
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WinMain:_Failed_to_start_join.me__install_._Error:__d
call fcn.004045b0
add esp, 8
mov edi, 1
mov eax, dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x404420
push eax
call esi
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x404439
push eax
call esi
mov dword [ebp - 0x10], 0
jmp 0x404439
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
cmp dword [ebp - 0x18], 0
je 0x404533
push 0x103
lea eax, [ebp - 0x163]
mov byte [ebp - 0x164], 0
push 0
push eax
call fcn.00405ad0
push str._cleanup.bat
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x470]
push str._s_s
push eax
call ebx
lea eax, [ebp - 0x470]
push eax
push 0x5f8c
call fcn.00403080
mov esi, eax
add esp, 0x24
test esi, esi
je 0x4044a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.WinMain:_Failed_to_save_clean_up_script_file___s_._Error:__d
call fcn.004045b0
add esp, 0xc
lea eax, [ebp - 0x36c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x3e8
lea eax, [ebp - 0x95c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x104
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x95c]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x95c]
push eax
lea eax, [ebp - 0xd44]
push str.__s____s_
push eax
call ebx
lea eax, [ebp - 0xd44]
push eax
lea eax, [ebp - 0x470]
push eax
push str.WinMain:_Launching_clean_up_script:__s__s
call fcn.004045b0
add esp, 0x1c
lea eax, [ebp - 0xd44]
push 0
push 0
push eax
lea eax, [ebp - 0x470]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push str.WinMain:_Packer_finished
call fcn.004045b0
add esp, 4
mov eax, edi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x10
push 1
push str.SET_PRODUCT_MAJOR_d_n
call fcn.00406964
push 0x12
push str.SET_PRODUCT_MINOR_d_n
call fcn.00406964
push 0
push str.SET_PRODUCT_FIX_d_n
call fcn.00406964
push 0xbd
push str.SET_PRODUCT_BUILD_d_n
call fcn.00406964
push 0xbd
push 0
push 0x12
push 1
push str.SET_PRODUCT_VER_d._d._d._d_n
call fcn.00406964
add esp, 0x34
xor eax, eax
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x10