Function at 0x4b8430
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519559
mov eax, dword fs:[0]
push eax
sub esp, 0x114
push ebx
push esi
push edi
mov eax, dword [0x57b728]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x28], edi
mov ecx, dword [0x57d0f8]
mov eax, dword [ecx]
call dword [eax + 0x180]
mov esi, eax
test esi, esi
je 0x4b847d
cmp byte [esi + 0x18], 0
jne 0x4b8496
mov edx, dword [edi]
push 0
push str.The_connection_to_server_must_be_alive_to_import_skills_definition.
mov ecx, edi
call dword [edx + 0x108]
push 0x10
call dword [sym.imp.USER32.dll_MessageBeep]
lea ecx, [ebp - 0x120]
call fcn.004de130
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], 0
mov dword [ebp - method.ImportSQLEditor.virtual_0], vtable.ImportSQLEditor.0
call fcn.004d2cf0
mov dword [ebp - 0x70], vtable.Button.0
mov dword [ebp - 0x74], str.Skills
mov byte [ebp - 0x64], 0
push dword [edi + 0x14]
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 1
call fcn.004b62d0
test al, al
je 0x4b86e0
lea ecx, [ebp - 0x120]
call fcn.004de8b0
cmp eax, 1
jne 0x4b86e0
mov al, byte [ebp - 0x64]
push str.SELECT_Count___FROM_PS_GameDefs.dbo.Skills_WHERE_SkillLevel__100
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x11], al
mov eax, dword [esi]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x4b870b
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x4b870b
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x4b8558
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0x1c]
mov ecx, eax
mov dword [ebp - 0x18], eax
jmp 0x4b855d
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov eax, dword [edi]
push ecx
push 0
mov ecx, edi
call dword [eax + 0x10c]
mov eax, dword [esi]
push str.SELECT__FROM__PS_GameDefs_._dbo_._Skills__WHERE_SkillLevel__100_ORDER_BY_SkillID_SkillLevel
lea ecx, [ebp - 0x24]
push ecx
mov ecx, esi
call dword [eax + 0x24]
mov byte [ebp - 4], 4
xor ebx, ebx
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi]
cmp ebx, ecx
jge 0x4b86a5
push ecx
push ebx
mov ecx, edi
call dword [eax + 0x10c]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4b8690
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x4b8690
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4b85ef
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push str.SkillID
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x20]
mov esi, eax
mov dword [ebp - 0x1c], esi
test ecx, ecx
je 0x4b85f4
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [eax]
push str.SkillName
mov ecx, eax
call dword [edx + 0x10]
jmp 0x4b85f6
xor esi, esi
mov dword [ebp - 0x1c], esi
xor eax, eax
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x60]
call fcn.00417cd0
mov ecx, dword [edi + 0xa8]
push esi
mov byte [ebp - 4], 5
call fcn.0043a4f0
mov esi, eax
test esi, esi
jne 0x4b865c
push 0xf0
call fcn.004efd54
mov ecx, eax
add esp, 4
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 6
test ecx, ecx
je 0x4b864a
mov eax, dword [edi + 0xa8]
push 1
push dword [eax + 0x20]
mov eax, dword [ebp - 0x1c]
dec eax
push eax
call fcn.004390b0
mov esi, eax
jmp 0x4b864c
xor esi, esi
mov ecx, dword [edi + 0xa8]
push esi
mov eax, dword [ecx]
mov byte [ebp - 4], 5
call dword [eax + 0x20]
cmp byte [ebp - 0x11], 0
je 0x4b866e
lea eax, [ebp - 0x60]
push eax
lea ecx, [esi + 0xc]
call fcn.00417e10
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x58]
call fcn.0043a8e0
lea ecx, [ebp - 0x60]
mov byte [esi + 0x58], 1
mov byte [ebp - 4], 4
call fcn.00417dd0
inc ebx
jmp 0x4b8580
push 0x562bf0
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 0
call fcn.004eff77
push 0
push 0
mov ecx, edi
call dword [eax + 0x10c]
lea ecx, [edi + 0xac]
call fcn.004b90a0
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 0x130]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0040e860
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0040e860
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x70], vtable.Control32.0
call fcn.004de220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x562bf0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 0
call fcn.004eff77
mov ecx, dword [ebp - 0x28]
push 0
mov eax, dword [ecx]
push str.The_SQL_request_failed_to_execute.
call dword [eax + 0x108]
push 0x10
call dword [sym.imp.USER32.dll_MessageBeep]
mov eax, 0x4b86e0
ret