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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x1601410a
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x4769e0
call fcn.00410b17
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404017
push ebx
call fcn.00410aff
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x1601410a
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x4769e0
call fcn.00410b17
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40406e
push ebx
call fcn.00410aff
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x1601410a
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x4769e0
call fcn.00410b17
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4040c5
push ebx
call fcn.00410aff
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
push 0xffffffffffffffff
push 8
push 0x16017279
push 0x52010001
call fcn.00410b23
add esp, 0x10
mov dword [ebp - 0x1c], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4040fc
mov eax, 0x4ce9bd
push eax
push 1
mov ebx, 0x411520
call fcn.00410af3
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x404122
push ebx
call fcn.00410aff
add esp, 4
mov eax, dword [ebp - 0x20]
xor ecx, ecx
inc ecx
push ecx
push eax
cmp ecx, eax
jg 0x404456
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
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 dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
mov eax, str.X_Requested_With:_XMLHttpRequest_r_nUser_Agent:_Mozilla_5.0__iPhone__CPU_iPhone_OS_7_1_2_like_Mac_OS_X__AppleWebKit_537.51.2__KHTML__like_Gecko__Mobile_11D257_MicroMessenger_6.0.1_NetType_WIFI
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.004044af
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4041c3
push ebx
call fcn.00410aff
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4041d3
push ebx
call fcn.00410aff
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4041e3
push ebx
call fcn.00410aff
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4041f3
push ebx
call fcn.00410aff
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x404203
push ebx
call fcn.00410aff
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x404213
push ebx
call fcn.00410aff
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x404223
push ebx
call fcn.00410aff
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404237
push ebx
call fcn.00410aff
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004072a6
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40425b
push ebx
call fcn.00410aff
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0
mov ebx, 0x412aa0
call fcn.00410af3
add esp, 4
inc dword [ebp - 0x10]
push 0xffffffffffffffff
push 8
push 0x1601727a
push 0x52010001
call fcn.00410b23
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x4ceb56
push dword [ebp - 0x1c]
mov ecx, 2
call fcn.00402d20
add esp, 8
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4042b5
push ebx
call fcn.00410aff
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4042c8
mov eax, 0x4ce9bd
push eax
push 1
mov ebx, 0x411520
call fcn.00410af3
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4042ee
push ebx
call fcn.00410aff
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x24]
push 1
mov ebx, 0x4131a0
call fcn.00410af3
add esp, 0x10
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x4121f0
call fcn.00410af3
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x4ceb5a
push dword [ebp - 0x1c]
push 0x4ceb5d
push dword [ebp - 8]
push 0x4ceb68
mov ecx, 5
call fcn.00402d20
add esp, 0x14
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40435e
push ebx
call fcn.00410aff
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x404371
mov eax, 0x4ce9bd
push eax
push 0x10005
push 0x1601727c
push 0x52010001
push 2
mov ebx, 0x413110
call fcn.00410af3
add esp, 0x1c
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4043a3
push ebx
call fcn.00410aff
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x4121f0
call fcn.00410af3
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x4ceb5a
push dword [ebp - 0x1c]
push 0x4ceb6b
mov ecx, 3
call fcn.00402d20
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4043ef
push ebx
call fcn.00410aff
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x404402
mov eax, 0x4ce9bd
push eax
push 0x80000301
push 0
push 3
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x1601410a
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x476bd0
call fcn.00410b17
add esp, 0x34
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40444f
push ebx
call fcn.00410aff
add esp, 4
pop eax
pop ecx
jmp 0x404127
add esp, 8
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404469
push ebx
call fcn.00410aff
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404479
push ebx
call fcn.00410aff
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x404489
push ebx
call fcn.00410aff
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404499
push ebx
call fcn.00410aff
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4044a9
push ebx
call fcn.00410aff
add esp, 4
mov esp, ebp
pop ebp
ret 4