Function at 0x4723ff
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 8
call fcn.0055dd8b
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x59ab67
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], esp
push str..Goods.item
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x472455
push 6
call fcn.0055dd91
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x47248c
push htons
push 0
push 0x59ab67
push VariantClear
push 0
push str..Goods.item
push 2
mov ebx, 0x26c
call fcn.00560b30
add esp, 0x1c
push 0x80000301
push 0
push dword [0x614344]
push 1
mov ebx, 0x168
call fcn.0055e870
add esp, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
push str.Goods.
mov ecx, 2
call fcn.004036b1
add esp, 8
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4724d6
push ebx
call fcn.0055dd85
add esp, 4
lea eax, [ebp - 0x14]
push eax
mov eax, str..Goods.item
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 0x6149b8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x472508
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x472518
push ebx
call fcn.0055dd85
add esp, 4
cmp dword [ebp - 0x1c], 1
jne 0x472860
lea eax, [ebp - 4]
push eax
push 0x6149b8
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x2c]
push 0x614854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x8c]
push 0x614854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x130]
mov ebx, dword [ebp - 4]
call fcn.0040176b
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x47283c
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
push dword [ebp - 0x20]
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
push dword [ebp - 0x28]
push 0x614854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x128]
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4725f2
push ebx
call fcn.0055dd85
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 0
push 0
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x10]
push 1
push 1
push dword [ebp - 0xc]
push 0x614854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x134]
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 0x10], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.0055e870
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push 2
push dword [ebp - 0xc]
push 0x614854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x134]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4726bd
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 0x10], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.0055e870
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push 3
push dword [ebp - 0xc]
push 0x614854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x134]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x47273a
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0x10], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.0055e870
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push 4
push dword [ebp - 0xc]
push 0x614854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x134]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4727b7
push ebx
call fcn.0055dd85
add esp, 4
mov ebx, dword [ebp - 4]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 8]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x10
mov dword [ebp - 0x10], ebx
push reloc.OLEAUT32.dll_SysReAllocString
push 0
mov ebx, dword [ebp - 0x10]
push dword [ebx]
push 1
mov ebx, 0x168
call fcn.0055e870
add esp, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push 5
push dword [ebp - 0xc]
push 0x614854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x134]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x472834
push ebx
call fcn.0055dd85
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x47256a
add esp, 0xc
push 0x614854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x90]
push 0x614854
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x34]
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x47287e
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x47287a
imul eax, dword [ebx]
jmp 0x47286f
mov ecx, eax
test ecx, ecx
je 0x4728aa
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x472899
push ebx
call fcn.0055dd85
add esp, 4
pop ebx
call fcn.0055dd85
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x472884
call fcn.0055dd85
add esp, 4
mov esp, ebp
pop ebp
ret