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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, 0x6024b4
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x423f15
push ebx
call fcn.0051fddb
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
push 0x2ee0
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
push 1
mov eax, str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__rv:34.0__Gecko_20100101_Firefox_34.0_r_nAccept:_text_html_application_xhtmlxml_application_xml_q0.9___q0.8_r_nAccept_Language:_zh_cn_zh_q0.8_en_us_q0.5_en_q0.3_r_nAccept_Encoding:_gzip__deflate_r_nConnection:_keep_alive
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 1
push dword [ebp + 0xc]
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, str.https:__kyfw.12306.cn_otn_leftTicket_init
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x423fa0
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x423fb0
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x423fc0
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x423fd0
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x423fe0
push ebx
call fcn.0051fddb
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.0040d9f4
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x423ffc
push ebx
call fcn.0051fddb
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x424010
push ebx
call fcn.0051fddb
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x6024b4
push dword [ebp - 4]
call fcn.0040102b
add esp, 8
cmp eax, 0
je 0x424082
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x8d0c9b
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x42405e
mov eax, 0x6024b4
push eax
push 4
mov ebx, 0x520cd0
call fcn.0051fded
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jg 0x424082
xor eax, eax
jmp 0x424087
mov eax, 1
test eax, eax
je 0x4241d9
mov eax, 0x6024b4
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4240a7
push ebx
call fcn.0051fddb
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
call fcn.0041e8f9
mov dword [ebp - 0x14], eax
push 0x2710
push 0x1bb
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4240e0
push ebx
call fcn.0051fddb
add esp, 4
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
push 0x2ee0
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
push 1
mov eax, str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__rv:34.0__Gecko_20100101_Firefox_34.0_r_nAccept:_text_html_application_xhtmlxml_application_xml_q0.9___q0.8_r_nAccept_Language:_zh_cn_zh_q0.8_en_us_q0.5_en_q0.3_r_nAccept_Encoding:_gzip__deflate_r_nConnection:_keep_alive
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 1
push dword [ebp + 0xc]
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, str.https:__kyfw.12306.cn_otn_leftTicket_init
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x424165
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x424175
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x424185
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x424195
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4241a5
push ebx
call fcn.0051fddb
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.0040d9f4
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4241c1
push ebx
call fcn.0051fddb
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4241d5
push ebx
call fcn.0051fddb
add esp, 4
pop eax
mov dword [ebp - 4], 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, 0x88e66f
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str._otn_dynamicJs_
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00405564
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x424225
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x424235
push ebx
call fcn.0051fddb
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x424249
push ebx
call fcn.0051fddb
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x6024b4
push dword [ebp - 8]
call fcn.0040102b
add esp, 8
cmp eax, 0
jne 0x424270
mov eax, 0x6024b4
jmp 0x42453b
push dword [ebp - 8]
push str.https:__kyfw.12306.cn_otn_dynamicJs_
mov ecx, 2
call fcn.0040113b
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42429c
push ebx
call fcn.0051fddb
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
push 0x3a98
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
push 1
mov eax, str.User_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__rv:34.0__Gecko_20100101_Firefox_34.0_r_nAccept:___r_nAccept_Language:_zh_cn_zh_q0.8_en_us_q0.5_en_q0.3_r_nAccept_Encoding:_gzip__deflate_r_nReferer:_https:__kyfw.12306.cn_otn_login_init_r_nConnection:_keep_alive
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
push 1
push dword [ebp + 0xc]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42431d
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42432d
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42433d
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x42434d
push ebx
call fcn.0051fddb
add esp, 4
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d9f4
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x424369
push ebx
call fcn.0051fddb
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42437d
push ebx
call fcn.0051fddb
add esp, 4
pop eax
mov dword [ebp - 4], 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, 0x8d0f9a
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.window.helperVersion________function_gc__var_key
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00405564
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4243cd
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4243dd
push ebx
call fcn.0051fddb
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4243f1
push ebx
call fcn.0051fddb
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x6024b4
push dword [ebp - 0xc]
call fcn.0040102b
add esp, 8
cmp eax, 0
jne 0x424418
mov eax, 0x6024b4
jmp 0x42453b
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.cument_.ready_function___function__var_dobjnew_Object__
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x424449
mov eax, 0x6024b4
push eax
push 4
mov ebx, 0x520cd0
call fcn.0051fded
add esp, 0x34
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x42451a
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0x8d0f9a
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str._otn_dynamicJs_
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00405564
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4244b5
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4244c5
push ebx
call fcn.0051fddb
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4244d9
push ebx
call fcn.0051fddb
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], 1
push dword [ebp - 0x10]
push str.https:__kyfw.12306.cn_otn_dynamicJs_
mov ecx, 2
call fcn.0040113b
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x424514
push ebx
call fcn.0051fddb
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x424536
push eax
mov ebx, eax
call fcn.004010d0
inc eax
push eax
call fcn.0051fdd5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x42453b
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42454c
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42455c
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42456c
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42457c
push ebx
call fcn.0051fddb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10