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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51aef0
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x572088]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 1
or ebx, 0xffffffff
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], 0
cmp dword [eax - 0xc], 0
jl 0x4062d3
push 0x54ff64
push eax
call fcn.004eafde
add esp, 8
test eax, eax
je 0x4062d3
mov esi, dword [ebp + 8]
sub eax, esi
cmp eax, ebx
je 0x4062d3
cmp dword [esi - 4], 1
jle 0x40629f
push dword [esi - 0xc]
lea ecx, [ebp + 8]
call fcn.00417df0
mov esi, dword [ebp + 8]
cmp dword [esi - 0xc], 0
jge 0x4062aa
or ecx, 0xffffffff
jmp 0x4062c2
push 0x54ff64
push esi
call fcn.004eafde
mov ecx, eax
add esp, 8
sub ecx, dword [ebp + 8]
test eax, eax
cmove ecx, ebx
lea eax, [ecx + 0xd]
add eax, esi
push eax
call fcn.004eab58
add esp, 4
mov dword [ebp - 0x34], eax
mov esi, dword [ebp + 0xc]
cmp dword [esi - 0xc], 0
jl 0x406502
push 0x54ff74
push esi
call fcn.004eafde
mov esi, dword [ebp + 0xc]
add esp, 8
test eax, eax
je 0x406344
sub eax, esi
cmp eax, 0xffffffff
je 0x406344
cmp dword [esi - 4], 1
jle 0x406310
push dword [esi - 0xc]
lea ecx, [ebp + 0xc]
call fcn.00417df0
mov esi, dword [ebp + 0xc]
cmp dword [esi - 0xc], 0
jge 0x40631b
or ecx, 0xffffffff
jmp 0x406333
push 0x54ff74
push esi
call fcn.004eafde
mov ecx, eax
add esp, 8
sub ecx, dword [ebp + 0xc]
test eax, eax
cmove ecx, ebx
lea eax, [esi + 8]
add eax, ecx
push eax
call fcn.004eab58
mov esi, dword [ebp + 0xc]
add esp, 4
cmp dword [esi - 0xc], 0
jl 0x406502
push str.iActivityId
push esi
call fcn.004eafde
mov esi, dword [ebp + 0xc]
add esp, 8
test eax, eax
je 0x40636a
sub eax, esi
cmp eax, 0xffffffff
jne 0x406398
cmp dword [esi - 0xc], 0
jl 0x406502
push str.iFlowId
push esi
call fcn.004eafde
mov esi, dword [ebp + 0xc]
add esp, 8
test eax, eax
je 0x406502
sub eax, esi
cmp eax, 0xffffffff
je 0x406502
push ecx
mov ecx, dword [esi - 0x10]
mov dword [ebp - 0x38], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
lea edx, [esi - 4]
mov eax, dword [edx]
shr eax, 0x1f
test al, al
jne 0x4063bf
cmp ecx, dword [esi - 0x10]
jne 0x4063bf
lea edi, [esi - 0x10]
lock inc dword [edx]
jmp 0x4063eb
mov eax, dword [ecx]
push 1
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x406ae0
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov eax, esi
mov edx, dword [esi - 0xc]
inc edx
push edx
push eax
call fcn.00401420
add esp, 8
mov ecx, dword [ebp - 0x38]
lea eax, [edi + 0x10]
mov dword [ecx], eax
lea ecx, [ebp - 0x30]
call fcn.00405d50
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [eax]
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x40645a
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
shr eax, 0x1f
test al, al
jne 0x40644e
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x40644e
call fcn.00419570
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
mov eax, ebx
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x406443
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x38]
add eax, 0x10
mov dword [ebp + 0xc], eax
jmp 0x40645a
push dword [edx - 0xc]
lea ecx, [ebp + 0xc]
push edx
call fcn.004195e0
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406478
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
call fcn.00401890
mov ecx, eax
test ecx, ecx
je 0x406ae5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x30]
push dword [ebp - 0x34]
push str.iActivityId_d
push eax
call fcn.0041b3a0
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov esi, dword [ebp - 0x30]
cmp dword [eax - 0xc], 0
jl 0x4064d4
push str.iActivityId
push eax
call fcn.004eafde
add esp, 8
test eax, eax
je 0x4064d4
sub eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x4064e0
push dword [esi - 0xc]
lea ecx, [ebp + 0xc]
push esi
call fcn.00419d70
add esi, 0xfffffff0
mov byte [ebp - 4], 7
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4064fb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov esi, dword [ebp + 0xc]
push esi
push str.post_form:_s
push str.CurlPostCf
call fcn.00423330
add esp, 0xc
call fcn.00435080
push dword [ebp + 8]
mov esi, eax
mov dword [ebp - 0x38], esi
test esi, esi
je 0x406a30
push 0x2712
push esi
call fcn.00439250
add esp, 0xc
push 1
push 0x2f
push esi
call fcn.00439250
add esp, 0xc
mov dword [ebp - 0x34], 0
xor ecx, ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x2c], ecx
nop dword [eax + eax]
mov eax, dword [ebp + 0xc]
test ecx, ecx
js 0x4067ec
cmp ecx, dword [eax - 0xc]
jg 0x4067ec
add eax, ecx
push 0x54fc04
push eax
call fcn.004eafde
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4067e9
mov eax, dword [ebp + 0xc]
sub ebx, eax
cmp ebx, 0xffffffff
je 0x4067e9
test ebx, ebx
js 0x4065c8
cmp ebx, dword [eax - 0xc]
jg 0x4065c8
add eax, ebx
push 0x54fc08
push eax
call fcn.004eafde
mov esi, eax
add esp, 8
mov eax, dword [ebp + 0xc]
test esi, esi
je 0x4065c8
sub esi, eax
mov dword [ebp - 0x3c], esi
cmp esi, 0xffffffff
jne 0x4065ce
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 8
call fcn.00401890
mov ecx, eax
test ecx, ecx
je 0x406ae5
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 0xa
call fcn.00401890
mov ecx, eax
test ecx, ecx
je 0x406ae5
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xb
cmp ebx, ecx
jle 0x4066b6
mov eax, ebx
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp + 0xc]
call fcn.00415bb0
mov byte [ebp - 4], 0xc
lea ecx, [edi - 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x44], ecx
lea eax, [edx - 0x10]
cmp eax, ecx
je 0x406693
lea eax, [ecx + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [eax]
shr eax, 0x1f
test al, al
jne 0x406684
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x406684
lea ecx, [edx - 0x10]
call fcn.00419570
mov edi, eax
mov ecx, dword [ebp - 0x2c]
or eax, 0xffffffff
mov byte [ebp - 4], 0xd
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40667c
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0x10
mov dword [ebp - 0x40], edi
jmp 0x406693
push dword [edx - 0xc]
lea ecx, [ebp - 0x40]
push edx
call fcn.004195e0
mov edi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xe
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4066b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x3c]
inc ebx
cmp eax, ebx
jle 0x40675f
sub eax, ebx
lea ecx, [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
call fcn.00415bb0
mov byte [ebp - 4], 0xf
lea ecx, [esi - 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x44], ecx
lea ebx, [edx - 0x10]
cmp ebx, ecx
je 0x406739
mov eax, dword [ecx + 0xc]
lea esi, [ecx + 0xc]
shr eax, 0x1f
test al, al
jne 0x40672a
mov eax, dword [ebx]
cmp eax, dword [ecx]
jne 0x40672a
mov ecx, ebx
call fcn.00419570
mov dword [ebp - 0x2c], eax
or ebx, 0xffffffff
mov byte [ebp - 4], 0x10
mov eax, ebx
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x40671f
mov edx, dword [ebp - 0x44]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x2c]
add esi, 0x10
mov dword [ebp - 0x30], esi
jmp 0x40673c
push dword [edx - 0xc]
lea ecx, [ebp - 0x30]
push edx
call fcn.004195e0
mov esi, dword [ebp - 0x30]
or ebx, 0xffffffff
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x11
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40675a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x3c]
jmp 0x406762
or ebx, 0xffffffff
lea ecx, [eax + 1]
mov dword [ebp - 0x2c], ecx
push 0x54fb6e
push edi
call fcn.004e17bb
add esp, 8
test eax, eax
je 0x4067a4
push 0x54fb6e
push esi
call fcn.004e17bb
add esp, 8
test eax, eax
je 0x4067a4
push 0x11
push esi
push 4
push edi
push 1
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00435ef0
add esp, 0x1c
add esi, 0xfffffff0
mov byte [ebp - 4], 0x14
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4067bf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0x15
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
mov ecx, dword [ebp - 0x2c]
test eax, eax
jg 0x406560
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
jmp 0x406560
or ebx, 0xffffffff
push dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
push 0x2728
push edi
call fcn.00439250
add esp, 0xc
push str.content_type:_multipart_form_data
push 0
call fcn.00435360
push str.user_agent:_Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_70.0.3538.25_Safari_537.36_Core_1.70.3775.400_QQBrowser_10.6.4208.400
push eax
call fcn.00435360
mov esi, eax
push esi
push 0x2727
push edi
call fcn.00439250
add esp, 0x1c
push dword [0x58abec]
push 0x2726
push edi
call fcn.00439250
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x406160
push 0x4e2b
push edi
mov byte [ebp - 4], 0x16
call fcn.00439250
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push 0x2711
push edi
call fcn.00439250
add esp, 0xc
push edi
call fcn.004350c0
add esp, 4
mov edi, eax
push dword [ebp - 0x34]
call fcn.00435f10
add esp, 4
push esi
call fcn.004353a0
add esp, 4
test edi, edi
je 0x40698a
lea eax, [edi - 1]
cmp eax, 0x19
ja case.0x4068ad.2
movzx eax, byte [eax + 0x406b18]
jmp dword [eax*4 + 0x406b04]
push str.CurlPostCf
push 0x550090
push str.CurlPostCf
call fcn.00423330
add esp, 0xc
jmp 0x406930
push str.CurlPostCf
push 0x5500b4
push str.CurlPostCf
call fcn.00423330
add esp, 0xc
jmp 0x406930
push str.CurlPostCf
push str._s::http
push str.CurlPostCf
call fcn.00423330
add esp, 0xc
jmp 0x406930
push str.CurlPostCf
push 0x5500ec
push str.CurlPostCf
call fcn.00423330
add esp, 0xc
jmp 0x406930
push edi
push str.CurlPostCf
push str._s::
push str.CurlPostCf
call fcn.00423330
add esp, 0x10
push dword [ebp - 0x38]
call fcn.00435060
mov byte [ebp - 4], 1
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x406973
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406969
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406aef
push edx
push ecx
call fcn.0047a524
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x406a47
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x4c]
mov ecx, esi
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00416050
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4069d8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4069ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406af4
push edx
push ecx
call fcn.0047a524
add esp, 8
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], 0
add edx, 0xfffffff0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x17
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406a08
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0x18
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x406ac2
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x406ac2
push str.CurlPostCf
push str._s::PostMessage
push str.CurlPostCf
call fcn.00423330
add esp, 0x10
call fcn.00401890
mov ecx, eax
test ecx, ecx
je 0x406af9
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp - 0x4c]
add eax, 0x10
mov dword [esi], eax
push 0x54fb6e
mov ecx, esi
mov byte [ebp - 4], 0x19
call fcn.00417c90
test al, al
jne 0x406a85
push 0
push 0x54fb6e
mov ecx, esi
call fcn.004195e0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x1a
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x406aa3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov dword [ebp - 4], 0x1b
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x406ac2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00479fb5
mov esp, ebp
pop ebp
ret
call fcn.004195d0
push 0x80004005
call fcn.00401560
call fcn.004eaa51
call fcn.004eaa51
push 0x80004005
call fcn.00401560
nop
mov ah, 0x68
inc eax
add ch, cl
push 0x68e60040
inc eax
add bh, bh
push 0x69180040
inc eax
add byte [eax], al
add al, 4
add al, 4
add al, 1
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, byte [esp + eax]
add al, 3
int3