Function at 0x40f292
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 0x10
call fcn.0057a516
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 + 0xc], 0
mov dword [ebx], 0xf8807c
push ebx
add ebx, 4
push ebx
push 8
call fcn.0057a516
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
add ebx, 4
push ebx
push 8
call fcn.0057a516
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
add ebx, 4
push ebx
push 0x10
call fcn.0057a516
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
pop ebx
pop ebx
push ebx
mov eax, esp
push eax
call fcn.00412bd3
pop ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0xc
call fcn.0057a516
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx], 0xf880b4
push ebx
add ebx, 8
push ebx
push 8
call fcn.0057a516
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.00412be1
pop ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.lanzous
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40f41f
mov eax, 0x6a984c
push eax
push 4
mov ebx, 0x57af30
call fcn.0057a52e
add esp, 0x34
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x40f4b4
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
mov ebx, 6
call fcn.00402967
push reloc.WS2_32.dll_connect
push 0
push str.lanzoui
push reloc.WS2_32.dll_connect
push 0
push str.lanzous
push reloc.WS2_32.dll_connect
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x40f482
mov eax, 0x6a984c
push eax
push 6
mov ebx, 0x57bb50
call fcn.0057a52e
add esp, 0x4c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40f4ae
push ebx
call fcn.0057a51c
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push 0x6a984c
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00401004
add esp, 8
cmp eax, 0
mov eax, 0
sete al
test eax, eax
je 0x40f4e3
mov eax, str.lanzoui
jmp 0x40f501
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x40f501
push eax
mov ebx, eax
call fcn.004010a1
inc eax
push eax
call fcn.0057a516
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40f51a
push ebx
call fcn.0057a51c
add esp, 4
pop eax
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
push str..com_
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.user_agent:_Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_84.0.4147.105_Safari_537.36_r_nreferer:_https:__www.
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40f553
push ebx
call fcn.0057a51c
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 8
call fcn.0057a516
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
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
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 4]
push eax
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
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x68], 0
push 0
push dword [ebp - 0x68]
push dword [ebp + 8]
call fcn.004100d5
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x40f666
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40f676
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40f686
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40f696
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40f6a6
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40f6b6
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40f6c6
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40f6d6
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x57f880
call fcn.0057a52e
add esp, 0x10
call fcn.0057a51c
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x40f70c
mov eax, 0x6a98ce
push eax
push 1
mov ebx, 0x57c5a0
call fcn.0057a52e
add esp, 0x10
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x40f732
push ebx
call fcn.0057a51c
add esp, 4
lea eax, [ebp - 0x70]
push eax
call fcn.00412793
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40f74e
push ebx
call fcn.0057a51c
add esp, 4
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40f762
push ebx
call fcn.0057a51c
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x6a984c
push dword [ebp - 8]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x40f789
mov eax, 0x6a984c
jmp 0x41003d
push 1
push 1
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
lea eax, [ebp - 8]
push eax
mov eax, 0xf87fed
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
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 - 0x34]
test ebx, ebx
je 0x40f7e2
push ebx
call fcn.0057a51c
add esp, 4
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40f81e
push ebx
call fcn.0057a51c
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x6a984c
push dword [ebp - 0x10]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x40f83b
push dword [ebp - 0x10]
push str..com_
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.https:__www.
mov ecx, 4
call fcn.0040110c
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 8
call fcn.0057a516
add esp, 4
mov dword [ebp - 0x38], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x38]
push 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
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x5c]
push eax
push 1
lea eax, [ebp - 4]
push eax
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x64], 0
push 0
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x68], 0
push 0
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x6c], 0
push 0
push dword [ebp - 0x6c]
lea eax, [ebp - 0x28]
push eax
call fcn.004100d5
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40f96d
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x40f97d
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x40f98d
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40f99d
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40f9ad
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40f9bd
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40f9cd
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40f9dd
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40f9ed
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x38]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x57f880
call fcn.0057a52e
add esp, 0x10
call fcn.0057a51c
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x70]
test eax, eax
jne 0x40fa23
mov eax, 0x6a98ce
push eax
push 1
mov ebx, 0x57c5a0
call fcn.0057a52e
add esp, 0x10
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x40fa49
push ebx
call fcn.0057a51c
add esp, 4
lea eax, [ebp - 0x74]
push eax
call fcn.00412793
mov dword [ebp - 0x78], eax
mov ebx, dword [ebp - 0x74]
test ebx, ebx
je 0x40fa65
push ebx
call fcn.0057a51c
add esp, 4
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40fa79
push ebx
call fcn.0057a51c
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x6a984c
push dword [ebp - 8]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x40faa0
mov eax, 0x6a984c
jmp 0x41003d
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 8]
push eax
mov eax, str._0_9a_zA_Z__70_
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
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 - 0x38]
test ebx, ebx
je 0x40fafe
push ebx
call fcn.0057a51c
add esp, 4
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40fb35
push ebx
call fcn.0057a51c
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x6a984c
push dword [ebp - 0x14]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x40fb5c
mov eax, 0x6a984c
jmp 0x41003d
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 8]
push eax
mov eax, str.action:_.__
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
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 - 0x38]
test ebx, ebx
je 0x40fbba
push ebx
call fcn.0057a51c
add esp, 4
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40fbf6
push ebx
call fcn.0057a51c
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x6a984c
push dword [ebp - 0x18]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x40fc2d
mov eax, str.downprocess
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40fc29
push ebx
call fcn.0057a51c
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push str.ves1
push dword [ebp - 0x14]
push str.sign
push dword [ebp - 0x18]
push str.action
mov ecx, 5
call fcn.0040110c
add esp, 0x14
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x40fc66
push ebx
call fcn.0057a51c
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
lea eax, [ebp - 8]
push eax
mov eax, str.url_:___.__
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
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 - 0x38]
test ebx, ebx
je 0x40fcc8
push ebx
call fcn.0057a51c
add esp, 4
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 1
push 1
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
push str..com_
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push str.https:__www.
mov ecx, 4
call fcn.0040110c
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40fd22
push ebx
call fcn.0057a51c
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40fd36
push ebx
call fcn.0057a51c
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
push dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
push 8
call fcn.0057a516
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
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
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov dword [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 4]
push eax
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
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
lea eax, [ebp - 0x20]
push eax
call fcn.004100d5
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x40fe3e
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40fe4e
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40fe5e
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x40fe6e
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x40fe7e
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x40fe8e
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x40fe9e
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x57f880
call fcn.0057a52e
add esp, 0x10
call fcn.0057a51c
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x40fed4
mov eax, 0x6a98ce
push eax
push 1
mov ebx, 0x57c5a0
call fcn.0057a52e
add esp, 0x10
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x40fefa
push ebx
call fcn.0057a51c
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40ff0e
push ebx
call fcn.0057a51c
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x6a984c
push dword [ebp - 8]
call fcn.00401004
add esp, 8
cmp eax, 0
jne 0x40ff35
mov eax, 0x6a984c
jmp 0x41003d
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x40ff60
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 1
mov eax, 0xf8806d
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x40ff9b
push ebx
call fcn.0057a51c
add esp, 4
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
push 1
mov eax, 0xf88071
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x40ffd6
push ebx
call fcn.0057a51c
add esp, 4
push dword [ebp - 0x3c]
push str._file_
push dword [ebp - 0x30]
mov ecx, 3
call fcn.0040110c
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x410001
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x410011
push ebx
call fcn.0057a51c
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x410025
push ebx
call fcn.0057a51c
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0041284a
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
jmp 0x41003d
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x41004e
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x41005e
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41007e
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41008e
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41009e
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4100ae
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4100be
push ebx
call fcn.0057a51c
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
mov eax, dword [ebx]
call dword [eax]
call fcn.0057a51c
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc