Function at 0x4177a0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5755c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x18], 1
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x402be0
push str.debtor
push 0x636400
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.branch
push 0x61dc68
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push str.SELECT__FROM_CATEGORY_ORDER_BY_CODE_COLLATE_SQL_Latin1_General_CP1_CI_AS
push 0
push str.CATEGORY
push 0x63acb8
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x14
push 0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x619640
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x63acb8
call fcn.0045cc00
push ecx
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.paytype
push 0x6374c8
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.unit
push 0x639658
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.glcode
push 0x637a60
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x14
lea eax, [esp]
push str.SELECT__FROM_ITEM_WHERE_ISNULL_INACTIVE_0_0
push eax
call sub.MFC42.DLL_CString::Format
add esp, 4
mov eax, esp
mov dword [esp + 0xc], esp
mov dword [eax], 0
lea ecx, [esp + 4]
mov byte [esp + 0x18], 1
call fcn.004016c0
push eax
push 0x40f320
push str.item
push 0x6358d0
call fcn.00451fc0
add esp, 0x10
mov dword [0x635cc4], 3
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.itemdata
push 0x635338
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x4230b0
push str.supplier
push 0x636f30
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.supply
push 0x636998
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.material
push 0x63a720
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x422f30
push str.staff
push 0x635e68
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.place
push 0x63a188
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.reason
push 0x634da0
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.itype
mov dword [eax], 0
push 0x639bf0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.delitype
push 0x6390c0
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.currency
push 0x634270
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x4121a0
push 0x5fc51c
push 0x631b48
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x408890
push 0x5fed28
push 0x6331a8
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x401390
push 0x5fc7d0
push 0x62f9b8
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x418980
push 0x5fed24
push 0x62ccf8
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x418b90
push str.mpoitem
push 0x62c760
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x422630
push 0x5fc78c
push 0x6304e8
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x422b60
push 0x5fc780
mov dword [eax], 0
push 0x631018
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x4027c0
push 0x5fed20
push 0x62b100
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.position
push 0x62c1c8
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.vehicle
push 0x628440
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.brand
push 0x6235f0
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.cgroup
push 0x623058
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.model
push 0x638590
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.area
push 0x62ddc0
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x408e90
push str.cpobal
push 0x62a5d0
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x4127d0
push str.mpobal
mov dword [eax], 0
push 0x62bc30
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x4088d0
push str.invitem
push 0x632c10
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x408c60
push str.invitem2
push 0x632678
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.invdataitem
push 0x6320e0
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x423430
push str.transfer
push 0x625780
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0x423450
push str.toitem
push 0x6251e8
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.cust_bal
push 0x6246b8
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.enq_iw
push 0x623b88
mov dword [eax], 0
call fcn.00452570
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.pgroup
push 0x622ac0
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.logerr
mov dword [eax], 0
push 0x621f90
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.taxcode
push 0x61f2c8
mov dword [eax], 0
call fcn.00451fc0
add esp, 0x10
mov dword [esp + 0xc], esp
mov eax, esp
push 0
push 0
push str.inv_debtor
push 0x620ec8
mov dword [eax], 0
call fcn.00452570
add esp, 0x14
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret