Function at 0x414470
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1064
call fcn.00435200
mov eax, dword [0x446040]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ecx + 4]
xorps xmm0, xmm0
push ebx
push esi
movups xmmword [ebp - 0x101f], xmm0
push edi
mov word [ebp - 0x101a], ax
lea esi, [ecx + 8]
movzx eax, word [ecx + 6]
xor bl, bl
push esi
mov word [ebp - 0x1018], ax
xor eax, eax
push str.SELECT_top_1__FROM_EventAuction_WHERE_CurrentAccount_s_and_ended__1
push 0x446e50
mov dword [ebp - 0x1064], edx
mov word [ebp - 0x100f], 0
mov byte [ebp - 0x100d], 0
mov byte [ebp - 0x1020], 0xc2
mov word [ebp - 0x101d], 0x11f7
mov dword [ebp - 0x100c], 0x14
mov word [ebp - 0x1016], ax
mov dword [ebp - 0x1014], eax
mov byte [ebp - 0x1010], bl
call fcn.0041ad10
add esp, 0xc
test al, al
je 0x414908
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLFetch]
call edi
cmp ax, 0x64
je 0x414908
push str.CoinType
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x41453a
or eax, eax
jmp 0x41454b
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push str.CurrentBid
mov word [ebp - 0x1016], ax
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x414565
or eax, eax
jmp 0x414576
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
push dword [0x446e5c]
mov dword [ebp - 0x1014], eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push 2
push dword [0x446e5c]
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push esi
push str.Select_ItemIndex_ItemLevel_ItemDur_ItemSkill_ItemLuck_ItemOption_ItemExcOpt_ItemSetOpt_ItemJoH_ItemOex_ItemSocket1_ItemSocket2_ItemSocket3_ItemSocket4_ItemSocket5_Time_from_EventAuctionReward_where_Account_s
push 0x446e50
call fcn.0041ad10
add esp, 0xc
test al, al
je 0x414908
push dword [0x446e5c]
call edi
cmp ax, 0x64
je 0x414908
lea esi, [ebp - 0xff4]
nop dword [eax]
cmp bl, 0xa
jae 0x414902
push str.ItemIndex
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4145f0
mov dword [ebp - 0x1060], eax
jmp 0x414607
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x1060], eax
push str.ItemLevel
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x41461e
mov dword [ebp - 0x105c], eax
jmp 0x414635
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x105c], eax
push str.ItemDur
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x41464c
mov dword [ebp - 0x1058], eax
jmp 0x414663
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x1058], eax
push str.ItemSkill
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x41467a
mov dword [ebp - 0x1054], eax
jmp 0x414691
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x1054], eax
push str.ItemLuck
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4146a8
mov dword [ebp - 0x1050], eax
jmp 0x4146bf
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x1050], eax
push str.ItemOption
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4146d6
mov dword [ebp - 0x104c], eax
jmp 0x4146ed
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x104c], eax
push str.ItemExcOpt
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x414704
mov dword [ebp - 0x1048], eax
jmp 0x41471b
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x1048], eax
push str.ItemSetOpt
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x414732
mov dword [ebp - 0x1044], eax
jmp 0x414749
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x1044], eax
push str.ItemJoH
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x414760
mov dword [ebp - 0x1040], eax
jmp 0x414777
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x1040], eax
push str.ItemOex
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x41478e
mov dword [ebp - 0x103c], eax
jmp 0x4147a5
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x103c], eax
push str.ItemSocket1
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4147bc
mov dword [ebp - 0x1038], eax
jmp 0x4147d3
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x1038], eax
push str.ItemSocket2
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4147ea
mov dword [ebp - 0x1034], eax
jmp 0x414801
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x1034], eax
push str.ItemSocket3
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x414818
mov dword [ebp - 0x1030], eax
jmp 0x41482f
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x1030], eax
push str.ItemSocket4
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x414846
mov dword [ebp - 0x102c], eax
jmp 0x41485d
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x102c], eax
push str.ItemSocket5
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x414874
mov dword [ebp - 0x1028], eax
jmp 0x41488b
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x1028], eax
push str.Time
call fcn.0041af60
cmp eax, 0xffffffff
jne 0x4148a2
mov dword [ebp - 0x1024], eax
jmp 0x4148b9
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042417e
add esp, 4
mov dword [ebp - 0x1024], eax
movups xmm0, xmmword [ebp - 0x1060]
add dword [ebp - 0x100c], 0x40
inc bl
push dword [0x446e5c]
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebp - 0x1050]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x1040]
movups xmmword [esi + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x1030]
movups xmmword [esi + 0x30], xmm0
add esi, 0x40
call edi
cmp ax, 0x64
jne 0x4145d0
mov byte [ebp - 0x1010], bl
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 - 0x100c]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x101f], al
mov eax, dword [ebp - 0x1010]
mov dword [ebp - 0xff8], eax
lea eax, [ebp - 0x1008]
push ecx
mov byte [ebp - 0x101e], cl
movups xmm0, xmmword [ebp - 0x1020]
push eax
push dword [ebp - 0x1064]
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