Function at 0x401510
Capabilities:
Terminate process

Disassembly:
mov eax, 0x2018
call fcn.00463f70
mov eax, dword [0x5f1cf8]
xor eax, esp
mov dword [esp + 0x2014], eax
push 0x400
push 0x400
lea eax, [esp + 8]
push 0x4bf01e
push eax
call fcn.0040b860
lea ecx, [esp + 0x10]
push str.CREATE_TABLE__t1___
push ecx
call fcn.0040bb70
add esp, 0x18
cmp byte [0x62aec0], 0
je 0x401590
lea edx, [esp]
push str.id_serial
push edx
call fcn.0040bb70
add esp, 8
cmp dword [0x4dc014], 0
jne 0x40157f
cmp dword [0x4dc018], 0
je 0x401590
lea eax, [esp]
push 0x4bf160
push eax
call fcn.0040bb70
add esp, 8
cmp byte [0x62aec1], 0
je 0x4015d6
lea ecx, [esp]
push str.id_varchar_32__primary_key
push ecx
call fcn.0040bb70
add esp, 8
cmp dword [0x4dc014], 0
jne 0x4015c5
cmp dword [0x4dc018], 0
jne 0x4015c5
cmp byte [0x62aec1], 0
je 0x4015d6
lea edx, [esp]
push 0x4bf160
push edx
call fcn.0040bb70
add esp, 8
mov eax, dword [0x62ae24]
test eax, eax
push esi
je 0x40166e
xor esi, esi
test eax, eax
jbe 0x401646
lea ebx, [ebx]
test esi, esi
je 0x401606
lea eax, [esp + 4]
push 0x4bf160
push eax
call fcn.0040bb70
add esp, 8
push esi
push str.id_d_varchar_32__unique_key
lea ecx, [esp + 0x1c]
push 0x2004
push ecx
call fcn.00463e8c
add esp, 0x10
cmp eax, 0x2004
jg 0x4016b4
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 8]
push eax
call fcn.0040bb70
add esi, 1
add esp, 8
cmp esi, dword [0x62ae24]
jb 0x4015f0
cmp dword [0x4dc014], 0
jne 0x40165c
cmp dword [0x4dc018], 0
je 0x4017cd
lea ecx, [esp + 4]
push 0x4bf160
push ecx
call fcn.0040bb70
add esp, 8
mov eax, dword [0x4dc014]
test eax, eax
je 0x401733
mov esi, 1
cmp eax, esi
jb 0x401733
jmp 0x401690
cmp dword [0x62aec4], 0
push esi
je 0x4016d1
push esi
push str.intcol_d_INT_32___INDEX_intcol_d_
lea edx, [esp + 0x20]
push 0x2004
push edx
call fcn.00463e8c
add esp, 0x14
jmp 0x4016e8
push str.Memory_Allocation_error_in_create_table_n
call fcn.00463ceb
add eax, 0x40
push eax
call fcn.00463b1e
add esp, 8
push 1
call fcn.00463a63
push str.intcol_d_INT_32_
lea eax, [esp + 0x1c]
push 0x2004
push eax
call fcn.00463e8c
add esp, 0x10
cmp eax, 0x2004
jg 0x4016b4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 8]
push edx
call fcn.0040bb70
add esp, 8
cmp esi, dword [0x4dc014]
jb 0x401712
cmp dword [0x4dc018], 0
jbe 0x401724
lea eax, [esp + 4]
push 0x4bf160
push eax
call fcn.0040bb70
add esp, 8
add esi, 1
cmp esi, dword [0x4dc014]
jbe 0x401690
mov eax, dword [0x4dc018]
test eax, eax
je 0x4017cd
mov esi, 1
cmp eax, esi
jb 0x4017cd
lea ecx, [ecx]
cmp dword [0x62aec8], 0
push esi
je 0x401774
push esi
push str.charcol_d_VARCHAR_128___INDEX_charcol_d_
lea ecx, [esp + 0x20]
push 0x2004
push ecx
call fcn.00463e8c
add esp, 0x14
jmp 0x40178b
push str.charcol_d_VARCHAR_128_
lea edx, [esp + 0x1c]
push 0x2004
push edx
call fcn.00463e8c
add esp, 0x10
cmp eax, 0x2004
jg 0x401836
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 8]
push ecx
call fcn.0040bb70
add esp, 8
cmp esi, dword [0x4dc018]
jae 0x4017c2
lea edx, [esp + 4]
push 0x4bf160
push edx
call fcn.0040bb70
add esp, 8
add esi, 1
cmp esi, dword [0x4dc018]
jbe 0x401750
lea eax, [esp + 4]
push 0x4bf054
push eax
call fcn.0040bb70
push 0x38
push 0x18
call fcn.0040b700
mov ecx, dword [esp + 0x18]
add ecx, 1
push 0x38
push ecx
mov esi, eax
call fcn.0040b700
mov dword [esi], eax
mov edx, dword [esp + 0x20]
add edx, 1
mov dword [esi + 4], edx
mov byte [esi + 8], 4
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call fcn.0040bba0
lea edx, [esp + 0x24]
push edx
call fcn.0040bb50
mov ecx, dword [esp + 0x203c]
add esp, 0x24
mov eax, esi
pop esi
xor ecx, esp
call fcn.00463f56
add esp, 0x2018
ret
push str.Memory_Allocation_error_in_creating_table_n
jmp 0x4016b9