Function at 0x415cc0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.00435200
mov eax, dword [0x446040]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x1027], xmm0
mov word [ebp - 0x1017], 0
mov dword [ebp - 0x103c], ecx
mov ecx, 0x14
mov ax, word [esi + 8]
movq xmm0, qword [esi]
mov word [ebp - 0x1018], ax
mov al, byte [esi + 0xa]
lea esi, [ebp + 0xc]
mov byte [ebp - 0x1015], 0
push edi
mov byte [ebp - 0x1028], 0xc2
mov word [ebp - 0x1025], 0x47f7
mov dword [ebp - 0x1010], ecx
mov word [ebp - 0x1022], dx
movq qword [ebp - 0x1020], xmm0
mov byte [ebp - 0x1016], al
mov byte [ebp - 0x1015], 0
mov dword [ebp - 0x1014], 0
lea edi, [ebp - 0x100c]
xor ebx, ebx
add edi, ecx
nop dword [eax]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x415f88
push eax
push str.SELECT_top_1_SkinR_SkinG_SkinB_SkinA_GlowR_GlowG_GlowB_GlowA_Bright_FROM_CustomExclusiveGlow_WHERE_ItemSerial_d
push 0x446e50
call fcn.0041ad10
add esp, 0xc
test al, al
je 0x415f6e
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x415f6e
mov eax, dword [ebp - 0x1014]
push str.SkinR
mov byte [ebp - 0x1034], bl
mov dword [ebp - 0x1038], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x415dc1
or eax, eax
jmp 0x415dd2
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.SkinG
mov byte [ebp - 0x1033], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x415deb
or eax, eax
jmp 0x415dfc
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.SkinB
mov byte [ebp - 0x1032], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x415e15
or eax, eax
jmp 0x415e26
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.SkinA
mov byte [ebp - 0x1031], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x415e3f
or eax, eax
jmp 0x415e50
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.GlowR
mov byte [ebp - 0x1030], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x415e69
or eax, eax
jmp 0x415e7a
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.GlowG
mov byte [ebp - 0x102f], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x415e93
or eax, eax
jmp 0x415ea4
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.GlowB
mov byte [ebp - 0x102e], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x415ebd
or eax, eax
jmp 0x415ece
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.GlowA
mov byte [ebp - 0x102d], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x415ee7
or eax, eax
jmp 0x415ef8
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.Bright
mov byte [ebp - 0x102c], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x415f11
or eax, eax
jmp 0x415f22
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push dword [0x446e5c]
mov byte [ebp - 0x102b], al
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movups xmm0, xmmword [ebp - 0x1038]
mov ecx, dword [ebp - 0x1010]
mov al, byte [ebp - 0x1015]
add ecx, 0x10
movups xmmword [edi], xmm0
add edi, 0x10
mov dword [ebp - 0x1010], ecx
inc al
mov byte [ebp - 0x1015], al
jmp 0x415f94
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [ebp - 0x1010]
mov al, byte [ebp - 0x1015]
inc ebx
add esi, 4
cmp ebx, 8
jl 0x415d60
mov edx, dword [ebp - 0x1014]
inc edx
mov dword [ebp - 0x1014], edx
cmp edx, 0xa
jl 0x415d53
test al, al
je 0x415ff9
mov eax, ecx
mov byte [ebp - 0x1026], cl
shr eax, 8
mov byte [ebp - 0x1027], al
mov eax, dword [ebp - 0x1018]
movups xmm0, xmmword [ebp - 0x1028]
mov dword [ebp - 0xffc], eax
lea eax, [ebp - 0x100c]
push ecx
push eax
push dword [ebp - 0x103c]
movups xmmword [ebp - 0x100c], xmm0
call fcn.0041c350
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041dc7d
mov esp, ebp
pop ebp
ret