Function at 0x424830
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac7d1
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x4ef6d4]
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 esi, ecx
mov dword [ebp - 0x78], esi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x58]
push ebx
push str.LoadPluginItem_failed:
push eax
call fcn.0041ef80
add esp, 0xc
push ebx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.00423840
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 1
jne 0x4248a6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00406ea0
jmp 0x4249b2
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 0x4248cf
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], al
call fcn.00406ea0
jmp 0x4249b2
add ebx, 0x18
mov ecx, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x4248dc
mov ecx, dword [ebx]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42499c
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x88], 0
push ecx
push 1
call eax
mov esi, eax
mov dword [ebp - 0x74], esi
test esi, esi
je 0x42499c
push 0x48
call fcn.0043cef2
mov edi, eax
add esp, 4
mov dword [ebp - 0x80], edi
test edi, edi
je 0x424977
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.0046b3e0
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 - 0x74]
jmp 0x424979
xor edi, edi
lea ecx, [edi + 0xc]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x84], ecx
mov byte [ebp - 4], 2
test ecx, ecx
jne 0x424a89
lea ecx, [ebp - 0x84]
call fcn.00415510
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 0x424a82
call fcn.0043a380
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x424a82
push 0x5c
push 0x4c2d10
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040a7c0
push 3
push 0x4c2d70
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.0040a7c0
push 0x120
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, 0x4b6b50
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.0043a380
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 0x424c45
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov dword [ebp - 0x48], 0
cmovae eax, dword [ebp - 0x58]
xor edx, edx
mov word [eax], dx
mov eax, dword [ebp - 0x7c]
mov dword [ecx], esi
mov dword [ecx + 0x1c], eax
lea eax, [ebp - 0x28]
add ecx, 4
push eax
call fcn.00421310
lea ecx, [edi + 0x2c]
cmp ecx, ebx
je 0x424acd
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
jb 0x424ac6
mov ebx, dword [ebx]
push eax
push ebx
call fcn.0040a7c0
mov ecx, dword [ebp - 0x78]
lea ebx, [edi + 0xc]
mov al, byte [ebp + 0xc]
mov byte [ebx + 0x38], al
mov eax, dword [esi]
push dword [ecx]
push esi
call dword [eax + 0xc]
cmp byte [ebp + 0x10], 0
je 0x424b08
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
test eax, eax
je 0x424b08
mov eax, dword [esi]
push esi
call dword [eax + 0x14]
mov eax, dword [esi]
mov esi, dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push dword [ebp - 0x74]
call esi
mov ecx, dword [ebp - 0x78]
lea esi, [ebx + 4]
push esi
call fcn.00422290
test al, al
jne 0x424c30
call fcn.0043a380
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x424bf5
push 0x5c
push 0x4c28d0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], al
call fcn.0040a7c0
push 3
push 0x4c2930
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.0040a7c0
push 0x2ab
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 dword [ebp - 0x74], eax
push str.AddClient:
push eax
mov byte [ebp - 4], 5
call fcn.00407430
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x424bb2
mov esi, dword [esi]
test esi, esi
mov eax, 0x4b6b50
cmovne eax, esi
mov esi, dword [ebp - 0x74]
push eax
push esi
call fcn.004056a0
add esp, 8
call fcn.0043a380
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
mov ecx, dword [ebp - 0x78]
add ecx, 0x3c
mov eax, dword [ecx + 4]
cmp dword [ecx + 8], eax
je 0x424c23
mov dword [eax], 0
mov dword [eax + 4], 0
test edi, edi
je 0x424c18
lock inc dword [edi + 4]
mov dword [eax], ebx
mov dword [eax + 4], edi
add dword [ecx + 4], 8
jmp 0x424c30
lea edx, [ebp - 0x84]
push edx
push eax
call fcn.0041f6a0
lea ecx, [ebp - 0x84]
call fcn.00415510
lea ecx, [ebp - 0x28]
call fcn.00406ea0
mov bl, 1
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x424c7b
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424c71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424c9b
push edx
push ecx
call fcn.0043cf22
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.0043d1d8
mov esp, ebp
pop ebp
ret 0xc
call fcn.0046e938
int3