Function at 0x1000d720
Capabilities:
Check http status code
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000f69a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x2cfc
call fcn.1000e410
mov eax, dword [0x10013150]
mov dword [ebp - 0x14], eax
push ebx
push edi
mov dword [ebp - 0x2cfc], ecx
push 0
call dword [sym.imp.MSVCR71.dll_time]
add esp, 4
mov dword [ebp - 0x2c3c], eax
add ebx, 0x3e8
add ebx, 0x3e8
add esp, 0x64
sub esp, 0x64
add ebx, 0x3e8
add ebx, 0x3e8
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x2cfc]
call fcn.1000d610
mov dword [ebp - 0x2c38], eax
cmp dword [ebp - 0x2c38], 0
jne 0x1000d7d8
push 0
call dword [sym.imp.MSVCR71.dll_time]
add esp, 4
sub eax, dword [ebp - 0x2c3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetConnect_Error:_d_TimeSpan:_d
mov edx, dword [ebp - 0x2cfc]
push edx
call fcn.1000e000
add esp, 0x10
or eax, 0xffffffff
jmp 0x1000de21
add ebx, 0
add ebx, 0
add esp, 0x64
sub esp, 0x64
add ebx, 0
add ebx, 0
mov ecx, dword [ebp - 0x2cfc]
call fcn.1000dfc0
mov dword [ebp - 0x2c28], eax
push 0
call dword [sym.imp.MSVCR71.dll_time]
add esp, 4
mov dword [ebp - 0x2c3c], eax
push 0
mov eax, dword [ebp - 0x2c28]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x2c38]
push eax
call dword [0x10013a1c]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x1000d887
push 0
call dword [sym.imp.MSVCR71.dll_time]
add esp, 4
sub eax, dword [ebp - 0x2c3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
push str.HttpOpenRequest__s_Error:_d_TimeSpan:_d
mov edx, dword [ebp - 0x2cfc]
push edx
call fcn.1000e000
add esp, 0x14
mov eax, dword [ebp - 0x2c38]
push eax
call dword [0x10013a34]
mov eax, 0xfffffffe
jmp 0x1000de21
add ebx, 0x3e8
add ebx, 0x3e8
add esp, 0x64
sub esp, 0x64
add ebx, 0x3e8
add ebx, 0x3e8
push 0
call dword [sym.imp.MSVCR71.dll_time]
add esp, 4
mov dword [ebp - 0x2c3c], eax
cmp dword [ebp + 0x1c], 0
setne cl
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x420]
push ecx
mov ecx, dword [ebp - 0x2cfc]
call fcn.1000d690
mov dword [ebp - 0x2c34], eax
cmp dword [ebp - 0x2c34], 0
jne 0x1000d938
push 0
call dword [sym.imp.MSVCR71.dll_time]
add esp, 4
sub eax, dword [ebp - 0x2c3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HttpSendRequest_Error:_d_TimeSpan:_d
mov edx, dword [ebp - 0x2cfc]
push edx
call fcn.1000e000
add esp, 0x10
mov eax, dword [ebp - 0x420]
push eax
call dword [0x10013a34]
mov ecx, dword [ebp - 0x2c38]
push ecx
call dword [0x10013a34]
mov eax, 0xfffffffd
jmp 0x1000de21
add ebx, 0
add ebx, 0
add esp, 0x64
sub esp, 0x64
add ebx, 0
add ebx, 0
push 0
call dword [sym.imp.MSVCR71.dll_time]
add esp, 4
mov dword [ebp - 0x2c3c], eax
mov dword [ebp - 0x2c30], 0
mov dword [ebp - 0x10], 4
push 0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x2c30]
push eax
push 0x20000013
mov ecx, dword [ebp - 0x420]
push ecx
call dword [0x10013a20]
mov dword [ebp - 0x2c34], eax
cmp dword [ebp - 0x2c34], 0
jne 0x1000d9eb
push 0
call dword [sym.imp.MSVCR71.dll_time]
add esp, 4
sub eax, dword [ebp - 0x2c3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10010958
mov edx, dword [ebp - 0x2cfc]
push edx
call fcn.1000e000
add esp, 0x10
mov eax, dword [ebp - 0x420]
push eax
call dword [0x10013a34]
mov ecx, dword [ebp - 0x2c38]
push ecx
call dword [0x10013a34]
mov eax, 0xfffffffc
jmp 0x1000de21
add ebx, 0x3e8
add ebx, 0x3e8
add esp, 0x64
sub esp, 0x64
add ebx, 0x3e8
add ebx, 0x3e8
cmp dword [ebp - 0x2c30], 0xc8
je 0x1000da91
cmp dword [ebp - 0x2c30], 0x12d
je 0x1000da91
cmp dword [ebp - 0x2c30], 0x12e
je 0x1000da91
cmp dword [ebp - 0x2c30], 0x12f
je 0x1000da91
push 0
call dword [sym.imp.MSVCR71.dll_time]
add esp, 4
sub eax, dword [ebp - 0x2c3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x2c30]
push edx
push str.RetStatusCode_Error_dwStatus:_d_LastError:_d_TimeSpan:_d
mov eax, dword [ebp - 0x2cfc]
push eax
call fcn.1000e000
add esp, 0x14
mov ecx, dword [ebp - 0x420]
push ecx
call dword [0x10013a34]
mov edx, dword [ebp - 0x2c38]
push edx
call dword [0x10013a34]
mov eax, 0xfffffffb
jmp 0x1000de21
add ebx, 0x3e8
add ebx, 0x3e8
add esp, 0x64
sub esp, 0x64
add ebx, 0x3e8
add ebx, 0x3e8
mov byte [ebp - 0x2c24], 0
mov ecx, 0x9ff
xor eax, eax
lea edi, [ebp - 0x2c23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x41c], 0x2800
push 0
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x2c24]
push ecx
push 0x16
mov edx, dword [ebp - 0x420]
push edx
call dword [0x10013a20]
mov dword [ebp - 0x2c34], eax
cmp dword [ebp - 0x2c34], 0
jne 0x1000db63
add ebx, 0
add ebx, 0
add esp, 0x64
sub esp, 0x64
add ebx, 0
add ebx, 0
push 0
call dword [sym.imp.MSVCR71.dll_time]
add esp, 4
sub eax, dword [ebp - 0x2c3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.HttpQueryInfo_Error:_d_TimeSpan:_d
mov eax, dword [ebp - 0x2cfc]
push eax
call fcn.1000e000
add esp, 0x10
mov ecx, dword [ebp - 0x420]
push ecx
call dword [0x10013a34]
mov edx, dword [ebp - 0x2c38]
push edx
call dword [0x10013a34]
mov eax, 0xfffffffc
jmp 0x1000de21
lea eax, [ebp - 0x2c24]
push eax
lea ecx, [ebp - 0x2cf8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 0x2d00], eax
mov ecx, dword [ebp - 0x2d00]
mov dword [ebp - 0x2d04], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2d04]
push edx
mov ecx, dword [ebp - 0x2cfc]
add ecx, 0x44
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2cf8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [ebp - 0x2cfc]
call fcn.1000e0d0
push 0
call dword [sym.imp.MSVCR71.dll_time]
add esp, 4
mov dword [ebp - 0x2c3c], eax
mov ecx, dword [ebp - 0x2cfc]
add ecx, 0x28
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x2c2c], 0
mov byte [ebp - 0x414], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x413]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp + 0x24], 0
je 0x1000dc48
push 0
mov eax, dword [ebp + 0x24]
push eax
call dword [sym.imp.MSVCR71.dll__access]
add esp, 8
test eax, eax
jne 0x1000dc48
add ebx, 0
add ebx, 0
add esp, 0x64
sub esp, 0x64
add ebx, 0
add ebx, 0
mov ecx, dword [ebp + 0x24]
push ecx
call dword [sym.imp.MSVCR71.dll_remove]
add esp, 4
mov edx, 1
test edx, edx
je 0x1000de1f
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1000dd24
lea ecx, [ebp - 0x2c2c]
push ecx
push 1
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp - 0x420]
push eax
call dword [0x10013a24]
mov dword [ebp - 0x2c34], eax
cmp dword [ebp - 0x2c34], 0
je 0x1000dc96
cmp dword [ebp - 0x2c2c], 0
ja 0x1000dc9b
jmp 0x1000de1f
push 1
push 0x1b6
push 0x2a
mov ecx, dword [ebp + 0x24]
push ecx
lea ecx, [ebp - 0x2cdc]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_fstream_char__struct_std::char_traits_char__::constructor_char_const___int__int_]
mov dword [ebp - 4], 1
lea edx, [ebp - 0x2cdc]
test edx, edx
je 0x1000dcd3
lea eax, [ebp - 0x2cd4]
mov dword [ebp - 0x2d08], eax
jmp 0x1000dcdd
mov dword [ebp - 0x2d08], 0
mov cl, byte [ebp - 0x414]
push ecx
mov edx, dword [ebp - 0x2d08]
push edx
call dword [sym.imp.MSVCP71.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___struct_std::char_traits_char___class_std::basic_ostream_char__struct_std::char_traits_char_____char_]
add esp, 8
lea ecx, [ebp - 0x2cd4]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::flush_void_]
lea ecx, [ebp - 0x2cdc]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_fstream_char__struct_std::char_traits_char__::close_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2cdc]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_fstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
jmp 0x1000de1a
add ebx, 0x3e8
add ebx, 0x3e8
add esp, 0x64
sub esp, 0x64
add ebx, 0x3e8
add ebx, 0x3e8
push 0x400
push 0
lea eax, [ebp - 0x414]
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2c2c]
push ecx
push 0x3ff
lea edx, [ebp - 0x414]
push edx
mov eax, dword [ebp - 0x420]
push eax
call dword [0x10013a24]
mov dword [ebp - 0x2c34], eax
cmp dword [ebp - 0x2c34], 0
jne 0x1000ddd5
push 0
call dword [sym.imp.MSVCR71.dll_time]
add esp, 4
sub eax, dword [ebp - 0x2c3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetReadFile_Error:_d_TimeSpan:_d
mov ecx, dword [ebp - 0x2cfc]
push ecx
call fcn.1000e000
add esp, 0x10
mov edx, dword [ebp - 0x420]
push edx
call dword [0x10013a34]
mov eax, dword [ebp - 0x2c38]
push eax
call dword [0x10013a34]
mov eax, 0xfffffffa
jmp 0x1000de21
cmp dword [ebp - 0x2c2c], 0
jne 0x1000ddf2
add ebx, 0
add ebx, 0
add esp, 0x64
sub esp, 0x64
add ebx, 0
add ebx, 0
jmp 0x1000de1f
mov ecx, dword [ebp - 0x418]
add ecx, dword [ebp - 0x2c2c]
mov dword [ebp - 0x418], ecx
lea edx, [ebp - 0x414]
push edx
mov ecx, dword [ebp - 0x2cfc]
add ecx, 0x28
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
jmp 0x1000dc48
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.1000e3ed
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x20