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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 4], 0
push str.https:__kyfw.12306.cn_otn_passcodeNew_getPassCodeNew_moduleloginrandsjrand0.
push dword [0xfb9c48]
call fcn.0040102b
add esp, 8
cmp eax, 0
jne 0x492d33
mov eax, 0x65d6b8
push eax
mov ebx, dword [0xfb9c4c]
test ebx, ebx
je 0x492d2d
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [0xfb9c4c], eax
push 0x10
call fcn.0041a81b
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [0xfb9c48]
mov ecx, 2
call fcn.0040113b
add esp, 8
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x492d69
push ebx
call fcn.00515eef
add esp, 4
push 8
call fcn.00515ee9
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 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
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
mov eax, str.Accept:___r_nReferer:_https:__kyfw.12306.cn_otn_login_init_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_nAccept_Encoding:_gzip__deflate_r_nConnection:_Keep_Alive
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 1
push 0xfb9c4c
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
lea eax, [ebp - 0xc]
push eax
call fcn.0040759d
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x492e57
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x492e67
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x492e77
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x492e87
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x492e97
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x492ea7
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x492eb7
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x492ec7
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x492ed7
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x492ee7
push ebx
call fcn.00515eef
add esp, 4
mov ebx, dword [ebp - 0x10]
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
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x492f1e
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x492f3c
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.00515ee9
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0xfb9c50]
test ebx, ebx
je 0x492f50
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [0xfb9c50], eax
push 1
push 0xfb9c50
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push 1
push 0xfb9c50
call fcn.0045073c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x492f8c
push ebx
call fcn.00515eef
add esp, 4
cmp dword [ebp - 0xc], 0
jne 0x492fdc
mov eax, 0x65d6b8
push eax
mov ebx, dword [0xfb9c54]
test ebx, ebx
je 0x492faf
push ebx
call fcn.00515eef
add esp, 4
pop eax
mov dword [0xfb9c54], eax
push 0
push 0
push 0
push 0x10001
push 0x60b11c3
push 0x520b11c4
push 2
mov ebx, 0x519d20
call fcn.00515f01
add esp, 0x1c
push 0
push dword [0xfb9c50]
push 0xffffffffffffffff
push 0xa
push 0x160b11c5
push 0x520b11c4
call fcn.00515f1f
add esp, 0x18
push 0
push 0x65d6b8
push 0xffffffffffffffff
push 8
push 0x160b11c7
push 0x520b11c4
call fcn.00515f1f
add esp, 0x18
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x493027
push ebx
call fcn.00515eef
add esp, 4
mov esp, ebp
pop ebp
ret