Function at 0x439642
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
cmp dword [0x147b9b4], 0
je 0x43999d
mov ebx, dword [0x147b9c4]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 0x61892f
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4396b0
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [0x147b9c4]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 0x618942
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 1
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x439708
mov eax, 0x6017d0
push eax
push reloc.WS2_32.dll_connect
push 0
push 0x61894d
push reloc.WS2_32.dll_connect
push 0
push 0x618954
push 6
mov ebx, 0x47be40
call fcn.0047a941
add esp, 0x4c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x439746
push ebx
call fcn.0047a94d
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x43975a
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [0x147b9c4]
add ebx, 4
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
push dword [ebx]
push 0x618a39
mov ecx, 2
call fcn.0040106f
add esp, 8
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x439797
mov eax, 0x6017d0
push eax
push 1
mov ebx, 0x47c1c0
call fcn.0047a941
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4397bd
push ebx
call fcn.0047a94d
add esp, 4
lea eax, [ebp - 0x1c]
push eax
call fcn.00416322
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4397d9
push ebx
call fcn.0047a94d
add esp, 4
push reloc.WS2_32.dll_bind
push 0
push 1
push 0x80000301
push 0
push 1
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x43980a
mov eax, 0x6017d0
push eax
push reloc.WS2_32.dll_connect
push 0
push 0x618a3f
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x43982a
mov eax, 0x6017d0
push eax
push 6
mov ebx, 0x47be40
call fcn.0047a941
add esp, 0x4c
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x439850
push ebx
call fcn.0047a94d
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x439864
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x439884
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0047a947
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x439895
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
push 5
lea eax, [ebp - 4]
push eax
call fcn.00439a0e
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x439921
push ebx
call fcn.0047a94d
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x439931
push ebx
call fcn.0047a94d
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x439941
push ebx
call fcn.0047a94d
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x439951
push ebx
call fcn.0047a94d
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x439961
push ebx
call fcn.0047a94d
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x439975
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x439993
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.0047a947
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4399c6
push reloc.WS2_32.dll_connect
push 0
push 0x618a4f
push 1
mov ebx, 0x47c1c0
call fcn.0047a941
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x4399c6
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4399d7
push ebx
call fcn.0047a94d
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4399e7
push ebx
call fcn.0047a94d
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4399f7
push ebx
call fcn.0047a94d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x439a07
push ebx
call fcn.0047a94d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8