Function at 0x40123c
Capabilities:
Execute command
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6835c
call fcn.00402344
mov ecx, 0x1a0d7
dec ecx
mov dword [esp + ecx*4], 0xfffa5a5a
jne 0x40124e
push ebx
push esi
push edi
lea edi, [ebp - 0x61b8]
lea esi, [0x44e030]
mov ecx, 0x61a8
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x62d0], 0
mov dword [ebp - 0x62d4], 0
mov dword [ebp - 0x62c0], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x62d8], 0
mov dword [ebp - 0x63e4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x62c8], 0
mov dword [ebp - 0x62cc], 0
push str.Compiled_with_Batch_File_Compiler_Professional_Edition_v3.0.1_found_at_www.bdargo.com
push 0x44c804
call sub.CRTDLL.DLL_strcpy
add esp, 8
push 0x4543ce
push 0x44c6f4
call sub.CRTDLL.DLL_strcpy
add esp, 8
push 0x4543ce
lea edi, [ebp - 0x68ca]
push edi
call sub.CRTDLL.DLL_strcpy
add esp, 8
push 1
call fcn.00401fbf
add esp, 4
mov edi, eax
push 0x4543cb
push edi
call sub.CRTDLL.DLL_fopen
add esp, 8
mov dword [ebp - 4], eax
cmp eax, 0
jne 0x40133f
push str.Error_bd70____Quiting
push 0x4543c7
call sub.CRTDLL.DLL_printf
add esp, 8
push 1
call sub.CRTDLL.DLL_exit
add esp, 4
push 2
push 0xfffffffffffffff4
push dword [ebp - 4]
call sub.CRTDLL.DLL_fseek
add esp, 0xc
push dword [ebp - 4]
push 0xc
lea edi, [ebp - 0x63f2]
push edi
call sub.CRTDLL.DLL_fgets
add esp, 0xc
lea edi, [ebp - 0x63f2]
push edi
call fcn.00401d3b
add esp, 4
mov dword [ebp - 0x62d4], eax
push 2
imul edi, dword [ebp - 0x62d4], 0xffffffff
add edi, 0xfffffff4
push edi
push dword [ebp - 4]
call sub.CRTDLL.DLL_fseek
add esp, 0xc
push 0x44c6f4
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
mov dword [ebp - 0x37610], eax
push dword [ebp - 0x37610]
push 0x44c6f4
call fcn.00402186
add esp, 8
mov edi, eax
push edi
push 0x44c6f4
call sub.CRTDLL.DLL_strcpy
add esp, 8
push 0x62
call fcn.00401fdb
add esp, 4
mov edi, eax
push 0x64
call fcn.00401fdb
add esp, 4
mov esi, eax
push 0x74
call fcn.00401fdb
add esp, 4
mov ebx, eax
push 0x6d
call fcn.00401fdb
add esp, 4
mov edx, eax
mov dword [ebp - 0x68354], edx
push 0x70
call fcn.00401fdb
add esp, 4
push eax
mov edx, dword [ebp - 0x68354]
push dword [ebp - 0x68354]
push ebx
push esi
push edi
push 0x44c6f4
push str._s_s_s_s_s_s
push 0x44c6f4
call sub.CRTDLL.DLL_sprintf
add esp, 0x20
push 0x44c6f4
call fcn.00402263
add esp, 4
cmp eax, 1
jne 0x401477
push str.mkdir
lea edi, [ebp - 0x67c6]
push edi
call sub.CRTDLL.DLL_strcpy
add esp, 8
push 0x44c6f4
lea edi, [ebp - 0x67c6]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
lea edi, [ebp - 0x67c6]
push edi
call sub.CRTDLL.DLL_system
add esp, 4
push 0x44c6f4
push str.attrib_h
push str._s_s
lea edi, [ebp - 0x67c6]
push edi
call sub.CRTDLL.DLL_sprintf
add esp, 0x10
lea edi, [ebp - 0x67c6]
push edi
call sub.CRTDLL.DLL_system
add esp, 4
push 0x73
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcpy
add esp, 8
push 0x65
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x74
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x20
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x72
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x65
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x73
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x74
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x6d
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x70
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x64
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x69
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x72
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x3d
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 1
call fcn.00401cab
add esp, 4
push str..bat
push eax
push 0x454381
push 0x44c6f4
push str._s_s_s_s
lea edi, [ebp - 0x63dc]
push edi
call sub.CRTDLL.DLL_sprintf
add esp, 0x18
push 0x454381
push 0x44c6f4
lea edi, [ebp - 0x62bc]
push edi
push str._s_s_s
lea edi, [ebp - 0x68ca]
push edi
call sub.CRTDLL.DLL_sprintf
add esp, 0x14
push 2
call fcn.00401cab
add esp, 4
push str..exe
push eax
push 0x454381
push 0x44c6f4
push str._s_s_s_s
lea edi, [ebp - 0x64f6]
push edi
call sub.CRTDLL.DLL_sprintf
add esp, 0x18
push 0x45436d
lea edi, [ebp - 0x63dc]
push edi
call sub.CRTDLL.DLL_fopen
add esp, 8
mov dword [ebp - 0x63e0], eax
cmp eax, 0
jne 0x4016d9
push str.Error_bd60____Quiting
push 0x4543c7
call sub.CRTDLL.DLL_printf
add esp, 8
push str.pause
call sub.CRTDLL.DLL_system
add esp, 4
push 1
call sub.CRTDLL.DLL_exit
add esp, 4
push 0x73
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcpy
add esp, 8
push 0x65
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x74
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x20
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x62
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x66
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x63
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x65
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x63
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0x3d
call fcn.00401fdb
add esp, 4
push eax
lea edi, [ebp - 0x62bc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
push 0xd
call fcn.00401fdb
add esp, 4
mov edi, eax
push 0xa
call fcn.00401fdb
add esp, 4
mov esi, eax
push 0xd
call fcn.00401fdb
add esp, 4
mov ebx, eax
push 0xa
call fcn.00401fdb
add esp, 4
mov edx, eax
mov dword [ebp - 0x68358], edx
push 0xd
call fcn.00401fdb
add esp, 4
mov edx, eax
mov dword [ebp - 0x6835c], edx
push 0xa
call fcn.00401fdb
add esp, 4
push eax
mov edx, dword [ebp - 0x6835c]
push dword [ebp - 0x6835c]
lea edx, [ebp - 0x64f6]
push edx
lea edx, [ebp - 0x62bc]
push edx
mov edx, dword [ebp - 0x68358]
push dword [ebp - 0x68358]
push ebx
lea ebx, [ebp - 0x68ca]
push ebx
push esi
push edi
push str._echo_off
push str._s_s_s_s_s_s_s_s_s_s
lea edi, [ebp - 0x3760a]
push edi
call sub.CRTDLL.DLL_sprintf
add esp, 0x30
push dword [ebp - 0x63e0]
lea edi, [ebp - 0x3760a]
push edi
call sub.CRTDLL.DLL_fputs
add esp, 8
push 0x4543ce
lea edi, [ebp - 0x68350]
push edi
call sub.CRTDLL.DLL_strcpy
add esp, 8
mov dword [ebp - 0x10], 0
jmp 0x4018ef
push dword [ebp - 4]
call sub.CRTDLL.DLL_getc
add esp, 4
mov dword [ebp - 0x62c8], eax
push dword [ebp - 4]
call sub.CRTDLL.DLL_getc
add esp, 4
mov dword [ebp - 0x62cc], eax
push dword [ebp - 0x63e0]
mov edi, dword [ebp - 0x62c8]
add edi, dword [ebp - 0x62cc]
sub edi, 0x55
push edi
call sub.CRTDLL.DLL_putc
add esp, 8
add dword [ebp - 0x10], 2
mov edi, dword [ebp - 0x62d4]
cmp dword [ebp - 0x10], edi
jl 0x4018ab
push dword [ebp - 0x63e0]
call sub.CRTDLL.DLL_fclose
add esp, 4
push dword [ebp - 4]
call sub.CRTDLL.DLL_fclose
add esp, 4
push 1
call fcn.00401fbf
add esp, 4
mov edi, eax
push 0x4543cb
push edi
call sub.CRTDLL.DLL_fopen
add esp, 8
mov dword [ebp - 4], eax
cmp eax, 0
jne 0x401951
push str.Error_bd70____Quiting
push 0x4543c7
call sub.CRTDLL.DLL_printf
add esp, 8
push 1
call sub.CRTDLL.DLL_exit
add esp, 4
push 2
imul edi, dword [ebp - 0x62d4], 0xffffffff
add edi, 0xffffffe8
push edi
push dword [ebp - 4]
call sub.CRTDLL.DLL_fseek
add esp, 0xc
push dword [ebp - 4]
push 0xc
lea edi, [ebp - 0x63f2]
push edi
call sub.CRTDLL.DLL_fgets
add esp, 0xc
lea edi, [ebp - 0x63f2]
push edi
call fcn.00401d3b
add esp, 4
mov dword [ebp - 0x62c0], eax
mov edi, dword [ebp - 0x62d4]
add edi, 0x18
add edi, dword [ebp - 0x62c0]
imul edi, edi, 0xffffffff
mov dword [ebp - 0x62d8], edi
push 2
push dword [ebp - 0x62d8]
push dword [ebp - 4]
call sub.CRTDLL.DLL_fseek
add esp, 0xc
push 0x45436d
lea edi, [ebp - 0x64f6]
push edi
call sub.CRTDLL.DLL_fopen
add esp, 8
mov dword [ebp - 0x62c4], eax
cmp eax, 0
jne 0x401a05
push str.Error_bd65____Quiting
push 0x4543c7
call sub.CRTDLL.DLL_printf
add esp, 8
push str.pause
call sub.CRTDLL.DLL_system
add esp, 4
push 1
call sub.CRTDLL.DLL_exit
add esp, 4
push 2
push dword [ebp - 0x62d8]
push dword [ebp - 4]
call sub.CRTDLL.DLL_fseek
add esp, 0xc
push dword [ebp - 4]
call sub.CRTDLL.DLL_ftell
add esp, 4
mov dword [ebp - 0x62d8], eax
push 0
mov edi, dword [ebp - 0x62d8]
add edi, dword [ebp - 8]
add edi, dword [ebp - 0xc]
push edi
push dword [ebp - 4]
call sub.CRTDLL.DLL_fseek
add esp, 0xc
push dword [ebp - 4]
mov edi, dword [ebp - 0x62c0]
add edi, 1
sub edi, dword [ebp - 8]
push edi
lea edi, [ebp - 0x61b8]
push edi
call sub.CRTDLL.DLL_fgets
add esp, 0xc
push 0x4543ce
lea edi, [ebp - 0x61b8]
push edi
call sub.CRTDLL.DLL_strcmp
add esp, 8
cmp eax, 0
je 0x401b09
cmp dword [ebp - 0xc], 0
jne 0x401aba
lea edi, [ebp - 0x61b8]
push edi
call sub.CRTDLL.DLL_strlen
add esp, 4
mov dword [ebp - 0x63e4], eax
mov edi, dword [ebp - 0x63e4]
add dword [ebp - 8], edi
push dword [ebp - 0x62c4]
lea edi, [ebp - 0x61b8]
push edi
call sub.CRTDLL.DLL_fputs
add esp, 8
jmp 0x401b33
push 0
mov edi, dword [ebp - 8]
add edi, dword [ebp - 0xc]
push edi
push dword [ebp - 0x62c4]
call sub.CRTDLL.DLL_fseek
add esp, 0xc
push dword [ebp - 0x62c4]
lea edi, [ebp - 0x61b8]
push edi
call sub.CRTDLL.DLL_fputs
add esp, 8
lea edi, [ebp - 0x61b8]
push edi
call sub.CRTDLL.DLL_strlen
add esp, 4
mov esi, dword [ebp - 8]
add esi, dword [ebp - 0xc]
add esi, eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 0
jmp 0x401b33
push 0
mov edi, dword [ebp - 8]
add edi, dword [ebp - 0xc]
push edi
push dword [ebp - 0x62c4]
call sub.CRTDLL.DLL_fseek
add esp, 0xc
push dword [ebp - 0x62c4]
push 0
call sub.CRTDLL.DLL_putc
add esp, 8
inc dword [ebp - 0xc]
mov edi, dword [ebp - 8]
sub edi, 1
cmp edi, dword [ebp - 0x62c0]
jl 0x401a29
push 0
push dword [ebp - 0x62c0]
push dword [ebp - 0x62c4]
call sub.CRTDLL.DLL_fseek
add esp, 0xc
push dword [ebp - 0x62c4]
push 0
call sub.CRTDLL.DLL_putc
add esp, 8
push dword [ebp - 0x62c4]
call sub.CRTDLL.DLL_fclose
add esp, 4
push dword [ebp - 4]
call sub.CRTDLL.DLL_fclose
add esp, 4
push 0x64
call fcn.00401fdb
add esp, 4
mov edi, eax
push 0x65
call fcn.00401fdb
add esp, 4
mov esi, eax
push 0x6c
call fcn.00401fdb
add esp, 4
mov ebx, eax
push 0x20
call fcn.00401fdb
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x63dc]
push ecx
push edx
push ebx
push esi
push edi
push str._s_s_s_s_s
lea edi, [ebp - 0x665e]
push edi
call sub.CRTDLL.DLL_sprintf
add esp, 0x1c
cmp dword [ebp + 8], 1
jle 0x401c28
mov dword [ebp - 0x62d0], 1
jmp 0x401c1a
push 0x45430d
lea edi, [ebp - 0x63dc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
mov edi, dword [ebp - 0x62d0]
mov esi, dword [ebp + 0xc]
push dword [esi + edi*4]
lea edi, [ebp - 0x63dc]
push edi
call sub.CRTDLL.DLL_strcat
add esp, 8
inc dword [ebp - 0x62d0]
mov edi, dword [ebp + 8]
sub edi, 1
cmp dword [ebp - 0x62d0], edi
jle 0x401be5
lea edi, [ebp - 0x63dc]
push edi
call sub.CRTDLL.DLL_system
add esp, 4
lea edi, [ebp - 0x665e]
push edi
call sub.CRTDLL.DLL_system
add esp, 4
push 0x64
call fcn.00401fdb
add esp, 4
mov edi, eax
push 0x65
call fcn.00401fdb
add esp, 4
mov esi, eax
push 0x6c
call fcn.00401fdb
add esp, 4
mov ebx, eax
push 0x20
call fcn.00401fdb
add esp, 4
mov edx, eax
lea ecx, [ebp - 0x64f6]
push ecx
push edx
push ebx
push esi
push edi
push str._s_s_s_s_s
lea edi, [ebp - 0x665e]
push edi
call sub.CRTDLL.DLL_sprintf
add esp, 0x1c
lea edi, [ebp - 0x665e]
push edi
call sub.CRTDLL.DLL_system
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret