Function at 0x4371a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45dd7e
mov eax, dword fs:[0]
push eax
sub esp, 0x3f4
push ebx
push esi
push edi
mov eax, dword [0x4720c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.004024a0
push 0
push ecx
mov eax, esp
mov dword [ebp - 0x4c], esp
push eax
mov edi, 0x4618e8
call fcn.00404130
push ecx
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x60], esp
push ecx
call fcn.00404130
push ecx
mov byte [ebp - 4], 2
mov edi, dword [0x476288]
mov edx, esp
mov dword [ebp - 0x5c], esp
push edx
call fcn.00404130
mov byte [ebp - 4], 3
cmp dword [0x47628c], 0
jne 0x43722a
push 0x80004003
call fcn.00445020
mov byte [ebp - 4], 0
mov ecx, dword [0x47628c]
call fcn.00404220
mov dword [ebp - 4], 0xffffffff
call fcn.00402520
mov eax, dword [0x476290]
test eax, eax
jne 0x437290
push 0x80004003
call fcn.00445020
mov byte [ebp - 4], 5
call fcn.00402480
mov esi, eax
call fcn.00404080
test eax, eax
je 0x437278
call fcn.00402480
mov edi, eax
call fcn.00404060
lea ecx, [ebp - 0x400]
call fcn.00404100
mov dword [ebp - 4], 0xffffffff
mov eax, 0x437240
ret
mov edx, dword [0x47628c]
mov ecx, dword [eax]
push edx
mov esi, eax
push eax
mov eax, dword [ecx + 0x24]
call eax
test eax, eax
jns 0x4372b1
push 0x461924
push esi
push eax
call fcn.00445040
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 6
mov ecx, dword [0x4762ac]
push ecx
push str.select_SaleBillVouch.cSBVCode_Inventory.cinvcode__Inventory.cinvname__Inventory.cinvdefine5_Inventory.cInvDefine1_SaleBillVouchs.iQuotedPrice_SaleBillVouchs.iTaxUnitPrice__SaleBillVouchs.iQuantity_SA_CusPriceJustdetail.iinvscost_SaleBillVouchs.iSum_SaleBillVouchs.iTaxUnitPriceSaleBillVouchs.iQuantity_as_iSum2_SaleBillVouch.cCusCode_SaleBillVouchs.cinvcode_from_SaleBillVouch_inner_join_SaleBillVouchs_on_SaleBillVouch.sbvidSaleBillVouchs.sbvid_inner_join_Inventory_on_Inventory.cinvcodeSaleBillVouchs.cinvcode_left_outer_join_SA_CusPriceJustdetail_on_SA_CusPriceJustdetail.cCusCodeSaleBillVouch.cCusCode_and_SA_CusPriceJustdetail.cinvcodeSaleBillVouchs.cinvcode__where_SaleBillVouch.cSBVCode_s
lea edi, [ebp - 0x48]
call fcn.004030f0
mov edi, dword [ebp - 0x48]
add esp, 4
mov edx, esp
mov dword [ebp - 0x4c], esp
push edx
call fcn.00404130
mov byte [ebp - 4], 7
cmp dword [0x476290], 0
jne 0x43730a
push 0x80004003
call fcn.00445020
mov byte [ebp - 4], 6
mov ecx, dword [0x476290]
call fcn.00403fb0
mov esi, dword [0x476290]
test esi, esi
jne 0x43732d
push 0x80004003
call fcn.00445020
lea edi, [ebp - 0x14]
call fcn.00403f50
mov byte [ebp - 4], 8
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x44], 0
test ebx, ebx
je 0x437220
mov eax, dword [ebx]
mov edx, dword [eax + 0x50]
lea ecx, [ebp - 0x3c]
push ecx
xor edi, edi
push ebx
mov dword [ebp - 0x3c], edi
call edx
cmp eax, edi
jge 0x43736c
push 0x461964
push ebx
push eax
call fcn.00445040
cmp word [ebp - 0x3c], di
jne 0x438da0
push 0x28
call fcn.004458c0
add esp, 4
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 9
cmp eax, edi
je 0x4373a2
mov ecx, dword [0x475178]
push ecx
push 0x4750fc
push eax
call fcn.0040c250
mov dword [ebp - 0x3c], eax
jmp 0x4373a5
mov dword [ebp - 0x3c], edi
mov byte [ebp - 4], 8
mov edi, dword [0x475184]
mov dword [ebp - 0x1c], edi
cmp edi, dword [0x475188]
jb 0x4373cf
lea eax, [edi + 1]
mov esi, 0x475180
call fcn.0043ecd0
test al, al
je 0x438d65
lea eax, [edi*4]
mov dword [ebp - 0x18], eax
add eax, dword [0x475180]
je 0x4373e6
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
inc dword [0x475184]
cmp byte [0x4751a8], 0
je 0x4373ff
mov ecx, 0x4750d8
call fcn.00409780
mov edx, 8
push str.cinvcode
mov word [ebp - 0x2b0], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x2a8], eax
test eax, eax
je 0x438d6f
lea edi, [ebp - 0x94]
mov esi, ebx
mov byte [ebp - 4], 0xa
call fcn.00403e40
mov byte [ebp - 4], 0xb
mov esi, dword [eax]
test esi, esi
je 0x437220
lea ecx, [ebp - 0x2b0]
lea edi, [ebp - 0xbc]
call fcn.00403e90
mov byte [ebp - 4], 0xc
mov esi, dword [eax]
test esi, esi
je 0x437220
lea edi, [ebp - 0x30]
call fcn.00403f00
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x437480
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x94]
test eax, eax
je 0x437496
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x2b0]
push eax
mov byte [ebp - 4], 0x10
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov byte [ebp - 4], 0x11
mov esi, dword [0x475178]
test esi, esi
je 0x437510
dec esi
js 0x438d7f
cmp esi, dword [0x475178]
jge 0x438d7f
mov ecx, dword [0x475174]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 8]
push 0x465120
push eax
call fcn.00446f23
add esp, 8
test eax, eax
je 0x437513
test esi, esi
jne 0x4374db
or esi, 0xffffffff
lea edx, [ebp - 0x320]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x320]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
sub esp, 0x10
mov bl, 0x12
mov byte [ebp - 4], bl
mov edi, esp
mov dword [ebp - 0x34], esp
push edi
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x320]
push edx
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x13
cmp edi, dword [0x475184]
jae 0x438d90
mov eax, dword [0x475180]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax]
push edx
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.0040c410
cmp byte [0x4751a8], 0
je 0x4375a5
push edi
mov edx, esi
mov ecx, 0x4750fc
call fcn.0040ce30
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x320]
push eax
call esi
lea ecx, [ebp - 0x110]
push ecx
mov byte [ebp - 4], 0x10
call esi
mov edx, 8
push str.cinvname
mov word [ebp - 0x290], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x288], eax
test eax, eax
je 0x438d6f
mov byte [ebp - 4], 0x14
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0xa4]
call fcn.00403e40
mov bl, 0x15
mov byte [ebp - 4], bl
mov esi, dword [eax]
test esi, esi
je 0x437220
lea ecx, [ebp - 0x290]
lea edi, [ebp - 0x9c]
call fcn.00403e90
mov byte [ebp - 4], 0x16
mov esi, dword [eax]
test esi, esi
je 0x437220
lea edi, [ebp - 0x350]
call fcn.00403f00
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0x17
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
push eax
call edi
test eax, eax
js 0x438d79
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x350]
push ecx
call esi
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x43766e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x437684
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x290]
push eax
mov byte [ebp - 4], 0x10
call esi
lea ecx, [ebp - 0x340]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x340]
push eax
call edi
test eax, eax
js 0x438d79
mov byte [ebp - 4], 0x18
mov esi, dword [0x475178]
test esi, esi
je 0x4376f6
dec esi
js 0x438d7f
cmp esi, dword [0x475178]
jge 0x438d7f
mov ecx, dword [0x475174]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 8]
push 0x464a64
push eax
call fcn.00446f23
add esp, 8
test eax, eax
je 0x4376f9
test esi, esi
jne 0x4376c1
or esi, 0xffffffff
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x130]
push edx
call ebx
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0x130]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
sub esp, 0x10
mov byte [ebp - 4], 0x19
mov edi, esp
mov dword [ebp - 0x34], esp
push edi
call ebx
lea edx, [ebp - 0x130]
push edx
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x1a
cmp edi, dword [0x475184]
jae 0x438d90
mov eax, dword [0x475180]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax]
push edx
mov ecx, esi
mov byte [ebp - 4], 0x19
call fcn.0040c410
cmp byte [0x4751a8], 0
je 0x437789
push edi
mov edx, esi
mov ecx, 0x4750fc
call fcn.0040ce30
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x130]
push eax
call ebx
lea ecx, [ebp - 0x340]
push ecx
mov byte [ebp - 4], 0x10
call ebx
mov edx, 8
push str.cinvdefine5
mov word [ebp - 0x150], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x148], eax
test eax, eax
je 0x438d6f
mov byte [ebp - 4], 0x1b
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0xa8]
call fcn.00403e40
mov byte [ebp - 4], 0x1c
mov esi, dword [eax]
test esi, esi
je 0x437220
lea ecx, [ebp - 0x150]
lea edi, [ebp - 0xb8]
call fcn.00403e90
mov byte [ebp - 4], 0x1d
mov esi, dword [eax]
test esi, esi
je 0x437220
lea edi, [ebp - 0x370]
call fcn.00403f00
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x1e
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov ecx, edi
push ecx
call ebx
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x437846
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x43785c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x150]
push eax
mov byte [ebp - 4], 0x10
call ebx
lea ecx, [ebp - 0x170]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov byte [ebp - 4], 0x1f
mov esi, dword [0x475178]
test esi, esi
je 0x4378d2
dec esi
js 0x438d7f
cmp esi, dword [0x475178]
jge 0x438d7f
mov ecx, dword [0x475174]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 8]
push 0x46512c
push eax
call fcn.00446f23
add esp, 8
test eax, eax
je 0x4378d5
test esi, esi
jne 0x43789d
or esi, 0xffffffff
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0xe0]
push edx
call ebx
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0xe0]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
sub esp, 0x10
mov byte [ebp - 4], 0x20
mov edi, esp
mov dword [ebp - 0x34], esp
push edi
call ebx
lea edx, [ebp - 0xe0]
push edx
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x21
cmp edi, dword [0x475184]
jae 0x438d90
mov eax, dword [0x475180]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax]
push edx
mov ecx, esi
mov byte [ebp - 4], 0x20
call fcn.0040c410
cmp byte [0x4751a8], 0
je 0x437965
push edi
mov edx, esi
mov ecx, 0x4750fc
call fcn.0040ce30
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0xe0]
push eax
call ebx
lea ecx, [ebp - 0x170]
push ecx
mov byte [ebp - 4], 0x10
call ebx
mov edx, 8
push str.cInvDefine1
mov word [ebp - 0x330], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x328], eax
test eax, eax
je 0x438d6f
mov byte [ebp - 4], 0x22
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x98]
call fcn.00403e40
mov byte [ebp - 4], 0x23
mov esi, dword [eax]
test esi, esi
je 0x437220
lea ecx, [ebp - 0x330]
lea edi, [ebp - 0x70]
call fcn.00403e90
mov byte [ebp - 4], 0x24
mov esi, dword [eax]
test esi, esi
je 0x437220
lea edi, [ebp - 0x3f0]
call fcn.00403f00
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x25
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov ecx, edi
push ecx
call ebx
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x437a1c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x437a32
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x330]
push eax
mov byte [ebp - 4], 0x10
call ebx
lea ecx, [ebp - 0x2d0]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x2d0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov byte [ebp - 4], 0x26
mov esi, dword [0x475178]
test esi, esi
je 0x437aa8
dec esi
js 0x438d7f
cmp esi, dword [0x475178]
jge 0x438d7f
mov ecx, dword [0x475174]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 8]
push 0x465134
push eax
call fcn.00446f23
add esp, 8
test eax, eax
je 0x437aab
test esi, esi
jne 0x437a73
or esi, 0xffffffff
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x190]
push edx
call ebx
lea eax, [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x190]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
sub esp, 0x10
mov byte [ebp - 4], 0x27
mov edi, esp
mov dword [ebp - 0x34], esp
push edi
call ebx
lea edx, [ebp - 0x190]
push edx
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x28
cmp edi, dword [0x475184]
jae 0x438d90
mov eax, dword [0x475180]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax]
push edx
mov ecx, esi
mov byte [ebp - 4], 0x27
call fcn.0040c410
cmp byte [0x4751a8], 0
je 0x437b3b
push edi
mov edx, esi
mov ecx, 0x4750fc
call fcn.0040ce30
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x190]
push eax
call ebx
lea ecx, [ebp - 0x2d0]
push ecx
mov byte [ebp - 4], 0x10
call ebx
mov edx, 8
push str.iQuotedPrice
mov word [ebp - 0x1b0], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x1a8], eax
test eax, eax
je 0x438d6f
mov byte [ebp - 4], 0x29
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x64]
call fcn.00403e40
mov byte [ebp - 4], 0x2a
mov esi, dword [eax]
test esi, esi
je 0x437220
lea ecx, [ebp - 0x1b0]
lea edi, [ebp - 0x78]
call fcn.00403e90
mov byte [ebp - 4], 0x2b
mov esi, dword [eax]
test esi, esi
je 0x437220
lea edi, [ebp - 0x390]
call fcn.00403f00
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x2c
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov ecx, edi
push ecx
call ebx
mov byte [ebp - 4], 0x2a
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x437bef
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x29
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x437c02
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x1b0]
push eax
mov byte [ebp - 4], 0x10
call ebx
lea ecx, [ebp - 0x1d0]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x1d0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov byte [ebp - 4], 0x2d
mov esi, dword [0x475178]
test esi, esi
je 0x437c78
dec esi
js 0x438d7f
cmp esi, dword [0x475178]
jge 0x438d7f
mov ecx, dword [0x475174]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 8]
push 0x46513c
push eax
call fcn.00446f23
add esp, 8
test eax, eax
je 0x437c7b
test esi, esi
jne 0x437c43
or esi, 0xffffffff
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x310]
push edx
call ebx
lea eax, [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0x310]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
sub esp, 0x10
mov byte [ebp - 4], 0x2e
mov edi, esp
mov dword [ebp - 0x34], esp
push edi
call ebx
lea edx, [ebp - 0x310]
push edx
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x2f
cmp edi, dword [0x475184]
jae 0x438d90
mov eax, dword [0x475180]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax]
push edx
mov ecx, esi
mov byte [ebp - 4], 0x2e
call fcn.0040c410
cmp byte [0x4751a8], 0
je 0x437d0b
push edi
mov edx, esi
mov ecx, 0x4750fc
call fcn.0040ce30
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x310]
push eax
call ebx
lea ecx, [ebp - 0x1d0]
push ecx
mov byte [ebp - 4], 0x10
call ebx
lea esi, [ebp - 0x30]
call fcn.00443000
fstp qword [ebp - 0x40]
mov edx, 8
push str.iTaxUnitPrice
mov word [ebp - 0x2f0], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x2e8], eax
test eax, eax
je 0x438d6f
mov byte [ebp - 4], 0x30
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0xa0]
call fcn.00403e40
mov byte [ebp - 4], 0x31
mov esi, dword [eax]
test esi, esi
je 0x437220
lea ecx, [ebp - 0x2f0]
lea edi, [ebp - 0x80]
call fcn.00403e90
mov byte [ebp - 4], 0x32
mov esi, dword [eax]
test esi, esi
je 0x437220
lea edi, [ebp - 0x3d0]
call fcn.00403f00
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x33
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov ecx, edi
push ecx
call ebx
mov byte [ebp - 4], 0x31
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x437dcd
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x30
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x437de3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x2f0]
push eax
mov byte [ebp - 4], 0x10
call ebx
lea ecx, [ebp - 0x2a0]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x2a0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov byte [ebp - 4], 0x34
mov esi, dword [0x475178]
test esi, esi
je 0x437e59
dec esi
js 0x438d7f
cmp esi, dword [0x475178]
jge 0x438d7f
mov ecx, dword [0x475174]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 8]
push 0x464a84
push eax
call fcn.00446f23
add esp, 8
test eax, eax
je 0x437e5c
test esi, esi
jne 0x437e24
or esi, 0xffffffff
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x1f0]
push edx
call ebx
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x1f0]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
sub esp, 0x10
mov byte [ebp - 4], 0x35
mov edi, esp
mov dword [ebp - 0x34], esp
push edi
call ebx
lea edx, [ebp - 0x1f0]
push edx
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x36
cmp edi, dword [0x475184]
jae 0x438d90
mov eax, dword [0x475180]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax]
push edx
mov ecx, esi
mov byte [ebp - 4], 0x35
call fcn.0040c410
cmp byte [0x4751a8], 0
je 0x437eec
push edi
mov edx, esi
mov ecx, 0x4750fc
call fcn.0040ce30
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x1f0]
push eax
call ebx
lea ecx, [ebp - 0x2a0]
push ecx
mov byte [ebp - 4], 0x10
call ebx
mov edx, 8
push str.iQuantity
mov word [ebp - 0x210], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x208], eax
test eax, eax
je 0x438d6f
mov byte [ebp - 4], 0x37
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0xb4]
call fcn.00403e40
mov byte [ebp - 4], 0x38
mov esi, dword [eax]
test esi, esi
je 0x437220
lea ecx, [ebp - 0x210]
lea edi, [ebp - 0x88]
call fcn.00403e90
mov byte [ebp - 4], 0x39
mov esi, dword [eax]
test esi, esi
je 0x437220
lea edi, [ebp - 0x3b0]
call fcn.00403f00
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x3a
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov ecx, edi
push ecx
call ebx
mov byte [ebp - 4], 0x38
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x437fa9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x37
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x437fbf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x210]
push eax
mov byte [ebp - 4], 0x10
call ebx
lea ecx, [ebp - 0x230]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov byte [ebp - 4], 0x3b
mov esi, dword [0x475178]
test esi, esi
je 0x438035
dec esi
js 0x438d7f
cmp esi, dword [0x475178]
jge 0x438d7f
mov ecx, dword [0x475174]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 8]
push 0x464a7c
push eax
call fcn.00446f23
add esp, 8
test eax, eax
je 0x438038
test esi, esi
jne 0x438000
or esi, 0xffffffff
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x2c0]
push edx
call ebx
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x2c0]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
sub esp, 0x10
mov byte [ebp - 4], 0x3c
mov edi, esp
mov dword [ebp - 0x34], esp
push edi
call ebx
lea edx, [ebp - 0x2c0]
push edx
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x3d
cmp edi, dword [0x475184]
jae 0x438d90
mov eax, dword [0x475180]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax]
push edx
mov ecx, esi
mov byte [ebp - 4], 0x3c
call fcn.0040c410
cmp byte [0x4751a8], 0
je 0x4380c8
push edi
mov edx, esi
mov ecx, 0x4750fc
call fcn.0040ce30
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x2c0]
push eax
call ebx
lea ecx, [ebp - 0x230]
push ecx
mov byte [ebp - 4], 0x10
call ebx
mov edx, 8
push str.iSum
mov word [ebp - 0x2e0], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x2d8], eax
test eax, eax
je 0x438d6f
mov byte [ebp - 4], 0x3e
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x68]
call fcn.00403e40
mov byte [ebp - 4], 0x3f
mov esi, dword [eax]
test esi, esi
je 0x437220
lea ecx, [ebp - 0x2e0]
lea edi, [ebp - 0x90]
call fcn.00403e90
mov byte [ebp - 4], 0x40
mov esi, dword [eax]
test esi, esi
je 0x437220
lea edi, [ebp - 0x360]
call fcn.00403f00
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x41
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov ecx, edi
push ecx
call ebx
mov byte [ebp - 4], 0x3f
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x438182
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x3e
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x438195
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x2e0]
push eax
mov byte [ebp - 4], 0x10
call ebx
lea ecx, [ebp - 0x300]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x300]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov byte [ebp - 4], 0x42
mov esi, dword [0x475178]
test esi, esi
je 0x43820b
dec esi
js 0x438d7f
cmp esi, dword [0x475178]
jge 0x438d7f
mov ecx, dword [0x475174]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 8]
push 0x465144
push eax
call fcn.00446f23
add esp, 8
test eax, eax
je 0x43820e
test esi, esi
jne 0x4381d6
or esi, 0xffffffff
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x250]
push edx
call ebx
lea eax, [ebp - 0x300]
push eax
lea ecx, [ebp - 0x250]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
sub esp, 0x10
mov byte [ebp - 4], 0x43
mov edi, esp
mov dword [ebp - 0x34], esp
push edi
call ebx
lea edx, [ebp - 0x250]
push edx
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x44
cmp edi, dword [0x475184]
jae 0x438d90
mov eax, dword [0x475180]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax]
push edx
mov ecx, esi
mov byte [ebp - 4], 0x43
call fcn.0040c410
cmp byte [0x4751a8], 0
je 0x43829e
push edi
mov edx, esi
mov ecx, 0x4750fc
call fcn.0040ce30
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x250]
push eax
call ebx
lea ecx, [ebp - 0x300]
push ecx
mov byte [ebp - 4], 0x10
call ebx
lea esi, [ebp - 0x30]
call fcn.00443000
fstp qword [ebp - 0x58]
mov edx, 8
push str.iSum2
mov word [ebp - 0x270], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x268], eax
test eax, eax
je 0x438d6f
mov byte [ebp - 4], 0x45
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x74]
call fcn.00403e40
mov byte [ebp - 4], 0x46
mov esi, dword [eax]
test esi, esi
je 0x437220
lea ecx, [ebp - 0x270]
lea edi, [ebp - 0x6c]
call fcn.00403e90
mov byte [ebp - 4], 0x47
mov esi, dword [eax]
test esi, esi
je 0x437220
lea edi, [ebp - 0x380]
call fcn.00403f00
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x48
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov ecx, edi
push ecx
call ebx
mov byte [ebp - 4], 0x46
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x43835d
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x45
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x438370
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x270]
push eax
mov byte [ebp - 4], 0x10
call ebx
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov byte [ebp - 4], 0x49
mov esi, dword [0x475178]
test esi, esi
je 0x4383e6
dec esi
js 0x438d7f
cmp esi, dword [0x475178]
jge 0x438d7f
mov ecx, dword [0x475174]
mov eax, dword [ecx + esi*4]
mov eax, dword [eax + 8]
push 0x46514c
push eax
call fcn.00446f23
add esp, 8
test eax, eax
je 0x4383e9
test esi, esi
jne 0x4383b1
or esi, 0xffffffff
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0xf0]
push edx
call ebx
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0xf0]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
sub esp, 0x10
mov byte [ebp - 4], 0x4a
mov edi, esp
mov dword [ebp - 0x34], esp
push edi
call ebx
lea edx, [ebp - 0xf0]
push edx
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x4b
cmp edi, dword [0x475184]
jae 0x438d90
mov eax, dword [0x475180]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + eax]
push edx
mov ecx, esi
mov byte [ebp - 4], 0x4a
call fcn.0040c410
cmp byte [0x4751a8], 0
je 0x438479
push edi
mov edx, esi
mov ecx, 0x4750fc
call fcn.0040ce30
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0xf0]
push eax
call ebx
lea ecx, [ebp - 0x100]
push ecx
mov byte [ebp - 4], 0x10
call ebx
lea esi, [ebp - 0x30]
call fcn.00443000
fstp qword [ebp - 0xb0]
mov edx, 8
push str.iinvscost
mov word [ebp - 0x120], dx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x118], eax
test eax, eax
je 0x438d6f
mov byte [ebp - 4], 0x4c
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x84]
call fcn.00403e40
mov byte [ebp - 4], 0x4d
mov esi, dword [eax]
test esi, esi
je 0x437220
lea ecx, [ebp - 0x120]
lea edi, [ebp - 0x7c]
call fcn.00403e90
mov byte [ebp - 4], 0x4e
mov esi, dword [eax]
test esi, esi
je 0x437220
lea edi, [ebp - 0x3a0]
call fcn.00403f00
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x4f
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov ecx, edi
push ecx
call ebx
mov byte [ebp - 4], 0x4d
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x43853e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 0x4c
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x438554
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x120]
push eax
mov byte [ebp - 4], 0x10
call ebx
lea ecx, [ebp - 0x160]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
mov byte [ebp - 4], 0x50
mov esi, dword [0x475178]
test esi, esi
je 0x4385ca
dec esi
js 0x438d7f
cmp esi, dword [0x475178]
jge 0x438d7f
or esi, 0xffffffff
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x140]
push edx
call ebx
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x140]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
sub esp, 0x10
mov byte [ebp - 4], 0x51
mov edi, esp
mov dword [ebp - 0x34], esp
push edi
call ebx
lea edx, [ebp - 0x140]
push edx
push edi
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
js 0x438d79
push 0x8007000e
call fcn.00404430
push 0x8007000e
call fcn.00445020
push eax
call fcn.00445020
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0x80070057
call fcn.00404430
push eax
call fcn.00404430
mov eax, dword [0x47628c]
cmp eax, edi
jne 0x438db3
push 0x80004003
call fcn.00445020
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push eax
mov esi, eax
call edx
cmp eax, edi
jge 0x438dcd
push 0x461944
push esi
push eax
call fcn.00445040
cmp dword [ebp - 0x44], edi
jle 0x438de4
push edi
push 0x461fbc
push str.penc8h
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 6
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438e16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret