Function at 0x4c7830
Capabilities:
Get local ipv4 addresses
Get socket information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x120
mov dword [esp + 0x114], edx
mov dword [esp + 0x118], ecx
mov eax, dword [0x9030b8]
cmp eax, 2
jne 0x4c7c67
movzx eax, byte [0x9030bd]
test al, al
je 0x4c7c7b
lea ecx, [esp + 0x40]
mov edx, str.127.0.0.1:0testserver:_pre_connect_with_error
push 0xb
call fcn.00493270
add esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4c79e0
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
cmp esi, edx
mov dword [esp + 4], edx
je 0x4c7a08
mov ebx, 4
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
jmp 0x4c78e6
push ecx
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
push edi
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esp]
mov edx, dword [esp + 0x1c]
add esi, 0x20
mov ebx, edx
mov edi, eax
cmp esi, dword [esp + 4]
je 0x4c7a17
movsd xmm0, qword [esi + 0x18]
movzx eax, word [esi]
movsd qword [esp + 0xfe], xmm0
cmp ax, 2
movsd xmm0, qword [esi + 0x12]
movsd qword [esp + 0xf8], xmm0
movsd xmm0, qword [esi + 0xa]
movsd qword [esp + 0xf0], xmm0
movsd xmm0, qword [esi + 2]
movsd qword [esp + 0xe8], xmm0
je 0x4c7a13
movq xmm0, qword [esp + 0xfe]
movsd xmm1, qword [esp + 0xf8]
mov word [esp + 0x40], ax
lea eax, [esp + 0x42]
movsd xmm2, qword [esp + 0xe8]
lea ecx, [esp + 0x40]
mov dword [esp + 0x2c], 4
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x20]
movq qword [eax + 0x16], xmm0
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0xf0]
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm1
call fcn.0049d6c0
cmp byte [esp + 0x20], 4
je 0x4c7bf6
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp bl, 3
jne 0x4c78d5
mov ebx, dword [edi + 4]
mov dword [esp], eax
mov ecx, dword [edi]
mov dword [esp + 0x1c], edx
mov eax, dword [ebx]
test eax, eax
je 0x4c79c4
push ecx
mov dword [esp + 0xc], ecx
call eax
mov ecx, dword [esp + 0xc]
add esp, 4
cmp dword [ebx + 4], 0
je 0x4c78bf
cmp dword [ebx + 8], 9
jb 0x4c78b0
mov ecx, dword [ecx - 4]
jmp 0x4c78b0
movq xmm0, qword [esp + 0x44]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xe8]
movq qword [esp + 0xe8], xmm0
call fcn.0049d6c0
cmp byte [esp + 0x10], 4
jne 0x4c7a66
jmp 0x4c7a71
mov edx, 4
test ecx, ecx
jne 0x4c7a25
jmp 0x4c7a38
mov eax, edi
mov edx, ebx
mov esi, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4c7a38
push eax
push 0
push dword [0x903200]
mov edi, edx
call dword [sym.imp.kernel32.dll_HeapFree]
mov edx, edi
mov eax, edx
mov ecx, 2
mov ebx, edx
mov edi, 0x8ea11c
shr eax, 8
cmp dl, 4
cmovne ecx, edx
cmove esi, edi
shr ebx, 0x18
mov byte [esp + 0x10], cl
mov word [esp + 0x11], ax
mov byte [esp + 0x13], bl
mov dword [esp + 0x14], esi
cmp byte [esp + 0x10], 4
jne 0x4c8713
mov esi, dword [esp + 0x14]
pxor xmm0, xmm0
lea eax, [esp + 0xe8]
mov dword [esp + 0xe8], 0x80
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
movdqa xmmword [esp + 0x60], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
push eax
lea eax, [esp + 0x44]
push eax
push esi
call dword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x4c86ee
movzx ecx, word [esp + 0x40]
mov eax, dword [esp + 0xe8]
cmp ecx, 2
je 0x4c7b01
cmp ecx, 0x17
jne 0x4c8713
cmp eax, 0x1b
ja 0x4c7b0a
jmp 0x4c8713
cmp eax, 0xf
jbe 0x4c8713
movzx eax, word [esp + 0x42]
xor ecx, ecx
mov edx, 0xc
rol ax, 8
mov word [esp + 0xc], ax
movzx eax, byte [0x90320d]
call fcn.0049d570
test eax, eax
je 0x4c8713
mov dword [eax], 1
mov dword [eax + 4], 1
mov byte [eax + 8], 0
lock inc dword [eax]
jle 0x4c8713
mov dword [esp + 0x1c], eax
mov eax, dword [0x903208]
mov dword [esp + 4], esi
test eax, eax
je 0x4c7b67
dec eax
mov dword [esp], eax
jmp 0x4c7e4c
lea ecx, [esp + 0x40]
mov edx, str.RUST_MIN_STACKmain
push 0xe
call fcn.0048e150
add esp, 4
mov edi, dword [esp + 0x40]
mov eax, edi
neg eax
jno 0x4c7b8e
mov eax, 0x200000
jmp 0x4c7e43
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0xe8]
mov edx, esi
push dword [esp + 0x48]
call fcn.0041da70
add esp, 4
test byte [esp + 0xe8], 1
mov dword [esp], esi
jne 0x4c7e25
mov ebx, dword [esp + 0xf0]
test ebx, ebx
je 0x4c7e25
mov ecx, dword [esp + 0xec]
cmp ebx, 1
jne 0x4c7def
movzx eax, byte [ecx]
cmp eax, 0x2b
je 0x4c7e25
mov ebx, 1
cmp eax, 0x2d
je 0x4c7e25
jmp 0x4c86cc
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x3c], 0
je 0x4c7c13
push dword [esp + 0x38]
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp bl, 3
jne 0x4c7a75
mov ebx, dword [edi + 4]
mov dword [esp + 4], esi
mov esi, dword [edi]
mov eax, dword [ebx]
test eax, eax
je 0x4c7c31
push esi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x4c7c4f
cmp dword [ebx + 8], 9
jb 0x4c7c40
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
push edi
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [esp + 4]
jmp 0x4c7a75
call fcn.004f26d0
movzx eax, byte [0x9030bd]
test al, al
jne 0x4c786a
movzx eax, byte [0x90320d]
xor ecx, ecx
mov edx, 0xb
call fcn.0049d570
test eax, eax
je 0x4c8713
mov dword [eax + 7], 0x312e3031
mov dword [eax + 4], 0x312e322f
mov dword [eax], 0x71657275
mov esi, eax
mov eax, dword [0x9030b0]
cmp eax, 2
jne 0x4c7dd0
mov edi, dword [0x9030a8]
mov ebx, dword [0x9030ac]
lock inc dword [edi]
jle 0x4c8713
movzx eax, byte [0x90320d]
xor ecx, ecx
mov edx, 8
call fcn.0049d570
test eax, eax
je 0x4c8713
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0x1e
mov dword [esp + 0x48], 0
mov dword [esp + 0x58], 0x3b9aca00
mov dword [esp + 0x68], 0x3b9aca00
mov dword [esp + 0x78], 0x3b9aca00
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], 0xb
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], 0xb
mov dword [esp + 0x94], 0x80000000
mov dword [esp + 0xc0], 5
mov word [esp + 0xc4], 0x100
mov byte [esp + 0xc6], 0
mov byte [esp + 0xe4], 0
mov dword [esp + 0xdc], 0x64
mov dword [esp + 0xe0], 1
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], 0x8eb858
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 4
mov dword [esp + 0xd8], 0
jmp 0x4c8565
call fcn.004f2000
mov edi, dword [0x9030a8]
mov ebx, dword [0x9030ac]
lock inc dword [edi]
jg 0x4c7ccf
jmp 0x4c8713
cmp byte [ecx], 0x2b
jne 0x4c86c3
inc ecx
cmp ebx, 0xa
lea ebx, [ebx - 1]
jb 0x4c86cc
xor eax, eax
mov esi, 0xa
sub ebx, 1
jb 0x4c7e2a
mul esi
jo 0x4c7e25
movzx edx, byte [ecx]
add edx, 0xffffffd0
cmp edx, 9
ja 0x4c7e25
inc ecx
add eax, edx
jae 0x4c7e0c
mov eax, 0x200000
test edi, edi
je 0x4c7e43
push dword [esp]
push 0
push dword [0x903200]
mov esi, eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, esi
mov dword [esp], eax
inc eax
mov dword [0x903208], eax
movzx eax, byte [0x90320d]
xor ecx, ecx
mov edx, 0x20
call fcn.0049d570
test eax, eax
je 0x4c8713
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 0x10], 2
mov esi, eax
movq xmm0, qword [0x9031e0]
movd eax, xmm0
pshufd xmm0, xmm0, 0x55
movd edx, xmm0
nop word cs:[eax + eax]
nop dword [eax]
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
je 0x4c8713
mov ebx, eax
mov ecx, edx
add ebx, 1
adc ecx, 0
lock cmpxchg8b qword [0x9031e0]
jne 0x4c7ea0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ecx
mov byte [esi + 0x1c], 0
lock inc dword [esi]
jle 0x4c8713
movzx eax, byte [0x90320d]
xor ecx, ecx
mov edx, 0x18
call fcn.0049d570
test eax, eax
je 0x4c8713
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [esp + 0xe8], eax
mov ebx, eax
lock inc dword [eax]
jle 0x4c8713
movzx eax, byte [0x903188]
test al, al
je 0x4c7fb7
mov byte [0x903188], 1
mov eax, dword [0x903210]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x44]
cmp eax, 1
jne 0x4c86a7
mov eax, dword [0x903210]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov edi, dword [eax + 0x48]
mov dword [eax + 0x48], 0
test edi, edi
je 0x4c7fb7
lock inc dword [edi]
jle 0x4c8713
mov byte [0x903188], 1
mov eax, dword [0x903210]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x44]
cmp eax, 1
je 0x4c7fed
test eax, eax
je 0x4c86b9
lock dec dword [edi]
mov ecx, edi
jne 0x4c8713
call fcn.0042dd50
ud2
movzx eax, byte [0x903188]
test al, al
je 0x4c866d
mov byte [0x903188], 1
xor edi, edi
mov eax, dword [0x903210]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x44]
cmp eax, 1
jne 0x4c86b5
mov eax, dword [0x903210]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov dword [esp + 8], edi
mov ecx, dword [eax + 0x48]
mov dword [eax + 0x48], edi
test ecx, ecx
je 0x4c801a
lock dec dword [ecx]
jne 0x4c801a
call fcn.0042dd50
mov edi, dword [esp + 0xe8]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4c8032
lock inc dword [ecx + 0xc]
jle 0x4c8715
movzx eax, byte [0x90320d]
xor ecx, ecx
mov edx, 0x18
call fcn.0049d570
test eax, eax
je 0x4c8713
mov ecx, dword [esp + 8]
mov dword [eax], esi
mov dword [eax + 4], ebx
mov edx, dword [esp]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 4]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0x4c6960
lea ecx, [esp + 0x40]
push 0x8ea128
push eax
call fcn.0049b8d0
add esp, 8
cmp byte [esp + 0x40], 4
jne 0x4c86f6
mov eax, dword [esp + 0x44]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], eax
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
lock dec dword [esi]
jne 0x4c80b3
mov ecx, dword [esp + 0x40]
call fcn.004092f0
mov eax, dword [esp + 0x44]
lea esi, [esp + 0x40]
lock dec dword [eax]
jne 0x4c80c9
lea ecx, [esp + 0x44]
call fcn.0042dd90
lea edi, [esp + 0x2c]
jmp 0x4c80d9
push dword [esp]
call dword [sym.imp.ws2_32.dll_closesocket]
lea ebx, [esp + 0xe8]
lea eax, [esp + 0xc]
mov edx, esi
mov dword [esp + 0x40], 0x8fe248
mov dword [esp + 0x44], 1
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 1
mov ecx, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x41fbf0
call fcn.0041bf90
lea ecx, [esp + 0x10]
mov edx, ebx
call fcn.004c6640
cmp byte [esp + 0x10], 4
je 0x4c82f8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebx, esi
lea esi, [esp + 0x20]
mov dword [esp + 4], ecx
mov dword [esp + 0x20], ecx
mov ecx, esi
mov dword [esp], eax
mov dword [esp + 0x24], eax
call fcn.004a9480
cmp al, 2
jne 0x4c8230
push 0x1f0003
push 2
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateWaitableTimerExW]
test eax, eax
mov esi, ebx
je 0x4c82d1
mov edi, eax
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x40], 0xfff0bdc0
push 0
push 0
push 0
push 0
push esi
push eax
call dword [sym.imp.kernel32.dll_SetWaitableTimer]
test eax, eax
je 0x4c82ca
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov esi, eax
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp esi, 0xffffffff
lea esi, [esp + 0x40]
je 0x4c82d1
cmp byte [esp + 0x20], 3
jne 0x4c82e4
mov esi, dword [esp + 0x24]
mov edi, dword [esi + 4]
mov ebx, dword [esi]
mov eax, dword [edi]
test eax, eax
je 0x4c81e3
push ebx
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x4c8201
cmp dword [edi + 8], 9
jb 0x4c81f2
mov ebx, dword [ebx - 4]
push ebx
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
lea esi, [esp + 0x40]
cmp byte [esp + 4], 4
lea edi, [esp + 0x2c]
jne 0x4c80d9
jmp 0x4c80d0
mov ecx, ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x40], 0x8fe280
mov dword [esp + 0x44], 2
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], edi
mov dword [esp + 0x30], fcn.00491f50
mov dword [esp + 0x4c], 1
mov esi, ebx
call fcn.00493010
cmp byte [esp + 0x20], 3
jne 0x4c82ba
mov esi, dword [esp + 0x24]
mov edi, dword [esi + 4]
mov ebx, dword [esi]
mov eax, dword [edi]
test eax, eax
je 0x4c8285
push ebx
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x4c82a3
cmp dword [edi + 8], 9
jb 0x4c8294
mov ebx, dword [ebx - 4]
push ebx
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
lea esi, [esp + 0x40]
lea edi, [esp + 0x2c]
cmp byte [esp + 4], 4
jne 0x4c80d9
jmp 0x4c80d0
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
cmp byte [esp + 0x20], 3
je 0x4c81ce
cmp byte [esp + 4], 4
lea edi, [esp + 0x2c]
jne 0x4c80d9
jmp 0x4c80d0
push dword [esp + 0x14]
call dword [sym.imp.ws2_32.dll_closesocket]
movzx edi, word [esp + 0xc]
movzx eax, byte [0x90320d]
xor ecx, ecx
mov edx, 0xb
call fcn.0049d570
test eax, eax
je 0x4c8713
mov dword [eax + 7], 0x312e3031
mov dword [eax + 4], 0x312e322f
mov dword [eax], 0x71657275
mov esi, eax
mov eax, dword [0x9030b0]
cmp eax, 2
jne 0x4c868c
mov eax, dword [0x9030a8]
mov ecx, dword [0x9030ac]
lock inc dword [eax]
jle 0x4c8713
mov dword [esp], ecx
mov word [esp + 8], di
mov dword [esp + 4], eax
xor ecx, ecx
mov edx, 8
movzx eax, byte [0x90320d]
call fcn.0049d570
test eax, eax
je 0x4c8713
mov dword [eax], 1
mov dword [eax + 4], 1
mov ebx, eax
xor ecx, ecx
mov edx, 0x10
movzx eax, byte [0x90320d]
call fcn.0049d570
test eax, eax
je 0x4c8713
mov edx, dword [esp + 0x1c]
movzx ecx, word [esp + 8]
mov edi, eax
mov dword [eax], 1
mov dword [eax + 4], 1
mov dword [edi + 8], edx
mov word [edi + 0xc], cx
lock dec dword [ebx]
jne 0x4c83db
mov ecx, ebx
mov edx, 0x8eb858
call fcn.00469100
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0x1e
mov dword [esp + 0x48], 0
movsd xmm0, qword [esp + 0x2c]
movsd xmm2, qword [esp + 0x100]
movsd xmm1, qword [esp + 0xf8]
movzx ecx, word [esp + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
movsd qword [esp + 0x4c], xmm0
mov dword [esp + 0x58], 0x3b9aca00
movsd xmm0, qword [esp + 0x20]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x18]
movsd qword [esp + 0x5c], xmm0
mov dword [esp + 0x68], 0x3b9aca00
movsd xmm0, qword [esp + 0x10]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 4]
movsd qword [esp + 0x6c], xmm0
mov dword [esp + 0x78], 0x3b9aca00
movq xmm0, qword [esp + 0x108]
mov dword [esp + 0x80], eax
mov eax, dword [esp]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0xb
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], 0xb
mov dword [esp + 0x94], 0x80000000
movsd qword [esp + 0xb0], xmm2
movsd qword [esp + 0xa8], xmm1
movsd xmm2, qword [esp + 0xe8]
movsd xmm1, qword [esp + 0xf0]
movzx eax, byte [esp + 0xe]
movq qword [esp + 0xb8], xmm0
movsd qword [esp + 0xa0], xmm1
movsd qword [esp + 0x98], xmm2
mov dword [esp + 0xc0], 5
mov word [esp + 0xc4], 0x100
mov byte [esp + 0xc6], 0
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], 0x8eb868
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 4
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0x64
mov dword [esp + 0xe0], 1
mov byte [esp + 0xe4], 0
mov byte [esp + 0xe7], al
mov word [esp + 0xe5], cx
lea ecx, [esp + 0x40]
call fcn.0049de60
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov esi, eax
mov edi, edx
lock inc dword [eax]
jle 0x4c8713
lock inc dword [edi]
jle 0x4c8713
movzx eax, byte [0x90320d]
xor ecx, ecx
mov edx, 3
call fcn.0049d570
test eax, eax
je 0x4c8713
mov edx, dword [ebp + 8]
mov ebx, eax
mov byte [eax + 2], 0x54
mov word [eax], 0x4547
test edx, edx
js 0x4c8713
mov dword [esp + 4], edi
mov dword [esp], esi
je 0x4c85e3
movzx eax, byte [0x90320d]
xor ecx, ecx
mov edi, edx
call fcn.0049d570
mov edx, edi
mov edi, eax
test eax, eax
jne 0x4c85e8
jmp 0x4c8713
mov edi, 1
push edx
push dword [esp + 0x118]
push edi
mov esi, edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x118]
mov edx, dword [esp]
mov ecx, dword [esp + 4]
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], 3
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], 3
mov dword [eax + 0x24], esi
mov dword [eax + 0x28], edi
mov dword [eax + 0x2c], esi
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 4
mov dword [eax + 0x38], 0
mov dword [eax + 8], 0x3b9aca00
lock dec dword [edx]
jne 0x4c8653
mov ecx, dword [esp + 0x40]
call fcn.004b0370
mov eax, dword [esp + 0x44]
lock dec dword [eax]
jne 0x4c8665
lea ecx, [esp + 0x44]
call fcn.004b0430
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 8], 0
mov edi, dword [esp + 0xe8]
mov ecx, dword [edi + 8]
test ecx, ecx
jne 0x4c8028
jmp 0x4c8032
call fcn.004f2000
mov eax, dword [0x9030a8]
mov ecx, dword [0x9030ac]
lock inc dword [eax]
jg 0x4c835a
jmp 0x4c8713
test eax, eax
jne 0x4c8713
call fcn.004f16c0
jmp 0x4c7f50
test eax, eax
jne 0x4c8713
call fcn.004f16c0
jmp 0x4c7fed
cmp ebx, 9
jae 0x4c7e05
xor eax, eax
nop
movzx esi, byte [ecx]
add esi, 0xffffffd0
cmp esi, 9
ja 0x4c7e25
lea edx, [eax + eax*4]
inc ecx
dec ebx
lea eax, [esi + edx*2]
jne 0x4c86d0
jmp 0x4c7e2a
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
ud2
lock dec dword [edi]
jne 0x4c8707
lea ecx, [esp + 0xe8]
call fcn.0042dd90
lock dec dword [esi]
jne 0x4c8713
mov ecx, esi
call fcn.004092f0
ud2
add ecx, 8
xor edx, edx
call fcn.0048cd40
ud2