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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 1
push 1
push 1
push 0x3a98
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
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_nContent_Type:_application_x_www_form_urlencoded__charsetUTF_8_r_nIf_Modified_Since:_0_r_nCache_Control:_no_cache_r_nX_Requested_With:_XMLHttpRequest_r_nReferer:_https:__kyfw.12306.cn_otn_leftTicket_init_r_nConnection:_keep_alive_r_nPragma:_no_cache
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 8]
push eax
push 1
push dword [ebp + 0xc]
push 1
mov eax, 0x8d1c75
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
mov eax, str.https:__kyfw.12306.cn_otn_login_checkUser
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
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 - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4378a8
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4378b8
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4378c8
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4378d8
push ebx
call fcn.0051fddb
add esp, 4
lea eax, [ebp - 0x20]
push eax
call fcn.0040d9f4
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4378f4
push ebx
call fcn.0051fddb
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x437908
push ebx
call fcn.0051fddb
add esp, 4
pop eax
mov dword [ebp - 4], eax
inc dword [ebp - 0xc]
push 0x6024b4
push dword [ebp - 4]
call fcn.0040102b
add esp, 8
cmp eax, 0
jne 0x437981
push 0x80000301
push 0
push 0x12c
push 1
mov ebx, 0x524280
call fcn.0051fded
add esp, 0x10
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x28]
mov dword [ebp - 0x10], eax
push 0x2710
push 0x1bb
lea eax, [ebp - 0x10]
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 - 0x10]
test ebx, ebx
je 0x437981
push ebx
call fcn.0051fddb
add esp, 4
cmp dword [ebp - 0xc], 3
jle 0x437990
jmp 0x4379a9
push 0x6024b4
push dword [ebp - 4]
call fcn.0040102b
add esp, 8
cmp eax, 0
je 0x437833
push 0x6024b4
push dword [ebp - 4]
call fcn.0040102b
add esp, 8
cmp eax, 0
jne 0x4379d9
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov eax, 0
jmp 0x437a5f
mov eax, 0x8d1caa
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00413d81
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x437a01
push ebx
call fcn.0051fddb
add esp, 4
push str._flag_:true
push dword [ebp - 0x14]
call fcn.0040102b
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x437a2f
push ebx
call fcn.0051fddb
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x437a48
mov eax, 1
jmp 0x437a5f
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov eax, 0
jmp 0x437a5f
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x437a70
push ebx
call fcn.0051fddb
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x437a80
push ebx
call fcn.0051fddb
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc