Function at 0x402030
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41f13e
mov eax, dword fs:[0]
push eax
sub esp, 0x1f4
mov eax, dword [0x42a080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push str.setup.ini
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
call fcn.00405730
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push str.setup.bat
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00405730
push 0xb8
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.004089c0
cmp dword [ebp - 0x44], 0xf
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x1c0]
cmova eax, dword [ebp - 0x58]
push eax
call fcn.00404610
mov eax, dword [ebp - 0x1c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1c4], eax
push 0xb0
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.004089c0
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x108]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.00404190
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x108], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x10c], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x108]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x1b4], 6
jne 0x4021a1
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0xfc], 6
jne 0x4021a1
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x108]
call fcn.00402770
mov ecx, dword [ebp - 0x108]
mov byte [ebp - 0x1c1], 1
jmp 0x4021a8
mov byte [ebp - 0x1c1], 0
mov eax, dword [ecx + 4]
mov dword [ebp + eax - 0x108], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x10c], eax
lea ecx, [ebp - 0x104]
call fcn.004036d0
mov eax, dword [ebp - 0x108]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x108], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x10c], eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 4
push eax
mov dword [ebp - 0xa0], vtable.std::ios_base.0
call fcn.00406805
mov eax, dword [ebp - 0x1c0]
add esp, 4
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1c4], eax
lea ecx, [ebp - 0x1b0]
call fcn.004036d0
mov eax, dword [ebp - 0x1c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1c4], eax
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00406805
add esp, 4
mov byte [ebp - 4], 1
cmp byte [ebp - 0x1c1], 0
jne 0x4022ff
mov edx, str.Error:_Could_not_copy
mov ecx, 0x42b170
call fcn.004051d0
cmp dword [ebp - 0x44], 0xf
lea edx, [ebp - 0x58]
push dword [ebp - 0x48]
cmova edx, dword [ebp - 0x58]
mov ecx, eax
call fcn.00405e00
mov edx, str._to
mov ecx, eax
call fcn.004051d0
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.00405e00
mov edx, 0x426fb0
mov ecx, eax
call fcn.004051d0
push eax
call fcn.00405480
add esp, 0xc
mov esi, 1
jmp 0x4026c2
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmova eax, dword [ebp - 0x28]
push 0
push 0
push dword [ebp - 0x18]
push eax
push 0
push 0xfde9
call edi
mov esi, eax
mov dword [ebp - 0x30], 0
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push 0
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
call fcn.004055f0
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
push esi
cmova ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
push ecx
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
push eax
push 0
push 0xfde9
call edi
mov byte [ebp - 4], 6
mov eax, 0x7ffffffe
mov ecx, dword [ebp - 0x30]
sub eax, ecx
mov dword [ebp - 0x1c8], ecx
cmp eax, 4
jb 0x402751
cmp dword [ebp - 0x2c], 7
lea edx, [ebp - 0x40]
mov edi, 7
mov dword [ebp - 0x1d8], 0
cmova edx, dword [ebp - 0x40]
lea esi, [ebp - 0x1e8]
add ecx, 4
mov dword [ebp - 0x1d0], edx
mov dword [ebp - 0x1d4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1cc], ecx
movups xmmword [ebp - 0x1e8], xmm0
cmp ecx, edi
jbe 0x402454
mov edi, ecx
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x402417
mov eax, 0x7fffffff
mov edi, 0x7ffffffe
add eax, eax
cmp eax, 0x1000
jb 0x402437
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x402756
push ecx
call fcn.00406ee0
add esp, 4
test eax, eax
je 0x40275b
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x402442
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x402756
add eax, eax
jne 0x4023e9
xor esi, esi
jmp 0x40244e
push eax
call fcn.00406ee0
add esp, 4
mov esi, eax
mov edx, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1e8], esi
mov dword [ebp - 0x1d4], edi
mov edi, dword [ebp - 0x1c8]
mov dword [ebp - 0x1d8], ecx
lea ecx, [esi + 8]
mov dword [esi], 0x43002f
mov dword [esi + 4], 0x220020
lea eax, [edi + edi]
push eax
push edx
push ecx
call fcn.00408420
xor eax, eax
add esp, 0xc
mov word [esi + edi*2 + 8], ax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x1d4]
mov eax, edx
mov ecx, dword [ebp - 0x1d8]
sub eax, ecx
cmp eax, 1
jb 0x4024cc
lea eax, [ecx + 1]
cmp edx, 7
mov dword [ebp - 0x1d8], eax
lea eax, [ebp - 0x1e8]
cmova eax, dword [ebp - 0x1e8]
mov dword [eax + ecx*2], 0x22
lea eax, [ebp - 0x1e8]
jmp 0x4024ed
push 1
push 0x426fd4
mov byte [ebp - 0x1c8], 0
lea ecx, [ebp - 0x1e8]
push dword [ebp - 0x1c8]
push 1
call fcn.00406060
mov dword [ebp - 0x1f0], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x200], xmm0
mov dword [ebp - 0x1ec], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
push 5
push ecx
movups xmmword [ebp - 0x200], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1f0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x200]
cmp dword [ebp - 0x1ec], 7
cmova eax, dword [ebp - 0x200]
push eax
push 0x426fd8
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x1ec]
mov esi, eax
cmp ecx, 7
jbe 0x4025a0
mov edx, dword [ebp - 0x200]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402596
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40275b
push ecx
push edx
call fcn.00406f10
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1ec], 7
mov word [ebp - 0x200], ax
cmp ecx, 7
jbe 0x402601
mov edx, dword [ebp - 0x1e8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4025f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40275b
push ecx
push edx
call fcn.00406f10
add esp, 8
cmp esi, 0x20
jg 0x40260d
mov edx, str.Error:_Could_not_execute
jmp 0x40262a
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.0040c06f
add esp, 4
test eax, eax
je 0x402658
mov edx, str.Error:_Could_not_delete
mov ecx, 0x42b170
call fcn.004051d0
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.00405e00
mov edx, 0x426fb0
add esp, 4
mov esi, 1
jmp 0x402664
xor esi, esi
mov eax, 0x42b088
mov edx, str.Execution_completed_successfully.
mov ecx, eax
call fcn.004051d0
push eax
call fcn.00405480
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp ecx, 7
jbe 0x4026ae
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4026a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402760
push ecx
push edx
call fcn.00406f10
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x4026f2
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4026e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402760
push ecx
push edx
call fcn.00406f10
add esp, 8
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x402734
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40272a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402760
push ecx
push edx
call fcn.00406f10
add esp, 8
mov eax, esi
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.00406ecd
mov esp, ebp
pop ebp
ret
call fcn.004012f0
call fcn.00401250
call fcn.0040d37b
call fcn.0040d37b
int3