Function at 0x42d9b0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e5d2
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x4622c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x4c], 0x80004005
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00435920
test eax, eax
jne 0x42dab6
lea eax, [ebp - 0x110]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xf4], esp
push 0x38
push 0x455b74
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
mov dword [ebp - 0x288], eax
lea ecx, [ebp - 0xf0]
call fcn.00402c20
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x290], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x290]
call fcn.00402f10
mov dword [ebp - 0x294], eax
mov edx, dword [ebp - 0x294]
mov dword [ebp - 0x298], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x298]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 1
mov eax, dword [ebp - 0x284]
push eax
call fcn.00429930
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x110]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00404940
mov eax, 0x8000000a
jmp 0x42e144
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.004360a0
mov byte [ebp - 4], 3
mov dword [ebp - 0x54], 0
jmp 0x42daeb
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00435920
cmp dword [ebp - 0x54], eax
jae 0x42db0f
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x48]
call fcn.004361e0
jmp 0x42dae2
mov dword [ebp - 0x58], 0
jmp 0x42db21
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00435920
cmp dword [ebp - 0x58], eax
jae 0x42db70
call dword [sym.imp.MSVCR90.dll_rand]
mov esi, eax
lea ecx, [ebp - 0x48]
call fcn.00436170
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.00436190
push eax
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x48]
call fcn.00436190
push eax
call fcn.0043d640
add esp, 8
jmp 0x42db18
mov dword [ebp - 0x5c], 0
jmp 0x42db82
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x48]
call fcn.00436170
cmp dword [ebp - 0x5c], eax
jae 0x42e074
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00436190
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00435940
cmp dword [eax + 0x3c], 0
jne 0x42dbc1
jmp 0x42db79
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x42dbf3
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00435940
add eax, 0x1c
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
test eax, eax
jne 0x42dbf3
jmp 0x42db79
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x42dc2d
mov dword [ebp - 0x50], 1
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00435940
add eax, 0x1c
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
jmp 0x42dce0
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00435940
add eax, 0x1c
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
test eax, eax
je 0x42dcba
call dword [sym.imp.MSVCR90.dll_rand]
and eax, 0x80000001
jns 0x42dc63
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x42dc92
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00435940
add eax, 0x1c
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [ebp - 0x50], 1
jmp 0x42dcb8
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00435940
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [ebp - 0x50], 0
jmp 0x42dce0
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00435940
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [ebp - 4], 5
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ebp - 0x284]
call fcn.00413260
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x42ddea
lea eax, [ebp - 0x188]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x16c], esp
push 0x3a
push 0x455bb0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x168]
call fcn.00402c20
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2a4]
call fcn.00403240
mov dword [ebp - 0x2a8], eax
mov edx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], edx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2ac]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 1
mov eax, dword [ebp - 0x284]
push eax
call fcn.00429930
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x188]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x168]
call fcn.00404940
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x42e074
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
test eax, eax
je 0x42de22
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
sub eax, 1
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::at_unsigned_int_]
movsx ecx, byte [eax]
cmp ecx, 0x5c
je 0x42de22
push 0x5c
push 1
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_unsigned_int__char_]
lea edx, [ebp - 0x98]
push edx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, dword [ebp - 0x284]
add ecx, 0x244
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x42dfb4
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00435940
add eax, 0x38
mov dword [ebp - 0x2b0], eax
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 0x2b0]
mov dword [eax], edx
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00435940
cmp dword [eax + 0x38], 3
jle 0x42df92
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00435940
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea eax, [ebp - 0x200]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1e4], esp
push 0x3f
push 0x455bf0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
mov dword [ebp - 0x2b4], eax
lea ecx, [ebp - 0x1e0]
call fcn.00402c20
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2bc], ecx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2bc]
call fcn.00402cf0
mov dword [ebp - 0x2c0], eax
mov edx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2c4]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 1
mov eax, dword [ebp - 0x284]
push eax
call fcn.00429930
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x200]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1e0]
call fcn.00404940
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00435940
mov dword [eax + 0x3c], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x42db79
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x50]
mov dword [edx + 0x78], eax
lea ecx, [ebp - 0x98]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x3c
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x58
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
jne 0x42dffc
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x20
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x74], eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00435940
mov dword [eax + 0x38], 0
mov dword [ebp - 0x204], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x78]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00436110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x204]
jmp 0x42e144
lea edx, [ebp - 0x27c]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x260], esp
push 0x2a
push 0x455c30
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int_]
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x25c]
call fcn.00402c20
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2d0]
call fcn.00403240
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x2d4]
mov dword [ebp - 0x2d8], ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x2d8]
call dword [sym.imp.MSVCP90.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push 1
mov edx, dword [ebp - 0x284]
push edx
call fcn.00429930
add esp, 0xc
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x27c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x25c]
call fcn.00404940
mov dword [ebp - 0x280], 0x80004005
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00436110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044a380
mov esp, ebp
pop ebp
ret 8