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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, 0x741fdf
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41e2da
push ebx
call fcn.0045f64a
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.00403fd1
push getpeername
push 0
push 0x742021
push getpeername
push 0
push 0x721847
push getpeername
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x41e321
mov eax, 0x66eb35
push eax
push 6
mov ebx, 0x460d50
call fcn.0045f656
add esp, 0x4c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41e34b
push ebx
call fcn.0045f64a
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 8
call fcn.0045f644
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
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
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
push 1
mov eax, 0x742027
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 1
lea eax, [ebp - 8]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
push 1
push 0
lea eax, [ebp - 4]
push eax
call fcn.00411eda
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x41e45b
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x41e46b
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x41e47b
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x41e48b
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x41e49b
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x41e4ab
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41e4bb
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41e4cb
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x464ca0
call fcn.0045f656
add esp, 0x10
call fcn.0045f64a
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41e502
push ebx
call fcn.0045f64a
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x41e519
mov eax, 0x53e378
push eax
push 1
mov ebx, 0x461ad0
call fcn.0045f656
add esp, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041c405
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41e54b
push ebx
call fcn.0045f64a
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41e55f
push ebx
call fcn.0045f64a
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x74214d
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041e60e
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41e5a3
push ebx
call fcn.0045f64a
add esp, 4
cmp dword [ebp - 0x20], 0xffffffff
jne 0x41e5bc
mov eax, 0x742156
jmp 0x41e5c6
mov eax, 0x74215f
jmp 0x41e5c6
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41e5d7
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41e5e7
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41e5f7
push ebx
call fcn.0045f64a
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41e607
push ebx
call fcn.0045f64a
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4