Function at 0x1804ef77
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 0x1804ef9b
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.180548bc
mov eax, dword [edi + 0x88]
cmp dword [eax + 0x3c], esi
jne 0x1804efcc
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 0x1804efe7
mov byte [ebp - 1], 0
cmp eax, 0xce
jne 0x1804efeb
mov byte [ebp - 1], 1
lea esi, [ebp - 0x44]
call fcn.18064a86
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.180551a6
test eax, eax
jl 0x1804f036
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 0x1804f036
call fcn.180551d2
test eax, eax
jl 0x1804f036
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.180551a6
mov dword [ebp - 8], eax
test eax, eax
jge 0x1804f08c
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 8]
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x1804f0c6
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 0x1804f07d
call fcn.180551d2
mov dword [ebp - 8], eax
mov ecx, ebx
test eax, eax
jl 0x1804f07f
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 0x1804f118
push dword [ebp - 0xc]
lea eax, [ebp - 0x44]
call fcn.180068a7
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x38]
je 0x1804f193
mov ecx, dword [edi + 0x48]
cmp dword [ecx - 0xc], ebx
je 0x1804f13f
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 0x1804f193
call fcn.1800fc86
mov esi, eax
cmp dword [ebp - 0x38], ebx
je 0x1804f126
push dword [ebp - 0x38]
call fcn.1809ccaa
pop ecx
push dword [ebp - 0x44]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call fcn.1809ccaa
pop ecx
mov eax, esi
jmp 0x1804ef94
mov edi, dword [edi + 0x88]
mov ebx, dword [edi + 0x24]
add edi, 0x14
lea esi, [ebp - 0x24]
call fcn.180182cf
mov ebx, dword [ebp - 0x34]
cmp dword [ebp - 0x38], ebx
jbe 0x1804f160
call fcn.1809e0d9
mov edi, dword [ebp - 0x38]
mov esi, dword [ebp - 0x44]
cmp edi, dword [ebp - 0x34]
jbe 0x1804f170
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.1804f650
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 0x1804f1cc
mov eax, dword [edi + 0x88]
mov edx, dword [eax + 0x3c]
test edx, edx
je 0x1804f1cc
cmp byte [ebp - 1], 0
je 0x1804f1cc
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 0x1804eff3
movzx ecx, byte [0x180fb8f9]
neg ecx
sbb ecx, ecx
and ecx, 0x180fbba0
je 0x1804f220
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 0x1804f237
push dword [ebp - 0x38]
call fcn.1809ccaa
pop ecx
mov esi, dword [ebp - 8]
jmp 0x1804f126