Function at 0x4023e0
Capabilities:
Terminate process

Disassembly:
mov eax, 0x401c
call fcn.00463f70
mov eax, dword [0x5f1cf8]
xor eax, esp
mov dword [esp + 0x4018], eax
mov eax, dword [esp + 0x4024]
push ebp
mov ebp, dword [esp + 0x4024]
push esi
push edi
push ebp
push str.CREATE_SCHEMA___s_
lea edx, [esp + 0x24]
push 0x2004
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
call fcn.00463e8c
add esp, 0x10
cmp dword [0x62ae5c], 2
mov esi, eax
jl 0x402441
push str.Loading_Pre_data_n
call fcn.004633c8
add esp, 4
push ebx
lea edi, [esp + 0x20]
call fcn.00402180
add esp, 4
test eax, eax
je 0x40247d
push ebx
call fcn.00409bc0
push eax
mov eax, dword [0x62af30]
push ebp
push eax
push str._s:_Cannot_create_schema__s_:__s_n
call fcn.00463ceb
add eax, 0x40
push eax
call fcn.00463b1e
add esp, 0x14
push 1
call fcn.00463a63
cmp byte [0x62aebc], 0
je 0x4024f2
push ebp
push str.use__s__n
call fcn.004633c8
add esp, 8
mov eax, dword [esp + 0x14]
xor ebp, ebp
cmp eax, ebp
je 0x402535
mov eax, dword [eax]
push eax
push str.set_storage_engine__s_
lea ecx, [esp + 0x24]
push 0x2004
push ecx
call fcn.00463e8c
push ebx
mov esi, eax
lea edi, [esp + 0x30]
call fcn.00402180
add esp, 0x14
test eax, eax
je 0x402535
push ebx
call fcn.00409bc0
mov edx, dword [0x62af30]
push eax
push edx
push str._s:_Cannot_set_default_engine:__s_n
call fcn.00463ceb
add eax, 0x40
push eax
call fcn.00463b1e
add esp, 0x10
jmp 0x402476
cmp dword [0x62ae5c], 3
jl 0x40250d
lea ecx, [esp + 0x1c]
push ecx
push str._s__n
call fcn.004633c8
add esp, 8
push ebp
push ebx
call fcn.004092a0
test eax, eax
je 0x402494
push ebx
call fcn.00409bc0
mov edx, dword [0x62af30]
push eax
push ebp
push edx
push str._s:_Cannot_select_schema__s:__s_n
jmp 0x402465
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x4025fa
lea esp, [esp]
mov esi, dword [ebp + 4]
test esi, esi
je 0x4025fa
cmp byte [0x62aec2], 0
je 0x40257c
mov eax, dword [esp + 0xc]
cmp dword [0x62ae60], eax
jne 0x40257c
mov ecx, dword [esp + 0x10]
cmp dword [0x62ae64], ecx
je 0x4025fa
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4025d6
mov eax, dword [eax + 8]
test eax, eax
je 0x4025d6
cmp byte [ebp + 8], 4
jne 0x4025d6
mov edx, dword [ebp]
push eax
push edx
push str._s__s
lea eax, [esp + 0x202c]
push 0x2004
push eax
call fcn.00463e8c
lea eax, [esp + 0x2034]
add esp, 0x14
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4025c0
sub eax, edx
mov esi, eax
lea edi, [esp + 0x2020]
jmp 0x4025d9
mov edi, dword [ebp]
push ebx
call fcn.00402180
add esp, 4
test eax, eax
jne 0x402629
add dword [esp + 0xc], 1
mov ebp, dword [ebp + 0x14]
adc dword [esp + 0x10], eax
test ebp, ebp
jne 0x402550
cmp byte [0x62aec2], 0
je 0x402659
mov ecx, dword [esp + 0x10]
cmp dword [0x62ae64], ecx
jb 0x402659
ja 0x40261d
mov edx, dword [esp + 0xc]
cmp dword [0x62ae60], edx
jbe 0x402659
mov eax, dword [esp + 0x18]
mov ebp, dword [eax + 0x14]
jmp 0x402541
push ebx
call fcn.00409bc0
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
push eax
mov eax, dword [0x62af30]
push ecx
push edx
push eax
push str._s:_Cannot_run_query__.s_ERROR_:__s_n
call fcn.00463ceb
add eax, 0x40
push eax
call fcn.00463b1e
add esp, 0x18
jmp 0x402476
mov ecx, dword [esp + 0x4024]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00463f56
add esp, 0x401c
ret