Function at 0x4323d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1770
call fcn.00437750
mov eax, dword [0x458330]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x175c], 0
xor eax, eax
mov dword [ebp - 0x175b], eax
mov dword [ebp - 0x1757], eax
mov word [ebp - 0x1753], ax
push 0xa
mov ecx, dword [ebp + 0x10]
add ecx, 3
push ecx
lea edx, [ebp - 0x175c]
push edx
call fcn.004360a0
add esp, 0xc
push 0x780
push 0xffffffffffffffff
lea eax, [ebp - 0x16bc]
push eax
call fcn.00435470
add esp, 0xc
push 0xf00
push 0xffffffffffffffff
lea ecx, [ebp - 0xf14]
push ecx
call fcn.00435470
add esp, 0xc
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx + 0x14]
test eax, eax
jne 0x43249f
push 0x79c
push 0xfb
lea ecx, [ebp - 0x16d0]
push ecx
call fcn.00405450
add esp, 0xc
push 0xa
lea edx, [ebp - 0x175c]
push edx
lea eax, [ebp - 0x16cc]
push eax
call fcn.004360a0
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov dx, word [ecx + 0xe]
mov word [ebp - 0x16c2], dx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xf38], ecx
jmp 0x4324e7
push 0xf1c
push 0xbe
lea edx, [ebp - 0xf28]
push edx
call fcn.00405450
add esp, 0xc
push 0xa
lea eax, [ebp - 0x175c]
push eax
lea ecx, [ebp - 0xf24]
push ecx
call fcn.004360a0
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ax, word [edx + 0xe]
mov word [ebp - 0xf1a], ax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x10], 0
jne 0x43251f
lea ecx, [ebp - 0x175c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf030
push edx
push str.SELECT_AccountID_FROM__s.dbo.warehouse_WHERE_AccountID_s
mov eax, dword [ebp + 8]
add eax, 0x7dc0
push eax
call fcn.00407950
add esp, 0x10
mov dword [ebp - 0xf2c], eax
jmp 0x432554
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x10]
push edx
lea eax, [ebp - 0x175c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
push str.SELECT_AccountID_FROM__s.dbo.ExtendedWarehouse_WHERE_AccountID_s_AND_SCFExtWare_d
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x14
mov dword [ebp - 0xf2c], eax
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
cwde
cmp eax, 0x64
je 0x432575
cmp dword [ebp - 0xf2c], 0
jne 0x432667
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x10], 0
jne 0x4325b5
lea edx, [ebp - 0x175c]
push edx
mov eax, dword [ebp + 8]
add eax, 0xf030
push eax
push str.INSERT_INTO__s.dbo.warehouse__AccountID__Money__EndUseDate__DbVersion__VALUES___s_0__getdate____3_
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0x10
jmp 0x4325e3
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x10]
push eax
lea ecx, [ebp - 0x175c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf030
push edx
push str.INSERT_INTO__s.dbo.ExtendedWarehouse__AccountID__Money__EndUseDate__DbVersion__SCFExtWare__VALUES___s_0__getdate____3___d_
mov eax, dword [ebp + 8]
add eax, 0x7dc0
push eax
call fcn.00407950
add esp, 0x14
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
push 0x14
push 0xae
lea ecx, [ebp - 0x1770]
push ecx
call fcn.00405400
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ax, word [edx + 0xe]
mov word [ebp - 0x1762], ax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x1760], edx
push 0xa
lea eax, [ebp - 0x175c]
push eax
lea ecx, [ebp - 0x176d]
push ecx
call fcn.004360a0
add esp, 0xc
movzx edx, byte [ebp - 0x176f]
push edx
lea eax, [ebp - 0x1770]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00406820
jmp 0x4328b2
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x10], 0
jne 0x4326a8
lea eax, [ebp - 0x175c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0xf030
push ecx
push str.SELECT_Money__DbVersion__pw_FROM__s.dbo.warehouse_WHERE_AccountID_s
mov edx, dword [ebp + 8]
add edx, 0x7dc0
push edx
call fcn.00407950
add esp, 0x10
jmp 0x4326d6
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
push ecx
lea edx, [ebp - 0x175c]
push edx
mov eax, dword [ebp + 8]
add eax, 0xf030
push eax
push str.SELECT_Money__DbVersion__pw_FROM__s.dbo.ExtendedWarehouse_WHERE_AccountID_s_AND_SCFExtWare_d
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
push ecx
call fcn.00407950
add esp, 0x14
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407bb0
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx + 0x14]
test eax, eax
jne 0x43273d
push str.Money
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0x16c0], eax
push str.DbVersion
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov byte [ebp - 0xf3c], al
push 0x449bf0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov word [ebp - 0xf3a], ax
jmp 0x432783
push str.Money
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov dword [ebp - 0xf18], eax
push str.DbVersion
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov byte [ebp - 0x14], al
push 0x449bf0
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407cf0
mov word [ebp - 0x12], ax
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x10], 0
jne 0x4327c1
lea edx, [ebp - 0x175c]
push edx
mov eax, dword [ebp + 8]
add eax, 0xf030
push eax
push str.SELECT_Items_FROM__s.dbo.warehouse_WHERE_AccountID_s
lea ecx, [ebp - 0x1750]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x4327ee
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x10]
push eax
lea ecx, [ebp - 0x175c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0xf030
push edx
push str.SELECT_Items_FROM__s.dbo.ExtendedWarehouse_WHERE_AccountID_s_AND_SCFExtWare_d
lea eax, [ebp - 0x1750]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx + 0x14]
test edx, edx
jne 0x432831
lea eax, [ebp - 0x16bc]
push eax
lea ecx, [ebp - 0x1750]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407f00
test eax, eax
jge 0x43282f
push 0x780
push 0xffffffffffffffff
lea edx, [ebp - 0x16bc]
push edx
call fcn.00435470
add esp, 0xc
jmp 0x432867
lea eax, [ebp - 0xf14]
push eax
lea ecx, [ebp - 0x1750]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407f00
test eax, eax
jge 0x432867
push 0xf00
push 0xffffffffffffffff
lea edx, [ebp - 0xf14]
push edx
call fcn.00435470
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, 0x7dc0
call fcn.00407b60
mov eax, dword [ebp + 0x10]
movzx ecx, byte [eax + 0x14]
test ecx, ecx
jne 0x43289a
push 0x79c
lea edx, [ebp - 0x16d0]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.00406820
jmp 0x4328b2
push 0xf1c
lea ecx, [ebp - 0xf28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.00406820
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435f91
mov esp, ebp
pop ebp
ret