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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0xc
call fcn.004f0ca5
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x665e2b
push ebx
add ebx, 4
push ebx
push 8
call fcn.004f0ca5
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x665980
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
add ebx, 4
push ebx
push 8
call fcn.004f0ca5
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x665980
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0xc
call fcn.004f0ca5
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0x665e67
push ebx
add ebx, 8
push ebx
push 8
call fcn.004f0ca5
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.0040b450
pop ebx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov eax, 0x665bf1
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x405c6d
push ebx
call fcn.004f0cab
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, str.zh_CN_zh_q0.9
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, str.Accept_Language
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405cba
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405cca
push ebx
call fcn.004f0cab
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, str.H5_2.0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, str.channel
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405d0c
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405d1c
push ebx
call fcn.004f0cab
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, str.keep_alive
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, str.Connection
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405d5e
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405d6e
push ebx
call fcn.004f0cab
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, str.H5_PC
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, 0x665ca3
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405db0
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405dc0
push ebx
call fcn.004f0cab
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, 0x665a1d
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, str.fromApi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405e02
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405e12
push ebx
call fcn.004f0cab
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, str.https:__api.dailianmama.com
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, str.Origin
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405e54
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405e64
push ebx
call fcn.004f0cab
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, str.https:__api.dailianmama.com_
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, str.Referer
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405ea6
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405eb6
push ebx
call fcn.004f0cab
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, str.thug
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, str.roleInfo
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405ef8
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405f08
push ebx
call fcn.004f0cab
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, str.empty
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, str.Sec_Fetch_Dest
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405f4a
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405f5a
push ebx
call fcn.004f0cab
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, str.cors
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, str.Sec_Fetch_Mode
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405f9c
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405fac
push ebx
call fcn.004f0cab
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, str.same_site
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, str.Sec_Fetch_Site
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x405fee
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x405ffe
push ebx
call fcn.004f0cab
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, str.H5_Windows_7_x64
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, str.system
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x406040
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x406050
push ebx
call fcn.004f0cab
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
push 0xb0ae48
mov eax, str.uInfo
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40608b
push ebx
call fcn.004f0cab
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov eax, str.Mozilla_5.0__iPhone__CPU_iPhone_OS_11_0_like_Mac_OS_X__AppleWebKit_604.1.38__KHTML__like_Gecko__Version_11.0_Mobile_15A372_Safari_604.1
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, str.User_Agent
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x4060cd
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4060dd
push ebx
call fcn.004f0cab
add esp, 4
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40610e
push ebx
call fcn.004f0cab
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
push 8
call fcn.004f0ca5
add esp, 4
mov dword [ebp - 0x48], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
push dword [ebp - 0x64]
push 1
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x6c], 0
push 0
lea eax, [ebp - 0x6c]
push eax
mov dword [ebp - 0x70], 0
push 0
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x74], 0
push 0
lea eax, [ebp - 0x74]
push eax
push 1
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call fcn.0040685f
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x406214
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x406224
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x406234
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x406244
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x406254
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x406264
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x406274
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x406284
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x48]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x4f76f0
call fcn.004f0c9f
add esp, 0x10
call fcn.004f0cab
add esp, 4
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4062bb
push ebx
call fcn.004f0cab
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
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
lea eax, [ebp - 0x14]
push eax
call fcn.0040ada4
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x406301
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x406311
push ebx
call fcn.004f0cab
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x406324
mov eax, 0x665980
push eax
push 1
mov ebx, 0x4f31f0
call fcn.004f0c9f
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40634a
push ebx
call fcn.004f0cab
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40635e
push ebx
call fcn.004f0cab
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x18], 0xc8
je 0x406379
mov eax, 0xffffffff
jmp 0x40671d
push 0x20
call fcn.004f0ca5
add esp, 4
mov dword [ebp - 0x3c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 8
rep stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x3c]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4063d4
push ebx
call fcn.004f0cab
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4063e8
push ebx
call fcn.004f0cab
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4063fc
push ebx
call fcn.004f0cab
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x406410
push ebx
call fcn.004f0cab
add esp, 4
pop ebx
call fcn.004f0cab
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x406713
mov dword [ebp - 0x24], 0
push 1
mov eax, str.data.data
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x406459
push ebx
call fcn.004f0cab
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
xor ecx, ecx
push eax
lea eax, [ebp - 0x2c]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4066c5
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [0x665be9]
fstp qword [ebp - 0x48]
push 0x80000601
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push 1
mov ebx, 0x4f31f0
call fcn.004f0c9f
add esp, 0x10
mov dword [ebp - 0x4c], eax
push str._.createtime
push dword [ebp - 0x4c]
push str.data.data_
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4064d8
push ebx
call fcn.004f0cab
add esp, 4
push 1
push 0
push 1
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x406506
push ebx
call fcn.004f0cab
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40651a
push ebx
call fcn.004f0cab
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov eax, 0x665e1d
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00405670
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40655e
push ebx
call fcn.004f0cab
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x406572
push ebx
call fcn.004f0cab
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
mov eax, dword [0xb0ae14]
push eax
push dword [ebp - 0x34]
call fcn.004012d5
add esp, 8
cmp eax, 0
jne 0x4066bd
inc dword [ebp - 0x24]
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
fsub qword [0x665be9]
fstp qword [ebp - 0x48]
push 0x80000601
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push 1
mov ebx, 0x4f31f0
call fcn.004f0c9f
add esp, 0x10
mov dword [ebp - 0x4c], eax
push str._.unitprice
push dword [ebp - 0x4c]
push str.data.data_
mov ecx, 3
call fcn.0040106f
add esp, 0xc
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x4065f2
push ebx
call fcn.004f0cab
add esp, 4
push 1
push 0
push 1
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x406620
push ebx
call fcn.004f0cab
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x406634
push ebx
call fcn.004f0cab
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
mov ebx, dword [0xb0ae4c]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov eax, dword [0xb0ae14]
push eax
mov ebx, dword [ebp - 0x3c]
push dword [ebx]
call fcn.004012d5
add esp, 8
cmp eax, 0
je 0x4066bd
mov ebx, dword [0xb0ae4c]
add ebx, 0x18
mov dword [ebp - 0x3c], ebx
mov ebx, dword [0xb0ae4c]
add ebx, 0x18
mov dword [ebp - 0x40], ebx
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x40668b
mov eax, 0x66596c
push eax
push 1
mov ebx, 0x4f1b70
call fcn.004f0c9f
add esp, 0x10
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov ebx, dword [ebp - 0x40]
fld qword [ebx]
fadd qword [ebp - 0x48]
fstp qword [ebp - 0x50]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
mov dword [ebx + 4], edx
pop eax
pop ebx
pop ecx
jmp 0x40646b
add esp, 0xc
mov ebx, dword [0xb0ae4c]
add ebx, 8
mov dword [ebp - 0x3c], ebx
mov eax, dword [0xb0ae14]
test eax, eax
je 0x4066f2
push eax
mov ebx, eax
call fcn.00401004
inc eax
push eax
call fcn.004f0ca5
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x3c]
mov ebx, dword [ebx]
test ebx, ebx
je 0x406705
push ebx
call fcn.004f0cab
add esp, 4
pop eax
mov ebx, dword [ebp - 0x3c]
mov dword [ebx], eax
mov eax, dword [ebp - 0x24]
jmp 0x40671d
mov eax, 0xffffffff
jmp 0x40671d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40672e
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40674e
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40675e
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40676e
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x40678e
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x40679e
push ebx
call fcn.004f0cab
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4067ae
push ebx
call fcn.004f0cab
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret