Function at 0x423f10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab05e
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5036c4]
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 ebx, ecx
mov dword [ebp - 0x80], ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x58]
push esi
push str.LoadPluginItem_failed:
push eax
call fcn.0041ef20
add esp, 0xc
push esi
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.00422f20
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
jne 0x423f86
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00406ea0
jmp 0x424092
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x423faf
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], al
call fcn.00406ea0
jmp 0x424092
add esi, 0x18
mov dword [ebp - 0x88], esi
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x423fc2
mov ecx, dword [esi]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42407c
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x84], 0
push ecx
push 1
call eax
mov ebx, eax
test ebx, ebx
je 0x42407c
push 0x48
call fcn.0043b792
mov edi, eax
add esp, 4
mov dword [ebp - 0x74], edi
test edi, edi
je 0x42405d
push 0x3c
lea esi, [edi + 0xc]
mov dword [edi + 4], 1
push 0
push esi
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj_struct_DLL_INFO_ITEM_.0
call fcn.00469cf0
mov dword [esi], 0
add esp, 0xc
mov dword [esi + 0x14], 0
xor eax, eax
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], al
mov byte [esi + 0x38], al
mov esi, dword [ebp - 0x88]
jmp 0x42405f
xor edi, edi
lea ecx, [edi + 0xc]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 2
test ecx, ecx
jne 0x424169
lea ecx, [ebp - 0x78]
call fcn.004154b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00406ea0
mov eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x48], 0
je 0x424162
call fcn.00438c20
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x424162
push 0x5c
push 0x4ce498
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040a7b0
push 3
push 0x4ce500
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040a7b0
push 0x116
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x120]
call fcn.00406590
mov esi, eax
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
mov ecx, 0x4b5fd8
mov byte [ebp - 4], 8
cmovae edx, dword [ebp - 0x58]
test edx, edx
cmovne ecx, edx
push ecx
push esi
call fcn.004056a0
add esp, 8
call fcn.00438c20
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x120]
call fcn.00407560
lea ecx, [ebp - 0x28]
call fcn.00406e50
lea ecx, [ebp - 0x40]
call fcn.00406e50
xor bl, bl
jmp 0x4242f1
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov dword [ebp - 0x48], 0
lea edi, [ecx + 4]
cmovae eax, dword [ebp - 0x58]
xor edx, edx
mov word [eax], dx
mov eax, dword [ebp - 0x7c]
mov dword [ecx], ebx
mov dword [ecx + 0x1c], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00420b80
mov ecx, dword [ebp - 0x78]
add ecx, 0x20
cmp ecx, esi
je 0x4241b2
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x4241ab
mov esi, dword [esi]
push eax
push esi
call fcn.0040a7b0
mov ecx, dword [ebp - 0x78]
mov al, byte [ebp + 0xc]
mov byte [ecx + 0x38], al
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebx]
push dword [ecx]
push ebx
call dword [eax + 0xc]
cmp byte [ebp + 0x10], 0
je 0x4241eb
mov eax, dword [ebx]
push ebx
call dword [eax + 0x10]
test eax, eax
je 0x4241eb
mov eax, dword [ebx]
push ebx
call dword [eax + 0x14]
mov eax, dword [ebx]
mov esi, dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push ebx
call esi
mov ebx, dword [ebp - 0x80]
mov ecx, ebx
push edi
call fcn.00421af0
test al, al
jne 0x4242df
call fcn.00438c20
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4242d3
push 0x5c
push 0x4d0988
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.0040a7b0
push 3
push 0x4d09e8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0040a7b0
push 0x2b3
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x120]
call fcn.00406590
mov esi, eax
push str.AddClient:
push esi
mov byte [ebp - 4], 5
call fcn.00407430
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x424293
mov edi, dword [edi]
test edi, edi
mov eax, 0x4b5fd8
cmovne eax, edi
push eax
push esi
call fcn.004056a0
add esp, 8
call fcn.00438c20
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x120]
call fcn.00407560
lea ecx, [ebp - 0x40]
call fcn.00406e50
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.00406e50
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebx + 0x30]
call fcn.004272a0
lea ecx, [ebp - 0x78]
call fcn.004154b0
lea ecx, [ebp - 0x28]
call fcn.00406ea0
mov bl, 1
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x424327
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42431d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424347
push edx
push ecx
call fcn.0043b7c2
add esp, 8
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.0043ba78
mov esp, ebp
pop ebp
ret 0xc
call fcn.0046d258
int3