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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
push 8
call fcn.100089bd
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.100089bd
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x1009ed11
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0x48], 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jne 0x100069ae
call fcn.10005212
cmp dword [ebp + 0xc], 1
mov eax, 0
sete al
test eax, eax
je 0x100069cc
mov eax, 0x1009f384
jmp 0x100069d1
mov eax, 0x1009f389
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100069e8
push ebx
call fcn.100089cf
add esp, 4
pop eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x48], 0
jne 0x10006a40
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.WinHttp.WinHttpRequest.5.1
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x1000be40
call fcn.100089d5
add esp, 0x28
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10006a3b
mov eax, 0x1009ed11
jmp 0x1000732b
jmp 0x10006a9d
mov ebx, dword [ebp + 0x44]
mov eax, dword [ebx]
push eax
push 8
call fcn.100089bd
add esp, 4
pop ebx
push eax
push 0x10030
push 0
push ebx
push 0x10030
push 0
push eax
push 2
mov ebx, 0x1000bdb0
call fcn.100089d5
add esp, 0x1c
pop eax
push eax
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x1000be30
call fcn.100089d5
add esp, 0x10
call fcn.100089cf
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x3a98
push 0xa0000301
push 0
lea eax, [ebp - 0xc]
push eax
push 0xa0000301
push 0
lea eax, [ebp - 0xc]
push eax
push 0xa0000301
push 0
lea eax, [ebp - 0xc]
push eax
push 0xa0000301
push 0
lea eax, [ebp - 0xc]
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetTimeouts
push 0x10030
push 0
push dword [ebp - 8]
push 6
mov ebx, 0x1000ae00
call fcn.100089d5
add esp, 0x4c
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0xa0000004
push 0
push dword [ebp + 8]
push 0xa0000004
push 0
lea eax, [ebp - 4]
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Open
push 0x10030
push 0
push dword [ebp - 8]
push 5
mov ebx, 0x1000ae00
call fcn.100089d5
add esp, 0x40
cmp dword [ebp + 0x3c], 0
je 0x10006b8b
push 0x80000301
push 0
push 0
push 0x80000301
push 0
push 6
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x1000bd60
call fcn.100089d5
add esp, 0x34
push 0x80000301
push 0
push 0x3300
push 0x80000301
push 0
push 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Option
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x1000bd60
call fcn.100089d5
add esp, 0x34
push 0x1009ecfa
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
call fcn.10001226
add esp, 8
cmp eax, 0
jne 0x10006c09
mov eax, str.Accept:__
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10006bfe
push ebx
call fcn.100089cf
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
jmp 0x10006c92
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Accept:
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x10006c3c
mov eax, 0x1009ecfa
push eax
push 4
mov ebx, 0x10008fe0
call fcn.100089d5
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x10006c92
push str._r_nAccept:__
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.100011ca
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10006c8c
push ebx
call fcn.100089cf
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Referer:
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x10006cc5
mov eax, 0x1009ecfa
push eax
push 4
mov ebx, 0x10008fe0
call fcn.100089d5
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x10006d20
mov ebx, dword [ebp + 8]
push dword [ebx]
push str._r_nReferer:
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 3
call fcn.100011ca
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10006d1a
push ebx
call fcn.100089cf
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Accept_Language:
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x10006d53
mov eax, 0x1009ecfa
push eax
push 4
mov ebx, 0x10008fe0
call fcn.100089d5
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x10006da9
push str._r_nAccept_Language:_zh_CN
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.100011ca
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10006da3
push ebx
call fcn.100089cf
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.User_Agent:
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x10006ddc
mov eax, 0x1009ecfa
push eax
push 4
mov ebx, 0x10008fe0
call fcn.100089d5
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x10006e32
push str._r_nUser_Agent:_Mozilla_5.0__Windows_NT_6.1__WOW64__Trident_7.0__rv:11.0__like_Gecko
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.100011ca
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10006e2c
push ebx
call fcn.100089cf
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Content_Type:
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x10006e65
mov eax, 0x1009ecfa
push eax
push 4
mov ebx, 0x10008fe0
call fcn.100089d5
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x10006ebb
push str._r_nContent_Type:_application_x_www_form_urlencoded
mov ebx, dword [ebp + 0x2c]
push dword [ebx]
mov ecx, 2
call fcn.100011ca
add esp, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x10006eb5
push ebx
call fcn.100089cf
add esp, 4
pop eax
mov ebx, dword [ebp + 0x2c]
mov dword [ebx], eax
push 0x1009ecfa
mov ebx, dword [ebp + 0x1c]
push dword [ebx]
call fcn.10001226
add esp, 8
cmp eax, 0
je 0x10006f14
push 0xa0000004
push 0
push dword [ebp + 0x1c]
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Cookie
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x1000ae00
call fcn.100089d5
add esp, 0x34
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x1009f4f5
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x10006f47
mov eax, 0x1009ecfa
push eax
push 4
mov ebx, 0x10008fe0
call fcn.100089d5
add esp, 0x34
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x10006ff2
push dword [ebp + 0x2c]
call fcn.10005263
mov dword [ebp - 0x1c], eax
push dword [ebp + 0x2c]
call fcn.1000537b
mov dword [ebp - 0x20], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x10006f90
mov eax, 0x1009ecfa
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x10006fa4
mov eax, 0x1009ecfa
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x1000ae00
call fcn.100089d5
add esp, 0x34
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x10006fdd
push ebx
call fcn.100089cf
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10006fed
push ebx
call fcn.100089cf
add esp, 4
jmp 0x1000722b
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x1009f4f5
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebx]
test eax, eax
jne 0x10007019
mov eax, 0x1009ecfa
push eax
push 3
mov ebx, 0x100097c0
call fcn.100089d5
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10007051
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000704d
imul eax, dword [ebx]
jmp 0x10007042
mov ecx, eax
test ecx, ecx
je 0x10007070
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10007069
push ebx
push eax
call fcn.100089cf
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10007057
call fcn.100089cf
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
call fcn.10002057
xor ecx, ecx
push eax
lea eax, [ebp - 0x14]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10007228
mov ebx, dword [ebp - 0x10]
call fcn.10002037
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x100070c2
push 0x93d
push 0x4022f0c
push 4
call fcn.100089c3
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x100070df
push 0x93d
push 0x4022f0c
push 1
call fcn.100089c3
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push 0x1009ecfa
mov ebx, dword [ebp - 0x1c]
push dword [ebx]
call fcn.10001226
add esp, 8
cmp eax, 0
je 0x10007220
mov ebx, dword [ebp - 0x10]
call fcn.10002037
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x10007129
push 0x992
push 0x4022f0c
push 4
call fcn.100089c3
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x10007146
push 0x992
push 0x4022f0c
push 1
call fcn.100089c3
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x1c], ebx
push dword [ebp - 0x1c]
call fcn.10005263
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x10]
call fcn.10002037
push ebx
push ecx
mov eax, dword [ebp - 0x14]
dec eax
jns 0x10007180
push 0x9b3
push 0x4022f0c
push 4
call fcn.100089c3
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000719d
push 0x9b3
push 0x4022f0c
push 1
call fcn.100089c3
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x24]
call fcn.1000537b
mov dword [ebp - 0x28], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x100071c3
mov eax, 0x1009ecfa
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x100071d7
mov eax, 0x1009ecfa
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.SetRequestHeader
push 0x10030
push 0
push dword [ebp - 8]
push 4
mov ebx, 0x1000ae00
call fcn.100089d5
add esp, 0x34
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x10007210
push ebx
call fcn.100089cf
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x10007220
push ebx
call fcn.100089cf
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x1000708d
add esp, 0xc
push 0xa0000004
push 0
push dword [ebp + 0x14]
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.Send
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x1000ae00
call fcn.100089d5
add esp, 0x28
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push str.ResponseBody
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x1000add0
call fcn.100089d5
add esp, 0x28
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x1c]
push 2
mov ebx, 0x1000ae50
call fcn.100089d5
add esp, 0x1c
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x1000ae30
call fcn.100089d5
add esp, 0x10
call fcn.100089cf
add esp, 4
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100072ea
push ebx
call fcn.100089cf
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x48], 0
mov eax, 0
sete al
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jne 0x1000730c
call fcn.100068e5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10007326
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.100089bd
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000732b
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000733c
push ebx
call fcn.100089cf
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x1000be30
call fcn.100089d5
add esp, 0x10
call fcn.100089cf
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000737d
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10007379
imul eax, dword [ebx]
jmp 0x1000736e
mov ecx, eax
test ecx, ecx
je 0x1000739c
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x10007395
push ebx
push eax
call fcn.100089cf
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10007383
call fcn.100089cf
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100073b4
push ebx
call fcn.100089cf
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x44