Function at 0x44b280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d7433
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x52cc80]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x52cc80]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
cmp dword [edi + 0x20], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], eax
je 0x44b32d
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x1c], str.Could_not_share_the_server_twice
call fcn.004acc08
mov dword [esp + 0x98], 0
mov dword [esp + 0x6c], 0x513be8
mov dword [esp + 0x98], 1
mov dword [esp + 0x6c], 0x5142c8
mov dword [esp + 0x98], 0xffffffff
push 0x516cb4
lea eax, [esp + 0x70]
push eax
call fcn.004b183b
lea eax, [esp + 0x6c]
push eax
call fcn.0044a820
movq xmm0, qword [eax]
movq qword [esp + 0x48], xmm0
movq xmm0, qword [eax + 8]
lea edx, [esp + 0x48]
lea ecx, [esp + 0x58]
movq qword [esp + 0x50], xmm0
call fcn.0044a6e0
mov dword [esp + 0x9c], 2
push eax
lea ecx, [esp + 0x34]
call fcn.0044cc80
add esp, 8
mov byte [esp + 0x98], 4
cmp dword [esp + 0x68], 8
jb 0x44b38c
push dword [esp + 0x54]
call fcn.004a9925
add esp, 4
mov ecx, dword [0x531d90]
xor eax, eax
mov word [esp + 0x54], ax
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
mov esi, 0x15
idiv esi
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
cmp edx, 0x12
jne 0x44b3f8
xor ebx, ebx
lea edi, [esp + 0x6c]
mov eax, ecx
cdq
lea esi, [ebx + 1]
idiv esi
sub eax, ebx
push eax
push 0x50f2bc
mov dword [edi], eax
call fcn.004aa9bb
mov ebx, esi
add esp, 8
lea edi, [edi + 4]
cmp ebx, 6
jge 0x44b3f0
mov ecx, dword [0x531d90]
jmp 0x44b3c4
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x40], 8
movq xmm0, qword [esp + 0x44]
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
push 0
movq qword [ebx], xmm0
movq xmm0, qword [esp + 0x54]
push 1
push 0
movq qword [ebx + 8], xmm0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [edi + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], eax
cmp eax, ecx
je 0x44b44c
test ecx, ecx
je 0x44b449
cmp ecx, 0xffffffff
je 0x44b449
push ecx
call esi
mov eax, dword [esp + 0x14]
mov dword [edi + 0x20], eax
cmp dword [edi + 0x20], 0
jne 0x44b49f
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x18], str.Failed_to_create_sync_event
call fcn.004acc08
mov byte [esp + 0x98], 5
mov dword [esp + 0x6c], 0x513be8
mov byte [esp + 0x98], 6
mov dword [esp + 0x6c], 0x5142c8
mov byte [esp + 0x98], 4
push 0x516cb4
lea eax, [esp + 0x70]
push eax
call fcn.004b183b
push 0
push 0
push SysReAllocStringLen
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x34], 0
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x44b51a
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x18], str.Duplicate_failure_0
call fcn.004acc08
mov byte [esp + 0x98], 7
mov dword [esp + 0x6c], 0x513be8
mov byte [esp + 0x98], 8
mov dword [esp + 0x6c], 0x5142c8
mov byte [esp + 0x98], 4
push 0x516cb4
lea eax, [esp + 0x70]
push eax
call fcn.004b183b
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov byte [esp + 0x98], 9
push 0
push 0
push 0x40000000
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x34]
mov dword [esp + 0x30], 0
push dword [edi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x44b5a5
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x18], str.Duplicate_failure_1
call fcn.004acc08
mov byte [esp + 0x98], 0xa
mov dword [esp + 0x6c], 0x513be8
mov byte [esp + 0x98], 0xb
mov dword [esp + 0x6c], 0x5142c8
mov byte [esp + 0x98], 9
push 0x516cb4
lea eax, [esp + 0x70]
push eax
call fcn.004b183b
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov byte [esp + 0x98], 0xc
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x10], eax
mov eax, dword [0x531d90]
imul eax, eax
mov dword [ebx + 0x14], 0
and eax, 0x8000000f
jns 0x44b5d7
dec eax
or eax, 0xfffffff0
inc eax
cmp eax, 5
jne 0x44b620
push 0x28
call fcn.004a90f9
add esp, 4
mov ebx, eax
xor esi, esi
lea ebx, [ebx]
call fcn.004aa2d7
add eax, dword [0x531d90]
inc esi
mov dword [ebx + esi*4 - 4], eax
cmp esi, 0xa
jl 0x44b5f0
mov eax, dword [ebx + 0x24]
push ebx
mov dword [0x531d90], eax
call fcn.004aa18b
mov ebx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0
mov eax, dword [edi + 0x14]
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], 0
test eax, eax
je 0x44b654
cmp eax, 0xffffffff
je 0x44b64d
push eax
call esi
mov dword [edi + 0x14], 0
mov eax, dword [edi + 8]
test eax, eax
je 0x44b66a
cmp eax, 0xffffffff
je 0x44b663
push eax
call esi
mov dword [edi + 8], 0
mov dword [esp + 0x98], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x44b688
push dword [esp + 0x2c]
call fcn.004a9925
add esp, 4
xor eax, eax
mov word [esp + 0x2c], ax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov eax, ebx
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004a992a
mov esp, ebp
pop ebp
ret 8