Function at 0x433770
Capabilities:
Create process on windows
Get common file path
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5672e9
mov eax, dword fs:[0]
push eax
sub esp, 0x388
mov eax, dword [0x5bc324]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x394]
sub esp, 8
mov dword [ebp - 0x234], 0
call fcn.00435100
lea eax, [ebp - 0x384]
mov dword [ebp - 4], 0
push str.:Repeat_n
push eax
call fcn.00438d70
lea eax, [ebp - 0x384]
push str.del__
push eax
call fcn.00438d70
add esp, 0x10
mov edx, esi
cmp dword [esi + 0x14], 8
jb 0x4337ed
mov edx, dword [esi]
push 0x59133c
push dword [esi + 0x10]
mov ecx, eax
call fcn.00439db0
add esp, 4
push eax
call fcn.00438d70
lea eax, [ebp - 0x384]
push str.if_exist__
push eax
call fcn.00438d70
mov ecx, dword [esi + 0x10]
add esp, 0x10
cmp dword [esi + 0x14], 8
jb 0x433824
mov esi, dword [esi]
push str.__goto_Repeat_n
push ecx
mov edx, esi
mov ecx, eax
call fcn.00439db0
add esp, 4
push eax
call fcn.00438d70
lea eax, [ebp - 0x384]
push str.del___f0__n
push eax
call fcn.00438d70
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.delete_self.bat
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
mov dword [ebp - 0x2e4], 0x5912b4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x234], 1
mov dword [ebp - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x280], 0x60
call fcn.0043ca10
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x240], 0
push 0x20
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x244], eax
call fcn.00438ba0
cmp dword [ebp - 0x244], 0
mov word [ebp - 0x23c], ax
jne 0x4338fd
mov eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x27c]
push 0
or eax, 4
push eax
call fcn.0043c970
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x2e4]
push 0
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2e8], eax
lea ecx, [ebp - 0x2e0]
call fcn.00437890
push 0x40
push 2
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2e0]
call fcn.004377a0
test eax, eax
jne 0x433981
mov eax, dword [ebp - 0x2e4]
lea ecx, [ebp - 0x2e4]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.0043c970
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x37c]
call fcn.004379e0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x2e4]
push dword [ebp - 0x220]
cmovae edx, dword [ebp - 0x230]
call fcn.00439db0
mov byte [ebp - 4], 5
add esp, 4
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x433a09
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4339ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4339ff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0052365a
add esp, 8
lea ecx, [ebp - 0x2e0]
call fcn.004376e0
test eax, eax
jne 0x433a43
mov eax, dword [ebp - 0x2e4]
lea ecx, [ebp - 0x2e4]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.0043c970
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x2e4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2e8], eax
lea ecx, [ebp - 0x2e0]
call fcn.00434fb0
mov eax, dword [ebp - 0x2e4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2e8], eax
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0052c40d
add esp, 4
lea ecx, [ebp - 0x394]
call fcn.00433b00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523a6a
mov esp, ebp
pop ebp
ret