Function at 0x40e28b
Capabilities:
Accept command line arguments
Move file

Disassembly:
mov eax, 0x421a48
call fcn.00420e60
mov eax, 0x28f0
call fcn.00420e10
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x252]
mov word [ebp - 0x254], bx
mov esi, 0x103
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x10]
push esi
stosw word es:[edi], ax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x18], ebx
push eax
call fcn.0040e096
test eax, eax
je 0x40e505
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x45a]
mov word [ebp - 0x45c], bx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x10]
push esi
stosw word es:[edi], ax
lea eax, [ebp - 0x45c]
push eax
call fcn.0040e147
test eax, eax
je 0x40e502
mov al, byte [ebp - 0x11]
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x28], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 0x40dc98
push 0x40ea16
push 1
lea eax, [ebp - 0x4c]
push 0x24
push eax
mov dword [ebp - 4], ebx
call fcn.00420ff8
lea eax, [ebp - 0x4c]
push 1
push eax
mov byte [ebp - 4], 1
call fcn.004041ea
pop ecx
test eax, eax
pop ecx
je 0x40e369
mov eax, dword [ebp - 0x44]
cmp eax, ebx
jne 0x40e35a
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
lea ecx, [ebp - 0x28]
push ecx
push 1
push eax
call fcn.00403879
add esp, 0xc
mov ecx, 0x823
xor eax, eax
lea edi, [ebp - 0x28fa]
mov word [ebp - 0x28fc], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00402a74
mov edx, eax
pop ecx
cmp edx, ebx
mov dword [ebp - 0x10], edx
je 0x40e440
cmp word [edx], bx
je 0x40e440
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x662]
mov word [ebp - 0x664], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x664]
push esi
mov edi, 0x429ef4
push eax
push edi
push edx
call fcn.00402ad1
add esp, 0x10
cmp word [ebp - 0x664], bx
je 0x40e407
lea eax, [ebp - 0x254]
push eax
push str._unpath:
push dword [ebp - 0x10]
lea eax, [ebp - 0x28fc]
push str._s__s__s_
push 0x1047
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x18
jmp 0x40e478
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x40e413
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x254]
push edi
push eax
push str._unpath:
lea eax, [ebp - 0x28fc]
push dword [ebp - 0x10]
push str._s__s__s___s__s_
push 0x1047
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x20
jmp 0x40e478
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x40e44c
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x254]
push 0x429ef4
push eax
push str._unpath:
push str._s__s___s__s_
lea eax, [ebp - 0x28fc]
push 0x1047
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x1c
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x86a]
mov word [ebp - 0x86c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x86c]
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x45c]
push ebx
push eax
lea eax, [ebp - 0x86c]
push eax
call fcn.004016c4
push ebx
lea eax, [ebp - 0x28fc]
push ebx
push eax
lea eax, [ebp - 0x45c]
push eax
call fcn.00402231
add esp, 0x1c
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x45c]
push 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x40dc98
push 1
lea eax, [ebp - 0x4c]
push 0x24
push eax
mov byte [ebp - 4], bl
call fcn.00420f04
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret