Function at 0x406220
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x410040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x20], edx
xorps xmm0, xmm0
mov byte [ebp - 7], 0
movups xmmword [ebp - 0x17], xmm0
xor edx, edx
mov dword [ebp - 0x1c], ebx
movq xmm0, qword [ebx + 6]
movzx eax, word [ebx + 4]
push esi
lea esi, [ebx + 6]
mov word [ebp - 0x14], ax
movzx eax, word [esi + 8]
mov ecx, esi
mov word [ebp - 0xa], ax
mov al, byte [esi + 0xa]
push edi
mov word [ebp - 0x18], 0x12c1
lea edi, [ecx + 1]
mov byte [ebp - 0x16], 0xf1
movq qword [ebp - 0x12], xmm0
mov byte [ebp - 8], al
mov byte [ebp - 7], 1
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406280
sub ecx, edi
je 0x4062f5
nop dword [eax + eax]
mov al, byte [esi + edx]
cmp al, 0x61
jl 0x4062ce
cmp al, 0x7a
jle 0x4062e2
push 0x12
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
call fcn.00408a80
lea eax, [ebx + 0x11]
push eax
push esi
push str._AccountInfo__Account_create_error_1__Account:__s__password:__s_
push 1
call fcn.00409690
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409857
mov esp, ebp
pop ebp
ret
cmp al, 0x41
jl 0x4062d6
cmp al, 0x5a
jle 0x4062e2
cmp al, 0x30
jl 0x4062de
cmp al, 0x39
jle 0x4062e2
cmp al, 0x2d
jne 0x40629b
mov eax, esi
inc edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4062e8
sub eax, edi
cmp edx, eax
jb 0x406290
mov esi, dword [sym.imp.ODBC32.dll_SQLBindParameter]
lea eax, [ebp - 0x12]
push 0x4d9300
push 0
push eax
push 0
push 0xb
push 0xc
push 1
push 1
push 1
push dword [0x41054c]
mov dword [0x4d9300], 0xfffffffd
call esi
push str.SELECT_memb___id_FROM_MEMB_INFO_WHERE_lower_memb___id_lower____COLLATE_Latin1_General_BIN
push 0x410540
call fcn.00407810
add esp, 8
test al, al
je 0x40636b
push dword [0x41054c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x40636b
push dword [0x41054c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x41054c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x40646c
push dword [0x41054c]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call edi
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x41054c]
call ebx
mov eax, dword [ebp - 0x1c]
push 0x4d9300
push 0
add eax, 6
mov dword [0x4d9300], 0xfffffffd
push eax
push 0
push 0xb
push 0xc
push 1
push 1
push 1
push dword [0x41054c]
call esi
mov eax, dword [ebp - 0x1c]
push 0x4d9304
push 0
add eax, 0x11
mov dword [0x4d9304], 0xfffffffd
push eax
push 0
push 0xb
push 0xc
push 1
push 1
push 2
push dword [0x41054c]
call esi
push str.EXEC_WZ_CREATE_ACCOUNT____
push 0x410540
call fcn.00407810
add esp, 8
test al, al
je 0x406440
push dword [0x41054c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x406440
push 0x41116e
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov byte [ebp - 7], al
push dword [0x41054c]
call edi
push 2
push dword [0x41054c]
call ebx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + 0x11]
push eax
lea eax, [ecx + 6]
push eax
push str._AccountInfo__Account_create__Account:__s__password:__s_
push 3
jmp 0x406464
push dword [0x41054c]
call edi
push 2
push dword [0x41054c]
call ebx
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + 0x11]
push eax
lea eax, [ecx + 6]
push eax
push str._AccountInfo__Account_create_error_2__Account:__s__password:__s_
push 1
call fcn.00409690
add esp, 0x10
movzx eax, byte [ebp - 0x17]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
call fcn.00408a80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409857
mov esp, ebp
pop ebp
ret