Function at 0x404d30
Capabilities:
Create process on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4517e0
mov eax, dword fs:[0]
push eax
mov eax, 0x116c
call fcn.004250d0
mov eax, dword [0x4691b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xb8
lea eax, [ebp - 0x1140]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00425ee0
mov ecx, dword [ebp + 0x18]
mov eax, 0x7fffffff
sub eax, ecx
add esp, 0xc
cmp eax, 0xf
jb 0x405778
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push eax
push 0xf
push str.C:ProgramData_
push ecx
push dword [ebp - 0x1144]
lea ecx, [ebp - 0x1160]
call fcn.0040cb80
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x114c]
mov eax, edx
mov ecx, dword [ebp - 0x1150]
sub eax, ecx
push 9
push str._name.txt
cmp eax, 9
jb 0x404e07
cmp edx, 0x10
lea esi, [ebp - 0x1160]
lea eax, [ecx + 9]
cmovae esi, dword [ebp - 0x1160]
add esi, ecx
mov dword [ebp - 0x1150], eax
push esi
call fcn.004260f0
add esp, 0xc
mov byte [esi + 9], 0
lea eax, [ebp - 0x1160]
jmp 0x404e21
mov byte [ebp - 0x1144], 0
lea ecx, [ebp - 0x1160]
push dword [ebp - 0x1144]
push 9
call fcn.0040c300
mov dword [ebp - 0x1168], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x1178], xmm0
mov dword [ebp - 0x1164], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1178], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1168], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1178]
cmp dword [ebp - 0x1164], 0x10
lea ecx, [ebp - 0x1140]
cmovae eax, dword [ebp - 0x1178]
sub esp, 0xc
push eax
call fcn.00409d10
mov eax, dword [ebp - 0x1140]
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 - 0x1140]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1144], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1164]
cmp ecx, 0x10
jb 0x404ef3
mov edx, dword [ebp - 0x1178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404ee9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40577d
push ecx
push edx
call fcn.00424e41
add esp, 8
mov dword [ebp - 0x1168], 0
mov dword [ebp - 0x1164], 0xf
mov byte [ebp - 0x1178], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x114c]
cmp ecx, 0x10
jb 0x404f4c
mov edx, dword [ebp - 0x1160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404f42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40577d
push ecx
push edx
call fcn.00424e41
add esp, 8
lea ecx, [ebp - 0x1145]
mov dword [ebp - 0x1150], 0
lea eax, [ebp - 0x1144]
mov dword [ebp - 0x114c], 0xf
sub eax, ecx
mov byte [ebp - 0x1160], 0
push eax
mov eax, ecx
mov byte [ebp - 0x1145], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1048], 0
movups xmmword [ebp - 0x1058], xmm0
push eax
lea ecx, [ebp - 0x1058]
mov dword [ebp - 0x1044], 0xf
mov byte [ebp - 0x1058], 0
call fcn.0040b140
lea edx, [ebp - 0x1058]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1140]
call fcn.0040b9e0
lea ecx, [ebp - 0x1130]
call fcn.0040ad30
test eax, eax
jne 0x404ffd
mov eax, dword [ebp - 0x1140]
lea ecx, [ebp - 0x1140]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.004029c0
push 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x1018], 0
push str._K_taskkill__IM
lea ecx, [ebp - 0x1028]
mov dword [ebp - 0x1014], 0
movups xmmword [ebp - 0x1028], xmm0
call fcn.0040c460
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1058]
cmp dword [ebp - 0x1044], 0x10
mov edx, dword [ebp - 0x1018]
cmovae ecx, dword [ebp - 0x1058]
mov eax, dword [ebp - 0x1014]
mov edi, dword [ebp - 0x1048]
sub eax, edx
mov dword [ebp - 0x1144], edx
push edi
push ecx
cmp edi, eax
ja 0x40509c
cmp dword [ebp - 0x1014], 0x10
lea esi, [ebp - 0x1028]
lea eax, [edi + edx]
cmovae esi, dword [ebp - 0x1028]
mov dword [ebp - 0x1018], eax
lea eax, [esi + edx]
push eax
call fcn.004260f0
mov eax, dword [ebp - 0x1144]
add esp, 0xc
add eax, esi
mov byte [eax + edi], 0
jmp 0x4050bb
mov byte [ebp - 0x1144], 0
lea ecx, [ebp - 0x1028]
push dword [ebp - 0x1144]
push edi
call fcn.0040c300
mov edi, dword [ebp - 0x1048]
mov edx, dword [ebp - 0x1014]
mov eax, edx
mov ecx, dword [ebp - 0x1018]
sub eax, ecx
push 0xb
push str.__F__exit
cmp eax, 0xb
jb 0x405101
cmp edx, 0x10
lea esi, [ebp - 0x1028]
lea eax, [ecx + 0xb]
cmovae esi, dword [ebp - 0x1028]
add esi, ecx
mov dword [ebp - 0x1018], eax
push esi
call fcn.004260f0
add esp, 0xc
mov byte [esi + 0xb], 0
jmp 0x40511b
mov byte [ebp - 0x1144], 0
lea ecx, [ebp - 0x1028]
push dword [ebp - 0x1144]
push 0xb
call fcn.0040c300
cmp dword [ebp - 0x1014], 0x10
lea ecx, [ebp - 0x1028]
mov eax, dword [ebp - 0x1018]
cmovae ecx, dword [ebp - 0x1028]
add eax, ecx
cmp dword [ebp - 0x1014], 0x10
lea ecx, [ebp - 0x1028]
cmovae ecx, dword [ebp - 0x1028]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x1088]
call fcn.0040ba80
mov byte [ebp - 4], 8
mov eax, 0x7fffffff
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 0xf
jb 0x405782
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push eax
push 0xf
push str.C:ProgramData_
push ecx
push dword [ebp - 0x1144]
lea ecx, [ebp - 0x1160]
call fcn.0040cb80
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x114c]
mov eax, edx
mov ecx, dword [ebp - 0x1150]
sub eax, ecx
cmp eax, 1
jb 0x4051d6
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x1150], eax
lea eax, [ebp - 0x1160]
cmovae eax, dword [ebp - 0x1160]
mov word [eax + ecx], 0x5c
lea eax, [ebp - 0x1160]
jmp 0x4051f7
push 1
push 0x4637c0
mov byte [ebp - 0x1144], 0
lea ecx, [ebp - 0x1160]
push dword [ebp - 0x1144]
push 1
call fcn.0040c300
mov dword [ebp - 0x1030], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x1040], xmm0
mov dword [ebp - 0x102c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1040], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1030], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x114c]
cmp ecx, 0x10
jb 0x40527b
mov edx, dword [ebp - 0x1160]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405271
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405787
push ecx
push edx
call fcn.00424e41
add esp, 8
cmp dword [ebp - 0x1044], 0x10
lea ecx, [ebp - 0x1058]
mov esi, dword [ebp - 0x102c]
mov eax, esi
cmovae ecx, dword [ebp - 0x1058]
mov edx, dword [ebp - 0x1030]
sub eax, edx
mov dword [ebp - 0x1150], 0
mov dword [ebp - 0x114c], 0xf
mov byte [ebp - 0x1160], 0
push edi
push ecx
cmp edi, eax
ja 0x4052eb
lea eax, [edx + edi]
cmp esi, 0x10
mov dword [ebp - 0x1030], eax
lea eax, [ebp - 0x1040]
cmovae eax, dword [ebp - 0x1040]
lea esi, [eax + edx]
push esi
call fcn.004260f0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x405304
mov byte [ebp - 0x1144], 0
lea ecx, [ebp - 0x1040]
push dword [ebp - 0x1144]
push edi
call fcn.0040c300
mov edi, dword [ebp - 0x1058]
lea eax, [ebp - 0x1010]
push 0x800
push 0
push eax
call fcn.00425ee0
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x1010]
add esp, 0xc
lea eax, [ebp - 0x1040]
cmp dword [ebp - 0x102c], 0x10
cmovae eax, dword [ebp - 0x1040]
push 0x400
push ecx
push dword [ebp - 0x1030]
push eax
push 0
push 0xfde9
call esi
mov ecx, dword [ebp + 0x18]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 0xf
jb 0x40578c
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ecx
cmovae eax, dword [ebp + 8]
push eax
push 0xf
push str.C:ProgramData_
push ecx
push dword [ebp - 0x1144]
lea ecx, [ebp - 0x1178]
call fcn.0040cb80
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x1164]
mov eax, edx
mov ecx, dword [ebp - 0x1168]
sub eax, ecx
push 8
push str.old.exe
cmp eax, 8
jb 0x4053e5
cmp edx, 0x10
lea esi, [ebp - 0x1178]
lea eax, [ecx + 8]
cmovae esi, dword [ebp - 0x1178]
add esi, ecx
mov dword [ebp - 0x1168], eax
push esi
call fcn.004260f0
mov byte [esi + 8], 0
lea eax, [ebp - 0x1178]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
add esp, 0xc
jmp 0x4053ff
mov byte [ebp - 0x1144], 0
lea ecx, [ebp - 0x1178]
push dword [ebp - 0x1144]
push 8
call fcn.0040c300
mov dword [ebp - 0x1060], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x1070], xmm0
mov dword [ebp - 0x105c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x1070], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1060], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1164]
cmp ecx, 0x10
jb 0x405483
mov edx, dword [ebp - 0x1178]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405479
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405791
push ecx
push edx
call fcn.00424e41
add esp, 8
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.00425ee0
add esp, 0xc
lea ecx, [ebp - 0x810]
cmp dword [ebp - 0x105c], 0x10
lea eax, [ebp - 0x1070]
cmovae eax, dword [ebp - 0x1070]
push 0x400
push ecx
push dword [ebp - 0x1060]
push eax
push 0
push 0xfde9
call esi
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.0042aa2f
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x1074], 8
lea eax, [ebp - 0x1088]
push 0
cmovae eax, dword [ebp - 0x1088]
push 0
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x105c]
cmp ecx, 0x10
jb 0x40554f
mov edx, dword [ebp - 0x1070]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405545
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405796
push ecx
push edx
call fcn.00424e41
add esp, 8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x102c]
mov dword [ebp - 0x1060], 0
mov dword [ebp - 0x105c], 0xf
mov byte [ebp - 0x1070], 0
cmp ecx, 0x10
jb 0x4055a8
mov edx, dword [ebp - 0x1040]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40559e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405796
push ecx
push edx
call fcn.00424e41
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1074]
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
cmp ecx, 8
jb 0x405607
mov edx, dword [ebp - 0x1088]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4055fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405796
push ecx
push edx
call fcn.00424e41
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1014]
mov dword [ebp - 0x1078], 0
mov dword [ebp - 0x1074], 7
mov word [ebp - 0x1088], ax
cmp ecx, 0x10
jb 0x405662
mov edx, dword [ebp - 0x1028]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405658
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405796
push ecx
push edx
call fcn.00424e41
add esp, 8
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1044]
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
cmp eax, 0x10
jb 0x4056b7
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x4056ad
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405796
push ecx
push edi
call fcn.00424e41
add esp, 8
mov eax, dword [ebp - 0x1140]
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 - 0x1140]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x1144], eax
lea ecx, [ebp - 0x1130]
call fcn.00409c60
mov eax, dword [ebp - 0x1140]
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 - 0x1140]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x1144], eax
lea eax, [ebp - 0x10d0]
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004240c0
mov ecx, dword [ebp + 0x1c]
add esp, 4
cmp ecx, 0x10
jb 0x40575d
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405753
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405796
push ecx
push edx
call fcn.00424e41
add esp, 8
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.004249b0
mov esp, ebp
pop ebp
ret
call fcn.00401250
call fcn.0042b71c
call fcn.00401250
call fcn.0042b71c
call fcn.00401250
call fcn.0042b71c
call fcn.0042b71c
int3