Function at 0x10005550
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x1001129b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
mov edx, dword [esp + 0x10c]
test edx, edx
mov eax, dword [0x100153dc]
push ebx
mov ebx, dword [esp + 0x118]
push esi
push edi
mov edi, dword [esp + 0x11c]
mov dword [esp + 0x104], eax
je 0x100055bb
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005598
sub eax, esi
cmp eax, 0x20
jb 0x100055b1
cmp byte [edx], 0x7a
jne 0x100055b1
cmp byte [edx + 1], 0x74
je 0x100055f7
mov eax, 0xfffffff6
jmp 0x10005888
mov eax, 0x1003d740
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100055c3
sub eax, edx
mov dword [esp + 0x14], eax
je 0x100055ef
mov eax, 0x1003d72c
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100055e0
sub eax, edx
mov dword [esp + 0x14], eax
jne 0x100055f7
test edi, edi
je 0x100055b1
test ebx, ebx
je 0x100055b1
test edi, edi
je 0x10005659
test ebx, ebx
je 0x100055b1
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005604
sub eax, edx
cmp eax, 1
jb 0x100055b1
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005617
sub eax, edx
cmp eax, 0xf
ja 0x100055b1
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005630
sub eax, edx
cmp eax, 1
jb 0x100055b1
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005647
sub eax, edx
cmp eax, 0xf
ja 0x100055b1
mov esi, dword [esp + 0x124]
test esi, esi
je 0x100056ad
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005670
sub eax, edx
cmp eax, 0x20
jb 0x100055b1
mov eax, 0x1003d70c
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005690
sub eax, edx
mov dword [esp + 0x14], eax
jne 0x100056c8
mov ecx, 8
mov edi, 0x1003d70c
rep movsd dword es:[edi], dword [esi]
jmp 0x100056c8
mov eax, 0x1003d70c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100056b5
sub eax, edx
mov dword [esp + 0x14], eax
je 0x100055b1
mov eax, dword [esp + 0x128]
test eax, eax
je 0x100056e7
cmp eax, 1
jl 0x100055b1
cmp eax, 0x96
jg 0x100055b1
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x10005703
push eax
call fcn.10001250
add esp, 4
test eax, eax
jne 0x100055b1
mov eax, dword [esp + 0x130]
test eax, eax
je 0x100055b1
mov eax, dword [esp + 0x134]
test eax, eax
je 0x100055b1
mov eax, dword [esp + 0x138]
test eax, eax
je 0x1000575a
push 0x1c
lea ecx, [esp + 0x64]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov eax, dword [esp + 0x74]
cmp eax, 4
je 0x1000575a
cmp eax, 0x40
je 0x1000575a
cmp eax, 0x80
jne 0x100055b1
mov eax, dword [esp + 0x134]
mov ecx, dword [esp + 0x130]
push ebp
lea edx, [esp + 0xbc]
push edx
push eax
push ecx
call fcn.10007320
add esp, 0xc
push 0x1003d5d4
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1003d938]
mov ebp, dword [0x1003d93c]
cmp eax, ebp
je 0x100057ec
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x100057bc
mov ecx, 0x10
lea edi, [eax + 8]
lea esi, [esp + 0xbc]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x100057b8
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
je 0x100057c5
add eax, 0x38
cmp eax, ebp
jne 0x10005797
jmp 0x100057ec
mov ecx, dword [esp + 0x13c]
test ecx, ecx
je 0x100057ea
mov edx, dword [esp + 0x13c]
lea esi, [eax + 0x18]
mov ecx, 7
mov edi, edx
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov byte [edx + 0x1f], 0
mov ebx, dword [eax]
push 0x1003d5d4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x10005802
mov eax, ebx
jmp 0x10005887
mov ebx, dword [esp + 0x138]
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [esp + 0x134]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [esp + 0x2c]
call fcn.10002960
lea eax, [esp + 0x28]
push eax
push 1
push ebp
mov dword [esp + 0x120], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x30]
call fcn.100049e0
test eax, eax
mov eax, dword [esp + 0x28]
push eax
jge 0x100058ae
mov edx, dword [eax]
call dword [edx + 8]
lea ecx, [esp + 0x2c]
call fcn.10003ed0
mov eax, 0xfffffff5
pop ebp
mov ecx, dword [esp + 0x108]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xfc]
pop ebx
call fcn.1000802f
add esp, 0x108
ret 0x24
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10005879
mov ebp, dword [esp + 0x134]
mov ecx, 3
mov edi, 0x100123cc
mov esi, ebp
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 0x14], 0
je 0x100058e1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000595b
lea edx, [ebp + 3]
mov ecx, 3
mov edi, 0x100123c8
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x100058ff
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000591e
mov ecx, 3
mov edi, 0x100123c4
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1000591a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000595b
xor edx, edx
test ebx, ebx
jbe 0x1000595b
jmp 0x10005930
mov ecx, 0xe
mov edi, 0x100123b4
lea esi, [edx + ebp]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x10005948
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10005953
inc edx
cmp edx, ebx
jb 0x10005930
jmp 0x1000595b
mov dword [esp + 0x14], 1
push 0x64080
call fcn.10007197
mov ecx, dword [esp + 0x18]
add esp, 4
test ecx, ecx
mov dword [esp + 0x10], eax
je 0x100059a0
cmp ebx, 0x64000
ja 0x10005a33
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov dword [eax + 0x7c], ebx
mov esi, ebp
lea edi, [eax + 0x80]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10005af8
mov eax, dword [esp + 0x38]
cmp eax, 5
mov ecx, dword [esp + 0x3c]
mov esi, eax
mov dword [esp + 0x18], esi
mov ebx, ecx
jl 0x10005a2f
cmp ecx, 5
jl 0x10005a2f
cmp eax, 0x7d0
jg 0x10005a2f
cmp ecx, 0x7d0
jg 0x10005a2f
push 2
push 2
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 1
call fcn.10003da0
mov edi, 3
cmp esi, edi
mov ebp, eax
jle 0x10005a2f
lea esp, [esp]
mov esi, 3
cmp ebx, esi
jle 0x10005a1e
lea esp, [esp]
push esi
push edi
lea ecx, [esp + 0x34]
call fcn.10003da0
cmp ebp, eax
jne 0x10005a16
inc esi
cmp esi, ebx
jl 0x10005a00
jmp 0x10005a1e
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x100059f0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10005a41
mov eax, dword [esp + 0x10]
push eax
call fcn.1000803d
add esp, 4
jmp 0x10005879
mov eax, dword [0x1003d8fc]
test eax, eax
je 0x10005a57
lea ecx, [esp + 0x2c]
push ecx
call fcn.10004760
add esp, 4
push 0
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea edx, [esp + 0x14]
push edx
mov ebp, eax
push 1
push ebp
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov eax, dword [esp + 0x14]
push 0x100125e8
push eax
lea ecx, [esp + 0x34]
call fcn.100040b0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x5c]
push edx
push 2
xor edi, edi
push edi
xor esi, esi
push esi
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x64]
push edx
push edi
push edi
push esi
push eax
call dword [ecx + 0x14]
mov edi, dword [esp + 0x5c]
sub edi, dword [esp + 0x64]
cmp edi, 0x64000
ja 0x10005a2f
mov ebx, dword [esp + 0x10]
push ebp
mov dword [ebx + 0x7c], edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov esi, eax
lea edi, [ebx + 0x80]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, eax
push 0x1003d5ec
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x1003d928]
mov eax, dword [0x1003d92c]
cmp esi, eax
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
je 0x10005b31
cmp ebp, dword [esi]
je 0x10005ba7
add esi, 8
cmp esi, eax
jne 0x10005b26
push 0x1003d5ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x1003d8f8]
test eax, eax
je 0x10005b5c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1003d604]
cmp eax, 0x6ddd00
jb 0x10005d8c
push 0x1afa
mov word [esp + 0x68], 2
call dword [sym.imp.WS2_32.dll_htons]
push str.115.28.128.171
mov word [esp + 0x6a], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0
mov esi, 1
push esi
push 2
mov dword [esp + 0x74], eax
call dword [sym.imp.WS2_32.dll_socket]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x10005c28
mov esi, 0xffffffec
jmp 0x10005d65
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x10005b31
mov edx, dword [ebx]
push edx
call fcn.10001410
add esp, 4
test eax, eax
je 0x10005b31
mov eax, dword [ebx]
push 2
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
mov ecx, dword [ebx]
push ecx
call edi
push ebx
call fcn.1000803d
add esp, 4
push esi
lea edx, [esp + 0x24]
push edx
mov ecx, 0x1003d924
xor ebx, ebx
call fcn.10004b50
push 1
call fcn.10003030
mov esi, eax
add esp, 4
test esi, esi
je 0x10005b31
mov eax, dword [esp + 0x10]
push eax
call fcn.1000803d
add esp, 4
push 0x1003d5ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x2c]
call fcn.10003ed0
mov eax, esi
jmp 0x10005887
push 0x10
lea ecx, [esp + 0x68]
push ecx
push ebp
call fcn.10001450
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10005c4a
push ebp
call edi
mov esi, 0xffffffeb
jmp 0x10005d65
mov eax, dword [0x1003d8f0]
test eax, eax
mov dword [esp + 0x80], 0x70
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0x1332ba2
jne 0x10005c8b
mov ecx, dword [0x10015310]
xor edx, edx
cmp ecx, esi
setne dl
inc edx
mov dword [esp + 0x8c], edx
jmp 0x10005c92
mov dword [esp + 0x8c], esi
xor eax, eax
mov ecx, 8
mov esi, 0x1003d70c
lea edi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
push 0x3c
lea eax, [esp + 0x84]
push eax
push ebp
call fcn.10002bc0
push 0x2100
mov edi, 0xffffffea
call fcn.10007192
push 5
mov esi, eax
push 0x2100
push esi
push ebp
call fcn.10001560
add esp, 0x20
test eax, eax
jle 0x10005d46
mov eax, dword [esi + 8]
sub eax, 0x13ed
je 0x10005d43
sub eax, 0xa
je 0x10005d29
dec eax
jne 0x10005d46
mov eax, dword [esi + 0xc]
test eax, eax
mov dword [0x1003d8f4], eax
je 0x10005d46
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1003d604], eax
mov dword [0x1003d8f8], 1
xor edi, edi
jmp 0x10005d46
push 0x2100
push esi
push ebp
call fcn.10002d80
push 0
call fcn.10003030
add esp, 0x10
mov edi, eax
jmp 0x10005d46
mov edi, dword [esi + 0xc]
push 2
push ebp
call dword [sym.imp.WS2_32.dll_shutdown]
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
push esi
call fcn.1000803d
add esp, 4
test edi, edi
mov esi, edi
je 0x10005d82
mov ecx, dword [esp + 0x10]
push ecx
call fcn.1000803d
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.10003ed0
mov eax, esi
jmp 0x10005887
mov ebp, dword [esp + 0x18]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
test ebx, ebx
jne 0x10005e5a
push 4
call fcn.10007197
add esp, 4
push 0x1af9
mov ebx, eax
mov word [esp + 0x68], 2
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [0x1003d8f4]
push 0
push 1
push 2
mov word [esp + 0x72], ax
mov dword [esp + 0x74], edx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [ebx], eax
jne 0x10005dfa
push ebx
call fcn.1000803d
mov eax, dword [esp + 0x14]
push eax
call fcn.1000803d
add esp, 8
lea ecx, [esp + 0x2c]
call fcn.10003ed0
mov eax, 0xffffffec
jmp 0x10005887
push 0x10
lea ecx, [esp + 0x68]
push ecx
push eax
call fcn.10001450
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10005e41
mov edx, dword [ebx]
push edx
call edi
push ebx
call fcn.1000803d
mov eax, dword [esp + 0x14]
push eax
call fcn.1000803d
push 1
call fcn.10003030
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.10003ed0
mov eax, 0xffffffeb
jmp 0x10005887
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x1003d924
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
call fcn.10005450
jmp 0x10005e65
mov edx, dword [ebx]
push edx
call fcn.10001530
add esp, 4
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
mov dword [eax], 0xc9
mov dword [eax + 4], 0
mov dword [eax + 8], 0x1332ba2
mov eax, dword [esp + 0x128]
test eax, eax
mov ecx, 8
je 0x10005ebf
mov edx, eax
lea edi, [ebp + 0xc]
mov esi, edx
mov eax, 0x1003d70c
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005ea2
sub eax, esi
mov dword [esp + 0x18], eax
jne 0x10005ecd
mov ecx, 8
mov esi, edx
mov edi, 0x1003d70c
jmp 0x10005ecb
mov edi, dword [esp + 0x10]
add edi, 0xc
mov esi, 0x1003d70c
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x120]
xor eax, eax
lea edi, [ebp + 0x2c]
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
xor edx, edx
test esi, esi
lea eax, [ebp + 0x3c]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
je 0x10005f2c
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005f00
sub eax, edx
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x124]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005f23
jmp 0x10005f64
mov eax, 0x1003d740
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005f34
sub eax, edx
mov ecx, eax
shr ecx, 2
mov esi, 0x1003d740
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov eax, 0x1003d72c
rep movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005f58
mov esi, 0x1003d72c
sub eax, edx
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea edi, [ebp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x11c]
test esi, esi
je 0x10005f90
lea edi, [ebp + 0x4c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
jmp 0x10005fac
xor eax, eax
lea ecx, [ebp + 0x4c]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x10005fbc
mov dword [ebp + 0x6c], eax
jmp 0x10005fc5
mov edx, dword [0x100152fc]
mov dword [ebp + 0x6c], edx
mov eax, dword [esp + 0x130]
test eax, eax
jne 0x10005fd5
mov eax, dword [0x10015300]
mov dword [ebp + 0x70], eax
mov ecx, dword [0x10015304]
mov eax, 1
cmp ecx, eax
jne 0x10005ff0
mov dword [ebp + 0x74], 0
jmp 0x10005ff3
mov dword [ebp + 0x74], eax
mov ecx, dword [ebp + 0x7c]
add ecx, 0x80
push ecx
mov dword [ebp + 0x78], 0
mov edx, dword [ebx]
push ebp
push edx
call fcn.10002c70
push 0x200
mov edi, 0xffffffea
call fcn.10007192
mov ecx, dword [ebx]
mov esi, eax
mov eax, dword [ebp + 0x6c]
push eax
push 0x200
push esi
push ecx
mov dword [esp + 0x34], esi
call fcn.10001560
add esp, 0x20
test eax, eax
jle 0x1000652e
mov eax, dword [esi + 8]
sub eax, 0x13ed
je 0x10006529
sub eax, 0x64
jne 0x10006535
mov eax, dword [0x10015308]
mov ebx, 2
cmp eax, ebx
jne 0x10006121
mov edx, dword [esi + 0x10]
xor eax, eax
mov ecx, 0xd
lea edi, [esp + 0x84]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0xc4]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
add esi, 0x14
mov ecx, 8
lea edi, [esp + 0x98]
push 0x1003d5d4
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x80]
push ecx
mov ecx, 0x1003d934
call fcn.100054c0
mov ecx, 0x1003d934
call fcn.100026b0
cmp eax, 0x7a120
jbe 0x10006116
mov edx, dword [0x1003d938]
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, 0x1003d934
call fcn.10004b90
push 0x1003d5d4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x1001530c], ebx
jne 0x100064fa
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x74], 1
jne 0x100064fa
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
test eax, eax
mov dword [esp + 0x20], eax
je 0x100064fa
mov eax, 0x1003d70c
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006156
sub eax, edx
cmp eax, 0x20
jb 0x100064fa
push 0x1003d5d4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1003d938]
mov ecx, dword [0x1003d93c]
cmp eax, ecx
je 0x1000619a
mov edx, dword [esp + 0x20]
cmp edx, dword [eax]
je 0x10006193
add eax, 0x38
cmp eax, ecx
jne 0x10006186
jmp 0x1000619a
mov dword [eax + 4], 1
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x1003d5d4
call edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, eax
push 0x1003d5ec
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x1003d928]
mov eax, dword [0x1003d92c]
cmp esi, eax
je 0x1000625b
cmp ebp, dword [esi]
je 0x100061e0
add esi, 8
cmp esi, eax
jne 0x100061d3
jmp 0x1000625b
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x1000625b
mov eax, dword [ebx]
push 2
push 1
lea ecx, [esp + 0x2f]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x1000625b
jge 0x1000620c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1000625b
mov edx, dword [ebx]
push 2
push edx
call dword [sym.imp.WS2_32.dll_shutdown]
mov eax, dword [ebx]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push ebx
call fcn.1000803d
mov edx, dword [0x1003d92c]
lea eax, [esi + 8]
add esp, 4
xor ebx, ebx
cmp eax, edx
je 0x10006254
lea ecx, [eax - 8]
jmp 0x10006240
mov esi, dword [eax]
mov dword [ecx], esi
mov esi, dword [eax + 4]
mov dword [ecx + 4], esi
add eax, 8
add ecx, 8
cmp eax, edx
jne 0x10006240
sub dword [0x1003d92c], 8
push 0x1003d5ec
call edi
mov eax, dword [0x1003d8f8]
test eax, eax
je 0x10006282
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1003d604]
cmp eax, 0x6ddd00
jb 0x10006405
push 0x1afa
mov word [esp + 0x68], 2
call dword [sym.imp.WS2_32.dll_htons]
push str.115.28.128.171
mov word [esp + 0x6a], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0
mov esi, 1
push esi
push 2
mov dword [esp + 0x74], eax
call dword [sym.imp.WS2_32.dll_socket]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x100064fa
push 0x10
lea ecx, [esp + 0x68]
push ecx
push ebp
call fcn.10001450
add esp, 0xc
cmp eax, 0xffffffff
jne 0x100062e4
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
jmp 0x100064fa
mov eax, dword [0x1003d8f0]
test eax, eax
mov dword [esp + 0xcc], 0x70
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0x1332ba2
jne 0x10006325
mov ecx, dword [0x10015310]
xor edx, edx
cmp ecx, esi
setne dl
inc edx
mov dword [esp + 0xd8], edx
jmp 0x1000632c
mov dword [esp + 0xd8], esi
xor eax, eax
mov ecx, 8
mov esi, 0x1003d70c
lea edi, [esp + 0xdc]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], eax
push 0x3c
lea eax, [esp + 0xd0]
push eax
push ebp
call fcn.10002bc0
push 0x2100
mov edi, 0xffffffea
call fcn.10007192
push 5
mov esi, eax
push 0x2100
push esi
push ebp
call fcn.10001560
add esp, 0x20
test eax, eax
jle 0x100063e0
mov eax, dword [esi + 8]
sub eax, 0x13ed
je 0x100063dd
sub eax, 0xa
je 0x100063c3
dec eax
jne 0x100063e0
mov eax, dword [esi + 0xc]
test eax, eax
mov dword [0x1003d8f4], eax
je 0x100063e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1003d604], eax
mov dword [0x1003d8f8], 1
xor edi, edi
jmp 0x100063e0
push 0x2100
push esi
push ebp
call fcn.10002d80
push 0
call fcn.10003030
add esp, 0x10
mov edi, eax
jmp 0x100063e0
mov edi, dword [esi + 0xc]
push 2
push ebp
call dword [sym.imp.WS2_32.dll_shutdown]
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
push esi
call fcn.1000803d
add esp, 4
test edi, edi
jne 0x100064fa
mov ebp, dword [esp + 0x18]
test ebx, ebx
jne 0x1000649b
push 4
call fcn.10007197
add esp, 4
push 0x1af9
mov ebx, eax
mov word [esp + 0x68], 2
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [0x1003d8f4]
push 0
push 1
push 2
mov word [esp + 0x72], ax
mov dword [esp + 0x74], ecx
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [ebx], eax
jne 0x1000645b
push ebx
call fcn.1000803d
add esp, 4
jmp 0x100064fa
push 0x10
lea edx, [esp + 0x68]
push edx
push eax
call fcn.10001450
add esp, 0xc
cmp eax, 0xffffffff
jne 0x10006484
mov eax, dword [ebx]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push ebx
call fcn.1000803d
add esp, 4
jmp 0x100064fa
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x1003d924
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
call fcn.10005450
mov edx, dword [esp + 0x20]
mov dword [esp + 0x80], 0xcb
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0x1332ba2
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], 1
mov ecx, 8
mov esi, 0x1003d70c
lea edi, [esp + 0x94]
push 0x34
lea eax, [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx]
push eax
push ecx
call fcn.10002bc0
add esp, 0xc
mov edx, dword [esp + 0x13c]
test edx, edx
je 0x1000651a
mov eax, dword [esp + 0x14]
add eax, 0x14
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10006510
mov edx, dword [esp + 0x14]
mov edi, dword [edx + 0x10]
mov ebp, dword [esp + 0x10]
mov esi, edx
jmp 0x10006535
mov edi, dword [esi + 0xc]
jmp 0x10006535
jne 0x10006535
mov edi, 0xffffff9c
push ebp
call fcn.1000803d
push esi
call fcn.1000803d
add esp, 8
lea ecx, [esp + 0x2c]
call fcn.10003ed0
mov eax, edi
jmp 0x10005887