Function at 0x407420
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x43c040]
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.004039e0
test al, al
je 0x4076b2
cmp byte [ebp - 0x58], 0
je 0x4076b2
mov eax, dword [esi + 0x20]
cmp eax, dword [ebp - 0x48]
jne 0x4076b2
mov eax, dword [esi + 0x24]
cmp eax, dword [ebp - 0x44]
jne 0x4076b2
mov eax, dword [esi + 0x28]
cmp eax, dword [ebp - 0x40]
jne 0x4076b2
mov eax, dword [esi + 0x2c]
cmp eax, dword [ebp - 0x3c]
jne 0x4076b2
push ebx
push str.SELECT_sno__numb_bloc_code_FROM_MEMB_INFO_WHERE_memb___id_s
push 0x43cfa0
call fcn.00408290
add esp, 0xc
test al, al
je 0x407692
push dword [0x43cfac]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x407692
push 0xe
lea eax, [ebp - 0x1c]
push eax
push str.sno__numb
call fcn.004085a0
push str.bloc_code
call fcn.004084e0
cmp eax, 0xffffffff
jne 0x407520
or eax, eax
jmp 0x407531
shl eax, 0xd
add eax, 0x43dbce
push eax
call fcn.004176e2
add esp, 4
push dword [0x43cfac]
mov byte [ebp - 0xd], al
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43cfac]
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 0x509cf4
push 0x509d5c
mov word [ebp - 0xa], ax
mov al, byte [ebp - 0x4a]
push 0x509d28
mov byte [ebp - 8], al
mov al, byte [ebp - 0x49]
push str.SELECT__s_FROM__s_WHERE__s_s
push 0x43cfa0
mov byte [ebp - 7], al
call fcn.00408290
add esp, 0x18
test al, al
je 0x407670
push dword [0x43cfac]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x407670
push 0x509d28
call fcn.004084e0
cmp eax, 0xffffffff
jne 0x4075bd
or eax, eax
jmp 0x4075ce
shl eax, 0xd
add eax, 0x43dbce
push eax
call fcn.004176e2
add esp, 4
push dword [0x43cfac]
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 [0x43cfac]
call eax
movzx eax, byte [ebp - 0x37]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004097d0
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 + 0x509f2c]
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.00403ba0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040c493
mov esp, ebp
pop ebp
ret
push dword [0x43cfac]
mov eax, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
call eax
mov eax, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push dword [0x43cfac]
call eax
mov byte [ebp - 0xe], 2
jmp 0x4076b6
push dword [0x43cfac]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x43cfac]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0xe], 2
jmp 0x4076b6
mov byte [ebp - 0xe], 4
movzx eax, byte [ebp - 0x37]
push eax
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004097d0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c493
mov esp, ebp
pop ebp
ret