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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 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, 0x4716b0
call fcn.0040d680
add esp, 0x28
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403417
push ebx
call fcn.0040d662
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 4
call fcn.00403a3e
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push str.want
push dword [ebp - 4]
push str.uuid
mov ecx, 4
call fcn.004011ba
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x403458
push ebx
call fcn.0040d662
add esp, 4
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
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
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
mov eax, str.User_Agent:_Mozilla_5.0__Linux__U__Android_4.2.2__zh_cn__Droid4X_WIN_Build_JDQ39E__AppleWebKit_534.30__KHTML__like_Gecko__Version_4.0_Mobile_Safari_534.30_MicroMessenger_5.4.0.51_r798589.480_NetType_WIFI
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
push 1
mov eax, str.JSESSIONID8AF9BBA3E2357D69F62D4E700AD85F81
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push 1
mov eax, str.http:__121.41.32.52_RedEnvelope_UserWant.do
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00403c21
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4034f2
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403502
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x403512
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x403522
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x403532
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x403542
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x403552
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403562
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403572
push ebx
call fcn.0040d662
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403586
push ebx
call fcn.0040d662
add esp, 4
pop eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push str.uuid
mov ecx, 2
call fcn.004011ba
add esp, 8
mov dword [ebp - 0x10], 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
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
push 1
mov eax, str.User_Agent:_Mozilla_5.0__Linux__U__Android_4.2.2__zh_cn__Droid4X_WIN_Build_JDQ39E__AppleWebKit_534.30__KHTML__like_Gecko__Version_4.0_Mobile_Safari_534.30_MicroMessenger_5.4.0.51_r798589.480_NetType_WIFI
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 1
mov eax, str.JSESSIONID8AF9BBA3E2357D69F62D4E700AD85F81
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
push 1
push 1
mov eax, str.http:__121.41.32.52_RedEnvelope_UserDraw.do
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
call fcn.00403c21
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40363c
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40364c
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40365c
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40366c
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40367c
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40368c
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40369c
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4036ac
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4036bc
push ebx
call fcn.0040d662
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4036d0
push ebx
call fcn.0040d662
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
mov ebx, 0x40ecf0
call fcn.0040d65c
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
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 eax, 0x4b0dcc
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0040696c
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40373d
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40374d
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40375d
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40376d
push ebx
call fcn.0040d662
add esp, 4
fild dword [ebp + 8]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x4ad7b0]
fstp qword [ebp - 0x38]
push 0x80000601
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 1
mov ebx, 0x40ea00
call fcn.0040d65c
add esp, 0x10
mov dword [ebp - 0x3c], eax
push 0x4ad7b8
push dword [ebp - 0xc]
push 0x4b0dce
push dword [ebp - 0x3c]
push 0x4b0dd5
push dword [ebp - 0x28]
push 0x4b0ddd
mov ecx, 7
call fcn.004011ba
add esp, 0x1c
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4037dc
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4037ec
push ebx
call fcn.0040d662
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4037ff
mov eax, 0x4ad7bb
push eax
push 0x10005
push 0x16010ef5
push 0x52010001
push 2
mov ebx, 0x40fb60
call fcn.0040d65c
add esp, 0x1c
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x403831
push ebx
call fcn.0040d662
add esp, 4
push 0
mov ebx, 0x40dab0
call fcn.0040d65c
add esp, 4
mov dword [ebp - 0x10], eax
push 0x4b0de0
push dword [ebp - 0x10]
mov ecx, 2
call fcn.004011ba
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40386e
push ebx
call fcn.0040d662
add esp, 4
push 0xffffffffffffffff
push 8
push 0x16010ef5
push 0x52010001
call fcn.0040d674
add esp, 0x10
mov dword [ebp - 0x18], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40389a
mov eax, 0x4ad7bb
push eax
push 1
mov ebx, 0x40e5e0
call fcn.0040d65c
add esp, 0x10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4038c0
push ebx
call fcn.0040d662
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4038d3
mov eax, 0x4ad7bc
push eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4038e7
mov eax, 0x4ad7bb
push eax
push 2
mov ebx, 0x40eda0
call fcn.0040d65c
add esp, 0x1c
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40390a
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40391a
push ebx
call fcn.0040d662
add esp, 4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4b0dee
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40394b
mov eax, 0x4ad7bb
push eax
push 4
mov ebx, 0x40dd50
call fcn.0040d65c
add esp, 0x34
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4039b8
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0x4b0df2
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, 0x471880
call fcn.0040d680
add esp, 0x34
jmp 0x403a08
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4039cb
mov eax, 0x4ad7bb
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, 0x471880
call fcn.0040d680
add esp, 0x34
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x403a18
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x403a28
push ebx
call fcn.0040d662
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x403a38
push ebx
call fcn.0040d662
add esp, 4
mov esp, ebp
pop ebp
ret 4