Function at 0x414430
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1064
call fcn.004351e0
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.0041ad00
add esp, 0xc
test al, al
je 0x4148c8
push dword [0x446e5c]
mov edi, dword [sym.imp.ODBC32.dll_SQLFetch]
call edi
cmp ax, 0x64
je 0x4148c8
push str.CoinType
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4144fa
or eax, eax
jmp 0x41450b
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
push str.CurrentBid
mov word [ebp - 0x1016], ax
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x414525
or eax, eax
jmp 0x414536
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
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.0041ad00
add esp, 0xc
test al, al
je 0x4148c8
push dword [0x446e5c]
call edi
cmp ax, 0x64
je 0x4148c8
lea esi, [ebp - 0xff4]
nop dword [eax]
cmp bl, 0xa
jae 0x4148c2
push str.ItemIndex
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4145b0
mov dword [ebp - 0x1060], eax
jmp 0x4145c7
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x1060], eax
push str.ItemLevel
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4145de
mov dword [ebp - 0x105c], eax
jmp 0x4145f5
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x105c], eax
push str.ItemDur
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41460c
mov dword [ebp - 0x1058], eax
jmp 0x414623
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x1058], eax
push str.ItemSkill
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41463a
mov dword [ebp - 0x1054], eax
jmp 0x414651
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x1054], eax
push str.ItemLuck
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x414668
mov dword [ebp - 0x1050], eax
jmp 0x41467f
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x1050], eax
push str.ItemOption
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x414696
mov dword [ebp - 0x104c], eax
jmp 0x4146ad
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x104c], eax
push str.ItemExcOpt
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4146c4
mov dword [ebp - 0x1048], eax
jmp 0x4146db
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x1048], eax
push str.ItemSetOpt
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4146f2
mov dword [ebp - 0x1044], eax
jmp 0x414709
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x1044], eax
push str.ItemJoH
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x414720
mov dword [ebp - 0x1040], eax
jmp 0x414737
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x1040], eax
push str.ItemOex
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41474e
mov dword [ebp - 0x103c], eax
jmp 0x414765
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x103c], eax
push str.ItemSocket1
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x41477c
mov dword [ebp - 0x1038], eax
jmp 0x414793
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x1038], eax
push str.ItemSocket2
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4147aa
mov dword [ebp - 0x1034], eax
jmp 0x4147c1
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x1034], eax
push str.ItemSocket3
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x4147d8
mov dword [ebp - 0x1030], eax
jmp 0x4147ef
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x1030], eax
push str.ItemSocket4
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x414806
mov dword [ebp - 0x102c], eax
jmp 0x41481d
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x102c], eax
push str.ItemSocket5
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x414834
mov dword [ebp - 0x1028], eax
jmp 0x41484b
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
add esp, 4
mov dword [ebp - 0x1028], eax
push str.Time
call fcn.0041af50
cmp eax, 0xffffffff
jne 0x414862
mov dword [ebp - 0x1024], eax
jmp 0x414879
shl eax, 0xd
add eax, 0x447a7e
push eax
call fcn.0042415e
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 0x414590
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.0041c330
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041dc5d
mov esp, ebp
pop ebp
ret