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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], 0
push 0x14
call fcn.0040b3e3
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x4ae693
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16010c2f
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x4716c0
call fcn.0040b407
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4012ba
push ebx
call fcn.0040b3f5
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4ae568
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.15693_r_n17086_r_n10883
push 3
mov ebx, 0x40c1e0
call fcn.0040b3fb
add esp, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x401313
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40130f
imul eax, dword [ebx]
jmp 0x401304
mov ecx, eax
test ecx, ecx
je 0x401332
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40132b
push ebx
push eax
call fcn.0040b3f5
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401319
call fcn.0040b3f5
add esp, 4
pop eax
mov dword [ebp - 8], eax
xor ecx, ecx
lea eax, [ebp - 0xc]
mov ebx, eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, 3
jg 0x4018a1
mov ebx, dword [ebp - 8]
call fcn.0040112d
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x401370
push 4
call fcn.0040b3e9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x401383
push 1
call fcn.0040b3e9
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebx]
test eax, eax
je 0x4013a9
push eax
mov ebx, eax
call fcn.0040114d
inc eax
push eax
call fcn.0040b3e3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4013ba
push ebx
call fcn.0040b3f5
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push str.http:__hd1.itianpin.com_project_
mov ecx, 2
call fcn.004011b8
add esp, 8
mov dword [ebp - 0x20], eax
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.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 - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
lea eax, [ebp - 0x20]
push eax
call fcn.0040197b
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401465
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401475
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401485
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x401495
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4014a5
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4014b5
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4014c5
push ebx
call fcn.0040b3f5
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4014d9
push ebx
call fcn.0040b3f5
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, 0x4ae65f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov eax, str._token:_
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404830
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401529
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401539
push ebx
call fcn.0040b3f5
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40154d
push ebx
call fcn.0040b3f5
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40156d
push eax
mov ebx, eax
call fcn.0040114d
inc eax
push eax
call fcn.0040b3e3
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40157e
push ebx
call fcn.0040b3f5
add esp, 4
pop eax
mov dword [ebp - 4], eax
push str._support
push dword [ebp - 0x10]
push str.http:__hd1.itianpin.com_project_
mov ecx, 3
call fcn.004011b8
add esp, 0xc
mov dword [ebp - 0x20], eax
push dword [ebp - 0x1c]
push str._token
mov ecx, 2
call fcn.004011b8
add esp, 8
mov dword [ebp - 0x24], 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
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
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 - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
push 1
lea eax, [ebp - 4]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push 1
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.0040197b
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401641
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401651
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x401661
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401671
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x401681
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401691
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4016a1
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4016b1
push ebx
call fcn.0040b3f5
add esp, 4
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4016c5
push ebx
call fcn.0040b3f5
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.004049cc
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4016e9
push ebx
call fcn.0040b3f5
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fadd qword [0x4ae560]
fstp qword [ebp - 0x2c]
push 0x80000601
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 1
mov ebx, 0x40c940
call fcn.0040b3fb
add esp, 0x10
mov dword [ebp - 0x30], eax
push dword [ebp - 0x14]
push 0x4ae67c
push dword [ebp - 0x10]
push 0x4ae67f
push dword [ebp - 0x30]
push 0x4ae681
mov ecx, 6
call fcn.004011b8
add esp, 0x18
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401757
push ebx
call fcn.0040b3f5
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x34]
test eax, eax
jne 0x40176a
mov eax, 0x4ae684
push eax
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16010c2f
push 0x52010001
push 4
mov eax, 2
mov ebx, 0x4718b0
call fcn.0040b407
add esp, 0x34
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4017b7
push ebx
call fcn.0040b3f5
add esp, 4
push 0
mov ebx, 0x40cc30
call fcn.0040b3fb
add esp, 4
push edx
push eax
call fcn.004050d2
mov dword [ebp - 0x28], eax
fild dword [ebp + 8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x4ae560]
fstp qword [ebp - 0x38]
push 0x80000601
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 1
mov ebx, 0x40c940
call fcn.0040b3fb
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x4ae568
push dword [ebp - 0x14]
push 0x4ae685
push dword [ebp - 0x10]
push 0x4ae68c
push dword [ebp - 0x3c]
push 0x4ae681
push dword [ebp - 0x28]
mov ecx, 8
call fcn.004011b8
add esp, 0x20
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401845
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x401855
push ebx
call fcn.0040b3f5
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x401868
mov eax, 0x4ae684
push eax
push 0x10005
push 0x16011451
push 0x52010001
push 2
mov ebx, 0x40d9b0
call fcn.0040b3fb
add esp, 0x1c
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40189a
push ebx
call fcn.0040b3f5
add esp, 4
pop ebx
pop ecx
jmp 0x401345
add esp, 8
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push dword [ebp + 8]
push 0x30004
push 0x16010c2f
push 0x52010001
push 3
mov eax, 2
mov ebx, 0x4718d0
call fcn.0040b407
add esp, 0x28
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4018f0
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40190e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40190a
imul eax, dword [ebx]
jmp 0x4018ff
mov ecx, eax
test ecx, ecx
je 0x40192d
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x401926
push ebx
push eax
call fcn.0040b3f5
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x401914
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401945
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401955
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x401965
push ebx
call fcn.0040b3f5
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x401975
push ebx
call fcn.0040b3f5
add esp, 4
mov esp, ebp
pop ebp
ret 4