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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov eax, 0x65d6b8
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x42005b
push ebx
call fcn.00515eef
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_login_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 0x4200e6
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4200f6
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420106
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x420116
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x420126
push ebx
call fcn.00515eef
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.0040b3e1
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x420142
push ebx
call fcn.00515eef
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x420156
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x65d6b8
push dword [ebp - 4]
call fcn.0040102b
add esp, 8
cmp eax, 0
je 0x4201c8
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xc78ab8
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4201a4
mov eax, 0x65d6b8
push eax
push 4
mov ebx, 0x516de0
call fcn.00515f01
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jg 0x4201c8
xor eax, eax
jmp 0x4201cd
mov eax, 1
test eax, eax
je 0x42031f
mov eax, 0x65d6b8
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4201ed
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
call fcn.0041a566
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 0x420226
push ebx
call fcn.00515eef
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_login_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 0x4202ab
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4202bb
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4202cb
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4202db
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4202eb
push ebx
call fcn.00515eef
add esp, 4
lea eax, [ebp - 0x30]
push eax
call fcn.0040b3e1
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x420307
push ebx
call fcn.00515eef
add esp, 4
mov eax, dword [ebp - 0x34]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x42031b
push ebx
call fcn.00515eef
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, 0xc28132
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.00405f2a
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x42036b
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x42037b
push ebx
call fcn.00515eef
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42038f
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x65d6b8
push dword [ebp - 8]
call fcn.0040102b
add esp, 8
cmp eax, 0
jne 0x4203b6
mov eax, 0x65d6b8
jmp 0x4206ed
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 0x4203e2
push ebx
call fcn.00515eef
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 0x420463
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420473
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x420483
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x420493
push ebx
call fcn.00515eef
add esp, 4
lea eax, [ebp - 0x2c]
push eax
call fcn.0040b3e1
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4204af
push ebx
call fcn.00515eef
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4204c3
push ebx
call fcn.00515eef
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, 0xc282e0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, str.function_gc__
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00405f2a
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420513
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x420523
push ebx
call fcn.00515eef
add esp, 4
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov eax, 0xc7b0d5
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov eax, 0xc7b0d7
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00405f2a
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x42056f
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x42057f
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x42058f
push ebx
call fcn.00515eef
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4205a3
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x65d6b8
push dword [ebp - 0xc]
call fcn.0040102b
add esp, 8
cmp eax, 0
jne 0x4205ca
mov eax, 0x65d6b8
jmp 0x4206ed
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.cument_.ready_function___function__var_dobjnew_Object__
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4205fb
mov eax, 0x65d6b8
push eax
push 4
mov ebx, 0x516de0
call fcn.00515f01
add esp, 0x34
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
je 0x4206cc
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0xc7b0d5
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.00405f2a
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x420667
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x420677
push ebx
call fcn.00515eef
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42068b
push ebx
call fcn.00515eef
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 0x4206c6
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4206e8
push eax
mov ebx, eax
call fcn.004010d0
inc eax
push eax
call fcn.00515ee9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4206ed
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4206fe
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42070e
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x42071e
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x42072e
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10