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

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff8
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edi
sub esp, 0x6c
mov eax, dword [ebx]
mov dword [ebp - 0x48], edi
mov edi, edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x34], eax
test byte [0x1001903c], 8
jne 0x10009e00
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0x78]
test eax, eax
je 0x1000a160
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10009d80
test edi, edi
je 0x1000a1a4
mov dword [ebp - 0x28], 8
cmp dword [edi], 0xffffffff
je 0x10009ddb
movzx eax, byte [0x1001903c]
mov dword [ebp - 0x2c], 0
test al, 8
jne 0x10009e58
mov eax, dword [sym.imp.ucrtbase.dll_calloc]
mov dword [esp + 4], 0x34
mov dword [esp], 1
mov dword [ebp - 0x44], eax
call eax
mov ebx, eax
test eax, eax
je 0x1000a16c
mov eax, dword [edi]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
mov dword [ebx], eax
lea eax, [ebx + 4]
call fcn.10003630
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
mov dword [ebx + 0x30], eax
test ecx, ecx
je 0x10009c20
lea eax, [ebx + 0x14]
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], ecx
mov dword [esp], 0xffffffff
call dword [sym.imp.kernel32.dll_DuplicateHandle]
sub esp, 0x1c
test eax, eax
jne 0x10009c20
test byte [0x1001903c], 2
jne 0x1000a000
nop
call fcn.1000dff0
mov dword [ebx + 0x2c], eax
test byte [0x1001903c], 8
jne 0x10009ea0
test byte [ebp - 0x24], 1
jne 0x10009c45
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0x1c]
add dword [eax + 0x2c], 1
mov dword [esp + 4], 0xc
mov dword [esp], 1
mov eax, dword [ebp - 0x44]
call eax
mov edx, eax
test eax, eax
je 0x1000a182
mov edx, dword [esi + 0x54]
mov dword [ebx + 0x18], 1
mov dword [eax + 8], ebx
mov dword [eax], 0
mov ecx, dword [edx + 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [eax + 4], ecx
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x14]
mov dword [edx], eax
mov edx, dword [esi + 0x54]
mov edx, dword [edx + 0x18]
mov dword [edx + 0x14], eax
mov ecx, dword [ebx + 0x28]
test ecx, ecx
jne 0x1000a108
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x10009ccd
mov edx, dword [ebp - 0x40]
mov dword [esp], edx
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x40]
mov dword [ebx + 0x24], eax
mov dword [esp + 8], edx
mov ecx, dword [ebp - 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sub.ucrtbase.dll_memcpy
mov edx, dword [ebp - 0x40]
mov dword [ebx + 0x28], edx
mov eax, dword [esi + 0x54]
mov edx, dword [eax + 0x30]
mov ecx, dword [edx + 0x20]
test ecx, ecx
je 0x10009d26
movd xmm0, dword [edi]
mov dword [ebp - 0x18], 0
movd xmm2, dword [ebp - 0x28]
movdqa xmm1, xmm0
punpckldq xmm1, xmm2
movq qword [ebp - 0x20], xmm1
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x14], eax
test byte [0x1001903c], 8
jne 0x10009f18
lea eax, [ebp - 0x20]
mov dword [esp], eax
call ecx
sub esp, 4
test eax, eax
mov dword [ebp - 0x2c], eax
js 0x10009ed0
mov eax, dword [esi + 0x54]
mov edx, dword [eax + 0x30]
mov edx, dword [edx + 0x14]
test edx, edx
je 0x10009d65
mov ecx, dword [edi]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x18], eax
test byte [0x1001903c], 8
jne 0x1000a0d0
lea eax, [ebp - 0x20]
mov dword [esp], eax
call edx
sub esp, 4
test eax, eax
mov dword [ebp - 0x2c], eax
js 0x1000a030
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1000a0b0
mov eax, dword [ebp - 0x2c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
test edi, edi
je 0x1000a1a4
mov ebx, dword [ebp - 0x24]
and ebx, 0x100
je 0x1000a148
mov eax, dword [edi]
cmp eax, 1
je 0x1000a078
cmp eax, 0x19a9d65b
je 0x1000a130
mov dword [ebp - 0x28], 9
mov ebx, 1
test dword [ebp - 0x24], 0x300
jne 0x10009dcf
test byte [0x1001903c], 2
jne 0x10009fc8
cmp dword [edi], 0xffffffff
mov dword [ebp - 0x24], ebx
jne 0x10009b7b
mov eax, dword [esi + 0x54]
mov ebx, dword [eax + 0x14]
test ebx, ebx
je 0x10009f60
mov eax, 1
lock xadd dword [0x10019038], eax
add eax, 1
mov dword [edi], eax
jmp 0x10009b7b
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0xc], str.__p_____p__p__p__p_0x_08lx_0x_08lx__u__n
mov dword [esp + 8], str.DP_IF_CreatePlayer
mov dword [esp + 4], 0x1001903c
mov dword [esp], 3
call fcn.10003740
jmp 0x10009b4a
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], str.__p_____p__p__u__n
mov dword [esp + 0x18], eax
mov dword [esp + 8], str.DP_CreatePlayer
mov dword [esp + 4], 0x1001903c
mov dword [esp], 3
call fcn.10003740
jmp 0x10009b91
mov eax, dword [edi]
mov dword [esp + 0xc], str.Created_player_id_0x_08lx_n
mov dword [esp + 8], str.DP_CreatePlayer
mov dword [esp + 4], 0x1001903c
mov dword [esp], 3
mov dword [esp + 0x10], eax
call fcn.10003740
jmp 0x10009c35
test byte [0x1001903c], 2
je 0x10009d70
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.100106a0
mov dword [esp + 0xc], str.Failed_to_create_player_with_sp:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.DP_IF_CreatePlayer
mov dword [esp + 4], 0x1001903c
mov dword [esp], 1
call fcn.10003740
jmp 0x10009d70
mov dword [esp + 0x18], 0
mov eax, dword [ebp - 0x28]
movd dword [esp + 0x10], xmm0
mov dword [esp + 0xc], str.Calling_SP_CreatePlayer_0x_08lx:_dwFlags:_0x_08lx_lpMsgHdr:__p_n
mov dword [esp + 8], str.DP_IF_CreatePlayer
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0x1001903c
mov dword [esp], 3
call fcn.10003740
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0x20]
jmp 0x10009d0a
mov dword [esp + 8], edi
mov eax, dword [ebp - 0x28]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.10011480
mov ecx, eax
mov dword [ebp - 0x2c], eax
movzx eax, byte [0x1001903c]
test ecx, ecx
jns 0x10009b89
test al, 2
je 0x10009d70
mov dword [esp], ecx
call fcn.100106a0
mov dword [esp + 0xc], str.Request_for_ID_failed:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.DP_IF_CreatePlayer
mov dword [esp + 4], 0x1001903c
mov dword [esp], 1
call fcn.10003740
jmp 0x10009d70
mov eax, dword [ebp - 0x24]
mov dword [esp + 0xc], str.unknown_dwFlags__0x_08lx_n
mov dword [esp + 8], str.DP_IF_CreatePlayer
mov dword [esp + 4], 0x1001903c
mov dword [esp], 1
mov dword [esp + 0x10], eax
call fcn.10003740
mov dword [ebp - 0x24], ebx
jmp 0x10009b72
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0xc], str.Cant_duplicate_player_msg_handle__p_n
mov dword [esp + 8], str.DP_CreatePlayer
mov dword [esp + 4], 0x1001903c
mov dword [esp], 1
mov dword [esp + 0x10], eax
call fcn.10003740
jmp 0x10009c20
test byte [0x1001903c], 2
je 0x10009d70
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.100106a0
mov dword [esp + 0xc], str.Failed_to_add_player_to_sys_group_with_sp:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.DP_IF_CreatePlayer
mov dword [esp + 4], 0x1001903c
mov dword [esp], 1
call fcn.10003740
jmp 0x10009d70
mov dword [ebp - 0x28], 0x88
mov ebx, pe_nt_image_headers32
test dword [ebp - 0x24], 0x300
jne 0x1000a158
movzx eax, byte [0x1001903c]
test al, 2
jne 0x10009fc8
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], 0
jmp 0x10009b89
mov eax, dword [edi]
mov edi, dword [ebp - 0x48]
mov dword [edi + 4], eax
mov dword [edi], esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
jmp fcn.100115b0
mov dword [esp + 0xc], str.Calling_SP_AddPlayerToGroup__sys_group__n
mov dword [esp + 8], str.DP_IF_CreatePlayer
mov dword [esp + 4], 0x1001903c
mov dword [esp], 3
call fcn.10003740
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 0x14]
jmp 0x10009d4c
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_free]
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
jmp 0x10009c9b
mov dword [ebp - 0x28], 0xb
mov ebx, 3
jmp 0x1000a084
mov dword [ebp - 0x28], 8
jmp 0x10009db9
mov dword [ebp - 0x24], ebx
jmp 0x10009b7b
mov dword [ebp - 0x2c], 0x88770140
jmp 0x10009d70
mov dword [esp + 4], 0xc
mov dword [esp], 1
mov eax, dword [ebp - 0x44]
call eax
mov edx, eax
mov dword [ebp - 0x24], edx
mov dword [esp], ebx
mov ebx, dword [sym.imp.ucrtbase.dll_free]
call ebx
mov edx, dword [ebp - 0x24]
mov dword [esp], edx
call ebx
mov dword [ebp - 0x2c], 0x88770028
jmp 0x10009d70
mov dword [ebp - 0x2c], 0x80070057
jmp 0x10009d70