Function at 0x41f280
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44fce6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x51a4
call fcn.004493f0
mov eax, dword [0x463858]
xor eax, esp
mov dword [esp + 0x51a0], eax
push ebx
push esi
push edi
mov eax, dword [0x463858]
xor eax, esp
push eax
lea eax, [esp + 0x51b8]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x2c], ebx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ecx, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], 0x1c4
mov dword [esp + 0x40], edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f2e6
sub ecx, edx
mov dword [esp + 0x44], ecx
push 1
lea ecx, [esp + 0x34]
push ecx
lea eax, [esp + 0x6c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx]
push 1
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x48]
push ecx
push str.SELECT_RDB_RELATION_NAME_FROM_RDB_RELATIONS_WHERE_UPPER__RDB_RELATION_NAME___UPPER____
mov ecx, ebx
mov dword [esp + 0x44], 0x1c4
mov dword [esp + 0x4c], 0x12c
call eax
test al, al
je 0x41f38c
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x41f39e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
push esi
push edi
push str.CREATE_TABLE__s____s__
push 0x270f
lea eax, [esp + 0x2aac]
push 0x2710
push eax
call fcn.004301be
mov eax, dword [ebx]
add esp, 0x18
mov eax, dword [eax]
mov ecx, ebx
call eax
test al, al
je 0x41f38c
mov eax, dword [ebx]
push 0
mov eax, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x2aa4]
push ecx
mov ecx, ebx
call eax
test al, al
mov eax, dword [ebx]
mov ecx, ebx
jne 0x41f394
call dword [eax + 8]
or eax, 0xffffffff
jmp 0x41f594
call dword [eax + 4]
xor eax, eax
jmp 0x41f594
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.004203e0
mov dword [esp + 0x14], eax
mov dword [esp + 0x51c0], 0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
mov eax, dword [ebx]
push 1
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x34]
push ecx
push 1
lea ecx, [esp + 0x48]
push ecx
push str.select__f.RDB_FIELD_NAME___from_rdb_relation_fields_f_left_join_rdb_fields_fs_on_fs.rdb_field_name__f.rdb_field_source__where_UPPER__f.rdb_relation_name___UPPER____
mov ecx, ebx
call eax
test al, al
je 0x41f6e8
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x41f4db
mov edi, edi
cmp byte [esp + 0x64], 0
lea ecx, [esp + 0x64]
je 0x41f424
jmp 0x41f410
mov al, byte [ecx]
cmp al, 0x41
jl 0x41f41e
cmp al, 0x5a
jg 0x41f41e
or al, 0x20
mov byte [ecx], al
inc ecx
cmp byte [ecx], 0
jne 0x41f410
lea ecx, [esp + 0x64]
mov al, byte [ecx]
cmp al, 9
jl 0x41f436
cmp al, 0xd
jle 0x41f43b
cmp al, 0x20
je 0x41f43b
inc ecx
jne 0x41f428
jmp 0x41f43e
mov byte [ecx], 0
cmp byte [esp + 0x64], 0
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
jne 0x41f45e
xor ecx, ecx
jmp 0x41f46e
lea ecx, [esp + 0x64]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f465
sub ecx, edx
push ecx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x50]
call fcn.00401520
mov dword [esp + 0x60], 1
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x51c4], 1
call fcn.004204d0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
call fcn.00420500
mov byte [esp + 0x51c0], 0
cmp dword [esp + 0x5c], 0x10
jb 0x41f4ca
push dword [esp + 0x48]
call fcn.0042fe33
add esp, 4
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax + 0x14]
call eax
test al, al
jne 0x41f400
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
lea eax, [esp + 0x38c]
mov ecx, eax
sub esi, ecx
lea ecx, [ecx]
mov cl, byte [esi + eax]
test cl, cl
je 0x41f505
mov byte [eax], cl
inc eax
lea ecx, [esp + 0x2a9b]
cmp eax, ecx
jne 0x41f4f0
mov byte [eax], 0
lea eax, [esp + 0x38c]
nop
push 0x2c
push eax
mov edi, eax
call fcn.00430920
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x41f52d
mov byte [eax], 0
inc eax
mov dword [esp + 0x1c], eax
mov cl, byte [edi]
test cl, cl
je 0x41f549
mov al, cl
cmp al, 9
jl 0x41f549
cmp al, 0xd
jle 0x41f541
cmp al, 0x20
jne 0x41f549
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x41f533
lea ebx, [edi + 1]
test ebx, ebx
je 0x41f561
mov al, byte [ebx]
cmp al, 9
jl 0x41f55e
cmp al, 0xd
jle 0x41f5ba
cmp al, 0x20
je 0x41f5ba
inc ebx
jne 0x41f550
mov esi, 0xfffffff8
mov dword [esp + 0x51c0], 0xffffffff
mov ecx, dword [esp + 0x14]
push ecx
push dword [ecx]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call fcn.0041fe50
push dword [esp + 0x14]
call fcn.0042fe33
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x51b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x51a0]
xor ecx, esp
call fcn.0042f36b
mov esp, ebp
pop ebp
ret 8
mov byte [ebx], 0
cmp byte [edi], 0
mov ecx, edi
je 0x41f5d8
mov al, byte [ecx]
cmp al, 0x41
jl 0x41f5d2
cmp al, 0x5a
jg 0x41f5d2
or al, 0x20
mov byte [ecx], al
inc ecx
cmp byte [ecx], 0
jne 0x41f5c4
cmp byte [edi], 0
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
jne 0x41f5f6
xor ecx, ecx
jmp 0x41f609
mov ecx, edi
lea edx, [ecx + 1]
jmp 0x41f600
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f600
sub ecx, edx
push ecx
push edi
lea ecx, [esp + 0x50]
call fcn.00401520
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041fc60
cmp dword [eax], esi
sete al
cmp dword [esp + 0x5c], 0x10
mov byte [esp + 0x13], al
jb 0x41f64b
push dword [esp + 0x48]
call fcn.0042fe33
mov al, byte [esp + 0x17]
add esp, 4
test al, al
je 0x41f6a6
push edi
push dword [esp + 0x24]
lea eax, [esp + 0x19c]
push str.ALTER_TABLE__s_ADD__s
push 0x1f3
push 0x1f4
push eax
mov byte [ebx], 0x20
call fcn.004301be
mov ebx, dword [esp + 0x44]
add esp, 0x18
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax]
call eax
test al, al
je 0x41f6e8
mov eax, dword [ebx]
push 0
mov eax, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x19c]
push ecx
mov ecx, ebx
call eax
test al, al
mov eax, dword [ebx]
mov ecx, ebx
je 0x41f6e5
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x41f510
mov dword [esp + 0x51c0], 0xffffffff
mov eax, dword [esp + 0x14]
push eax
push dword [eax]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call fcn.0041fe50
push dword [esp + 0x14]
call fcn.0042fe33
add esp, 4
xor eax, eax
jmp 0x41f594
call dword [eax + 8]
or esi, 0xffffffff
jmp 0x41f566