Function at 0x100de8f
Capabilities:
Terminate process

Disassembly:
push 0x6c
push 0x1001ec0
call fcn.0101ef18
mov eax, dword [0x1042bc4]
xor eax, dword [ebp + 4]
mov dword [ebp - 0x1c], eax
xor edi, edi
mov dword [0x1024f40], edi
mov dword [0x1025028], edi
mov dword [0x1025024], edi
cmp dword [0x10222ac], edi
je 0x100dec9
call fcn.01009731
jmp 0x100deda
push dword [0x1022154]
push dword [0x1022158]
call fcn.01009248
call fcn.0101b8e0
test eax, eax
jne 0x100df04
push 0x1001ea4
call dword [sym.imp.msvcrt.dll_perror]
pop ecx
push 0x1f
push 0x2713
push 1
push edi
call fcn.010042e8
push edi
jmp 0x100e1cd
call fcn.0100af0e
test eax, eax
jne 0x100df14
push 0x1001e8c
jmp 0x100dee8
call fcn.0100ddc4
mov esi, eax
cmp esi, edi
je 0x100df2f
push esi
push 0x1001e6c
call fcn.01009318
pop ecx
pop ecx
push esi
jmp 0x100def1
mov dword [ebp - 4], edi
mov eax, dword [0x1022274]
mov dword [ebp - 0x20], eax
or dword [ebp - 0x24], 0xffffffff
jmp 0x100df42
xor edi, edi
call fcn.01018eae
call fcn.0101902f
mov dword [ebp - 0x28], eax
or ebx, 0xffffffff
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x28], ebx
mov esi, 0x1024e80
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [0x1022288]
call fcn.010047ed
test eax, eax
jne 0x100dfe6
cmp dword [0x1024f40], edi
jne 0x100dfa7
mov dword [0x1024f40], 1
mov eax, dword [0x102381c]
mov dword [0x1024f3c], eax
mov dword [ebp - 0x28], 0x2bf20
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetProcessWorkingSetSize]
jmp 0x100dfe6
mov ecx, dword [0x102381c]
sub ecx, dword [0x1024f3c]
mov dword [ebp - 0x2c], ecx
mov eax, 0x2bf20
cmp ecx, eax
jb 0x100dfde
mov dword [0x1024f38], 1
push dword [0x10203a8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x100e05d
sub eax, ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 1
push dword [ebp - 0x28]
push edi
push dword [0x1041770]
push dword [0x1022274]
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov esi, eax
mov dword [ebp - 0x30], esi
cmp esi, ebx
je 0x100df42
push edi
call fcn.0100b372
test eax, eax
jle 0x100e021
call fcn.0100db95
call fcn.01018eae
cmp esi, 0x102
je 0x100df42
cmp esi, 0xc0
je 0x100df42
mov dword [ebp - 0x34], esi
cmp esi, dword [0x1022278]
jae 0x100e11a
mov eax, dword [0x1041770]
mov eax, dword [eax + esi*4]
cmp eax, dword [0x102227c]
jne 0x100e0b2
mov dword [ebp - 4], ebx
push edi
call fcn.0100d0a1
call fcn.0101d892
cmp dword [0x10222bc], edi
je 0x100e079
push edi
call fcn.0100bde0
cmp dword [0x1024f38], edi
jne 0x100e08f
push 0x2712
push 4
push 2
call fcn.0100418f
push dword [0x1041768]
call fcn.01005356
call fcn.0101b8fe
xor eax, eax
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp + 4]
call fcn.0101ed84
call fcn.0101ef51
ret
mov ecx, dword [0x1022280]
cmp eax, ecx
jne 0x100e0c7
push ecx
call fcn.01012d1f
jmp 0x100df42
mov ecx, dword [0x1020194]
cmp eax, ecx
jne 0x100e0e4
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 1
call fcn.0100fb7b
jmp 0x100df42
cmp eax, dword [0x10237c0]
jne 0x100e0f6
call fcn.0101cedd
jmp 0x100df42
cmp eax, dword [0x1024ef8]
jne 0x100e108
call fcn.0100d997
jmp 0x100df42
cmp eax, dword [0x1024eb8]
jne 0x100e11a
call fcn.0100cb11
jmp 0x100df42
lea esi, [esi + esi*2]
shl esi, 3
mov eax, dword [0x1022270]
add eax, esi
mov edi, dword [eax + 4]
mov dword [ebp - 0x24], edi
mov ebx, dword [eax + 8]
mov dword [ebp - 0x38], ebx
lea ecx, [ebp - 0x64]
push ecx
push dword [eax]
push edi
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
jne 0x100e156
push dword [ebp - 0x34]
push edi
call fcn.0100bc22
jmp 0x100df40
cmp dword [ebp - 0x64], 0
je 0x100df40
test byte [ebp - 0x64], 1
je 0x100e170
cmp dword [ebp - 0x60], 0
jne 0x100df40
test ebx, ebx
jne 0x100df40
mov eax, dword [0x1022270]
push dword [esi + eax + 0xc]
push edi
call fcn.0100d4ec
jmp 0x100df40
call dword [sym.imp.KERNEL32.dll_ExitProcess]