Function at 0x1d40ffe
Capabilities:
Check http status code
Connect to http server
Create http request
Delete file
Read data from internet
Receive data
Send data
Send http request
Set file attributes

Disassembly:
push ebp
sub esp, 0x58
mov eax, 0x1d5adb2
call fcn.01d55708
sub esp, 0x444
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor edi, edi
inc edi
xor ebx, ebx
mov dword [ebp - 4], edi
cmp byte [0x1d89248], bl
je 0x1d4104e
lea ecx, [ebp + 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x68]
call dword [sym.imp.mfc100.dll_Ordinal_901]
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add ebp, 0x5c
leave
ret
lea ecx, [ebp + 0x24]
call sub.mfc100.dll_Ordinal_421
lea ecx, [ebp + 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea ecx, [ebp + 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_316]
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call sub.mfc100.dll_Ordinal_2010
test eax, eax
jne 0x1d410ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push 0x1d6dd28
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 5
push ecx
lea eax, [ebp + 0x68]
mov ecx, esp
mov dword [ebp + 0x4c], esp
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov byte [ebp - 4], 4
call fcn.01d40f6f
add esp, 0xc
lea ecx, [ebp + 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 1
call sub.mfc100.dll_Ordinal_977
jmp 0x1d41028
push ebx
lea ecx, [ebp + 0x68]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebx
push 0x1021
lea ecx, [ebp + 0x68]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp + 0x24]
call sub.mfc100.dll_Ordinal_10906
test eax, eax
jne 0x1d41138
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push 0x1d6dd40
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 6
jmp 0x1d410ab
lea ecx, [ebp + 0x50]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push 0x2f
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc100.dll_Ordinal_11744]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1d41169
push 0x5c
lea ecx, [ebp + 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_11744]
mov esi, eax
cmp esi, 0xffffffff
je 0x1d411ad
lea ecx, [ebp + 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_5207]
cmp eax, edi
jle 0x1d411ad
lea ecx, [ebp + 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_5207]
sub eax, esi
dec eax
push eax
lea eax, [ebp + 0x48]
push eax
lea ecx, [ebp + 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_11781]
push eax
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc100.dll_Ordinal_1313]
lea ecx, [ebp + 0x48]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x1d411ba
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp + 0x50]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
push 0x2d442d4
lea ecx, [ebp + 0x16]
call fcn.01d416c4
push ebx
push ebx
push ebx
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, eax
xor eax, eax
lea edi, [ebp + 0x16]
stosd dword es:[edi], eax
mov dword [ebp + 0x3c], esi
stosw word es:[edi], ax
cmp esi, ebx
jne 0x1d41231
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push 0x1d6dd58
call dword [sym.imp.mfc100.dll_Ordinal_310]
push ecx
lea eax, [ebp + 0x68]
mov ecx, esp
mov dword [ebp + 0x4c], esp
push eax
mov byte [ebp - 4], 9
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov byte [ebp - 4], 7
call fcn.01d40f6f
add esp, 0xc
lea ecx, [ebp + 0x24]
call sub.mfc100.dll_Ordinal_2524
lea ecx, [ebp + 0x50]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x1d410c7
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp + 0x1c]
lea ecx, [ebp + 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp + 0x40], eax
cmp eax, ebx
jne 0x1d4129b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push 0x1d6dd74
call dword [sym.imp.mfc100.dll_Ordinal_310]
push ecx
lea eax, [ebp + 0x68]
mov ecx, esp
mov dword [ebp + 0x4c], esp
push eax
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov byte [ebp - 4], 7
call fcn.01d40f6f
add esp, 0xc
lea ecx, [ebp + 0x24]
call sub.mfc100.dll_Ordinal_2524
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x1d41223
cmp byte [0x1d89248], bl
jne 0x1d41223
push ebx
push 0x84c00000
push ebx
push ebx
push ebx
lea ecx, [ebp + 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push ebx
push dword [ebp + 0x40]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
mov dword [ebp + 0x44], edi
cmp edi, ebx
jne 0x1d4131c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push 0x1d6dd94
call dword [sym.imp.mfc100.dll_Ordinal_310]
push ecx
lea eax, [ebp + 0x68]
mov ecx, esp
mov dword [ebp + 0x4c], esp
push eax
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov byte [ebp - 4], 7
call fcn.01d40f6f
add esp, 0xc
lea ecx, [ebp + 0x24]
call sub.mfc100.dll_Ordinal_2524
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp + 0x40]
call esi
jmp 0x1d41223
push 0x20000000
push 0xffffffffffffffff
push str.Accept_Encoding:_identity___q0_r_n
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, ebx
jne 0x1d4138f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push 0x1d6ddd4
call dword [sym.imp.mfc100.dll_Ordinal_310]
push ecx
lea eax, [ebp + 0x68]
mov ecx, esp
mov dword [ebp + 0x4c], esp
push eax
mov byte [ebp - 4], 0xc
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov byte [ebp - 4], 7
call fcn.01d40f6f
add esp, 0xc
lea ecx, [ebp + 0x24]
call sub.mfc100.dll_Ordinal_2524
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp + 0x40]
call esi
push edi
jmp 0x1d41315
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoA]
push ebx
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x13
push edi
mov dword [ebp + 0x20], 0x20
call esi
test eax, eax
jne 0x1d413f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push 0x1d6ddec
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 0xd
push ecx
lea eax, [ebp + 0x68]
mov ecx, esp
mov dword [ebp + 0x4c], esp
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov byte [ebp - 4], 7
call fcn.01d40f6f
add esp, 0xc
lea ecx, [ebp + 0x24]
call sub.mfc100.dll_Ordinal_2524
push dword [ebp + 0x3c]
jmp 0x1d4137f
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.MSVCR100.dll_atol]
pop ecx
mov dword [ebp + 0x4c], eax
cmp eax, 0xc8
je 0x1d41472
lea ecx, [ebp + 0x48]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push dword [ebp + 0x4c]
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc100.dll_Ordinal_4499]
push eax
lea eax, [ebp + 0x48]
push 0x1d6de08
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0xc
lea eax, [ebp + 0x48]
mov ecx, esp
mov dword [ebp + 0x44], esp
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
call fcn.01d40eaa
pop ecx
lea ecx, [ebp + 0x24]
call sub.mfc100.dll_Ordinal_2524
push dword [ebp + 0x3c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp + 0x40]
call esi
push edi
call esi
lea ecx, [ebp + 0x48]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x1d41223
push ebx
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
push 5
push edi
mov dword [ebp + 0x20], 0x20
call esi
test eax, eax
jne 0x1d414ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push 0x1d6de34
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 0xf
jmp 0x1d413ca
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.MSVCR100.dll_atol]
pop ecx
mov dword [ebp + 0x4c], eax
cmp eax, ebx
jne 0x1d414ed
lea ecx, [ebp + 0x48]
call dword [sym.imp.mfc100.dll_Ordinal_316]
push ebx
lea ecx, [ebp + 0x68]
mov byte [ebp - 4], 0x10
call dword [sym.imp.mfc100.dll_Ordinal_4499]
push eax
lea eax, [ebp + 0x48]
push 0x1d6de50
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x10
jmp 0x1d41449
mov dword [ebp + 0x38], ebx
xor esi, esi
lea eax, [ebp + 0x38]
push eax
mov eax, 0x400
push eax
lea eax, [ebp - 0x450]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1d41553
cmp byte [0x1d89248], bl
je 0x1d41532
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push 0x1d6de80
call dword [sym.imp.mfc100.dll_Ordinal_310]
call fcn.01d40eaa
pop ecx
jmp 0x1d413e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, esp
mov dword [ebp + 0x44], esp
push 0x1d6de8c
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 0x11
jmp 0x1d413ca
cmp dword [ebp + 0x38], ebx
je 0x1d415d1
cmp byte [0x1d89248], bl
jne 0x1d415c0
lea ecx, [ebp + 8]
call sub.mfc100.dll_Ordinal_320
push dword [ebp + 0x38]
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x13
call sub.mfc100.dll_Ordinal_13312
add esi, dword [ebp + 0x38]
xor edx, edx
mov eax, esi
imul eax, eax, 0x3e8
div dword [ebp + 0x4c]
xor edx, edx
mov ecx, 0x3e8
imul eax, eax, 0xf9
div ecx
mov ecx, dword [ebp + 0x6c]
cmp ecx, ebx
je 0x1d415b4
push ebx
push eax
push 0x402
push dword [ecx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], 7
call sub.mfc100.dll_Ordinal_2076
cmp dword [ebp + 0x38], ebx
je 0x1d415d1
cmp byte [0x1d89248], bl
je 0x1d414f2
lea ecx, [ebp + 0x24]
call sub.mfc100.dll_Ordinal_2524
cmp byte [0x1d89248], bl
je 0x1d415f1
lea ecx, [ebp + 0x68]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov bl, 1
jmp 0x1d41684
lea ecx, [ebp + 0x50]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 1
call sub.mfc100.dll_Ordinal_977
lea ecx, [ebp + 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp + 0x68]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov al, bl
jmp 0x1d4103c