Function at 0x42e4b0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f8b2
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x4632c0]
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.00436610
test eax, eax
jne 0x42e5b6
lea eax, [ebp - 0x110]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xf4], esp
push 0x38
push 0x456de4
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.004034e0
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.00403a60
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.0042a3d0
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.004050e0
mov eax, 0x8000000a
jmp 0x42ec44
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.00436d90
mov byte [ebp - 4], 3
mov dword [ebp - 0x54], 0
jmp 0x42e5eb
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00436610
cmp dword [ebp - 0x54], eax
jae 0x42e60f
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x48]
call fcn.00436ed0
jmp 0x42e5e2
mov dword [ebp - 0x58], 0
jmp 0x42e621
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00436610
cmp dword [ebp - 0x58], eax
jae 0x42e670
call dword [sym.imp.MSVCR90.dll_rand]
mov esi, eax
lea ecx, [ebp - 0x48]
call fcn.00436e60
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.00436e80
push eax
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x48]
call fcn.00436e80
push eax
call fcn.0043e4e0
add esp, 8
jmp 0x42e618
mov dword [ebp - 0x5c], 0
jmp 0x42e682
mov eax, dword [ebp - 0x5c]
add eax, 1
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x48]
call fcn.00436e60
cmp dword [ebp - 0x5c], eax
jae 0x42eb74
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00436e80
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.00436630
cmp dword [eax + 0x3c], 0
jne 0x42e6c1
jmp 0x42e679
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x42e6f3
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00436630
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 0x42e6f3
jmp 0x42e679
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x42e72d
mov dword [ebp - 0x50], 1
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00436630
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 0x42e7e0
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00436630
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 0x42e7ba
call dword [sym.imp.MSVCR90.dll_rand]
and eax, 0x80000001
jns 0x42e763
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x42e792
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00436630
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 0x42e7b8
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00436630
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 0x42e7e0
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00436630
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.00413520
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x42e8ea
lea eax, [ebp - 0x188]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x16c], esp
push 0x3a
push 0x456e20
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.004034e0
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.00403630
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.0042a3d0
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.004050e0
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 0x42eb74
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 0x42e922
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 0x42e922
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 0x42eab4
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00436630
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.00436630
cmp dword [eax + 0x38], 3
jle 0x42ea92
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00436630
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 0x456e60
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.004034e0
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.00403630
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.0042a3d0
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.004050e0
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x284]
add ecx, 0x2c0
call fcn.00436630
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 0x42e679
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 0x42eafc
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.00436630
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.00436e00
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 0x42ec44
lea edx, [ebp - 0x27c]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x260], esp
push 0x2a
push 0x456ea0
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.004034e0
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.00403740
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.0042a3d0
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.004050e0
mov dword [ebp - 0x280], 0x80004005
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00436e00
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.0044b84a
mov esp, ebp
pop ebp
ret 8