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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov eax, 0xb42724
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0xb3f214
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push 0x114a510
call fcn.00408bfb
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x52411c
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x52412c
push ebx
call fcn.006274ad
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x524140
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 4], eax
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x524157
mov eax, 0x70ef7f
push eax
push 1
mov ebx, 0x627a80
call fcn.006274b3
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 1
jle 0x524183
mov dword [ebp - 8], 1
jmp 0x52418a
mov dword [ebp - 8], 0
cmp dword [ebp - 8], 1
jne 0x52454a
push 0xb4272c
push dword [ebp - 4]
push 0xb29deb
mov ecx, 3
call fcn.00403015
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
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
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
push eax
call fcn.004cf195
mov ebx, eax
test ebx, ebx
je 0x52426c
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x52427c
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x52428c
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x52429c
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x5242ac
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x5242bc
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x5242cc
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x5242dc
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x5242ec
push ebx
call fcn.006274ad
add esp, 4
push 0xb42744
push dword [ebp - 4]
mov ecx, 2
call fcn.00403015
add esp, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.004cb62b
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x52431d
push ebx
call fcn.006274ad
add esp, 4
mov eax, 0xb4274f
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.004cb62b
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x52433e
push ebx
call fcn.006274ad
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
push 0
push 0x5dc
call fcn.004054ce
push 0xb42759
push dword [ebp - 4]
push 0xb29deb
mov ecx, 3
call fcn.00403015
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x52438c
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push dword [0x114a504]
push 0xb29335
push dword [0x114a494]
push 0xb3e33b
mov ecx, 4
call fcn.00403015
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x5243ca
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0xb42776
push dword [ebp - 4]
push 0xb29deb
mov ecx, 3
call fcn.00403015
add esp, 0xc
mov dword [ebp - 0x18], eax
push 0xb427a5
push dword [0x114a504]
push 0xb427b3
push dword [0x114a494]
push 0xb427be
mov ecx, 5
call fcn.00403015
add esp, 0x14
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
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
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 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
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push 1
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.004cf195
mov ebx, eax
test ebx, ebx
je 0x5244c5
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x5244d5
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x5244e5
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x5244f5
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x524505
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x524515
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x524525
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x524535
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x524545
push ebx
call fcn.006274ad
add esp, 4
jmp 0x52492e
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
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]
mov eax, 0xb427c8
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004cf195
mov ebx, eax
test ebx, ebx
je 0x52460d
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x52461d
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x52462d
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x52463d
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x52464d
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x52465d
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x52466d
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x52467d
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x52468d
push ebx
call fcn.006274ad
add esp, 4
mov eax, 0xb4274f
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.004cb62b
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x5246ae
push ebx
call fcn.006274ad
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
push 0
push 0x5dc
call fcn.004054ce
mov eax, 0xb427e6
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x5246e1
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov eax, 0xb4281a
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x5246fb
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push dword [0x114a504]
push 0xb29335
push dword [0x114a494]
push 0xb3e33b
mov ecx, 4
call fcn.00403015
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x524739
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0xb42852
push dword [0x114a504]
push 0xb29335
push dword [0x114a494]
push 0xb3e33b
mov ecx, 5
call fcn.00403015
add esp, 0x14
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x52477c
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0xb427a5
push dword [0x114a504]
push 0xb427b3
push dword [0x114a494]
push 0xb427be
mov ecx, 5
call fcn.00403015
add esp, 0x14
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x38]
push eax
push 1
mov eax, 0xb42858
mov dword [ebp - 0x3c], eax
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
push 1
lea eax, [ebp - 0x18]
push eax
push 1
push 1
mov eax, 0xb429e5
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
call fcn.004cf195
mov dword [ebp - 0x4c], eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x524867
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x524877
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x524887
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x524897
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x5248a7
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x5248b7
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x5248c7
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x5248d7
push ebx
call fcn.006274ad
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x5248ea
mov eax, 0x70ee06
push eax
push 1
mov ebx, 0x629890
call fcn.006274b3
add esp, 0x10
mov dword [ebp - 0x50], eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x524913
push ebx
call fcn.006274ad
add esp, 4
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x52492a
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
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
push 1
lea eax, [ebp - 0x10]
push eax
push 1
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.004cf195
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x5249e1
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x5249f1
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x524a01
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x524a11
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x524a21
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x524a31
push ebx
call fcn.006274ad
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x524a44
mov eax, 0x70ee06
push eax
push 1
mov ebx, 0x629890
call fcn.006274b3
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x524a6a
push ebx
call fcn.006274ad
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x524a7e
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
xor ecx, ecx
inc ecx
push ecx
cmp ecx, 5
jg 0x524f79
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xb42a1e
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x524ac0
mov eax, 0x70ef7f
push eax
push 4
mov ebx, 0x627f90
call fcn.006274b3
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x524b23
mov ebx, 6
call fcn.00403b2b
push 0x80000301
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xb29fe5
push 4
mov ebx, 0x62b750
call fcn.006274b3
add esp, 0x34
push 0
call fcn.006274dd
add esp, 4
jmp 0x524f69
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xb29fe5
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x524b54
mov eax, 0x70ef7f
push eax
push 4
mov ebx, 0x627f90
call fcn.006274b3
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x524bb7
mov ebx, 6
call fcn.00403b2b
push 0x80000301
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xb29fe5
push 4
mov ebx, 0x62b750
call fcn.006274b3
add esp, 0x34
push 0
call fcn.006274dd
add esp, 4
jmp 0x524f69
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xb28e1c
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x524be8
mov eax, 0x70ef7f
push eax
push 4
mov ebx, 0x627f90
call fcn.006274b3
add esp, 0x34
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jg 0x524cae
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xb42a22
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x524c39
mov eax, 0x70ef7f
push eax
push 4
mov ebx, 0x627f90
call fcn.006274b3
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jg 0x524cae
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
push 0xb42a2f
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x524c8a
mov eax, 0x70ef7f
push eax
push 4
mov ebx, 0x627f90
call fcn.006274b3
add esp, 0x34
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jg 0x524cae
xor eax, eax
jmp 0x524cb3
mov eax, 1
test eax, eax
je 0x524e15
cmp dword [ebp - 8], 1
jne 0x524d0f
push 0xb42a38
push dword [0x114a4d8]
push 0xb42a51
push dword [ebp - 4]
push 0xb29deb
mov ecx, 5
call fcn.00403015
add esp, 0x14
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [0x114a4dc]
test ebx, ebx
je 0x524d04
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [0x114a4dc], eax
jmp 0x524d4c
push 0xb42a38
push dword [0x114a4d8]
push 0xb42a65
mov ecx, 3
call fcn.00403015
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [0x114a4dc]
test ebx, ebx
je 0x524d46
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [0x114a4dc], eax
mov ebx, 9
call fcn.00403b2b
push reloc.OLEAUT32.dll_SysReAllocStringLen
push 0
mov eax, dword [0x114a4dc]
test eax, eax
jne 0x524d6b
mov eax, 0x70ef7f
push eax
push 0x50001
push 0x16020fec
push 0x52010b0c
push 5
mov eax, 4
mov ebx, 0x6af460
call fcn.006274cb
add esp, 0x40
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.004c8bb6
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x524db4
push ebx
call fcn.006274ad
add esp, 4
call fcn.0042b743
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov eax, 0xb3dcb6
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00406e82
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x524de9
push ebx
call fcn.006274ad
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [0x114a5a0], eax
cmp dword [0x114a5a0], 0
jle 0x524e0b
push 1
push dword [0x114a5a0]
call fcn.00405728
jmp 0x524f79
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
push dword [ebp - 0x30]
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x38], 0
push 0
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
push 1
lea eax, [ebp - 0x10]
push eax
push 1
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.004cf195
mov dword [ebp - 0x44], eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x524ec8
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x524ed8
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x524ee8
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x524ef8
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x524f08
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x524f18
push ebx
call fcn.006274ad
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x524f2b
mov eax, 0x70ee06
push eax
push 1
mov ebx, 0x629890
call fcn.006274b3
add esp, 0x10
mov dword [ebp - 0x48], eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x524f51
push ebx
call fcn.006274ad
add esp, 4
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x524f65
push ebx
call fcn.006274ad
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x1388
call fcn.004145fe
pop ecx
jmp 0x524a84
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x524f8c
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x524f9c
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x524fac
push ebx
call fcn.006274ad
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x524fbc
push ebx
call fcn.006274ad
add esp, 4
mov esp, ebp
pop ebp
ret