Function at 0x41dfd0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45413b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x125c
call fcn.00432110
mov eax, dword [0x46b3ac]
mov dword [esp + 0x1258], eax
xor eax, eax
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
mov word [esp + 0xc48], si
mov ecx, 0x81
lea edi, [esp + 0xc4a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x18], si
mov ecx, 0x81
lea edi, [esp + 0x1a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x838], si
mov ecx, 0x81
lea edi, [esp + 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0xa40], si
mov ecx, 0x81
lea edi, [esp + 0xa42]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x630], si
mov ecx, 0x81
lea edi, [esp + 0x632]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0xe50], si
mov ecx, 0x81
lea edi, [esp + 0xe52]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x1058], si
mov ecx, 0x81
lea edi, [esp + 0x105a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x428], si
mov ecx, 0x81
lea edi, [esp + 0x42a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov word [esp + 0x220], si
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x222]
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
call fcn.00432d94
add esp, 4
mov dword [esp + 0x10], eax
push str._Y__m__d__H:_M:_S
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], edx
call fcn.0041de50
lea ecx, [esp + 0xc48]
push ecx
push str.ItemSoft
mov ecx, ebx
mov dword [esp + 0x127c], esi
call fcn.0041dad0
cmp eax, esi
jne 0x41e151
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x1274], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41e185
lea eax, [esp + 0x18]
push eax
push str.ItemSoftPath
mov ecx, ebx
call fcn.0041dad0
cmp eax, esi
jne 0x41e196
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x1274], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e18f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x41e324
lea eax, [esp + 0x838]
push eax
push str.ItemVer
mov ecx, ebx
call fcn.0041dad0
lea ecx, [esp + 0xa40]
push ecx
push str.ItemMinVer
mov ecx, ebx
call fcn.0041dad0
lea edx, [esp + 0xe50]
push edx
push str.SoftName
mov ecx, ebx
call fcn.0041dad0
lea eax, [esp + 0x1058]
push eax
push str.UpdCfgAddress
mov ecx, ebx
call fcn.0041dad0
mov edx, dword [0x46c488]
mov eax, dword [edx + 8]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [eax + 0x270]
push ecx
lea edx, [esp + 0x430]
push 0x456ff4
push edx
call fcn.00431524
add esp, 0x10
lea eax, [esp + 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41e231
push esi
lea ecx, [esp + 0x42c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [0x46c488]
mov ecx, dword [eax + 8]
lea edx, [esp + 0x18]
push edx
mov edx, dword [ecx + 0x278]
push edx
lea eax, [esp + 0x638]
push str._s_s_
push eax
call fcn.00431524
mov eax, dword [0x46c488]
lea ecx, [esp + 0x28]
push ecx
mov edx, ecx
mov ecx, dword [eax + 8]
push edx
mov edx, dword [ecx + 0x270]
push edx
lea eax, [esp + 0x23c]
push str._s_s_s.ini
push eax
call fcn.00431524
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x24
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x634]
push edx
push str.InstallPath
push str.Globals
call esi
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x220]
push eax
push ecx
push str.InstallTime
push str.Globals
call esi
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x83c]
push eax
push 0x45a524
push str.Globals
call esi
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0xa44]
push edx
push 0x458e6c
push str.Globals
call esi
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x1274], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e31f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
mov ecx, dword [esp + 0x126c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1264]
call fcn.00431018
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret