Function at 0x41fbc0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f919d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x68f014]
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
mov ebx, ecx
mov dword [ebp - 0x48], ebx
call fcn.0046bcb1
mov ecx, eax
test ecx, ecx
je 0x41ff81
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x50], edi
mov dword [ebp - 4], 0
call fcn.0046bcb1
mov ecx, eax
test ecx, ecx
je 0x41ff8b
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 1
cmp dword [ebx + 0x754c], 0xffffffff
mov eax, dword [sym.imp.KERNEL32.dll_CreateEventW]
jne 0x41fc52
push 0
push 0
push 1
push 0
call eax
mov dword [ebx + 0x754c], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp dword [ebx + 0x7550], 0xffffffff
jne 0x41fc6b
push 0
push 0
push 1
push 0
call eax
mov dword [ebx + 0x7550], eax
cmp dword [ebx + 0x754c], 0xffffffff
je 0x41fcb1
cmp dword [ebx + 0x7550], 0xffffffff
je 0x41fcb1
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
push dword [ebx + 0x7540]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0x7548], eax
cmp eax, 0xffffffff
jne 0x41fd0e
push 0
push 0x30
push 5
call fcn.0046abc5
mov ebx, 0x1009
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41fcd4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x41fcf0
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.005cf250
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x1c
xorps xmm0, xmm0
push eax
push str.250000_n_8_1
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov ecx, dword [ebx + 0x7548]
test eax, eax
je 0x41fda9
or dword [ebp - 0x38], 0x4000
lea eax, [ebp - 0x40]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetCommState]
mov ecx, dword [ebx + 0x7548]
test eax, eax
je 0x41fda9
lea eax, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommTimeouts]
mov ecx, dword [ebx + 0x7548]
test eax, eax
je 0x41fda9
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0x32
push eax
push ecx
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x1c], 0x32
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0xa
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
mov ecx, dword [ebx + 0x7548]
test eax, eax
jne 0x41fdcf
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x30
push 6
mov dword [ebx + 0x7548], 0xffffffff
call fcn.0046abc5
mov ebx, 0x1001
jmp 0x41fcb6
push 0
lea eax, [ebp - 0x54]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
test eax, eax
jne 0x41fe0b
push dword [ebx + 0x7548]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x30
push 6
mov dword [ebx + 0x7548], 0xffffffff
call fcn.0046abc5
mov ebx, 0x1001
jmp 0x41fcb6
cmp dword [ebx + 0x1344], 0xffffffff
mov ecx, ebx
push 0
push 0
je 0x41ff09
push 3
call fcn.0041ffa0
call fcn.0046bcb1
mov ecx, eax
test ecx, ecx
je 0x41ff95
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebx + 0x1498]
call fcn.0047d3d1
push 0x23
push str.Probe_restarted_continue_download_r_n
lea ecx, [ebp - 0x44]
call fcn.0040b5f0
push dword [ebp - 0x44]
lea ecx, [ebx + 0x1498]
call fcn.00476539
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41fe8e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x48]
push 0
push 4
push 0
push 0
push ebx
push 0x41f970
call fcn.0047a05b
mov dword [ebx + 0x7558], eax
test eax, eax
je 0x41ff56
mov dword [eax + 0x28], 0
mov eax, dword [ebx + 0x7558]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 2
lea ecx, [ebp - 0x4c]
call fcn.0040b970
push dword [ebx + 0x7544]
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.0040c110
mov eax, dword [ebx + 0x33f0]
lea ecx, [ebx + 0x33f0]
mov edi, dword [ebp - 0x50]
add esp, 0xc
push 1
push edi
push 1
call dword [eax + 0x320]
xor ebx, ebx
jmp 0x41fcb6
push 1
call fcn.0041ffa0
push 0
push 0
push 2
mov ecx, ebx
call fcn.0041ffa0
push 0
push 0
push 0x22
mov ecx, ebx
call fcn.0041ffa0
push 0
push 0
push 0x40
mov ecx, ebx
call fcn.0041ffa0
push 0
push 0
push 0xc
mov ecx, ebx
call fcn.0041ffa0
push 0
push 0
push 0xd
mov ecx, ebx
call fcn.0041ffa0
jmp 0x41fe91
push dword [ebx + 0x7548]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x30
push 7
mov dword [ebx + 0x7548], 0xffffffff
call fcn.0046abc5
mov ebx, 0x1001
jmp 0x41fcb6
push 0x80004005
call fcn.0040bfb0
push 0x80004005
call fcn.0040bfb0
push 0x80004005
call fcn.0040bfb0
int3