Function at 0x41b060
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push 0x47
lea eax, [ebp - 0x47]
push 0
push eax
call fcn.0041f470
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x48], 0xc48c1
mov bl, 0x48
movzx eax, word [ecx + 4]
movq xmm0, qword [ecx + 6]
mov word [ebp - 0x44], ax
movzx eax, word [ecx + 0xe]
mov word [ebp - 0x3a], ax
mov al, byte [ecx + 0x10]
add ecx, 0x11
mov byte [ebp - 0x38], al
push ecx
movq qword [ebp - 0x42], xmm0
movzx eax, word [ecx + 8]
movq xmm0, qword [ecx]
mov word [ebp - 0x2f], ax
mov al, byte [ecx + 0xa]
push str.SELECT__FROM_QuestKillCount_WHERE_Name_s
push 0x446e50
movq qword [ebp - 0x37], xmm0
mov byte [ebp - 0x2d], al
call fcn.0041ad00
add esp, 0xc
test al, al
je 0x41b2b7
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x41b2b7
push str.QuestIndex
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41b101
or eax, eax
jmp 0x41b112
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.MonsterClass1
mov dword [ebp - 0x2c], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41b128
or eax, eax
jmp 0x41b139
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.MonsterClass2
mov dword [ebp - 0x28], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41b14f
or eax, eax
jmp 0x41b160
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.MonsterClass3
mov dword [ebp - 0x24], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41b176
or eax, eax
jmp 0x41b187
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.MonsterClass4
mov dword [ebp - 0x20], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41b19d
or eax, eax
jmp 0x41b1ae
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.MonsterClass5
mov dword [ebp - 0x1c], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41b1c4
or eax, eax
jmp 0x41b1d5
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.KillCount1
mov dword [ebp - 0x18], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41b1eb
or eax, eax
jmp 0x41b1fc
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.KillCount2
mov dword [ebp - 0x14], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41b212
or eax, eax
jmp 0x41b223
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.KillCount3
mov dword [ebp - 0x10], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41b239
or eax, eax
jmp 0x41b24a
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.KillCount4
mov dword [ebp - 0xc], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41b260
or eax, eax
jmp 0x41b271
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.KillCount5
mov dword [ebp - 8], eax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41b287
or eax, eax
jmp 0x41b298
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 4], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x41b2f8
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movaps xmm0, xmmword [0x442de0]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0xffffffff
movups xmmword [ebp - 0x14], xmm0
mov dword [ebp - 4], 0
movzx eax, bl
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0xc]
call fcn.0041c330
pop ebx
mov esp, ebp
pop ebp
ret 8