Function at 0x41c910
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a34f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4d33a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 8], 0
mov dword [ebx + 0x54], 0xb
je 0x41c96a
push 0x173
push str.srcdownworkershttpHttpRequestJob.cpp
push str.OK__result
push str.ASSERT:_s_FILE:_s_LINE_d
push str.XNet
push 0x40
call fcn.004076e0
add esp, 0x18
mov edi, dword [ebx + 0x6c]
mov esi, dword [edi + 0x6c]
xor eax, eax
cmp esi, eax
je 0x41c9c4
mov dword [edi + 0x70], eax
jl 0x41c987
xor ecx, ecx
cmp esi, eax
setge cl
lea eax, [ecx - 1]
and eax, esi
mov ecx, esi
sub ecx, eax
mov dword [edi + 0x70], eax
cmp esi, ecx
jl 0x41c994
mov esi, ecx
test esi, esi
jle 0x41c9c4
mov edx, dword [edi + 0x6c]
mov ecx, dword [edi + 0x64]
sub edx, eax
add ecx, eax
sub edx, esi
push edx
lea eax, [ecx + esi]
push eax
push ecx
call fcn.0047de70
mov ecx, dword [edi + 0x64]
sub dword [edi + 0x6c], esi
add ecx, dword [edi + 0x6c]
push esi
push 0
push ecx
call fcn.0047e3a0
add esp, 0x18
mov eax, dword [ebx + 0x6c]
xor ecx, ecx
mov dword [eax + 0x74], ecx
mov eax, dword [ebx + 0x6c]
mov dword [eax + 0x60], ecx
lea esi, [ebp - 0x10]
mov eax, ebx
call fcn.0040a190
mov ecx, dword [ebp - 0x10]
mov esi, dword [eax]
test ecx, ecx
je 0x41c9ec
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esi + 0x28]
cmp dword [ecx - 0xc], 0
je 0x41cb6d
lea esi, [ebp - 0x14]
mov eax, ebx
call fcn.0040a190
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
mov dword [ebp - 0x10], edx
test ecx, ecx
je 0x41ca16
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x28]
push ecx
sub eax, 0x10
mov dword [ebp - 0x1c], esp
mov esi, esp
push eax
call fcn.00407c10
lea ecx, [ebp + 8]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.0040b460
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x70]
add eax, ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + 0x6c]
mov dword [ebp - 0x10], ecx
cmp ecx, eax
jg 0x41ca64
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
lea esi, [edi + 0x64]
call fcn.0040dc30
mov eax, dword [ebp - 0x18]
mov edx, dword [edi + 0x70]
mov ecx, dword [ebp - 0x1c]
add edx, dword [edi + 0x64]
push eax
push ecx
push edx
call fcn.0047db00
mov eax, dword [ebp - 0x10]
xor edx, edx
add esp, 0xc
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], edx
mov edi, dword [edi + 0x64]
cmp eax, edx
jle 0x41cb47
mov ecx, dword [ebx + 0x6c]
mov dword [ecx + 0x60], edx
mov ecx, dword [ebx + 0x6c]
add ecx, 0x60
push ecx
push eax
mov eax, dword [ebx + 0x60]
push edi
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x41cb47
call dword [sym.imp.KERNEL32.dll_GetLastError]
or edx, 0xffffffff
cmp eax, 0x3e5
je 0x41cb0b
mov ebx, dword [ebx + 0x6c]
mov dword [ebx + 0x18], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41caf2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xffffd8fc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cb2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41cb6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4