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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0xc
call fcn.0055b410
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x6904b0
push ebx
add ebx, 8
push ebx
push 8
call fcn.0055b410
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.00408791
pop ebx
push 0x70c6a1
mov ebx, dword [ebp + 8]
push dword [ebx]
push 0x70c6fe
mov ecx, 3
call fcn.00401ec7
add esp, 0xc
mov dword [ebp - 0x10], eax
push 0x70c71f
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0x70c7ca
mov ecx, 3
call fcn.00401ec7
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
push 8
call fcn.0055b410
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
lea eax, [ebp - 0x10]
push eax
call fcn.00402010
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e20d
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40e21d
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40e22d
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40e23d
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e24d
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40e25d
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40e26d
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40e27d
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40e28d
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40e29d
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x562390
call fcn.0055b422
add esp, 0x10
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e2d4
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00406a32
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e31a
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e32a
push ebx
call fcn.0055b416
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40e33d
mov eax, 0x6906dc
push eax
push 1
mov ebx, 0x55df90
call fcn.0055b422
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40e363
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40e377
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x20
call fcn.0055b410
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e3d3
push ebx
call fcn.0055b416
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e3e7
push ebx
call fcn.0055b416
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e3fb
push ebx
call fcn.0055b416
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e40f
push ebx
call fcn.0055b416
add esp, 4
pop ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
mov eax, 0x70c7d8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e453
push ebx
call fcn.0055b416
add esp, 4
push 0x70c7e3
push dword [ebp - 0x18]
call fcn.004011a6
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e481
push ebx
call fcn.0055b416
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x40e495
mov eax, 0x70c7e9
jmp 0x40e935
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
mov eax, 0x70c7f4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e4d0
push ebx
call fcn.0055b416
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.0040e96d
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e4ec
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e502
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
mov eax, 0x70c803
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e543
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x18]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e559
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov ebx, dword [ebp + 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
mov eax, 0x70c81b
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e59a
push ebx
call fcn.0055b416
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.0040e96d
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e5b6
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x28]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e5cc
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov ebx, dword [ebp + 0x28]
mov dword [ebx], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
mov eax, 0x70c836
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e60d
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e623
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov ebx, dword [ebp + 0x30]
mov dword [ebx], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
mov eax, 0x70c853
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e664
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x38]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e67a
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov ebx, dword [ebp + 0x38]
mov dword [ebx], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
mov eax, 0x70c86f
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e6bb
push ebx
call fcn.0055b416
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
push 1
mov eax, 0x70c88b
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40e6f6
push ebx
call fcn.0055b416
add esp, 4
lea eax, [ebp - 0x24]
push eax
call fcn.0040e96d
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40e712
push ebx
call fcn.0055b416
add esp, 4
push dword [ebp - 0x28]
push 0x70c8a7
push dword [ebp - 0x18]
mov ecx, 3
call fcn.00401ec7
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e73d
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40e74d
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x20]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e763
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov ebx, dword [ebp + 0x20]
mov dword [ebx], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
mov eax, 0x70c8aa
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e7a4
push ebx
call fcn.0055b416
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40e7b7
mov eax, 0x690468
push eax
push 1
mov ebx, 0x55c540
call fcn.0055b422
add esp, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e7e0
push ebx
call fcn.0055b416
add esp, 4
fld qword [ebp - 0x20]
fdiv qword [0x70c8b7]
fstp qword [ebp - 0x28]
push 0x80000601
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 1
mov ebx, 0x55df90
call fcn.0055b422
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0x40]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e822
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov ebx, dword [ebp + 0x40]
mov dword [ebx], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
mov eax, 0x70c8bf
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e863
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x48]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e879
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov ebx, dword [ebp + 0x48]
mov dword [ebx], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
mov eax, 0x70c8d8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e8ba
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp + 0x50]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e8d0
push ebx
call fcn.0055b416
add esp, 4
pop eax
mov ebx, dword [ebp + 0x50]
mov dword [ebx], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
push 1
mov eax, 0x70c8ef
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e911
push ebx
call fcn.0055b416
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.0040e96d
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40e92d
push ebx
call fcn.0055b416
add esp, 4
mov eax, dword [ebp - 0x1c]
jmp 0x40e935
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e946
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40e956
push ebx
call fcn.0055b416
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0055b416
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x50