Function at 0x416000
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x103c
call fcn.004351e0
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 0x4162ce
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.0041ad00
add esp, 0xc
test al, al
je 0x41629e
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x41629e
mov al, byte [esi - 4]
mov byte [ebp - 0x102c], al
mov eax, dword [esi]
push str.SkinR
mov dword [ebp - 0x1030], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4160f9
or eax, eax
jmp 0x41610a
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.SkinG
mov byte [ebp - 0x102b], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x416123
or eax, eax
jmp 0x416134
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.SkinB
mov byte [ebp - 0x102a], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41614d
or eax, eax
jmp 0x41615e
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.SkinA
mov byte [ebp - 0x1029], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x416177
or eax, eax
jmp 0x416188
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.GlowR
mov byte [ebp - 0x1028], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4161a1
or eax, eax
jmp 0x4161b2
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.GlowG
mov byte [ebp - 0x1027], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4161cb
or eax, eax
jmp 0x4161dc
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.GlowB
mov byte [ebp - 0x1026], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4161f5
or eax, eax
jmp 0x416206
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.GlowA
mov byte [ebp - 0x1025], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41621f
or eax, eax
jmp 0x416230
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.Bright
mov byte [ebp - 0x1024], al
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x416249
or eax, eax
jmp 0x41625a
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
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 0x4162b8
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 0x4160a3
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.0041c330
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041dc5d
mov esp, ebp
pop ebp
ret