Function at 0x687d2410
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov edx, dword fs:[0x18]
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0x48]
mov dword [esp + 4], 8
add eax, 0x72
mov dword [esp + 8], eax
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call sub.kernel32.dll_HeapAlloc
mov edx, dword [esi + 0x54]
mov dword [ebp - 0x3c], eax
sub esp, 0xc
add eax, dword [edx + 0x48]
mov dword [eax + 0x10], 0
mov ebx, eax
mov dword [eax], 0x79616c70
mov dword [eax + 4], 0xb0013
mov dword [eax + 0xc], edi
mov dword [eax + 0x14], 0x1c
mov dword [eax + 0x18], 0x6c
mov dword [eax + 0x1c], 0x50
mov dword [eax + 0x20], 9
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0x20
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], 0x30
mov dword [eax + 0x44], 0xb
mov dword [eax + 0x48], 0
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call fcn.687d7e00
sub eax, 0x2000000
mov dword [ebx + 0x4c], eax
test byte [0x687da07c], 8
jne 0x687d2660
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call fcn.687d7e00
movzx edx, byte [0x687da07c]
mov dword [ebx + 0x5c], eax
and edx, 8
jne 0x687d2620
xor eax, eax
mov dword [ebx + 0x60], 0
mov word [ebx + 0x70], ax
mov eax, dword [ebp - 0x3c]
mov dword [ebx + 0x64], 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x34], 1
mov eax, dword [eax + 0x34]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], eax
test dl, dl
jne 0x687d25f0
lea eax, [ebp - 0x38]
mov dword [esp], 3
mov ecx, 0xea60
lea edx, [ebp - 0x34]
mov dword [esp + 8], eax
lea eax, [ebp - 0x3c]
mov dword [esp + 4], eax
mov eax, esi
call fcn.687d1d80
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x687d25ab
test byte [0x687da07c], 1
jne 0x687d25b8
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0xc], str.Name_Table_reply_received:_stub_n
mov dword [esp + 8], str.DP_MSG_ForwardPlayerCreation
mov dword [esp + 4], 0x687da07c
mov dword [esp], 0
call fcn.687d1cf0
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Sending_forward_player_request_with_0x_08x_n
mov dword [esp + 8], str.DP_MSG_ForwardPlayerCreation
mov dword [esp + 4], 0x687da07c
mov dword [esp], 3
call fcn.687d1cf0
jmp 0x687d2577
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Setting_second_magic_to_0x_08x_n
mov dword [esp + 8], str.DP_MSG_ForwardPlayerCreation
mov dword [esp + 4], 0x687da07c
mov dword [esp], 3
call fcn.687d1cf0
movzx edx, byte [0x687da07c]
and edx, 8
jmp 0x687d2524
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Setting_first_magic_to_0x_08x_n
mov dword [esp + 8], str.DP_MSG_ForwardPlayerCreation
mov dword [esp + 4], 0x687da07c
mov dword [esp], 3
call fcn.687d1cf0
jmp 0x687d24ee