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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 8
call fcn.0043b09a
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
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
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 1
mov eax, str.Accept:_image_gif__image_jpeg__image_pjpeg__application_x_ms_application__application_xamlxml__application_x_ms_xbap____r_nReferer:_https:__www.4399.com__r_nAccept_Language:_zh_CN_r_nUser_Agent:_Mozilla_5.0__Windows_NT_10.0__WOW64__Trident_7.0__rv:11.0__like_Gecko_r_nHost:_ptlogin.4399.com_r_nConnection:_Keep_Alive_r_nCache_Control:_no_cache
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x3c], 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
push dword [ebp + 8]
call fcn.0040252d
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x402286
push ebx
call fcn.0043b0a0
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x402296
push ebx
call fcn.0043b0a0
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x4022a6
push ebx
call fcn.0043b0a0
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4022b6
push ebx
call fcn.0043b0a0
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4022c6
push ebx
call fcn.0043b0a0
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4022d6
push ebx
call fcn.0043b0a0
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4022e6
push ebx
call fcn.0043b0a0
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4022f6
push ebx
call fcn.0043b0a0
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402306
push ebx
call fcn.0043b0a0
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x43f7b0
call fcn.0043b094
add esp, 0x10
call fcn.0043b0a0
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x40233c
mov eax, 0x4d6224
push eax
push 1
mov ebx, 0x43cef0
call fcn.0043b094
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x402362
push ebx
call fcn.0043b0a0
add esp, 4
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov eax, 0x4d64ed
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
mov eax, str.name_sessionId__value_
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00405897
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4023ae
push ebx
call fcn.0043b0a0
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4023be
push ebx
call fcn.0043b0a0
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4023ce
push ebx
call fcn.0043b0a0
add esp, 4
mov eax, dword [ebp - 0x64]
jmp 0x4023d6
mov esp, ebp
pop ebp
ret 4