Function at 0x401000
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x402db0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x405004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1a
push str.C:downdtH_Stammdaten.zip
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.00401390
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0x48
push str.https:__partner.dth_tiemann.de_wp_content_uploads_STM_dtH_Stammdaten.zip
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
call fcn.00401390
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
lea ebx, [ebp - 0x58]
mov esi, dword [ebp - 0x48]
cmovae ecx, dword [ebp - 0x58]
add esi, ecx
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x44], 0x10
mov dword [ebp - 0x30], 0
cmovae ebx, dword [ebp - 0x58]
xor eax, eax
mov word [ebp - 0x40], ax
mov eax, esi
sub eax, ebx
cmp eax, 7
je 0x4010d6
push 1
push eax
lea ecx, [ebp - 0x40]
call fcn.00401610
test al, al
je 0x4010d6
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x30], 0
cmovae eax, dword [ebp - 0x40]
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x74]
lea ecx, [ebp - 0x40]
push esi
push ebx
call fcn.00401f30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0x10
lea ebx, [ebp - 0x70]
mov esi, dword [ebp - 0x60]
cmovae ecx, dword [ebp - 0x70]
add esi, ecx
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x18], 0
cmovae ebx, dword [ebp - 0x70]
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, esi
sub eax, ebx
cmp eax, 7
je 0x401145
push 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00401610
test al, al
je 0x401145
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax], cx
push dword [ebp - 0x74]
lea ecx, [ebp - 0x28]
push esi
push ebx
call fcn.00401f30
mov byte [ebp - 4], 3
lea esi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea edi, [ebp - 0x28]
push str.C:downdtH_Stammdaten.zip
cmovae esi, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
cmovae edi, dword [ebp - 0x28]
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
add esp, 4
cmp eax, 0xffffffff
jne 0x40118c
push str.Could_not_delete_Zip_Datei
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
jmp 0x401196
push str.Deleted_Zip_n
call fcn.00401ff0
add esp, 4
push 0
push 0
push edi
push esi
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Downlod:_Succses
push 0x401e40
test eax, eax
je 0x4011c0
mov edx, str.Download:_Fails
call fcn.00401c00
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4011df
inc eax
push eax
push dword [ebp - 0x28]
call fcn.004015b0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x401205
inc eax
push eax
push dword [ebp - 0x40]
call fcn.004015b0
xor eax, eax
mov dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00401290
lea ecx, [ebp - 0x70]
call fcn.00401290
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402020
mov esp, ebp
pop ebp
ret