Function at 0x4d7933
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push 0x14
call fcn.00520a28
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
add ebx, 8
push ebx
push 0x109
call fcn.00520a28
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x72aa80
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x101
rep stosb byte es:[edi], al
add ebx, 4
push ebx
push 0x109
call fcn.00520a28
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x72aa80
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
mov ecx, 0x101
rep stosb byte es:[edi], al
push 8
call fcn.00520a28
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x5c9a90
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 8
call fcn.00520a28
add esp, 4
mov dword [ebp - 0xc], eax
mov edi, eax
mov esi, 0x5c9a90
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x10], 0
push 8
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x14], eax
mov edi, eax
mov esi, 0x5c9a90
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0
push 8
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x1c], eax
mov edi, eax
mov esi, 0x5c9a90
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0
push 0x18
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
push 0x18
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x30], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
push 0x14
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x34], eax
mov edi, eax
mov esi, 0x72aa88
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 8
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x38], eax
mov edi, eax
mov esi, 0x5c9a90
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
push 0x1c
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x4c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], esp
mov eax, dword [ebp - 4]
push eax
push 0x208
call fcn.00520a28
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
push 0x202
call dword [sym.imp.ws2_32.dll_WSAStartup]
nop
nop
nop
nop
cmp dword [ebp - 0x54], esp
je 0x4d7b83
push 0x13
push 0x4019fe3
push 6
call fcn.00520a34
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x58]
push ebx
mov edi, dword [ebp - 0x5c]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.00521531
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4d7bd0
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4d7bce
imul eax, dword [edi]
jmp 0x4d7bc3
mov ecx, eax
cmp ecx, 0x101
jle 0x4d7bdd
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x101
push ebx
push edi
push 1
mov eax, 2
call fcn.00521531
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x4d7c1b
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x4d7c19
imul eax, dword [edi]
jmp 0x4d7c0e
mov ecx, eax
cmp ecx, 0x101
jle 0x4d7c28
mov ecx, 0x101
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 0x101
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
call fcn.00520a2e
add esp, 4
pop eax
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4d7c69
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4d7c65
imul eax, dword [ebx]
jmp 0x4d7c5a
mov ecx, eax
test ecx, ecx
je 0x4d7c84
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00520a2e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4d7c6f
call fcn.00520a2e
add esp, 4
mov eax, 0x5c9a90
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4d7cb2
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4d7cae
imul eax, dword [ebx]
jmp 0x4d7ca3
mov ecx, eax
test ecx, ecx
je 0x4d7ccd
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00520a2e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4d7cb8
call fcn.00520a2e
add esp, 4
mov eax, 0x5c9a90
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
call fcn.004b95da
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4d7d06
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4d7d02
imul eax, dword [ebx]
jmp 0x4d7cf7
mov ecx, eax
test ecx, ecx
je 0x4d7d21
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00520a2e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4d7d0c
call fcn.00520a2e
add esp, 4
mov eax, 0x5c9a90
mov dword [ebp - 0x14], eax
call fcn.004afb7e
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 9
jne 0x4d9698
cmp dword [ebp + 8], 0
je 0x4d9693
mov eax, 0x72a9f3
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.004db183
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4d7d71
push ebx
call fcn.00520a2e
add esp, 4
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004dc110
mov ebx, dword [ebp - 0x1c]
call fcn.004a06f0
xor ecx, ecx
push eax
lea eax, [ebp - 0x20]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4d8168
push 0
mov ebx, 0x350
call fcn.005232d1
add esp, 4
mov ebx, dword [ebp - 0x1c]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4d7dd8
push 0x240
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d7df5
push 0x240
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x54]
cmp dword [ebx], eax
jne 0x4d7e7e
mov ebx, dword [ebp - 0x1c]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4d7e34
push 0x271
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d7e51
push 0x271
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x5c]
mov al, byte [ebx]
and eax, 0xff
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x60], eax
jne 0x4d7e7e
mov eax, 1
jmp 0x4d7e83
mov eax, 0
test eax, eax
je 0x4d8160
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4d7eb8
push 0x2a4
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d7ed5
push 0x2a4
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x24]
add ebx, 4
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4d7f19
push 0x304
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d7f36
push 0x304
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x54]
mov byte [ebx], al
mov ebx, dword [ebp - 0x24]
add ebx, 8
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4d7f7d
push 0x33e
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d7f9a
push 0x33e
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov al, byte [ebx]
mov ebx, dword [ebp - 0x54]
mov byte [ebx], al
mov ebx, dword [ebp - 0x24]
add ebx, 0xc
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4d7fe1
push 0x378
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d7ffe
push 0x378
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov ax, word [ebx]
mov ebx, dword [ebp - 0x54]
mov word [ebx], ax
mov ebx, dword [ebp - 0x24]
add ebx, 0x10
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4d8047
push 0x3b2
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d8064
push 0x3b2
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x24]
add ebx, 0x14
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x1c]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x20]
dec eax
jns 0x4d80ab
push 0x3ec
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d80c8
push 0x3ec
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
lea eax, [ebp - 0x14]
push eax
push 4
mov eax, 2
call fcn.00521531
add esp, 8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x58], ebx
call fcn.004a0709
mov dword [ebp - 0x5c], ecx
mov edi, dword [ebp - 0x58]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4d8122
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x5c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x58]
call fcn.00520a46
add esp, 8
mov dword [ebp - 0x14], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x5c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x54]
push edi
push eax
push 0x18
call fcn.00520a28
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
pop eax
pop ebx
pop ecx
jmp 0x4d7d91
add esp, 0xc
mov ebx, dword [ebp - 0x14]
call fcn.004a06f0
xor ecx, ecx
push eax
lea eax, [ebp - 0x28]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x4d9690
push 0
mov ebx, 0x350
call fcn.005232d1
add esp, 4
mov ebx, dword [ebp - 0x14]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4d81c3
push 0x4db
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d81e0
push 0x4db
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x54]
cmp dword [ebx], eax
jne 0x4d8269
mov ebx, dword [ebp - 0x14]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4d821f
push 0x50c
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d823c
push 0x50c
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x5c]
mov al, byte [ebx]
and eax, 0xff
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x60], eax
jne 0x4d8269
mov eax, 1
jmp 0x4d826e
mov eax, 0
test eax, eax
je 0x4d9688
mov ebx, dword [ebp - 0x14]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4d829d
push 0x604
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d82ba
push 0x604
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
cmp dword [ebx], 0x16019f
je 0x4d8337
mov ebx, dword [ebp - 0x14]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4d82fd
push 0x637
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d831a
push 0x637
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x5c]
cmp byte [ebx], 2
je 0x4d8337
xor eax, eax
jmp 0x4d833c
mov eax, 1
test eax, eax
je 0x4d9688
mov ebx, dword [ebp - 0x14]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4d836b
push 0x705
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d8388
push 0x705
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x54], ebx
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 0xffffffff
mov ebx, dword [ebp - 0x54]
mov ax, word [ebx]
cwde
push eax
push dword [ebp - 0x10]
call fcn.004dc50d
test eax, eax
je 0x4d9688
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x14]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4d83f2
push 0x7a0
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d840f
push 0x7a0
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov ax, word [ebx]
cwde
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
push 0x1000
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x10]
call fcn.004dcb27
test eax, eax
je 0x4d965c
mov ecx, 5
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00520a28
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 5
add edi, 4
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
pop edx
test edx, edx
je 0x4d8484
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x38]
call fcn.00520a2e
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d84bb
push 0x8a7
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x14]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4d84ea
push 0x8a7
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d8507
push 0x8a7
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov ax, word [ebx]
cwde
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 1
cmp eax, ecx
jl 0x4d8548
push 0x8de
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebx], 0xffff
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 2
cmp eax, ecx
jl 0x4d8581
push 0x907
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebx], 0x1008
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 3
cmp eax, ecx
jl 0x4d85ba
push 0x930
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 1
cmp eax, ecx
jl 0x4d85ea
push 0x94f
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
fild dword [ebx]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fadd qword [0x5ca6bb]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.004a0b68
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d863b
push 0x979
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
push 8
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x5c], eax
mov edi, eax
mov esi, 0x5c9a90
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x5c]
push eax
push 4
mov ebx, dword [ebp - 0x54]
push dword [ebx]
call fcn.004b7c55
mov ebx, dword [ebp - 0x5c]
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 4
cmp eax, ecx
jl 0x4d86b3
push 0x9a2
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 1
cmp eax, ecx
jl 0x4d86e3
push 0x9a2
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d871d
push 0x9cf
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 1
cmp eax, ecx
jl 0x4d874d
push 0x9cf
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 2
cmp eax, ecx
jl 0x4d877d
push 0x9cf
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 3
cmp eax, ecx
jl 0x4d87ad
push 0x9cf
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 4
cmp eax, ecx
jl 0x4d87dd
push 0x9cf
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x64], ebx
mov ebx, dword [ebp - 0x64]
push dword [ebx]
mov ebx, dword [ebp - 0x60]
push dword [ebx]
mov ebx, dword [ebp - 0x5c]
push dword [ebx]
mov ebx, dword [ebp - 0x58]
push dword [ebx]
mov ebx, dword [ebp - 0x54]
push dword [ebx]
mov eax, 0x72a9f8
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
mov eax, 0x5c9b47
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x10]
call fcn.004de7ba
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x4d882e
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4d883e
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 2
cmp eax, ecx
jl 0x4d8866
push 0xa5d
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 3
cmp eax, ecx
jl 0x4d889f
push 0xa86
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 1
cmp eax, ecx
jl 0x4d88cf
push 0xaa5
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
fild dword [ebx]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fadd qword [0x5c9a77]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.004a0b68
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d8920
push 0xacf
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 1
cmp eax, ecx
jl 0x4d8950
push 0xacf
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 2
cmp eax, ecx
jl 0x4d8980
push 0xacf
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 3
cmp eax, ecx
jl 0x4d89b0
push 0xacf
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 4
cmp eax, ecx
jl 0x4d89e0
push 0xacf
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x64], ebx
mov ebx, dword [ebp - 0x64]
push dword [ebx]
mov ebx, dword [ebp - 0x60]
push dword [ebx]
mov ebx, dword [ebp - 0x5c]
push dword [ebx]
mov ebx, dword [ebp - 0x58]
push dword [ebx]
mov ebx, dword [ebp - 0x54]
push dword [ebx]
mov eax, 0x72a9f8
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
mov eax, 0x5c9b47
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x10]
call fcn.004de7ba
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x4d8a31
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x4d8a41
push ebx
call fcn.00520a2e
add esp, 4
mov ecx, 3
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00520a28
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 3
add edi, 4
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
pop edx
test edx, edx
je 0x4d8a84
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x38]
call fcn.00520a2e
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d8abb
push 0xb83
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x14]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4d8aea
push 0xb83
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d8b07
push 0xb83
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov ax, word [ebx]
cwde
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 1
cmp eax, ecx
jl 0x4d8b48
push 0xbba
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 1
cmp eax, ecx
jl 0x4d8b78
push 0xbd9
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
fild dword [ebx]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fadd qword [0x72aa03]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.004a0b68
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d8bc9
push 0xc03
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
push 8
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x5c], eax
mov edi, eax
mov esi, 0x5c9a90
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x10
mov ebx, dword [ebp - 0x54]
push dword [ebx]
call fcn.004b7c55
mov ebx, dword [ebp - 0x5c]
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 2
cmp eax, ecx
jl 0x4d8c41
push 0xc2c
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 1
cmp eax, ecx
jl 0x4d8c71
push 0xc2c
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d8cab
push 0xc59
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 1
cmp eax, ecx
jl 0x4d8cdb
push 0xc59
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 2
cmp eax, ecx
jl 0x4d8d0b
push 0xc59
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x5c]
push dword [ebx]
mov ebx, dword [ebp - 0x58]
push dword [ebx]
mov ebx, dword [ebp - 0x54]
push dword [ebx]
mov eax, 0x72a8cc
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
mov eax, 0x5c9b47
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x10]
call fcn.004debea
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4d8d52
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4d8d62
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d8d8a
push 0xce0
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fadd qword [0x5ca6bb]
fstp qword [ebp - 0x64]
push 8
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x68], eax
mov edi, eax
mov esi, 0x5c9a90
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x3c]
push eax
fld qword [ebp - 0x64]
call fcn.004a0b68
push eax
call fcn.004b5880
mov ebx, dword [ebp - 0x68]
push ebx
call fcn.00520a2e
add esp, 4
cmp dword [ebp - 0x3c], 1
jne 0x4d8e88
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d8e17
push 0xd6e
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fadd qword [0x5c9a77]
fstp qword [ebp - 0x64]
push 8
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x68], eax
mov edi, eax
mov esi, 0x5c9a90
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x3c]
push eax
fld qword [ebp - 0x64]
call fcn.004a0b68
push eax
call fcn.004b5880
mov ebx, dword [ebp - 0x68]
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x30]
add ebx, 0x14
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
jmp 0x4d8eb0
cmp dword [ebp - 0x3c], 2
jne 0x4d8ea9
mov ebx, dword [ebp - 0x30]
add ebx, 0x14
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebx], 2
jmp 0x4d8eb0
mov dword [ebp - 0x3c], 0xffffffff
cmp dword [ebp - 0x3c], 0xffffffff
je 0x4d9647
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d8ee2
push 0xeb7
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fadd qword [0x72aa0b]
fstp qword [ebp - 0x64]
push 8
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x68], eax
mov edi, eax
mov esi, 0x5c9a90
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x40]
push eax
fld qword [ebp - 0x64]
call fcn.004a0b68
push eax
call fcn.004dbcd9
mov ebx, dword [ebp - 0x68]
push ebx
call fcn.00520a2e
add esp, 4
cmp word [ebp - 0x40], 0
je 0x4d9542
mov ebx, dword [ebp - 0x30]
add ebx, 0x10
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], esp
push dword [ebp - 0x40]
call dword [sym.imp.ws2_32.dll_htons]
nop
nop
nop
nop
cmp dword [ebp - 0x58], esp
je 0x4d8f7d
push 0xf78
push 0x4019fe3
push 6
call fcn.00520a34
add esp, 0xc
mov dword [ebp - 0x5c], eax
push 0x10
mov eax, dword [ebp - 0x5c]
cwde
cdq
push edx
push eax
call fcn.004d1889
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d8fbe
push 0xfaf
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fadd qword [0x5cb2d6]
fstp qword [ebp - 0x64]
push 8
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x68], eax
mov edi, eax
mov esi, 0x5c9a90
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x44]
push eax
fld qword [ebp - 0x64]
call fcn.004a0b68
push eax
call fcn.004b5880
mov ebx, dword [ebp - 0x68]
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x30]
add ebx, 0xc
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x44]
cdq
push edx
push eax
call fcn.004d15c6
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d9046
push ebx
call fcn.00520a2e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ecx, 3
push ecx
shl ecx, 2
add ecx, 8
push ecx
call fcn.00520a28
add esp, 4
mov edi, eax
mov dword [edi], 1
add edi, 4
pop ecx
push eax
push ecx
mov dword [edi], 3
add edi, 4
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
pop edx
test edx, edx
je 0x4d908f
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
push dword [ebp - 0x38]
call fcn.00520a2e
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d90c6
push 0x1056
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x14]
call fcn.004a0709
push ebx
push ecx
mov eax, dword [ebp - 0x28]
dec eax
jns 0x4d90f5
push 0x1056
push 0x4019fe3
push 4
call fcn.00520a34
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d9112
push 0x1056
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0xc
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov ax, word [ebx]
cwde
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 1
cmp eax, ecx
jl 0x4d9153
push 0x108d
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 1
cmp eax, ecx
jl 0x4d9183
push 0x10ac
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
fild dword [ebx]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fadd qword [0x72aa03]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.004a0b68
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d91d4
push 0x10d6
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
push 8
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x5c], eax
mov edi, eax
mov esi, 0x5c9a90
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x10
mov ebx, dword [ebp - 0x54]
push dword [ebx]
call fcn.004b7c55
mov ebx, dword [ebp - 0x5c]
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 2
cmp eax, ecx
jl 0x4d924c
push 0x10ff
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 1
cmp eax, ecx
jl 0x4d927c
push 0x10ff
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d92b6
push 0x112c
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 1
cmp eax, ecx
jl 0x4d92e6
push 0x112c
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x38]
call fcn.004a0709
mov eax, 2
cmp eax, ecx
jl 0x4d9316
push 0x112c
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x5c], ebx
mov ebx, dword [ebp - 0x5c]
push dword [ebx]
mov ebx, dword [ebp - 0x58]
push dword [ebx]
mov ebx, dword [ebp - 0x54]
push dword [ebx]
mov eax, 0x72a8d8
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x60]
push eax
mov eax, 0x5c9b47
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x10]
call fcn.004debea
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x4d935d
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x4d936d
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d9395
push 0x11a0
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fadd qword [0x72aa0b]
fstp qword [ebp - 0x64]
push 8
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x68], eax
mov edi, eax
mov esi, 0x5c9a90
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x40]
push eax
fld qword [ebp - 0x64]
call fcn.004a0b68
push eax
call fcn.004dbcd9
mov ebx, dword [ebp - 0x68]
push ebx
call fcn.00520a2e
add esp, 4
cmp word [ebp - 0x40], 0
je 0x4d9504
mov ebx, dword [ebp - 0x30]
add ebx, 8
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], esp
push dword [ebp - 0x40]
call dword [sym.imp.ws2_32.dll_htons]
nop
nop
nop
nop
cmp dword [ebp - 0x58], esp
je 0x4d9430
push 0x123b
push 0x4019fe3
push 6
call fcn.00520a34
add esp, 0xc
mov dword [ebp - 0x5c], eax
push 0x10
mov eax, dword [ebp - 0x5c]
cwde
cdq
push edx
push eax
call fcn.004d1889
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x34]
call fcn.004a0709
mov eax, 0
cmp eax, ecx
jl 0x4d9471
push 0x1272
push 0x4019fe3
push 1
call fcn.00520a34
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
fild dword [ebx]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fadd qword [0x5cb2d6]
fstp qword [ebp - 0x64]
push 8
call fcn.00520a28
add esp, 4
mov dword [ebp - 0x68], eax
mov edi, eax
mov esi, 0x5c9a90
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x44]
push eax
fld qword [ebp - 0x64]
call fcn.004a0b68
push eax
call fcn.004b5880
mov ebx, dword [ebp - 0x68]
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x44]
cdq
push edx
push eax
call fcn.004d15c6
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d94f9
push ebx
call fcn.00520a2e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
jmp 0x4d953d
mov ebx, dword [ebp - 0x30]
add ebx, 8
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x30]
add ebx, 4
mov dword [ebp - 0x54], ebx
mov eax, 0x5ca528
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d9537
push ebx
call fcn.00520a2e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
jmp 0x4d957b
mov ebx, dword [ebp - 0x30]
add ebx, 0x10
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov dword [ebx], 0
mov ebx, dword [ebp - 0x30]
add ebx, 0xc
mov dword [ebp - 0x54], ebx
mov eax, 0x5ca528
push eax
mov ebx, dword [ebp - 0x54]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d9575
push ebx
call fcn.00520a2e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
push dword [ebp + 0xc]
push 4
mov eax, 2
call fcn.00521531
add esp, 8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
mov dword [ebp - 0x58], ebx
call fcn.004a0709
mov dword [ebp - 0x5c], ecx
mov edi, dword [ebp - 0x58]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x4d95bf
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x5c]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x58]
call fcn.00520a46
add esp, 8
mov ebx, dword [ebp + 0xc]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x5c]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x54]
push edi
push eax
push 0x18
call fcn.00520a28
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4d961b
push eax
mov ebx, eax
call fcn.004a05af
inc eax
push eax
call fcn.00520a28
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x4d963c
push eax
mov ebx, eax
call fcn.004a05af
inc eax
push eax
call fcn.00520a28
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
lea eax, [ebp - 0x34]
push eax
call fcn.004dee90
mov dword [ebp - 0x54], esp
push dword [ebp - 0x2c]
call dword [sym.imp.kernel32.dll_CloseHandle_1]
nop
nop
nop
nop
cmp dword [ebp - 0x54], esp
je 0x4d9688
push 0x141b
push 0x4019fe3
push 6
call fcn.00520a34
add esp, 0xc
pop eax
pop ebx
pop ecx
jmp 0x4d817c
add esp, 0xc
jmp 0x4dafaf
mov eax, 0x72aa13
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.004a4312
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4d96b9
push ebx
call fcn.00520a2e
add esp, 4
mov eax, 0
jmp 0x4dafe7
mov dword [ebp - 0x54], esp
call dword [sym.imp.ws2_32.dll_WSACleanup_1]
nop
nop
nop
nop
cmp dword [ebp - 0x54], esp
je 0x4dafd8
push 0x2932
push 0x4019fe3
push 6
call fcn.00520a34
add esp, 0xc
mov ebx, dword [ebp + 0xc]
mov ebx, dword [ebx]
call fcn.004a06f0
jmp 0x4dafe7
push eax
mov ebx, dword [ebp - 4]
push ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00520a2e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00520a2e
add esp, 4
pop ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4db032
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4db02e
imul eax, dword [ebx]
jmp 0x4db023
mov ecx, eax
test ecx, ecx
je 0x4db04d
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00520a2e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4db038
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4db073
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4db06f
imul eax, dword [ebx]
jmp 0x4db064
mov ecx, eax
test ecx, ecx
je 0x4db08e
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00520a2e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4db079
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4db0b4
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4db0b0
imul eax, dword [ebx]
jmp 0x4db0a5
mov ecx, eax
test ecx, ecx
je 0x4db0cf
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00520a2e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4db0ba
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x4db0f5
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x4db0f1
imul eax, dword [ebx]
jmp 0x4db0e6
mov ecx, eax
test ecx, ecx
je 0x4db110
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.00520a2e
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x4db0fb
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x30]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4db13b
push ebx
call fcn.00520a2e
add esp, 4
pop ebx
add ebx, 8
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x4db14f
push ebx
call fcn.00520a2e
add esp, 4
pop ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x38]
push ebx
call fcn.00520a2e
add esp, 4
mov ebx, dword [ebp - 0x4c]
push ebx
call fcn.00520a2e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8