Function at 0x87ff00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0xa688d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0xce1d00]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ebx + 8]
mov eax, dword [eax + 0x568]
push ecx
lea ecx, [eax + 0x6724]
call fcn.004c71f0
mov edx, dword [ebx]
mov edi, dword [eax + 0x18]
push edx
mov ecx, 0xce48a0
call fcn.004aad80
mov dword [esp + 0x14], eax
call fcn.00626140
mov ebp, eax
mov dword [esp + 0x2c], ebp
mov byte [ebp], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x14]
mov edx, dword [edi + 8]
push 0x10
push 0
push ecx
push edx
push str.SkillMasterInfo
push str.SkillStrings
mov ecx, 0xdacba0
mov dword [esp + 0x3c], 0
call fcn.008e2ac0
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00417090
mov ecx, dword [esi + 0x280]
add esp, 0x10
push eax
call fcn.008a7fa0
push ebp
mov dword [esp + 0x28], 0xffffffff
call fcn.00626120
add esp, 4
call fcn.00626140
mov ebp, eax
mov dword [esp + 0x2c], ebp
mov byte [ebp], 0
movsx ecx, word [edi + 0x30]
push 0
push 1
push 0
push ecx
push str.MasterPoint
push str.SkillMasterUIParams
mov ecx, 0xdacba0
mov dword [esp + 0x3c], 1
call fcn.008e2b00
push eax
lea edx, [esp + 0x40]
push edx
call fcn.00417090
mov ecx, dword [esi + 0x284]
add esp, 0xc
push eax
call fcn.0089d0e0
push ebp
mov dword [esp + 0x28], 0xffffffff
call fcn.00626120
mov eax, dword [esi + 0x280]
add eax, 0x5c
add esp, 4
mov dword [esi + 0x290], 0
cmp word [eax + 2], 0x23
jle 0x880046
mov dword [esi + 0x290], 0x10
cmp word [eax + 2], 0x32
jle 0x880057
mov dword [esi + 0x290], 0x20
mov ecx, dword [esi + 0x288]
push 0
push 1
push 0
add ebx, 0xc
push ebx
call fcn.0089d0e0
movzx ecx, word [esi + 0x290]
add cx, word [0xc7d1ba]
movzx eax, word [0xc7d1b8]
mov word [esp + 0x2e], cx
mov ecx, dword [esi + 0x284]
mov word [esp + 0x2c], ax
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x2c]
push eax
call edx
movzx ecx, word [esi + 0x290]
add cx, word [0xc7d1b6]
movzx eax, word [0xc7d1b4]
mov word [esp + 0x2e], cx
mov ecx, dword [esi + 0x288]
mov word [esp + 0x2c], ax
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x2c]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x28c]
push eax
call fcn.008b95d0
movzx ecx, word [0xc7d1bc]
mov dx, word [esi + 0x290]
add dx, word [0xc7d1be]
mov word [esp + 0x2c], cx
mov ecx, dword [esi + 0x28c]
mov word [esp + 0x2e], dx
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
lea edx, [esp + 0x2c]
push edx
call eax
mov edi, 0xc7d19e
lea ebx, [esi + 0x274]
lea ebx, [ebx]
mov dx, word [esi + 0x290]
mov cx, word [edi - 2]
add dx, word [edi]
mov word [esp + 0x2c], cx
mov ecx, dword [ebx]
mov word [esp + 0x2e], dx
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
lea edx, [esp + 0x2c]
push edx
call eax
add edi, 4
add ebx, 4
cmp edi, 0xc7d1aa
jl 0x880120
mov eax, dword [esi]
mov ecx, 0x12a
mov edx, 0x150
add dx, word [esi + 0x290]
mov word [esp + 0x18], cx
lea ecx, [esp + 0x18]
mov word [esp + 0x1a], dx
mov edx, dword [eax + 0x38]
push ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc4]
push 0
mov ecx, esi
call edx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4