Function at 0x1000d179
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
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 8
call fcn.10014130
add esp, 4
mov dword [ebp - 0x20], eax
mov edi, eax
mov esi, 0x100b3f1e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x24], 0
push 8
call fcn.10014130
add esp, 4
mov dword [ebp - 0x28], eax
mov edi, eax
mov esi, 0x100b3f1e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
push 0x10
call fcn.10014130
add esp, 4
mov dword [ebp - 0x34], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
add ebx, 0xc
push ebx
push 0x10
call fcn.10014130
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x100b429d
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
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x100b4190
push getpeername
push 0
mov eax, dword [0x100e3a4c]
test eax, eax
jne 0x1000d2b2
mov eax, 0x100b3e9b
push eax
push 4
mov ebx, 0x10014910
call fcn.1001412a
add esp, 0x34
mov dword [ebp - 4], eax
mov eax, dword [0x100e3a4c]
test eax, eax
je 0x1000d2e6
push eax
mov ebx, eax
call fcn.1000121e
inc eax
push eax
call fcn.10014130
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x100e3a74]
test ebx, ebx
je 0x1000d2fa
push ebx
call fcn.10014136
add esp, 4
pop eax
mov dword [0x100e3a74], eax
cmp dword [ebp - 4], 0xffffffff
je 0x1000d384
push 0x80000301
push 0
push dword [ebp - 4]
push getpeername
push 0
mov eax, dword [0x100e3a4c]
test eax, eax
jne 0x1000d329
mov eax, 0x100b3e9b
push eax
push 2
mov ebx, 0x10014630
call fcn.1001412a
add esp, 0x1c
mov dword [ebp - 0x54], eax
push str.gamesites
push dword [ebp - 0x54]
mov ecx, 2
call fcn.10001289
add esp, 8
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x1000d367
push ebx
call fcn.10014136
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [0x100e3a74]
test ebx, ebx
je 0x1000d37e
push ebx
call fcn.10014136
add esp, 4
pop eax
mov dword [0x100e3a74], eax
mov eax, 0x100b44e1
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000d39a
push ebx
call fcn.10014136
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov eax, dword [0x100e3a74]
test eax, eax
je 0x1000d3bc
push eax
mov ebx, eax
call fcn.1000121e
inc eax
push eax
call fcn.10014130
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000d3cd
push ebx
call fcn.10014136
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x100b418d
push getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1000d402
mov eax, 0x100b3e9b
push eax
push 4
mov ebx, 0x100148f0
call fcn.1001412a
add esp, 0x34
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x1000df9f
add dword [ebp - 0x10], 2
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x10]
push getpeername
push 0
push 0x100b4190
push getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1000d45b
mov eax, 0x100b3e9b
push eax
push 4
mov ebx, 0x100148f0
call fcn.1001412a
add esp, 0x34
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x1000df9f
fild dword [ebp - 0x14]
fstp qword [ebp - 0x58]
fld qword [ebp - 0x58]
fild dword [ebp - 0x10]
fstp qword [ebp - 0x60]
fsub qword [ebp - 0x60]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.10001735
push 0x80000301
push 0
push eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1000d4bd
mov eax, 0x100b3e9b
push eax
push 3
mov ebx, 0x100146c0
call fcn.1001412a
add esp, 0x28
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000d4e7
push ebx
call fcn.10014136
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1000d4fe
mov eax, 0x100b3e9b
push eax
push 1
mov ebx, 0x10014580
call fcn.1001412a
add esp, 0x10
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x14]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fsub qword [0x100b3f3f]
fstp qword [ebp - 0x64]
fild dword [ebp - 0x54]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
fsub qword [ebp - 0x64]
fstp qword [ebp - 0x74]
fld qword [ebp - 0x74]
call fcn.10001735
push 0x80000301
push 0
push eax
push getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x1000d558
mov eax, 0x100b3e9b
push eax
push 2
mov ebx, 0x10014670
call fcn.1001412a
add esp, 0x1c
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000d582
push ebx
call fcn.10014136
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0
push 0
push 0
push getpeername
push 0
push 0x100b402d
push getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1000d5ab
mov eax, 0x100b3e9b
push eax
push 3
mov ebx, 0x10014e50
call fcn.1001412a
add esp, 0x28
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x20]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000d5e3
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000d5df
imul eax, dword [ebx]
jmp 0x1000d5d4
mov ecx, eax
test ecx, ecx
je 0x1000d602
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000d5fb
push ebx
push eax
call fcn.10014136
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000d5e9
call fcn.10014136
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x20]
call fcn.10002b4c
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 2
jge 0x1000d784
mov ebx, dword [ebp - 0x20]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000d641
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000d63d
imul eax, dword [ebx]
jmp 0x1000d632
mov ecx, eax
test ecx, ecx
je 0x1000d660
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000d659
push ebx
push eax
call fcn.10014136
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000d647
call fcn.10014136
add esp, 4
mov eax, 0x100b3f1e
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 4
mov eax, 2
call fcn.10014118
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x58], ebx
call fcn.10002b65
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 0x1000d6b3
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.1001413c
add esp, 8
mov dword [ebp - 0x20], 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
test eax, eax
je 0x1000d6f6
push eax
mov ebx, eax
call fcn.1000121e
inc eax
push eax
call fcn.10014130
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
lea eax, [ebp - 0x20]
push eax
push 4
mov eax, 2
call fcn.10014118
add esp, 8
mov eax, 0x100b4192
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x58], ebx
call fcn.10002b65
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 0x1000d73e
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.1001413c
add esp, 8
mov dword [ebp - 0x20], 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
test eax, eax
je 0x1000d781
push eax
mov ebx, eax
call fcn.1000121e
inc eax
push eax
call fcn.10014130
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
mov dword [edi], eax
mov dword [ebp - 0x54], esp
push 0
push 1
push 2
mov eax, 0xa
call fcn.10014124
cmp dword [ebp - 0x54], esp
je 0x1000d7b2
push 6
call fcn.1001411e
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x1000df9f
mov ebx, dword [ebp - 0x20]
call fcn.10002b65
mov eax, 0
cmp eax, ecx
jl 0x1000d7dd
push 1
call fcn.1001411e
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x54], ebx
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x54]
call fcn.10006a0e
mov dword [ebp - 0x2c], 0
mov ebx, dword [ebp - 0x28]
call fcn.10002b4c
push eax
lea eax, [ebp - 0x30]
mov ebx, eax
mov ecx, 1
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x1000da23
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x54]
mov word [ebx], 2
mov ebx, dword [ebp - 0x34]
add ebx, 8
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x28]
call fcn.10002b65
push ebx
push ecx
mov eax, dword [ebp - 0x30]
dec eax
jns 0x1000d84d
push 4
call fcn.1001411e
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x1000d860
push 1
call fcn.1001411e
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], esp
mov ebx, dword [ebp - 0x58]
push dword [ebx]
mov eax, 0xb
call fcn.10014124
cmp dword [ebp - 0x5c], esp
je 0x1000d88c
push 6
call fcn.1001411e
add esp, 4
mov ebx, dword [ebp - 0x54]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x34]
add ebx, 4
mov dword [ebp - 0x54], ebx
mov ebx, dword [ebp - 0x20]
call fcn.10002b65
mov eax, 1
cmp eax, ecx
jl 0x1000d8b8
push 1
call fcn.1001411e
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x58], ebx
push getpeername
push 0
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebx]
test eax, eax
jne 0x1000d8d5
mov eax, 0x100b3e9b
push eax
push 1
mov ebx, 0x10014940
call fcn.1001412a
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], esp
push dword [ebp - 0x5c]
mov eax, 0xc
call fcn.10014124
cmp dword [ebp - 0x60], esp
je 0x1000d90d
push 6
call fcn.1001411e
add esp, 4
mov ebx, dword [ebp - 0x54]
mov word [ebx], ax
mov dword [ebp - 0x54], esp
push 0x10
mov eax, dword [ebp - 0x34]
push eax
push 0x10
call fcn.10014130
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
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 0x24]
mov eax, 0xd
call fcn.10014124
cmp dword [ebp - 0x54], esp
je 0x1000d98b
push 6
call fcn.1001411e
add esp, 4
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
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.10014118
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 0x1000d9e2
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x1000d9e0
imul eax, dword [edi]
jmp 0x1000d9d5
mov ecx, eax
cmp ecx, 8
jle 0x1000d9ec
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.10014136
add esp, 4
pop eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x1000da1a
mov dword [ebp - 0x2c], 1
jmp 0x1000da23
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x1000d80c
add esp, 0xc
cmp dword [ebp - 0x2c], 0
je 0x1000df7d
mov dword [ebp - 0x38], 0x1770
mov dword [ebp - 0x54], esp
push 4
lea eax, [ebp - 0x38]
push eax
push 0x1005
push 0xffff
push dword [ebp - 0x24]
mov eax, 0xe
call fcn.10014124
cmp dword [ebp - 0x54], esp
je 0x1000da6c
push 6
call fcn.1001411e
add esp, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x1000df7d
mov dword [ebp - 0x54], esp
push 4
lea eax, [ebp - 0x38]
push eax
push 0x1006
push 0xffff
push dword [ebp - 0x24]
mov eax, 0xe
call fcn.10014124
cmp dword [ebp - 0x54], esp
je 0x1000daae
push 6
call fcn.1001411e
add esp, 4
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x1000df7d
lea eax, [ebp - 8]
push eax
call fcn.100071b2
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1000dadb
push ebx
call fcn.10014136
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
mov eax, dword [0x100e3a44]
test eax, eax
je 0x1000dafd
push eax
mov ebx, eax
call fcn.1000121e
inc eax
push eax
call fcn.10014130
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1000db0e
push ebx
call fcn.10014136
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x1000db25
mov eax, 0x100b3f1e
push eax
push 1
mov ebx, 0x100145a0
call fcn.1001412a
add esp, 0x10
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fsub qword [0x100b3f3f]
fstp qword [ebp - 0x64]
push 0x80000601
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push 1
mov ebx, 0x10015440
call fcn.1001412a
add esp, 0x10
mov dword [ebp - 0x68], eax
push 0x100b4195
push dword [ebp - 0x68]
push str._r_nUser_Agent:_Mozilla_5.0_r_nContent_Length:
push dword [ebp - 0x40]
push str._r_nAuthorization:_Token
push dword [ebp - 0x18]
push str._HTTP_1.1_r_nCache_Control:_no_cache_r_nConnection:_Keep_Alive_r_nPragma:_no_cache_r_nContent_Type:_multipart_form_data_r_nHost:
push dword [ebp - 0x1c]
push str.GET
mov ecx, 9
call fcn.10001289
add esp, 0x24
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x1000dbb2
push ebx
call fcn.10014136
add esp, 4
mov eax, dword [ebp - 0x6c]
push eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x1000dbc6
push ebx
call fcn.10014136
add esp, 4
pop eax
mov dword [ebp - 0x44], eax
push getpeername
push 0
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x1000dbdd
mov eax, 0x100b3e9b
push eax
push 1
mov ebx, 0x10014fe0
call fcn.1001412a
add esp, 0x10
mov dword [ebp - 0x54], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x1000dc06
mov eax, 0x100b3f1e
push eax
push 1
mov ebx, 0x100145a0
call fcn.1001412a
add esp, 0x10
mov dword [ebp - 0x60], eax
fild dword [ebp - 0x60]
fstp qword [ebp - 0x60]
fld qword [ebp - 0x60]
fsub qword [0x100b3f3f]
fstp qword [ebp - 0x68]
fld qword [ebp - 0x68]
call fcn.10001735
push 0x80000301
push 0
push eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x1000dc51
mov eax, 0x100b3f1e
push eax
push 2
mov ebx, 0x10015260
call fcn.1001412a
add esp, 0x1c
mov dword [ebp - 0x6c], eax
push dword [ebp - 0x6c]
push dword [ebp - 0x54]
mov ecx, 2
call fcn.10002b85
add esp, 8
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x1000dc8d
push ebx
call fcn.10014136
add esp, 4
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x1000dc9d
push ebx
call fcn.10014136
add esp, 4
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x1000dcb1
push ebx
call fcn.10014136
add esp, 4
pop eax
mov dword [ebp - 0x48], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x1000dcc8
mov eax, 0x100b3f1e
push eax
push 1
mov ebx, 0x10015440
call fcn.1001412a
add esp, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000dcf2
push ebx
call fcn.10014136
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x1000dd09
mov eax, 0x100b3f1e
push eax
push 1
mov ebx, 0x100145a0
call fcn.1001412a
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], esp
push 0
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1000dd34
add eax, 8
push eax
push dword [ebp - 0x24]
mov eax, 0xf
call fcn.10014124
cmp dword [ebp - 0x58], esp
je 0x1000dd54
push 6
call fcn.1001411e
add esp, 4
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jle 0x1000df7d
push 0x80000301
push 0
push 0x1000
push 1
mov ebx, 0x10015340
call fcn.1001412a
add esp, 0x10
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x1000dd96
push ebx
call fcn.10014136
add esp, 4
pop eax
mov dword [ebp - 0x4c], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x1000ddad
mov eax, 0x100b3f1e
push eax
push 1
mov ebx, 0x100145a0
call fcn.1001412a
add esp, 0x10
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], esp
push 0
push dword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x1000ddd8
add eax, 8
push eax
push dword [ebp - 0x24]
mov eax, 0x10
call fcn.10014124
cmp dword [ebp - 0x58], esp
je 0x1000ddf8
push 6
call fcn.1001411e
add esp, 4
lea eax, [ebp - 0x4c]
push eax
call fcn.1000763f
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x1000de18
push ebx
call fcn.10014136
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 0
push 0
push 0
push 0
push getpeername
push 0
push 0x100b4195
push getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x1000de4d
mov eax, 0x100b3e9b
push eax
push 4
mov ebx, 0x10014910
call fcn.1001412a
add esp, 0x34
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x1000df7d
push getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x1000de80
mov eax, 0x100b3e9b
push eax
push 1
mov ebx, 0x10014580
call fcn.1001412a
add esp, 0x10
mov dword [ebp - 0x5c], eax
fild dword [ebp - 0x5c]
fstp qword [ebp - 0x5c]
fld qword [ebp - 0x5c]
fild dword [ebp - 4]
fstp qword [ebp - 0x64]
fsub qword [ebp - 0x64]
fstp qword [ebp - 0x6c]
fld qword [ebp - 0x6c]
call fcn.10001735
push 0x80000301
push 0
push eax
push getpeername
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x1000dece
mov eax, 0x100b3e9b
push eax
push 2
mov ebx, 0x10014670
call fcn.1001412a
add esp, 0x1c
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x1000def8
push ebx
call fcn.10014136
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], 0
push 0
push dword [ebp - 0x54]
mov dword [ebp - 0x58], 0
push 0
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0
push 0
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], 0
push 0
lea eax, [ebp - 0x60]
push eax
mov eax, 0x100b402a
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.1000e10c
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x1000df55
push ebx
call fcn.10014136
add esp, 4
mov ebx, dword [ebp - 0x60]
test ebx, ebx
je 0x1000df65
push ebx
call fcn.10014136
add esp, 4
mov eax, dword [ebp - 0x68]
push eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x1000df79
push ebx
call fcn.10014136
add esp, 4
pop eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], esp
push dword [ebp - 0x24]
mov eax, 0x11
call fcn.10014124
cmp dword [ebp - 0x54], esp
je 0x1000df9f
push 6
call fcn.1001411e
add esp, 4
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x1000dfbb
push eax
mov ebx, eax
call fcn.1000121e
inc eax
push eax
call fcn.10014130
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000dfc0
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000dfd1
push ebx
call fcn.10014136
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x1000dfe1
push ebx
call fcn.10014136
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000dff1
push ebx
call fcn.10014136
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000e001
push ebx
call fcn.10014136
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000e01f
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000e01b
imul eax, dword [ebx]
jmp 0x1000e010
mov ecx, eax
test ecx, ecx
je 0x1000e03e
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000e037
push ebx
push eax
call fcn.10014136
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000e025
call fcn.10014136
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x1000e064
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000e060
imul eax, dword [ebx]
jmp 0x1000e055
mov ecx, eax
test ecx, ecx
je 0x1000e083
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000e07c
push ebx
push eax
call fcn.10014136
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000e06a
call fcn.10014136
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10014136
add esp, 4
pop ebx
call fcn.10014136
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x1000e0b7
push ebx
call fcn.10014136
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1000e0c7
push ebx
call fcn.10014136
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x1000e0d7
push ebx
call fcn.10014136
add esp, 4
mov ebx, dword [ebp - 0x48]
test ebx, ebx
je 0x1000e0e7
push ebx
call fcn.10014136
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x1000e0f7
push ebx
call fcn.10014136
add esp, 4
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x1000e107
push ebx
call fcn.10014136
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret