Function at 0x40acb5
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
push 8
call fcn.00515ee9
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0xb609c8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 8
call fcn.00515ee9
add esp, 4
mov dword [ebp - 0x18], eax
mov edi, eax
mov esi, 0xb609c8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.00515ee9
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
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
push 1
push 0x1388
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
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
push 1
lea eax, [ebp - 8]
push eax
push 1
mov eax, str.Accept:___r_nReferer:_https:__kyfw.12306.cn_otn__r_nAccept_Language:_zh_cn_r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__rv:34.0__Gecko_20100101_Firefox_34.0_r_nConnection:_Keep_Alive
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, str.https:__kyfw.12306.cn_otn_resources_js_framework_station_name.js_station_version1.8255
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040759d
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40ae00
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40ae10
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40ae20
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40ae30
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40ae40
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40ae50
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40ae60
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40ae70
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40ae80
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40ae90
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x51be00
call fcn.00515f01
add esp, 0x10
call fcn.00515eef
add esp, 4
lea eax, [ebp - 0x54]
push eax
call fcn.0040b3e1
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40aecf
push ebx
call fcn.00515eef
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40aee3
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
mov ebx, 0x5165e0
call fcn.00515f01
add esp, 4
mov dword [ebp - 0x1c], eax
push 0xc28480
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.0040113b
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40af24
push ebx
call fcn.00515eef
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40af37
mov eax, 0x65d6b8
push eax
push 1
mov ebx, 0x517b40
call fcn.00515f01
add esp, 0x10
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x40af60
mov eax, 0xb609c8
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40af74
mov eax, 0x65d6b8
push eax
push 2
mov ebx, 0x5191e0
call fcn.00515f01
add esp, 0x1c
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40af97
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40afa7
push ebx
call fcn.00515eef
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov eax, 0xc2848a
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov eax, str.var_station_names__
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00405f2a
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40aff3
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40b003
push ebx
call fcn.00515eef
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b017
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40b02e
mov eax, 0x65d6b8
push eax
push 1
mov ebx, 0x517b40
call fcn.00515f01
add esp, 0x10
mov dword [ebp - 0x1c], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x40b057
mov eax, 0xb609c8
push eax
push 1
mov ebx, 0x5165c0
call fcn.00515f01
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40b07d
push ebx
call fcn.00515eef
add esp, 4
cmp dword [ebp - 0x20], 0x9c40
jge 0x40b0c3
push reloc.WS2_32.dll_getpeername
push 0
push 0xc284a3
push 1
mov ebx, 0x518570
call fcn.00515f01
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b0bf
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
mov eax, 0xc3a198
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040a815
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40b0ec
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0xc]
call fcn.004074d8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x40b330
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40b12f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b12b
imul eax, dword [ebx]
jmp 0x40b120
mov ecx, eax
test ecx, ecx
je 0x40b14e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b147
push ebx
push eax
call fcn.00515eef
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b135
call fcn.00515eef
add esp, 4
mov eax, 0xb609c8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 0x14]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x18]
push eax
mov eax, 0xc3a19a
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
call fcn.0040a815
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40b19f
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x18]
call fcn.004074d8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 6
jne 0x40b328
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 0
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0xc3a19c
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 0xc3a19e
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push 0xc3a198
push dword [0xfb9b2c]
mov ecx, 6
call fcn.0040113b
add esp, 0x18
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0xfb9b2c]
test ebx, ebx
je 0x40b22a
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [0xfb9b2c], eax
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 2
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0xc3a19c
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 0xc3a19e
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push 0xc3a198
push dword [0xfb9b30]
mov ecx, 6
call fcn.0040113b
add esp, 0x18
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0xfb9b30]
test ebx, ebx
je 0x40b2a6
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [0xfb9b30], eax
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 1
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
mov eax, 2
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
push 0xc3a19c
mov ebx, dword [ebp - 0x20]
push dword [ebx]
push 0xc3a19e
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
push 0xc3a198
push dword [0xfb9b54]
mov ecx, 6
call fcn.0040113b
add esp, 0x18
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0xfb9b54]
test ebx, ebx
je 0x40b322
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [0xfb9b54], eax
pop eax
pop ebx
pop ecx
jmp 0x40b103
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40b343
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40b353
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40b371
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b36d
imul eax, dword [ebx]
jmp 0x40b362
mov ecx, eax
test ecx, ecx
je 0x40b390
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b389
push ebx
push eax
call fcn.00515eef
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b377
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x18]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40b3b6
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40b3b2
imul eax, dword [ebx]
jmp 0x40b3a7
mov ecx, eax
test ecx, ecx
je 0x40b3d5
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40b3ce
push ebx
push eax
call fcn.00515eef
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40b3bc
call fcn.00515eef
add esp, 4
mov esp, ebp
pop ebp
ret