Function at 0x1804f34f
Capabilities:
Check for software breakpoints
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x88]
cmp dword [eax + 0x2c], 0xcc
jne 0x1804f373
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
mov ecx, dword [edi + 0x84]
lea eax, [ebp - 0x10]
push eax
push 5
xor esi, esi
pop eax
mov dword [ebp - 0x10], esi
call fcn.18054c91
mov eax, dword [edi + 0x88]
cmp dword [eax + 0x3c], esi
jne 0x1804f3a4
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x3c], ecx
mov eax, dword [edi + 0x88]
mov dword [eax + 0x40], esi
mov eax, dword [edi + 0x88]
mov eax, dword [eax + 0x2c]
cmp eax, 0xc8
je 0x1804f3bf
mov byte [ebp - 1], 0
cmp eax, 0xce
jne 0x1804f3c3
mov byte [ebp - 1], 1
lea esi, [ebp - 0x44]
call fcn.18064a9e
mov esi, dword [edi + 0x84]
and dword [ebp - 0xc], 0
lea ebx, [esi + 0x34]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push 2
pop eax
call fcn.1805557b
test eax, eax
jl 0x1804f40e
mov ecx, dword [esi]
and dword [esi + 0x28], 0
mov eax, dword [ecx]
push 0
push dword [esi + 8]
call dword [eax + 0x3c]
test eax, eax
jl 0x1804f40e
call fcn.180555a7
test eax, eax
jl 0x1804f40e
mov eax, dword [esi + 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
inc eax
push eax
lea eax, [ebp - 0x44]
call fcn.180068a7
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
mov esi, dword [edi + 0x84]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x44]
call fcn.1800663a
lea ebx, [esi + 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push 3
pop eax
call fcn.1805557b
mov dword [ebp - 8], eax
test eax, eax
jge 0x1804f464
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 8]
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x1804f49e
mov ecx, dword [esi]
and dword [esi + 0x2c], 0
mov eax, dword [ecx]
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [esi + 8]
call dword [eax + 0x48]
mov dword [ebp - 8], eax
test eax, eax
jl 0x1804f455
call fcn.180555a7
mov dword [ebp - 8], eax
mov ecx, ebx
test eax, eax
jl 0x1804f457
mov eax, dword [esi + 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
call dword [eax + 8]
and dword [ebp - 8], 0
mov esi, dword [ebp - 8]
xor ebx, ebx
cmp esi, ebx
jl 0x1804f4f0
push dword [ebp - 0xc]
lea eax, [ebp - 0x44]
call fcn.180068a7
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
je 0x1804f56b
mov ecx, dword [edi + 0x48]
cmp dword [ecx - 0xc], ebx
je 0x1804f517
push ebx
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x1c], ebx
call fcn.1800663a
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1804f56b
call fcn.1800fc86
mov esi, eax
cmp dword [ebp - 0x38], ebx
je 0x1804f4fe
push dword [ebp - 0x38]
call fcn.1809cc9a
pop ecx
push dword [ebp - 0x44]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call fcn.1809cc9a
pop ecx
mov eax, esi
jmp 0x1804f36c
mov edi, dword [edi + 0x88]
mov ebx, dword [edi + 0x24]
add edi, 0x14
lea esi, [ebp - 0x24]
call fcn.180182eb
mov ebx, dword [ebp - 0x34]
cmp dword [ebp - 0x38], ebx
jbe 0x1804f538
call fcn.1809e0d9
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x44]
cmp edi, dword [ebp - 0x34]
jbe 0x1804f548
call fcn.1809e0d9
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x88]
push edi
push dword [ebp - 0x44]
add esi, 0x14
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp + 8]
call fcn.1804fa28
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [edi + 0x88]
add dword [eax + 0x40], ecx
mov ecx, dword [edi + 0x80]
test ecx, ecx
je 0x1804f5a4
mov eax, dword [edi + 0x88]
mov edx, dword [eax + 0x3c]
test edx, edx
je 0x1804f5a4
cmp byte [ebp - 1], 0
je 0x1804f5a4
mov esi, dword [ecx]
push 0
push 0x80000
push edx
push dword [eax + 0x40]
call dword [esi + 8]
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
jne 0x1804f3cb
movzx ecx, byte [0x180fb8d9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbb80
je 0x1804f5f8
mov esi, dword [edi + 0x88]
push 3
pop ebx
push ebx
push 9
mov dword [ebp - 0x2c], ecx
call fcn.18001d8a
push dword [esi + 0x40]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push str._bytes_downloaded__d_
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 9
call fcn.18001000
add esp, 0xc
xor ebx, ebx
mov byte [edi + 0x90], 1
cmp dword [ebp - 0x38], ebx
je 0x1804f60f
push dword [ebp - 0x38]
call fcn.1809cc9a
pop ecx
mov esi, dword [ebp - 8]
jmp 0x1804f4fe