Function at 0x432bb0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x4d1854]
sub esp, 0x54
cmp byte [eax], 1
push ebx
push esi
push edi
jne 0x432e92
push 0
mov dword [esp + 0x14], 0
call fcn.00480067
mov ecx, dword [0x4d1854]
xor edi, edi
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], edi
cmp dword [ecx + 4], edi
jle 0x432e92
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
xor esi, esi
nop dword [eax]
mov eax, dword [ecx + 8]
add eax, 0x18
add eax, esi
cmp dword [eax + 0x14], 0xf
jbe 0x432c20
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x30]
push ecx
push str._d__d__d__d:_d:_d
push eax
call fcn.0042c450
mov eax, dword [esp + 0x3c]
add eax, 0xfffff894
mov dword [esp + 0x7c], 0
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x40]
dec eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push eax
call fcn.00481d93
add esp, 0x24
cmp dword [esp + 0x34], edx
jl 0x432e77
jg 0x432caa
cmp dword [esp + 0x38], eax
jb 0x432e77
push 0
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push str.SELECT_BidPrice_BidUin__FROM_AuctionInfo__WHERE_CommodityId__
push dword [0x4d1304]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x432d15
mov eax, dword [0x4d1854]
mov eax, dword [eax + 8]
movzx eax, byte [eax + esi + 0x14]
push eax
push 1
push dword [esp + 0x18]
call ebx
add esp, 0xc
push dword [esp + 0x10]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
jne 0x432d15
mov edi, dword [sym.imp.sqlite3.dll_sqlite3_column_int]
push 0
push dword [esp + 0x14]
call edi
push 1
push dword [esp + 0x1c]
mov dword [esp + 0x24], eax
call edi
add esp, 0x10
mov edi, eax
push dword [esp + 0x10]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [esp + 0x10], 0
cmp edi, 0x2710
jle 0x432e77
push 0
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push str.INSERT_INTO_AuctionUnPayInfo_BidUin_CommodityId_BidPrice_ItemId_ItemAvailPeriod_ItemNumber__VALUES______________
push dword [0x4d1304]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x432de0
push edi
push 1
push dword [esp + 0x18]
call ebx
mov eax, dword [0x4d1854]
add esp, 0xc
mov eax, dword [eax + 8]
movzx eax, byte [eax + esi + 0x14]
push eax
push 2
push dword [esp + 0x18]
call ebx
add esp, 0xc
push dword [esp + 0x14]
push 3
push dword [esp + 0x18]
call ebx
mov eax, dword [0x4d1854]
add esp, 0xc
mov eax, dword [eax + 8]
push dword [eax + esi]
push 4
push dword [esp + 0x18]
call ebx
mov eax, dword [0x4d1854]
add esp, 0xc
mov eax, dword [eax + 8]
push dword [eax + esi + 8]
push 5
push dword [esp + 0x18]
call ebx
mov eax, dword [0x4d1854]
add esp, 0xc
mov eax, dword [eax + 8]
push dword [eax + esi + 4]
push 6
push dword [esp + 0x18]
call ebx
add esp, 0xc
push dword [esp + 0x10]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
push dword [esp + 0x10]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push 0
push eax
push 0xffffffffffffffff
push str.DELETE_FROM_AuctionInfo_WHERE_CommodityId__
push dword [0x4d1304]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x432e3c
mov eax, dword [0x4d1854]
mov eax, dword [eax + 8]
movzx eax, byte [eax + esi + 0x14]
push eax
push 1
push dword [esp + 0x18]
call ebx
add esp, 0xc
push dword [esp + 0x10]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
mov ecx, edi
call fcn.0045aff0
test eax, eax
je 0x432e6d
mov ecx, dword [0x4d1854]
mov ecx, dword [ecx + 8]
push dword [ecx + esi + 4]
mov dl, byte [ecx + esi + 0x14]
push dword [ecx + esi + 8]
push dword [ecx + esi]
mov ecx, eax
push dword [esp + 0x20]
call fcn.00432af0
add esp, 0x10
mov dword [esp + 0x14], 0
xor edi, edi
mov edx, dword [esp + 0x18]
add esi, 0x30
mov ecx, dword [0x4d1854]
inc edx
mov dword [esp + 0x18], edx
cmp edx, dword [ecx + 4]
jl 0x432c10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret