Function at 0x416010
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x103c
call fcn.00435200
mov eax, dword [0x446040]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ecx + 6]
xorps xmm0, xmm0
movups xmmword [ebp - 0x101b], xmm0
push ebx
movq xmm0, qword [ecx + 8]
mov ebx, 0x14
mov word [ebp - 0x1016], ax
movzx eax, word [ecx + 0x10]
push esi
mov word [ebp - 0x100b], 0
push edi
mov word [ebp - 0x100c], ax
xor edi, edi
cmp byte [ecx + 0x13], 0
mov al, byte [ecx + 0x12]
mov byte [ebp - 0x1009], 0
mov dword [ebp - 0x1038], edx
mov dword [ebp - 0x1034], ecx
mov byte [ebp - 0x101c], 0xc2
mov word [ebp - 0x1019], 0x46f7
movq qword [ebp - 0x1014], xmm0
mov byte [ebp - 0x100a], al
mov byte [ebp - 0x1009], 0
jbe 0x4162de
lea eax, [ebp - 0xff4]
mov dword [ebp - 0x1020], eax
lea esi, [ecx + 0x18]
push dword [esi]
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 0x4162ae
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4162ae
mov al, byte [esi - 4]
mov byte [ebp - 0x102c], al
mov eax, dword [esi]
push str.SkinR
mov dword [ebp - 0x1030], eax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x416109
or eax, eax
jmp 0x41611a
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.SkinG
mov byte [ebp - 0x102b], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x416133
or eax, eax
jmp 0x416144
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.SkinB
mov byte [ebp - 0x102a], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x41615d
or eax, eax
jmp 0x41616e
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.SkinA
mov byte [ebp - 0x1029], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x416187
or eax, eax
jmp 0x416198
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.GlowR
mov byte [ebp - 0x1028], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4161b1
or eax, eax
jmp 0x4161c2
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.GlowG
mov byte [ebp - 0x1027], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4161db
or eax, eax
jmp 0x4161ec
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.GlowB
mov byte [ebp - 0x1026], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x416205
or eax, eax
jmp 0x416216
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.GlowA
mov byte [ebp - 0x1025], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x41622f
or eax, eax
jmp 0x416240
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.Bright
mov byte [ebp - 0x1024], al
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x416259
or eax, eax
jmp 0x41626a
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push dword [0x446e5c]
mov byte [ebp - 0x1023], al
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [ebp - 0x1020]
add ebx, 0x10
movups xmm0, xmmword [ebp - 0x1030]
movups xmmword [eax], xmm0
add eax, 0x10
inc byte [ebp - 0x1009]
mov dword [ebp - 0x1020], eax
jmp 0x4162c8
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [ebp - 0x1034]
inc edi
add esi, 8
movzx eax, byte [eax + 0x13]
cmp edi, eax
jl 0x4160b3
mov eax, ebx
mov byte [ebp - 0x101a], bl
shr eax, 8
mov byte [ebp - 0x101b], al
mov eax, dword [ebp - 0x100c]
movups xmm0, xmmword [ebp - 0x101c]
mov dword [ebp - 0xff8], eax
lea eax, [ebp - 0x1008]
push ebx
push eax
push dword [ebp - 0x1038]
movups xmmword [ebp - 0x1008], xmm0
call fcn.0041c350
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041dc7d
mov esp, ebp
pop ebp
ret