Function at 0x4337b0
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x205c
call fcn.00463070
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push edi
push dword [edx]
mov dword [esp + 0x1c], ecx
lea edi, [edx + 4]
mov dword [esp + 0x10], 0
call esi
mov ecx, dword [edi]
push ecx
mov dword [esp + 0x14], eax
call esi
mov ecx, dword [edi + 4]
push ecx
call esi
mov bl, byte [edi + 8]
push dword [edi + 9]
mov byte [esp + 0x20], bl
call esi
mov edi, eax
push 0
mov dword [esp + 0x18], edi
call fcn.00480067
mov ecx, dword [0x4d1854]
add esp, 4
mov dword [esp + 0x40], eax
movzx eax, bl
mov dword [esp + 0x3c], edx
mov ecx, dword [ecx + 8]
add ecx, 0x18
mov dword [esp + 0x24], eax
lea esi, [eax + eax*2]
shl esi, 4
add ecx, esi
cmp dword [ecx + 0x14], 0xf
jbe 0x433832
mov ecx, dword [ecx]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
push str._d__d__d__d:_d:_d
push ecx
call fcn.0042c450
mov eax, dword [esp + 0x40]
add eax, 0xfffff894
mov dword [esp + 0x84], 0
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x48]
dec eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x64]
push eax
call fcn.00481d93
add esp, 0x24
cmp dword [esp + 0x3c], edx
jl 0x433940
jg 0x4338bf
cmp dword [esp + 0x40], eax
jb 0x433940
mov ebx, dword [esp + 0x18]
mov ecx, ebx
mov edx, dword [esp + 0x10]
push 1
push 0
push edi
push dword [esp + 0x28]
call fcn.004336e0
add esp, 0x10
push 0xffff
call dword [sym.imp.WS2_32.dll_htons]
movups xmm0, xmmword [0x4b95e4]
mov word [esp + 0x68], ax
mov eax, dword [0x4b95f4]
mov dword [esp + 0x7b], eax
mov al, byte [0x4b95f8]
push 1
push 1
mov byte [esp + 0x87], al
movzx eax, word [ebx + 0x10]
push eax
movzx eax, word [ebx + 0x34]
push 2
push eax
mov byte [esp + 0x7e], 0x15
movups xmmword [esp + 0x7f], xmm0
push 0x18
lea eax, [esp + 0x80]
mov edx, 0x6e
push eax
mov ecx, ebx
call fcn.00437370
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push 0
push eax
push 0xffffffffffffffff
push str.SELECT_1_FROM_AuctionUnPayInfo__WHERE_BidUin__
push dword [ebx + 0x1a0]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
mov edi, dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
add esp, 0x14
mov esi, dword [esp + 0x10]
test eax, eax
jne 0x433a23
push esi
push 1
push dword [esp + 0x14]
call edi
add esp, 0xc
push dword [esp + 0xc]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
jne 0x433a23
push dword [esp + 0xc]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [esp + 0xc], 0
mov edx, esi
mov ecx, ebx
push 1
push 0
push dword [esp + 0x1c]
push dword [esp + 0x28]
call fcn.004336e0
add esp, 0x10
push 0xffff
call dword [sym.imp.WS2_32.dll_htons]
movups xmm0, xmmword [0x4b962c]
mov word [esp + 0x68], ax
mov ax, word [0x4b964c]
mov word [esp + 0x8b], ax
mov al, byte [0x4b964e]
push 1
push 1
mov byte [esp + 0x95], al
movzx eax, word [ebx + 0x10]
push eax
movzx eax, word [ebx + 0x34]
movups xmmword [esp + 0x77], xmm0
push 2
movups xmm0, xmmword [0x4b963c]
push eax
mov byte [esp + 0x7e], 0x23
movups xmmword [esp + 0x8f], xmm0
push 0x26
jmp 0x433922
push dword [esp + 0xc]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push 0
push eax
push 0xffffffffffffffff
push str.SELECT_BidPrice_BidNumber_FROM_AuctionInfo__WHERE_CommodityId__
push dword [ebx + 0x1a0]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x433b42
push dword [esp + 0x24]
push 1
push dword [esp + 0x14]
call edi
add esp, 0xc
push dword [esp + 0xc]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
jne 0x433ab0
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_column_int]
push 0
push dword [esp + 0x10]
call esi
push 1
push dword [esp + 0x18]
mov dword [esp + 0x30], eax
call esi
push dword [esp + 0x1c]
mov ecx, dword [sym.imp.sqlite3.dll_sqlite3_finalize]
mov dword [esp + 0x2c], eax
call ecx
add esp, 0x14
jmp 0x433b5f
push dword [esp + 0xc]
mov ecx, dword [sym.imp.sqlite3.dll_sqlite3_finalize]
call ecx
add esp, 4
mov dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push 0
push eax
push 0xffffffffffffffff
push str.INSERT_INTO_AuctionInfo_BidUin_BidPrice_BidNumber_CommodityId__VALUES__________
push dword [0x4d1304]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x433b2c
push esi
push 1
push dword [esp + 0x14]
call edi
add esp, 0xc
push dword [esp + 0x14]
push 2
push dword [esp + 0x14]
call edi
add esp, 0xc
push 1
push 3
push dword [esp + 0x14]
call edi
add esp, 0xc
push dword [esp + 0x24]
push 4
push dword [esp + 0x14]
call edi
add esp, 0xc
push dword [esp + 0xc]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
push dword [esp + 0xc]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
push 0
push 1
jmp 0x433c61
push dword [esp + 0xc]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], 0
cmp dword [esp + 0x20], eax
jle 0x433bdf
mov edx, dword [esp + 0x10]
mov ecx, ebx
push 1
push 0
push eax
push dword [esp + 0x28]
call fcn.004336e0
add esp, 0x10
push 0xffff
call dword [sym.imp.WS2_32.dll_htons]
movups xmm0, xmmword [0x4b96e8]
mov word [esp + 0x68], ax
mov ax, word [0x4b9700]
push 1
push 1
mov word [esp + 0x8b], ax
movzx eax, word [ebx + 0x10]
push eax
movzx eax, word [ebx + 0x34]
push 2
movups xmmword [esp + 0x7b], xmm0
push eax
movq xmm0, qword [0x4b96f8]
mov byte [esp + 0x7e], 0x1a
movq qword [esp + 0x8f], xmm0
push 0x1d
jmp 0x433922
push 0
lea eax, [esp + 0x10]
push eax
push 0xffffffffffffffff
push str.UPDATE_AuctionInfo_SET_BidUin__BidPrice__BidNumber__WHERE_CommodityId__
push dword [0x4d1304]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
mov esi, dword [esp + 0x24]
add esp, 0x14
test eax, eax
jne 0x433c4c
push esi
push 1
push dword [esp + 0x14]
call edi
add esp, 0xc
push dword [esp + 0x14]
push 2
push dword [esp + 0x14]
call edi
mov eax, dword [esp + 0x24]
add esp, 0xc
inc eax
push eax
push 3
push dword [esp + 0x14]
call edi
add esp, 0xc
push dword [esp + 0x24]
push 4
push dword [esp + 0x14]
call edi
add esp, 0xc
push dword [esp + 0xc]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
push dword [esp + 0xc]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
mov eax, dword [esp + 0x1c]
add esp, 4
inc eax
push 0
push eax
push dword [esp + 0x1c]
mov edx, esi
mov dword [esp + 0x18], 0
push dword [esp + 0x28]
mov ecx, ebx
call fcn.004336e0
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret