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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x20
call fcn.0048203e
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
mov dword [ebx], 0x59431f
push ebx
mov eax, esp
push eax
call fcn.00414392
pop ebx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push 1
mov eax, 0x594070
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 1
push 1
push 1
mov eax, 0x59408e
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00401f44
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40152a
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40153a
push ebx
call fcn.00482044
add esp, 4
call fcn.00403e36
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4015f6
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x594097
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x5940cc
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x5940d5
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 2
call fcn.00403e82
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4015bc
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4015cc
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4015dc
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4015ec
push ebx
call fcn.00482044
add esp, 4
push 0
call fcn.00482074
add esp, 4
push 0
mov ebx, 0x482650
call fcn.00482050
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x5940da
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.0040137c
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401633
push ebx
call fcn.00482044
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401647
push ebx
call fcn.00482044
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0xb
push 1
mov eax, 5
mov ebx, 0x501fd0
call fcn.00482062
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401685
push ebx
call fcn.00482044
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4016ae
mov eax, 0x5940dc
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4016c2
mov eax, 0x5940dc
push eax
push 4
mov ebx, 0x482c60
call fcn.00482050
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x40178c
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x5940dd
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x5940cc
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x5940d5
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 2
call fcn.00403e82
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401752
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401762
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401772
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401782
push ebx
call fcn.00482044
add esp, 4
push 0
call fcn.00482074
add esp, 4
push 0x416fc0
push 1
push 1
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x5940ed
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x5940fb
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, 0x5940d5
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push 6
call fcn.00406592
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4017e2
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4017f2
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401802
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [0x1101854]
add ebx, 0xc
mov dword [ebp - 0x1c], ebx
mov eax, 0x594115
push eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401826
push ebx
call fcn.00482044
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
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
push 1
mov eax, 0x59411a
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
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
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov eax, 0x5941f2
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040792f
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4018f4
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x401904
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x401914
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x401924
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401934
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401944
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401954
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401964
push ebx
call fcn.00482044
add esp, 4
lea eax, [ebp - 0x54]
push eax
call fcn.0040c21d
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x401980
push ebx
call fcn.00482044
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401994
push ebx
call fcn.00482044
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x38]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0x594249
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1b8]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4019f2
push ebx
call fcn.00482044
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401a06
push ebx
call fcn.00482044
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x5940dc
push dword [ebp - 0x14]
call fcn.004013d8
add esp, 8
cmp eax, 0
jne 0x401adb
call fcn.0040c444
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x594256
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x5940cc
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x5940d5
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 2
call fcn.00403e82
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401a9b
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401aab
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401abb
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401acb
push ebx
call fcn.00482044
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
push 0
call fcn.00482074
add esp, 4
mov ebx, dword [0x1101854]
mov dword [ebp - 0x1c], ebx
call fcn.0040c615
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401b02
push ebx
call fcn.00482044
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0x594281
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00410c69
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401b48
push ebx
call fcn.00482044
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401b5c
push ebx
call fcn.00482044
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
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
lea eax, [ebp - 0x40]
push eax
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
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
lea eax, [ebp - 0x14]
push eax
call fcn.0040792f
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x401c1f
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x401c2f
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x401c3f
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401c4f
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401c5f
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401c6f
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401c7f
push ebx
call fcn.00482044
add esp, 4
lea eax, [ebp - 0x50]
push eax
call fcn.0040c21d
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x401c9b
push ebx
call fcn.00482044
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401caf
push ebx
call fcn.00482044
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x594283
push dword [ebp - 0xc]
call fcn.004013d8
add esp, 8
cmp eax, 0
je 0x401d7f
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x5942a2
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x5940cc
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x5940d5
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 2
call fcn.00403e82
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401d3f
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401d4f
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401d5f
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401d6f
push ebx
call fcn.00482044
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
push 0
call fcn.00482074
add esp, 4
push 0x5940dc
push dword [ebp - 0x14]
call fcn.004013d8
add esp, 8
cmp eax, 0
jne 0x401e50
call fcn.0040c444
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov eax, 0x5942cb
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x5940cc
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0x5940d5
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 3
call fcn.00403e82
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401e10
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401e20
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401e30
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401e40
push ebx
call fcn.00482044
add esp, 4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
push 0
call fcn.00482074
add esp, 4
mov ebx, dword [0x1101854]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x401e78
push eax
mov ebx, eax
call fcn.00401311
inc eax
push eax
call fcn.0048203e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401e8b
push ebx
call fcn.00482044
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
mov ebx, dword [0x1101854]
add ebx, 0x44
mov dword [ebp - 0x1c], ebx
mov ebx, dword [0x1101854]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 0x59430f
mov ecx, 2
call fcn.0040137c
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x401ed9
push ebx
call fcn.00482044
add esp, 4
pop eax
mov ebx, dword [ebp - 0x1c]
mov dword [ebx], eax
call fcn.00410eeb
mov eax, 0
jmp 0x401eee
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401eff
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401f0f
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401f1f
push ebx
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.00482044
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401f3f
push ebx
call fcn.00482044
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret