Function at 0x4010d7
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
push 0xffffffffffffffff
push 8
push 0x16013811
push 0x52010001
call fcn.0040b179
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401122
push ebx
call fcn.0040b15b
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
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 - 0x24], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 4]
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 eax, str.http:__h5.jumei.com_activity_redenvelope_main
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.00401356
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4011c4
push ebx
call fcn.0040b15b
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4011d4
push ebx
call fcn.0040b15b
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4011e4
push ebx
call fcn.0040b15b
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4011f4
push ebx
call fcn.0040b15b
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401204
push ebx
call fcn.0040b15b
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401214
push ebx
call fcn.0040b15b
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401224
push ebx
call fcn.0040b15b
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401234
push ebx
call fcn.0040b15b
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401248
push ebx
call fcn.0040b15b
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov eax, str.__span_
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov eax, str._span_class_cur_huafei_cunpon_txt_fl__
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00404252
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401298
push ebx
call fcn.0040b15b
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4012a8
push ebx
call fcn.0040b15b
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4012bc
push ebx
call fcn.0040b15b
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x4ad88d
push dword [ebp - 0xc]
push 0x4ad890
mov ecx, 3
call fcn.0040107b
add esp, 0xc
mov dword [ebp - 0x10], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4012f0
mov eax, 0x4ad89a
push eax
push 0x10005
push 0x16011451
push 0x52010001
push 2
mov ebx, 0x40d560
call fcn.0040b161
add esp, 0x1c
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401322
push ebx
call fcn.0040b15b
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401332
push ebx
call fcn.0040b15b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401342
push ebx
call fcn.0040b15b
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401352
push ebx
call fcn.0040b15b
add esp, 4
mov esp, ebp
pop ebp
ret