Function at 0x407530
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x43f014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov word [ebp - 0x38], 0x34c1
movq xmm0, qword [esi + 6]
lea ebx, [esi + 6]
push edi
movq qword [ebp - 0x32], xmm0
mov edi, edx
movzx eax, word [esi + 4]
movq xmm0, qword [esi + 0x11]
mov word [ebp - 0x34], ax
movzx eax, word [ebx + 8]
mov word [ebp - 0x2a], ax
mov al, byte [ebx + 0xa]
mov byte [ebp - 0x28], al
movzx eax, word [esi + 0x19]
mov word [ebp - 0x1f], ax
mov al, byte [esi + 0x1b]
mov byte [ebp - 0x1d], al
lea eax, [ebp - 0x78]
push ebx
push eax
mov byte [ebp - 0x36], 4
movq qword [ebp - 0x27], xmm0
mov byte [ebp - 0xe], 1
call fcn.004039c0
test al, al
je 0x4077c2
cmp byte [ebp - 0x58], 0
je 0x4077c2
mov eax, dword [esi + 0x20]
cmp eax, dword [ebp - 0x48]
jne 0x4077c2
mov eax, dword [esi + 0x24]
cmp eax, dword [ebp - 0x44]
jne 0x4077c2
mov eax, dword [esi + 0x28]
cmp eax, dword [ebp - 0x40]
jne 0x4077c2
mov eax, dword [esi + 0x2c]
cmp eax, dword [ebp - 0x3c]
jne 0x4077c2
push ebx
push str.SELECT_sno__numb_bloc_code_FROM_MEMB_INFO_WHERE_memb___id_s
push 0x43ff40
call fcn.00408430
add esp, 0xc
test al, al
je 0x4077a2
push dword [0x43ff4c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4077a2
push 0xe
lea eax, [ebp - 0x1c]
push eax
push str.sno__numb
call fcn.00408740
push str.bloc_code
call fcn.00408680
cmp eax, 0xffffffff
jne 0x407630
or eax, eax
jmp 0x407641
shl eax, 0xd
add eax, 0x440b6e
push eax
call fcn.0041737b
add esp, 4
push dword [0x43ff4c]
mov byte [ebp - 0xd], al
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ff4c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx eax, word [ebp - 0x50]
push ebx
mov word [ebp - 0xc], ax
movzx eax, word [ebp - 0x4c]
push 0x50cd24
push 0x50cd8c
mov word [ebp - 0xa], ax
mov al, byte [ebp - 0x4a]
push 0x50cd58
mov byte [ebp - 8], al
mov al, byte [ebp - 0x49]
push str.SELECT__s_FROM__s_WHERE__s_s
push 0x43ff40
mov byte [ebp - 7], al
call fcn.00408430
add esp, 0x18
test al, al
je 0x407780
push dword [0x43ff4c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x407780
push 0x50cd58
call fcn.00408680
cmp eax, 0xffffffff
jne 0x4076cd
or eax, eax
jmp 0x4076de
shl eax, 0xd
add eax, 0x440b6e
push eax
call fcn.0041737b
add esp, 4
push dword [0x43ff4c]
mov word [ebp - 6], ax
mov eax, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call eax
mov eax, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ff4c]
call eax
movzx eax, byte [ebp - 0x37]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004095c0
movzx eax, word [esi + 4]
sub esp, 0x40
movups xmm0, xmmword [ebp - 0x78]
mov word [ebp - 0x5c], ax
imul eax, edi, 0x70
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xffffffff
movzx eax, word [eax + 0x50cf5c]
mov word [ebp - 0x5a], ax
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov eax, esp
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x68]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x58]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [eax + 0x30], xmm0
call fcn.00403b80
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c25d
mov esp, ebp
pop ebp
ret
push dword [0x43ff4c]
mov eax, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call eax
mov eax, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43ff4c]
call eax
mov byte [ebp - 0xe], 2
jmp 0x4077c6
push dword [0x43ff4c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43ff4c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0xe], 2
jmp 0x4077c6
mov byte [ebp - 0xe], 4
movzx eax, byte [ebp - 0x37]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004095c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c25d
mov esp, ebp
pop ebp
ret