Function at 0x439660
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], 1
mov eax, dword [0x476478]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00405440
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, ebx
call fcn.00413750
or edi, 0xffffffff
test eax, eax
je 0x43985e
lea ecx, [ebp - 0x1c]
call fcn.00414240
mov edx, eax
test edx, edx
je 0x43985e
mov ecx, edx
mov dword [ebp - 0x14], 0
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4396e0
lea eax, [ebp - 0x14]
sub ecx, esi
push eax
push ecx
push edx
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x43985e
mov eax, dword [ebp - 0x14]
add dword [ebx + 0xe4], eax
xor edi, edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x18], ecx
mov esi, ecx
sub esi, edi
cmp esi, 0x400
jbe 0x439727
mov esi, 0x400
jmp 0x43972f
test esi, esi
je 0x4397c6
push esi
push edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 0x10]
call fcn.0041ef80
mov byte [ebp - 4], 4
lea eax, [ebp - 0x20]
push eax
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], 0
call fcn.00414240
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x4397b0
mov eax, dword [ebp - 0x20]
add edi, esi
add dword [ebx + 0xe4], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
mov ecx, dword [ebp - 0x18]
je 0x439714
lea ecx, [eax - 0x20]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
mov ecx, dword [ebp - 0x18]
test eax, eax
jg 0x439714
mov eax, dword [ebp - 0x10]
add eax, 0xffffffe0
push eax
call fcn.004471aa
mov ecx, dword [ebp - 0x18]
add esp, 4
jmp 0x439714
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.004087b0
xor esi, esi
or edi, 0xffffffff
jmp 0x439860
mov eax, dword [0x476478]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x18]
push eax
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp - 0x20], esp
mov ecx, esp
push eax
call fcn.00405440
mov byte [ebp - 4], 6
mov byte [ebp - 4], 5
mov ecx, ebx
call fcn.004136d0
test eax, eax
je 0x43984b
lea ecx, [ebp - 0x18]
call fcn.00414240
mov edx, eax
test edx, edx
je 0x43984b
mov ecx, edx
lea esi, [ecx + 1]
jmp 0x439810
mov al, byte [ecx]
inc ecx
test al, al
jne 0x439810
lea eax, [ebp - 0x14]
sub ecx, esi
push eax
push ecx
push edx
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x43984b
mov eax, dword [ebp - 0x14]
mov esi, 1
add dword [ebx + 0xe4], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004087b0
or edi, 0xffffffff
jmp 0x439860
xor esi, esi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004087b0
or edi, 0xffffffff
jmp 0x439860
xor esi, esi
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x439889
lea ecx, [eax - 0x20]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x439889
push ecx
call fcn.004471aa
add esp, 4
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x4398b8
lea ecx, [eax - 0x20]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4398b8
mov eax, dword [ebp + 0xc]
add eax, 0xffffffe0
push eax
call fcn.004471aa
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x10]
lea ecx, [eax - 0x20]
cmp ecx, dword [0x476474]
je 0x4398e8
add eax, 0xffffffe0
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4398e8
mov ecx, dword [ebp + 0x10]
add ecx, 0xffffffe0
push ecx
call fcn.004471aa
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc