Function at 0x1000edd0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100426eb
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x10059084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x68], esi
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xd0], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xe0], 0x100516fc
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0xc4], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x108], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x104], eax
push 0x4000
push ebx
call fcn.1002c458
mov ecx, dword [esi + 4]
add esp, 8
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xf0], 0x4000
mov dword [ebp - 0x110], eax
mov esi, dword [ecx + 0x63c]
mov dword [ebp - 0x10c], 0x4000
test esi, esi
je 0x1000eea8
lock inc dword [esi + 4]
mov esi, dword [ecx + 0x63c]
mov ecx, dword [ecx + 0x638]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], esi
push 2
mov byte [ebp - 4], 3
call fcn.100222c0
or edi, 0xffffffff
mov byte [ebp - 0x5d], al
mov byte [ebp - 4], 2
test esi, esi
je 0x1000eef5
mov ecx, edi
lock xadd dword [esi + 4], ecx
jne 0x1000eef5
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1000eef2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x5d]
test al, al
je 0x1000f219
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0x70], 0
mov eax, dword [ebx + 8]
mov dword [ebp - 0x14], eax
push 0xfffffffffffffffc
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x70]
call fcn.10019750
mov esi, dword [eax]
test esi, esi
je 0x1000ef28
lock inc dword [esi]
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x1000ef6c
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x1000ef6c
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x1000ef69
mov eax, dword [ebx + 4]
test eax, eax
je 0x1000ef4e
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [ebx + 8]
test eax, eax
je 0x1000ef5e
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push ebx
call fcn.10025ac5
add esp, 8
mov ebx, dword [ebp - 0x68]
mov dword [ebp - 0xa4], esi
test esi, esi
je 0x1000ef79
lock inc dword [esi]
test esi, esi
je 0x1000efb0
mov eax, edi
lock xadd dword [esi], eax
jne 0x1000efb0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000ef95
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000efa5
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
mov edx, dword [ebx + 4]
mov ecx, dword [edx + 0x63c]
lea eax, [edx + 0x638]
mov dword [ebp - 0x70], ecx
test ecx, ecx
je 0x1000efd3
lock inc dword [ecx + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebx + 4]
mov dword [ebp - 0x70], ecx
mov eax, dword [eax]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], ecx
mov ebx, 0x1000004
test eax, eax
je 0x1000f030
mov edi, dword [edx + 0x63c]
test edi, edi
je 0x1000effe
lock inc dword [edi + 4]
mov edi, dword [edx + 0x63c]
mov ecx, dword [edx + 0x638]
mov dword [ebp - 0xe8], ecx
mov dword [ebp - 0xe4], edi
mov dword [ebp - 4], 9
mov ebx, 0x100000c
push 2
mov dword [ebp - 0x6c], ebx
call fcn.100222c0
test al, al
je 0x1000f036
mov byte [ebp - 0x5d], 1
jmp 0x1000f03a
mov edi, dword [ebp - 0xe4]
mov byte [ebp - 0x5d], 0
test bl, 8
je 0x1000f067
and ebx, 0xfffffff7
test edi, edi
je 0x1000f067
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x1000f067
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x1000f067
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
or edi, 0xffffffff
mov dword [ebp - 4], 7
test bl, 4
je 0x1000f09e
mov ecx, dword [ebp - 0x70]
and ebx, 0xfffffffb
test ecx, ecx
je 0x1000f09e
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000f09e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x70]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1000f09e
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x5d], 0
je 0x1000f1de
mov ecx, dword [ebp - 0x68]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 0x63c]
mov dword [ebp - 0x90], eax
test eax, eax
je 0x1000f0ce
lock inc dword [eax + 4]
mov eax, dword [ecx + 0x63c]
mov dword [ebp - 0x90], eax
mov ecx, dword [ecx + 0x638]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], eax
push str.Network_ClientThread::Run
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xa
call fcn.100241e0
mov dword [ebp - 0x70], eax
add eax, 0x10
mov byte [ebp - 4], 0xb
push 0x10051518
push eax
call fcn.100057d0
mov ecx, dword [ebp - 0x70]
add ecx, 0x10
push str.Client_Thread_started._For_socket:_0x
push ecx
call fcn.100057d0
add esp, 0x10
test esi, esi
je 0x1000f172
mov eax, dword [esi + 8]
test eax, eax
je 0x1000f131
cmp word [eax], 0
jne 0x1000f177
test esi, esi
je 0x1000f172
mov eax, dword [esi + 4]
test eax, eax
je 0x1000f172
cmp byte [eax], 0
je 0x1000f172
cmp dword [esi + 8], 0
jne 0x1000f166
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1002c463
add esp, 4
mov dword [esi + 8], eax
mov ecx, esi
call fcn.1001e290
mov eax, dword [esi + 8]
jmp 0x1000f177
mov eax, 0x10052714
push eax
mov eax, dword [ebp - 0x70]
add eax, 0x10
push eax
call fcn.10005570
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0x70]
push eax
call fcn.100078f0
mov ecx, dword [ebp - 0x14]
or ebx, 0x2000000
push 2
call fcn.10021ff0
lea ecx, [ebp - 0x238]
call fcn.10024260
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x1000f1de
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000f1de
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x90]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1000f1de
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
test esi, esi
je 0x1000f219
mov eax, edi
lock xadd dword [esi], eax
jne 0x1000f219
mov eax, dword [esi + 4]
test eax, eax
je 0x1000f1fe
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000f20e
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xa8], ecx
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0xac], ecx
nop
mov esi, dword [ebp - 0x68]
mov ecx, edi
push 0
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x58]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x108]
push ecx
push 0
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
cmp eax, 0xffffffff
je 0x10010af5
cmp eax, 0x102
je 0x10010941
cmp eax, 1
je 0x10010941
lea eax, [ebp - 0x5c]
push eax
push dword [esi + 0x10]
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
mov dword [ebp - 0xa0], eax
mov eax, dword [esi + 4]
mov esi, dword [eax + 0x63c]
test esi, esi
je 0x1000f2ce
lock inc dword [esi + 4]
mov esi, dword [eax + 0x63c]
mov eax, dword [eax + 0x638]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], esi
or ebx, 0x10
mov dword [ebp - 0x64], ebx
test eax, eax
je 0x1000f341
mov ecx, dword [ebp - 0x68]
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 0x63c]
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x1000f310
lock inc dword [eax + 4]
mov eax, dword [ecx + 0x63c]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ecx + 0x638]
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], 0xd
or ebx, 0x20
push 0x10
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x6c], ebx
call fcn.100222c0
mov byte [ebp - 0x5d], 1
test al, al
jne 0x1000f345
mov byte [ebp - 0x5d], 0
test bl, 0x20
je 0x1000f37b
mov ecx, dword [ebp - 0xb8]
and ebx, 0xffffffdf
mov dword [ebp - 0x64], ebx
test ecx, ecx
je 0x1000f37b
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000f37b
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xb8]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1000f37b
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 2
test bl, 0x10
je 0x1000f3b0
and ebx, 0xffffffef
mov dword [ebp - 0x64], ebx
test esi, esi
je 0x1000f3b0
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000f3b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1000f3b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x5d], 0
je 0x1000f6e1
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x63c]
mov dword [ebp - 0xb4], ecx
test ecx, ecx
je 0x1000f3e0
lock inc dword [ecx + 4]
mov ecx, dword [eax + 0x63c]
mov dword [ebp - 0xb4], ecx
mov eax, dword [eax + 0x638]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], ecx
push str.Network_ClientThread::Run
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xe
call fcn.100241e0
mov dword [ebp - 0x18], eax
lea esi, [eax + 0x10]
mov byte [ebp - 4], 0xf
push 0x10051518
push esi
mov dword [ebp - 0x6c], esi
call fcn.100057d0
push str.WSAEnumNetworkEvents_returned:_0x
push esi
call fcn.100057d0
mov eax, dword [ebp - 0xa0]
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x78], 0
push 0xfffffffffffffffc
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x78]
call fcn.10019750
mov edi, dword [eax]
mov dword [ebp - 0xa4], edi
test edi, edi
je 0x1000f463
lock inc dword [edi]
mov eax, dword [ebp - 0x78]
or ebx, 0x4000000
test eax, eax
je 0x1000f4b5
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1000f4ae
mov esi, dword [ebp - 0x78]
test esi, esi
je 0x1000f4ab
mov eax, dword [esi + 4]
test eax, eax
je 0x1000f490
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000f4a0
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 0x11
test edi, edi
je 0x1000f50b
mov eax, dword [edi + 8]
test eax, eax
je 0x1000f4ca
cmp word [eax], 0
jne 0x1000f506
test edi, edi
je 0x1000f50b
mov eax, dword [edi + 4]
test eax, eax
je 0x1000f50b
cmp byte [eax], 0
je 0x1000f50b
cmp dword [edi + 8], 0
jne 0x1000f4ff
mov eax, dword [edi + 0xc]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1002c463
add esp, 4
mov dword [edi + 8], eax
mov ecx, edi
call fcn.1001e290
mov eax, dword [edi + 8]
jmp 0x1000f510
mov eax, 0x10052714
push eax
push esi
call fcn.10005570
push str._Network_Events:_0x
push esi
call fcn.100057d0
mov eax, dword [ebp - 0x5c]
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x78], 0
push 0xfffffffffffffffc
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x78]
call fcn.10019750
mov esi, dword [eax]
mov dword [ebp - 0xc0], esi
test esi, esi
je 0x1000f553
lock inc dword [esi]
mov eax, dword [ebp - 0x78]
or ebx, 0x8000000
test eax, eax
je 0x1000f5ab
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1000f5a4
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x64], eax
test eax, eax
je 0x1000f5a4
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1000f586
push ecx
call fcn.1002ba5e
mov eax, dword [ebp - 0x64]
add esp, 4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1000f599
push ecx
call fcn.1002ba5e
mov eax, dword [ebp - 0x64]
add esp, 4
push 0x14
push eax
call fcn.10025ac5
add esp, 8
mov dword [ebp - 0x78], 0
mov byte [ebp - 4], 0x13
test esi, esi
je 0x1000f601
mov eax, dword [esi + 8]
test eax, eax
je 0x1000f5c0
cmp word [eax], 0
jne 0x1000f5fc
test esi, esi
je 0x1000f601
mov eax, dword [esi + 4]
test eax, eax
je 0x1000f601
cmp byte [eax], 0
je 0x1000f601
cmp dword [esi + 8], 0
jne 0x1000f5f5
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1002c463
add esp, 4
mov dword [esi + 8], eax
mov ecx, esi
call fcn.1001e290
mov eax, dword [esi + 8]
jmp 0x1000f606
mov eax, 0x10052714
push eax
push dword [ebp - 0x6c]
call fcn.10005570
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
push eax
call fcn.100078f0
mov ecx, dword [ebp - 0xcc]
or ebx, 0x10000000
push 0x10
mov dword [ebp - 0x64], ebx
call fcn.10021ff0
test esi, esi
je 0x1000f66e
or eax, 0xffffffff
lock xadd dword [esi], eax
jne 0x1000f66e
mov eax, dword [esi + 4]
test eax, eax
je 0x1000f653
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000f663
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
test edi, edi
je 0x1000f6a6
or eax, 0xffffffff
lock xadd dword [edi], eax
jne 0x1000f6a6
mov eax, dword [edi + 4]
test eax, eax
je 0x1000f68b
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [edi + 8]
test eax, eax
je 0x1000f69b
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push edi
call fcn.10025ac5
add esp, 8
lea ecx, [ebp - 0x238]
call fcn.10024260
mov esi, dword [ebp - 0xb4]
or edi, 0xffffffff
mov byte [ebp - 4], 2
test esi, esi
je 0x1000f6e1
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000f6e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1000f6e1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0xa0], 0xffffffff
je 0x1000f260
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x1000f260
test al, 1
je 0x1001036f
push 0
push 0
lea eax, [ebp - 0xcc]
mov dword [ebp - 0x78], 0
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0xcc], 0
push eax
push 1
lea eax, [ebp - 0xf0]
push eax
mov eax, dword [ebp - 0x68]
push dword [eax + 8]
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov esi, dword [eax + 0x63c]
test esi, esi
je 0x1000f753
lock inc dword [esi + 4]
mov esi, dword [eax + 0x63c]
mov eax, dword [eax + 0x638]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], esi
or ebx, 0x40
mov dword [ebp - 0x64], ebx
test eax, eax
je 0x1000f7c6
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 0x63c]
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x1000f792
lock inc dword [eax + 4]
mov eax, dword [ecx + 0x63c]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ecx + 0x638]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], eax
mov dword [ebp - 4], 0x15
or ebx, 0x80
push 0x10
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x6c], ebx
call fcn.100222c0
mov byte [ebp - 0x5d], 1
test al, al
jne 0x1000f7ca
mov byte [ebp - 0x5d], 0
test bl, bl
jns 0x1000f802
mov ecx, dword [ebp - 0xbc]
and ebx, 0xffffff7f
mov dword [ebp - 0x64], ebx
test ecx, ecx
je 0x1000f802
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000f802
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xbc]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1000f802
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 2
test bl, 0x40
je 0x1000f837
and ebx, 0xffffffbf
mov dword [ebp - 0x64], ebx
test esi, esi
je 0x1000f837
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000f837
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1000f837
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x5d], 0
je 0x1000fb71
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x63c]
mov dword [ebp - 0xb4], ecx
test ecx, ecx
je 0x1000f867
lock inc dword [ecx + 4]
mov ecx, dword [eax + 0x63c]
mov dword [ebp - 0xb4], ecx
mov eax, dword [eax + 0x638]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], ecx
push str.Network_ClientThread::Run
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x16
call fcn.100241e0
mov dword [ebp - 0xc0], eax
lea esi, [eax + 0x10]
mov byte [ebp - 4], 0x17
push 0x10051518
push esi
mov dword [ebp - 0x64], esi
call fcn.100057d0
push str.WSARecv_returned_0x
push esi
call fcn.100057d0
mov eax, dword [ebp - 0x14]
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x6c], 0
push 0xfffffffffffffffc
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x6c]
call fcn.10019750
mov edi, dword [eax]
mov dword [ebp - 0x74], edi
test edi, edi
je 0x1000f8e7
lock inc dword [edi]
mov eax, dword [ebp - 0x6c]
or ebx, 0x20000000
test eax, eax
je 0x1000f939
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1000f932
mov esi, dword [ebp - 0x6c]
test esi, esi
je 0x1000f92f
mov eax, dword [esi + 4]
test eax, eax
je 0x1000f914
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000f924
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 0x19
test edi, edi
je 0x1000f98f
mov eax, dword [edi + 8]
test eax, eax
je 0x1000f94e
cmp word [eax], 0
jne 0x1000f98a
test edi, edi
je 0x1000f98f
mov eax, dword [edi + 4]
test eax, eax
je 0x1000f98f
cmp byte [eax], 0
je 0x1000f98f
cmp dword [edi + 8], 0
jne 0x1000f983
mov eax, dword [edi + 0xc]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1002c463
add esp, 4
mov dword [edi + 8], eax
mov ecx, edi
call fcn.1001e290
mov eax, dword [edi + 8]
jmp 0x1000f994
mov eax, 0x10052714
push eax
push esi
call fcn.10005570
push str._bytesReceived:_0x
push esi
call fcn.100057d0
mov eax, dword [ebp - 0x78]
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x6c], 0
push 0xfffffffffffffffc
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x6c]
call fcn.10019750
mov esi, dword [eax]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x1000f9d4
lock inc dword [esi]
mov eax, dword [ebp - 0x6c]
or ebx, 0x40000000
test eax, eax
je 0x1000fa35
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1000fa2e
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x1000fa2e
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1000fa0d
push ecx
call fcn.1002ba5e
mov eax, dword [ebp - 0xa0]
add esp, 4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x1000fa23
push ecx
call fcn.1002ba5e
mov eax, dword [ebp - 0xa0]
add esp, 4
push 0x14
push eax
call fcn.10025ac5
add esp, 8
mov dword [ebp - 0x6c], 0
mov byte [ebp - 4], 0x1b
test esi, esi
je 0x1000fa8b
mov eax, dword [esi + 8]
test eax, eax
je 0x1000fa4a
cmp word [eax], 0
jne 0x1000fa86
test esi, esi
je 0x1000fa8b
mov eax, dword [esi + 4]
test eax, eax
je 0x1000fa8b
cmp byte [eax], 0
je 0x1000fa8b
cmp dword [esi + 8], 0
jne 0x1000fa7f
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1002c463
add esp, 4
mov dword [esi + 8], eax
mov ecx, esi
call fcn.1001e290
mov eax, dword [esi + 8]
jmp 0x1000fa90
mov eax, 0x10052714
push eax
push dword [ebp - 0x64]
call fcn.10005570
mov ecx, dword [ebp - 0xc0]
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0xa0], eax
push eax
call fcn.100078f0
mov ecx, dword [ebp - 0xa4]
or ebx, 0x80000000
push 0x10
mov dword [ebp - 0x64], ebx
call fcn.10021ff0
test esi, esi
je 0x1000fafe
or eax, 0xffffffff
lock xadd dword [esi], eax
jne 0x1000fafe
mov eax, dword [esi + 4]
test eax, eax
je 0x1000fae3
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [esi + 8]
test eax, eax
je 0x1000faf3
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push esi
call fcn.10025ac5
add esp, 8
test edi, edi
je 0x1000fb36
or eax, 0xffffffff
lock xadd dword [edi], eax
jne 0x1000fb36
mov eax, dword [edi + 4]
test eax, eax
je 0x1000fb1b
push eax
call fcn.1002ba5e
add esp, 4
mov eax, dword [edi + 8]
test eax, eax
je 0x1000fb2b
push eax
call fcn.1002ba5e
add esp, 4
push 0x14
push edi
call fcn.10025ac5
add esp, 8
lea ecx, [ebp - 0x238]
call fcn.10024260
mov esi, dword [ebp - 0xb4]
or edi, 0xffffffff
mov byte [ebp - 4], 2
test esi, esi
je 0x1000fb71
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000fb71
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1000fb71
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x14], 0xffffffff
je 0x10010194
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x10010194
mov eax, dword [ebp - 0x68]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
mov eax, dword [eax + 4]
push ecx
addsd xmm0, qword [ecx*8 + 0x10052cb0]
lea ecx, [ebp - 0xe0]
mulsd xmm0, qword [0x10052ca0]
addsd xmm0, qword [eax + 0x38]
movsd qword [eax + 0x38], xmm0
mov eax, dword [ebp - 0x78]
mov esi, dword [ebp - 0xd8]
add eax, esi
push eax
call fcn.1000bed0
push dword [ebp - 0x78]
mov eax, dword [ebp - 0xdc]
push dword [ebp - 0xec]
add eax, esi
push eax
call fcn.10027920
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0xe0]
add esp, 0xc
mov ecx, dword [eax + 4]
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jne 0x1000fde8
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 4]
mov esi, dword [eax + 0x63c]
test esi, esi
je 0x1000fc18
lock inc dword [esi + 4]
mov esi, dword [eax + 0x63c]
mov eax, dword [eax + 0x638]
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], esi
or ebx, 0x100
mov dword [ebp - 0x64], ebx
test eax, eax
je 0x1000fc8e
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 0x63c]
mov dword [ebp - 0x90], eax
test eax, eax
je 0x1000fc5a
lock inc dword [eax + 4]
mov eax, dword [ecx + 0x63c]
mov dword [ebp - 0x90], eax
mov ecx, dword [ecx + 0x638]
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], eax
mov dword [ebp - 4], 0x1d
or ebx, 0x200
push 0x10
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x6c], ebx
call fcn.100222c0
mov byte [ebp - 0x5d], 1
test al, al
jne 0x1000fc92
mov byte [ebp - 0x5d], 0
test ebx, 0x200
je 0x1000fcce
mov ecx, dword [ebp - 0x90]
and ebx, 0xfffffdff
mov dword [ebp - 0x64], ebx
test ecx, ecx
je 0x1000fcce
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1000fcce
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x90]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1000fcce
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 2
test ebx, 0x100
je 0x1000fd09
and ebx, 0xfffffeff
mov dword [ebp - 0x64], ebx
test esi, esi
je 0x1000fd09
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000fd09
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1000fd09
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x5d], 0
je 0x1000f260
mov eax, dword [ebp - 0x68]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000fd33
lock inc dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebx + 0x638]
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x15c], eax
push str.Network_ClientThread::Run
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x1e
call fcn.100241e0
mov edi, eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0x1f
push 0x10051518
push esi
call fcn.100057d0
push str.HTTPRequest::IsComplete_returned_false__looping
push esi
call fcn.10005570
sub esp, 8
mov ecx, edi
mov eax, esp
mov dword [ebp - 0x74], eax
push eax
call fcn.100078f0
or dword [ebp - 0x84], 1
push 0x10
mov ecx, ebx
call fcn.10021ff0
lea ecx, [ebp - 0x238]
call fcn.10024260
mov byte [ebp - 4], 2
mov edi, 0xffffffff
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x64]
test esi, esi
je 0x1000f260
or edi, edi
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1000f260
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1000f260
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x1000f260
mov edi, dword [ebp - 0x68]
mov ecx, edi
lea eax, [edi + 0xc]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.100117c0
test eax, eax
je 0x10010948
mov eax, dword [ebp - 0xc4]
xor esi, esi
mov dword [ebp - 0x80], esi
nop
sub eax, esi
mov dword [ebp - 0x6c], 0
cmp eax, 0x30d40
mov ecx, 0x30d40
push 0
cmova eax, ecx
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xc8]
push 0
add eax, esi
push 0
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x6c]
push eax
push 1
lea eax, [ebp - 0xf8]
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_WSASend]
mov ebx, dword [ebp - 0x6c]
lea ecx, [ebp - 0x238]
push str.Network_ClientThread::Run
mov dword [ebp - 0xa4], eax
call fcn.100241e0
mov edi, eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0x24
push 0x10051518
push esi
call fcn.100057d0
push str.ParseRequest_response:
push esi
call fcn.100057d0
add esp, 0x10
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.100078f0
or dword [ebp - 0x84], 0x8000000
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x30]
push ebx
mov byte [ebp - 4], 0x25
mov ecx, edi
push dword [ebp - 0xf8]
mov ebx, dword [ebp - 0xa4]
push ebx
push eax
call fcn.10010e70
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x1000ff14
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000ff0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010e67
push edx
push ecx
call fcn.10025ac5
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 2
call fcn.10024260
mov esi, dword [ebp - 0x80]
cmp ebx, 0xffffffff
je 0x1000ff45
add esi, dword [ebp - 0x6c]
mov dword [ebp - 0x80], esi
mov eax, dword [ebp - 0xc4]
cmp esi, eax
jae 0x1000ff58
cmp ebx, 0xffffffff
jne 0x1000fe20
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [edi + 4]
cmp eax, 0x2733
jne 0x1001011c
mov esi, dword [ecx + 0x63c]
mov dword [ebp - 0x94], 1
test esi, esi
je 0x1000ff8a
lock inc dword [esi + 4]
mov esi, dword [ecx + 0x63c]
mov eax, dword [ecx + 0x638]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], esi
mov ebx, dword [ebp - 0x64]
or ebx, 0x1000
mov dword [ebp - 0x64], ebx
test eax, eax
je 0x10010005
mov ecx, dword [edi + 4]
mov edi, dword [ecx + 0x63c]
mov dword [ebp - 0xa8], edi
test edi, edi
je 0x1000ffcf
lock inc dword [edi + 4]
mov edi, dword [ecx + 0x63c]
mov dword [ebp - 0xa8], edi
mov ecx, dword [ecx + 0x638]
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x12c], edi
mov dword [ebp - 4], 0x27
or ebx, 0x2000
push 0x10
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x6c], ebx
call fcn.100222c0
test al, al
je 0x1001000b
mov byte [ebp - 0x5d], 1
jmp 0x1001000f
mov edi, dword [ebp - 0xa8]
mov byte [ebp - 0x5d], 0
test ebx, 0x2000
je 0x10010050
and ebx, 0xffffdfff
mov dword [ebp - 0x64], ebx
test edi, edi
je 0x10010050
mov ecx, dword [ebp - 0xa8]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x10010053
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xa8]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x10010053
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10010053
or edi, 0xffffffff
mov dword [ebp - 4], 2
test ebx, 0x1000
je 0x1001008e
and ebx, 0xffffefff
mov dword [ebp - 0x64], ebx
test esi, esi
je 0x1001008e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1001008e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1001008e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x5d], 0
je 0x1000f260
mov eax, dword [ebp - 0x68]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100100b8
lock inc dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebx + 0x638]
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], eax
push str.Network_ClientThread::Run
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x28
call fcn.100241e0
mov edi, eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0x29
push 0x10051518
push esi
call fcn.100057d0
push str.WSAEWOULDBLOCK_returned__setting_resend_flag
push esi
call fcn.100057d0
sub esp, 8
mov ecx, edi
mov eax, esp
mov dword [ebp - 0x74], eax
push eax
call fcn.100078f0
or dword [ebp - 0x84], 0x10000000
jmp 0x1000fd8f
cmp ebx, 0xffffffff
je 0x1001077c
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
push esi
addsd xmm0, qword [eax*8 + 0x10052cb0]
mulsd xmm0, qword [0x10052ca0]
addsd xmm0, qword [ecx + 0x30]
movsd qword [ecx + 0x30], xmm0
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [ebp - 0xb0], 0
je 0x10010941
push dword [ebp - 0xdc]
call fcn.1002ba5e
add esp, 4
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd8], 0
jmp 0x10010375
mov ecx, dword [ebp - 0x68]
mov eax, dword [ecx + 4]
mov esi, dword [eax + 0x63c]
test esi, esi
je 0x100101ae
lock inc dword [esi + 4]
mov esi, dword [eax + 0x63c]
mov eax, dword [eax + 0x638]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], esi
or ebx, 0x10000
mov dword [ebp - 0x64], ebx
test eax, eax
je 0x10010221
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + 0x63c]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x100101ea
lock inc dword [eax + 4]
mov eax, dword [ecx + 0x63c]
mov dword [ebp - 0x70], eax
mov ecx, dword [ecx + 0x638]
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xfc], eax
mov dword [ebp - 4], 0x2f
or ebx, 0x20000
push 0x40000000
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x6c], ebx
call fcn.100222c0
mov byte [ebp - 0x5d], 1
test al, al
jne 0x10010225
mov byte [ebp - 0x5d], 0
test ebx, 0x20000
je 0x1001025b
mov ecx, dword [ebp - 0x70]
and ebx, 0xfffdffff
mov dword [ebp - 0x64], ebx
test ecx, ecx
je 0x1001025b
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x1001025b
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x70]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x1001025b
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 2
test ebx, 0x10000
je 0x10010296
and ebx, 0xfffeffff
mov dword [ebp - 0x64], ebx
test esi, esi
je 0x10010296
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10010296
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10010296
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x5d], 0
je 0x1001036f
mov eax, dword [ebp - 0x68]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100102c0
lock inc dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebx + 0x638]
mov dword [ebp - 0x180], ebx
mov dword [ebp - 0x17c], eax
push str.Network_ClientThread::Run
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x30
call fcn.100241e0
mov edi, eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0x31
push 0x10051518
push esi
call fcn.100057d0
push str.WSARecv_...__failure._WSAGetLastError:
push esi
call fcn.100057d0
add esp, 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, esi
call fcn.10003570
sub esp, 0x18
mov ecx, edi
mov eax, esp
mov dword [ebp - 0x74], eax
push eax
call fcn.100078f0
or dword [ebp - 0x84], 0x40000000
mov ecx, ebx
call fcn.10022750
lea ecx, [ebp - 0x238]
call fcn.10024260
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1001036f
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x1001036f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, esi
lock xadd dword [ebx + 8], eax
jne 0x1001036f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [ebp - 0x68]
mov esi, dword [ebp - 0x80]
test byte [ebp - 0x5c], 2
je 0x10010767
cmp dword [ebp - 0x94], 0
je 0x10010767
mov eax, dword [ebp - 0xc4]
sub eax, esi
mov dword [ebp - 0x94], 0
cmp eax, 0x30d40
mov ecx, 0x30d40
push 0
cmova eax, ecx
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xc8]
push 0
add eax, esi
push 0
mov dword [ebp - 0xe4], eax
lea eax, [ebp - 0x94]
push eax
push 1
lea eax, [ebp - 0xe8]
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_WSASend]
mov ebx, dword [ebp - 0x94]
lea ecx, [ebp - 0x238]
push str.Network_ClientThread::Run
mov dword [ebp - 0xa4], eax
call fcn.100241e0
mov edi, eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0x32
push 0x10051518
push esi
call fcn.100057d0
push str.Resend_Write:
push esi
call fcn.100057d0
add esp, 0x10
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.100078f0
or dword [ebp - 0x84], 0x80000000
mov edi, dword [ebp - 0x68]
lea eax, [ebp - 0x30]
push ebx
mov byte [ebp - 4], 0x33
mov ecx, edi
push dword [ebp - 0xe8]
mov ebx, dword [ebp - 0xa4]
push ebx
push eax
call fcn.10010e70
mov byte [ebp - 4], 0x32
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x1001048f
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010485
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010e67
push edx
push ecx
call fcn.10025ac5
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 2
call fcn.10024260
mov esi, dword [ebp - 0x80]
cmp ebx, 0xffffffff
je 0x100104c3
add esi, dword [ebp - 0x94]
mov dword [ebp - 0x80], esi
mov eax, dword [ebp - 0xc4]
cmp esi, eax
jae 0x100104d6
cmp ebx, 0xffffffff
jne 0x10010392
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [edi + 4]
cmp eax, 0x2733
jne 0x100106ea
mov esi, dword [ecx + 0x63c]
test esi, esi
je 0x100104fe
lock inc dword [esi + 4]
mov esi, dword [ecx + 0x63c]
mov eax, dword [ecx + 0x638]
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], esi
mov ebx, dword [ebp - 0x64]
or ebx, 0x40000
mov dword [ebp - 0x64], ebx
test eax, eax
je 0x10010579
mov ecx, dword [edi + 4]
mov edi, dword [ecx + 0x63c]
mov dword [ebp - 0xac], edi
test edi, edi
je 0x10010543
lock inc dword [edi + 4]
mov edi, dword [ecx + 0x63c]
mov dword [ebp - 0xac], edi
mov ecx, dword [ecx + 0x638]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 4], 0x35
or ebx, 0x80000
push 0x10
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x6c], ebx
call fcn.100222c0
test al, al
je 0x1001057f
mov byte [ebp - 0x5d], 1
jmp 0x10010583
mov edi, dword [ebp - 0xac]
mov byte [ebp - 0x5d], 0
test ebx, 0x80000
je 0x100105c4
and ebx, 0xfff7ffff
mov dword [ebp - 0x64], ebx
test edi, edi
je 0x100105c4
mov ecx, dword [ebp - 0xac]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ecx + 4], eax
jne 0x100105c7
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0xac]
mov eax, edi
lock xadd dword [ecx + 8], eax
jne 0x100105c7
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100105c7
or edi, 0xffffffff
mov dword [ebp - 4], 2
test ebx, 0x40000
je 0x10010602
and ebx, 0xfffbffff
mov dword [ebp - 0x64], ebx
test esi, esi
je 0x10010602
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10010602
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10010602
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x5d], 0
je 0x100106d8
mov eax, dword [ebp - 0x68]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001062c
lock inc dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x14], eax
mov ebx, dword [ebx + 0x638]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], eax
push str.Network_ClientThread::Run
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x36
call fcn.100241e0
mov edi, eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0x37
push 0x10051518
push esi
call fcn.100057d0
push str.WSAEWOULDBLOCK_returned_during_resend__setting_resend_flag
push esi
call fcn.100057d0
sub esp, 8
mov ecx, edi
mov eax, esp
mov dword [ebp - 0x74], eax
push eax
call fcn.100078f0
or dword [ebp - 0x7c], 1
mov ecx, ebx
push 0x10
call fcn.10021ff0
lea ecx, [ebp - 0x238]
call fcn.10024260
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100106c6
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x100106c6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x100106c6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ebx, dword [ebp - 0x64]
mov dword [ebp - 0x94], 1
jmp 0x1000f260
or edi, 0xffffffff
mov dword [ebp - 0x94], 1
jmp 0x1000f260
cmp ebx, 0xffffffff
je 0x10010b49
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
push esi
addsd xmm0, qword [eax*8 + 0x10052cb0]
mulsd xmm0, qword [0x10052ca0]
addsd xmm0, qword [ecx + 0x30]
movsd qword [ecx + 0x30], xmm0
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [ebp - 0xb0], 0
je 0x10010941
push dword [ebp - 0xdc]
mov dword [ebp - 0x94], 0
call fcn.1002ba5e
add esp, 4
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd8], 0
test byte [ebp - 0x5c], 0x20
jne 0x10010ca8
mov ebx, dword [ebp - 0x64]
or edi, 0xffffffff
jmp 0x1000f260
mov ebx, dword [ecx + 0x63c]
test ebx, ebx
je 0x10010790
lock inc dword [ebx + 4]
mov ebx, dword [ecx + 0x63c]
mov eax, dword [ecx + 0x638]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ebx
mov esi, dword [ebp - 0x64]
or esi, 0x4000
test eax, eax
je 0x100107fc
mov ecx, dword [edi + 4]
mov edi, dword [ecx + 0x63c]
test edi, edi
je 0x100107c6
lock inc dword [edi + 4]
mov edi, dword [ecx + 0x63c]
mov ecx, dword [ecx + 0x638]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 4], 0x2b
or esi, 0x8000
push 0x40000000
mov dword [ebp - 0x6c], esi
call fcn.100222c0
test al, al
je 0x10010802
mov byte [ebp - 0x5d], 1
jmp 0x10010806
mov edi, dword [ebp - 0x88]
mov byte [ebp - 0x5d], 0
test esi, 0x8000
je 0x10010839
and esi, 0xffff7fff
test edi, edi
je 0x10010839
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10010839
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x10010839
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 2
test esi, 0x4000
je 0x1001086d
test ebx, ebx
je 0x1001086d
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1001086d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x1001086d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp byte [ebp - 0x5d], 0
je 0x10010937
mov eax, dword [ebp - 0x68]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x10010897
lock inc dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x7c], eax
mov ebx, dword [ebx + 0x638]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], eax
push str.Network_ClientThread::Run
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x2c
call fcn.100241e0
mov edi, eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0x2d
push 0x10051518
push esi
call fcn.100057d0
push str.WSASend_...__failure._Primary_Send._WSAGetLastError:
push esi
call fcn.100057d0
add esp, 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, esi
call fcn.10003570
sub esp, 0x18
mov ecx, edi
mov eax, esp
mov dword [ebp - 0x74], eax
push eax
call fcn.100078f0
mov ecx, ebx
call fcn.10022750
lea ecx, [ebp - 0x238]
call fcn.10024260
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x10010937
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x10010937
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x10010937
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov dword [ebp - 0xb0], 0
mov bl, 1
jmp 0x10010af7
mov eax, dword [edi + 4]
mov edi, dword [eax + 0x63c]
test edi, edi
je 0x1001095f
lock inc dword [edi + 4]
mov edi, dword [eax + 0x63c]
mov eax, dword [eax + 0x638]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], edi
or ebx, 0x400
test eax, eax
je 0x100109cb
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 4]
mov esi, dword [ecx + 0x63c]
test esi, esi
je 0x10010995
lock inc dword [esi + 4]
mov esi, dword [ecx + 0x63c]
mov ecx, dword [ecx + 0x638]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], esi
mov dword [ebp - 4], 0x21
or ebx, 0x800
push 0x40000000
mov dword [ebp - 0x6c], ebx
call fcn.100222c0
test al, al
je 0x100109d1
mov byte [ebp - 0x5d], 1
jmp 0x100109d5
mov esi, dword [ebp - 0x88]
mov byte [ebp - 0x5d], 0
test ebx, 0x800
je 0x10010a08
and ebx, 0xfffff7ff
test esi, esi
je 0x10010a08
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10010a08
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10010a08
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 4], 2
test ebx, 0x400
je 0x10010a3c
test edi, edi
je 0x10010a3c
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10010a3c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x10010a3c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp byte [ebp - 0x5d], 0
je 0x10010af5
mov eax, dword [ebp - 0x68]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x10010a66
lock inc dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x7c], eax
mov ebx, dword [ebx + 0x638]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], eax
push str.Network_ClientThread::Run
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x22
call fcn.100241e0
mov edi, eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0x23
push 0x10051518
push esi
call fcn.100057d0
push str.ParseRequest_failed
push esi
call fcn.100057d0
sub esp, 8
mov ecx, edi
mov eax, esp
mov dword [ebp - 0x74], eax
push eax
call fcn.100078f0
mov ecx, ebx
call fcn.10022750
lea ecx, [ebp - 0x238]
call fcn.10024260
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x10010af5
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x10010af5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x10010af5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
xor bl, bl
push dword [ebp - 0x110]
call fcn.1002ba5e
add esp, 4
push dword [ebp - 0xc8]
call fcn.1002ba5e
add esp, 4
mov dword [ebp - 0xe0], vtable.OBaseArray_1_.0
push dword [ebp - 0xdc]
call fcn.1002ba5e
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10025a94
mov esp, ebp
pop ebp
ret
mov ebx, dword [ecx + 0x63c]
test ebx, ebx
je 0x10010b5d
lock inc dword [ebx + 4]
mov ebx, dword [ecx + 0x63c]
mov eax, dword [ecx + 0x638]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ebx
mov esi, dword [ebp - 0x64]
or esi, 0x100000
test eax, eax
je 0x10010bc9
mov ecx, dword [edi + 4]
mov edi, dword [ecx + 0x63c]
test edi, edi
je 0x10010b93
lock inc dword [edi + 4]
mov edi, dword [ecx + 0x63c]
mov ecx, dword [ecx + 0x638]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 4], 0x39
or esi, 0x200000
push 0x40000000
mov dword [ebp - 0x6c], esi
call fcn.100222c0
test al, al
je 0x10010bcf
mov byte [ebp - 0x5d], 1
jmp 0x10010bd3
mov edi, dword [ebp - 0x88]
mov byte [ebp - 0x5d], 0
test esi, 0x200000
je 0x10010c06
and esi, 0xffdfffff
test edi, edi
je 0x10010c06
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10010c06
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x10010c06
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 2
test esi, 0x100000
je 0x10010c3a
test ebx, ebx
je 0x10010c3a
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x10010c3a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x10010c3a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp byte [ebp - 0x5d], 0
je 0x10010937
mov eax, dword [ebp - 0x68]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x10010c64
lock inc dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x7c], eax
mov ebx, dword [ebx + 0x638]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], eax
push str.Network_ClientThread::Run
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x3a
call fcn.100241e0
mov edi, eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0x3b
push 0x10051518
push esi
call fcn.100057d0
push str.SendFailure._Resend._WSAGetLastError:
jmp 0x100108d6
mov eax, dword [edi + 4]
mov ebx, dword [eax + 0x63c]
test ebx, ebx
je 0x10010cbf
lock inc dword [ebx + 4]
mov ebx, dword [eax + 0x63c]
mov eax, dword [eax + 0x638]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], ebx
mov esi, dword [ebp - 0x64]
or esi, 0x400000
test eax, eax
je 0x10010d28
mov ecx, dword [edi + 4]
mov edi, dword [ecx + 0x63c]
test edi, edi
je 0x10010cf5
lock inc dword [edi + 4]
mov edi, dword [ecx + 0x63c]
mov ecx, dword [ecx + 0x638]
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 4], 0x3d
or esi, 0x800000
push 0x10
mov dword [ebp - 0x6c], esi
call fcn.100222c0
test al, al
je 0x10010d2e
mov byte [ebp - 0x5d], 1
jmp 0x10010d32
mov edi, dword [ebp - 0x88]
mov byte [ebp - 0x5d], 0
test esi, 0x800000
je 0x10010d65
and esi, 0xff7fffff
test edi, edi
je 0x10010d65
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10010d65
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x10010d65
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 4], 2
test esi, 0x400000
je 0x10010d99
test ebx, ebx
je 0x10010d99
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x10010d99
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x10010d99
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
cmp byte [ebp - 0x5d], 0
je 0x10010941
mov eax, dword [ebp - 0x68]
mov ebx, dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x10010dc3
lock inc dword [eax + 4]
mov eax, dword [ebx + 0x63c]
mov dword [ebp - 0x7c], eax
mov ebx, dword [ebx + 0x638]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], eax
push str.Network_ClientThread::Run
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0x3e
call fcn.100241e0
mov edi, eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 0x3f
push 0x10051518
push esi
call fcn.100057d0
push str.FD_CLOSE_recieved_exiting
push esi
call fcn.100057d0
sub esp, 8
mov ecx, edi
mov eax, esp
mov dword [ebp - 0x74], eax
push eax
call fcn.100078f0
push 0x10
mov ecx, ebx
call fcn.10021ff0
lea ecx, [ebp - 0x238]
call fcn.10024260
mov ebx, dword [ebp - 0x7c]
test ebx, ebx
je 0x10010941
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x10010941
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x10010941
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov bl, 1
jmp 0x10010af7
call fcn.1002a52f
int3