Function at 0x42bad0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4419f2
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x45d070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, edx
mov dword [ebp - 0x84], esi
mov ebx, ecx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x80], 0
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x7c], 0
je 0x42bfbd
cmp dword [ebx + 0x14], 8
jb 0x42bb34
mov ecx, dword [ebx]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bb37
sub ecx, edx
sar ecx, 1
cmp ecx, 9
jb 0x42bfbd
push 7
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, ebx
call fcn.00403210
mov edx, eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0
call fcn.0042d960
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], 8
jb 0x42bb85
push dword [ebp - 0x30]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 8
push str.https:__
push dword [ebp - 0x54]
xor eax, eax
push ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.0040d990
test eax, eax
push str..tmp
mov edx, esi
lea ecx, [ebp - 0x4c]
sete bl
call fcn.00412b90
add esp, 4
lea ecx, [ebp - 0x15]
mov dword [ebp - 0x68], 0
mov byte [ebp - 4], 4
call dword [sym.imp.curlpp.dll_public:_void___thiscall_curlpp::Cleanup::constructor_void_]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.curlpp.dll_public:_void___thiscall_curlpp::Easy::constructor_void_]
push ecx
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 6
call fcn.0042d740
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x42bc10
mov eax, dword [eax]
push 0x44e378
push eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR110.dll_fopen_s]
add esp, 0xc
cmp dword [ebp - 0x98], 0x10
jb 0x42bc3b
push dword [ebp - 0xac]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x68], 0
jne 0x42bc6d
push str.create_file_fail
lea ecx, [ebp - 0x94]
call dword [sym.imp.curlpp.dll_public:_void___thiscall_curlpp::RuntimeError::constructor_char_const__]
push 0x451a6c
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], vtable.curlpp::CreateFileError.0
call sub.MSVCR110.dll__CxxThrowException
test bl, bl
mov ebx, dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
push 0xc
je 0x42bd57
call ebx
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x42bca8
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov dword [eax + 8], 0
mov dword [ebp - 0x74], 0x1bb
call fcn.0042c450
jmp 0x42bcaa
xor eax, eax
mov byte [ebp - 4], 6
mov edi, dword [sym.imp.curlpp.dll_public_virtual:_void___thiscall_curlpp::Easy::setOpt_class_curlpp::OptionBase__]
push eax
lea ecx, [ebp - 0x2c]
call edi
push 0xc
call ebx
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x42bcdc
mov ecx, eax
mov dword [eax + 8], 0
call fcn.0042c6e0
jmp 0x42bcde
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call edi
push 0xc
call ebx
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x42bd15
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov dword [eax + 8], 0
mov dword [ebp - 0x74], 0
call fcn.0042c820
jmp 0x42bd17
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call edi
push 0xc
call ebx
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x42bd4f
lea ecx, [ebp - 0x69]
push ecx
mov ecx, eax
mov dword [eax + 8], 0
mov byte [ebp - 0x69], 0
call fcn.0042ca10
mov byte [ebp - 4], 6
jmp 0x42bd8e
xor eax, eax
mov byte [ebp - 4], 6
jmp 0x42bd8e
call ebx
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 0xb
test eax, eax
je 0x42bd82
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
mov dword [eax + 8], 0
mov dword [ebp - 0x74], 0x50
call fcn.0042c450
jmp 0x42bd84
xor eax, eax
mov byte [ebp - 4], 6
mov edi, dword [sym.imp.curlpp.dll_public_virtual:_void___thiscall_curlpp::Easy::setOpt_class_curlpp::OptionBase__]
push eax
lea ecx, [ebp - 0x2c]
call edi
push 0xc
call ebx
mov esi, eax
add esp, 4
mov dword [ebp - 0x70], esi
mov byte [ebp - 4], 0xc
test esi, esi
je 0x42bdd9
mov edx, dword [ebp - 0x88]
push ecx
lea ecx, [ebp - 0xac]
mov dword [esi + 8], 0
call fcn.0042d740
add esp, 4
mov byte [ebp - 4], 0xd
push eax
mov ecx, esi
mov dword [ebp - 0x80], 1
call fcn.0042c120
jmp 0x42bddb
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0xe
call edi
mov dword [ebp - 4], 6
test byte [ebp - 0x80], 1
je 0x42be00
lea ecx, [ebp - 0xac]
call fcn.00406260
push 0xc
call ebx
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 0xf
test eax, eax
je 0x42be2a
lea ecx, [ebp - 0x69]
push ecx
mov ecx, eax
mov dword [eax + 8], 0
mov byte [ebp - 0x69], 1
call fcn.0042cc00
jmp 0x42be2c
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call edi
push 0xc
call ebx
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 0x10
test eax, eax
je 0x42be5b
mov dword [eax + 8], 0
push dword [ebp - 0x68]
mov ecx, eax
call fcn.0042ce80
jmp 0x42be5d
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call edi
push 0xc
call ebx
add esp, 4
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x42be8e
push 0x42baa0
mov ecx, eax
mov dword [eax + 8], 0
call fcn.0042d100
jmp 0x42be90
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call edi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.curlpp.dll_public:_void___thiscall_curlpp::Easy::perform_void_]
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], 0
push 0x200002
push dword [esi + 4]
call dword [sym.imp.libcurl.dll_curl_easy_getinfo]
push eax
lea eax, [esi + 8]
push eax
call dword [sym.imp.curlpp.dll_void___cdecl_curlpp::libcurlRuntimeAssert_char_const___enum_CURLcode_]
add esp, 0x14
cmp dword [ebp - 0x34], 0x194
mov ecx, 1
mov eax, 0
cmovne eax, ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 5
call dword [sym.imp.curlpp.dll_public_virtual:_void___thiscall_curlpp::Easy::destructor_void_]
lea ecx, [ebp - 0x15]
mov byte [ebp - 4], 4
call dword [sym.imp.curlpp.dll_public:_void___thiscall_curlpp::Cleanup::destructor_void_]
mov ebx, dword [ebp - 0x84]
jmp 0x42bf0f
mov eax, dword [ebp - 0x68]
mov dword [0x460dd4], 0
test eax, eax
je 0x42bf33
push eax
call dword [sym.imp.MSVCR110.dll_fflush]
push dword [ebp - 0x68]
call dword [sym.imp.MSVCR110.dll_fclose]
add esp, 8
cmp dword [ebp - 0x7c], 0
je 0x42bf6e
cmp dword [ebx + 0x14], 8
jb 0x42bf41
mov ebx, dword [ebx]
cmp dword [ebp - 0x38], 8
push 1
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x42bf80
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x38], 8
jb 0x42bf92
push dword [ebp - 0x4c]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
jb 0x42bfb8
push dword [ebp - 0x64]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x7c]
jmp 0x42bfbf
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043bd5c
mov esp, ebp
pop ebp
ret