Function at 0x4026c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x450d3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x540
mov dl, byte [0x471b14]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x349]
mov byte [esp + 0x348], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x44d]
mov byte [esp + 0x44c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x348]
push 0x104
push eax
push 0
mov dword [esp + 0x34], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x348]
push ecx
call fcn.004207ea
mov esi, edx
lea edx, [esp + 0x34c]
add esp, 4
mov ebx, eax
test edx, edx
je 0x4027cf
lea edi, [esp + 0x348]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jb 0x4027cf
lea eax, [esp + 0x348]
lea edi, [esp + 0x348]
mov dword [esp + 0x10], eax
mov al, byte [esp + 0x348]
test al, al
je 0x4027b5
mov al, byte [edi]
cmp al, 0x5c
je 0x402798
cmp al, 0x2f
je 0x402798
cmp al, 0x3a
jne 0x4027a5
push edi
call fcn.00431247
add esp, 4
mov dword [esp + 0x10], eax
push edi
call fcn.00431247
mov edi, eax
add esp, 4
cmp byte [edi], 0
jne 0x40278a
mov ecx, dword [esp + 0x10]
push 0x104
lea edx, [esp + 0x450]
push ecx
push edx
call fcn.004311ad
add esp, 0xc
mov eax, ebx
push 0x20
and eax, 0xffff
mov ecx, 0x10
push eax
mov eax, ebx
mov edx, esi
call fcn.00431260
and eax, 0xffff
mov ecx, esi
push eax
mov edx, esi
mov eax, esi
and edx, 0xffff
sar ecx, 0x1f
sar eax, 0x10
push edx
lea ecx, [esp + 0x45c]
push eax
push ecx
push str._s_version_d._d._d._d__Image_d_bits
push 1
push 0x471d20
sar esi, 0x1f
call fcn.00401200
add esp, 0x24
call fcn.0041664e
mov ecx, dword [0x481f9c]
push eax
mov eax, dword [0x482024]
xor edx, edx
mov dx, word [0x482026]
and eax, 0xffff
push edx
mov edx, dword [0x481f98]
push eax
mov eax, dword [0x481f94]
push ecx
mov ecx, dword [0x481fa0]
push edx
push eax
push ecx
push str.Running_on_Windows_PlatId_d_Version__d._d.0._d_SP_d._d_Windows_64Bit_OS_d
push 1
push 0x471d20
call fcn.00401200
mov eax, dword [esp + 0x588]
add esp, 0x28
lea ebx, [ebp + 0x1c4]
mov dword [ebp + 0xc4], eax
push eax
mov ecx, ebx
call fcn.0041e1e5
mov dl, byte [esp + 0x17]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], dl
call fcn.004017f0
lea eax, [esp + 0x18]
lea ecx, [ebp + 0x1c8]
push eax
push str.mariner
mov dword [esp + 0x560], 0
call fcn.0041d056
push 1
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x55c], 0xffffffff
call fcn.004017f0
mov eax, dword [ebp + 0xf0]
mov dword [ebp + 0xc8], esi
test eax, eax
jne 0x40290e
mov eax, dword [ebp + 0xd0]
test eax, eax
jne 0x4028ef
mov eax, 0x45561c
push eax
lea ecx, [ebp + 0xdc]
push 1
push ecx
mov ecx, ebx
call fcn.0041d45f
test eax, eax
mov dword [ebp + 0xf0], eax
je 0x4033fb
mov eax, dword [ebp + 0xe0]
test eax, eax
jne 0x40291d
mov eax, 0x45561c
push eax
push str.Using_datfile:__s_n
push 1
push 0x471d20
call fcn.00401200
mov edx, dword [ebp + 0xe0]
add esp, 0x10
test edx, edx
jne 0x402941
mov edx, 0x45561c
mov dword [ebp + 0xec], edx
mov al, byte [0x471b14]
mov byte [esp + 0x244], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x245]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jbe 0x4029a9
cmp byte [edx], 0x5c
jne 0x402982
cmp byte [edx + 1], 0x5c
je 0x402988
cmp byte [edx + 1], 0x3a
jne 0x4029a9
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x244]
repne scasb al, byte es:[edi]
not ecx
mov eax, esi
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, eax
jmp 0x402a38
lea ecx, [esp + 0x244]
push ecx
call fcn.0041a7eb
lea edx, [esp + 0x248]
add esp, 4
test edx, edx
je 0x402a12
lea edi, [esp + 0x244]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x402a12
cmp byte [esp + ecx + 0x243], 0x5c
je 0x402a12
mov edi, 0x466498
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x244]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0xec]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x244]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov al, byte [0x471b14]
mov ecx, edx
and ecx, 3
mov byte [esp + 0x140], al
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x141]
push 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x144]
lea edx, [esp + 0x248]
stosw word es:[edi], ax
push ecx
push 0x104
push edx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov edx, eax
test edx, edx
je 0x402acc
cmp edx, 0x104
ja 0x402acc
lea edi, [esp + 0x244]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jae 0x402acc
lea edi, [esp + 0x140]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x244]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402b0c
lea edx, [esp + 0x244]
mov dword [ebp + 0xc0], 2
push edx
push str.Datfile__s_does_not_exist____n
push 8
push 0x471d20
call fcn.00401200
add esp, 0x10
xor eax, eax
jmp 0x403431
mov esi, dword [0x481868]
mov eax, dword [ebp + 0xec]
push eax
mov ecx, ebx
call fcn.0041dd8e
or eax, esi
mov ecx, 0x471d20
push eax
call fcn.004159e5
push str.CICEApp::InitInstance_____intitializing_variable_n
push 2
push 0x471d20
call fcn.00401200
mov ecx, dword [esp + 0x56c]
mov edx, dword [ebp + 0xec]
add esp, 0xc
lea eax, [ebp + 0x1fc]
push eax
push 0
push ecx
push edx
mov ecx, 0x471bd8
call fcn.0041aec2
test eax, eax
je 0x4033db
mov al, byte [esp + 0x17]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.004017f0
lea ecx, [esp + 0x18]
mov dword [esp + 0x558], 1
push ecx
push str.testloc
lea ecx, [ebp + 0x1c8]
call fcn.0041d056
push 1
lea ecx, [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x55c], 0xffffffff
call fcn.004017f0
mov edx, dword [ebp + 0xec]
xor eax, eax
test esi, esi
sete al
lea edi, [ebp + 0xf4]
push edx
push eax
push edi
mov ecx, ebx
mov dword [ebp + 0x108], esi
call fcn.0041d69b
mov edi, dword [edi + 4]
test edi, edi
jne 0x402be5
mov edi, 0x45561c
push edi
mov ecx, 0x471bd8
call fcn.0041ad9d
mov word [ebp + 0x104], ax
mov ecx, dword [ebp + 0xd0]
test ecx, ecx
jne 0x402c06
mov ecx, 0x45561c
mov edx, dword [ebp + 0xec]
push 0
push ecx
mov ecx, dword [esp + 0x568]
push ecx
push eax
push edx
lea ecx, [ebp + 0x1fc]
call fcn.00417b07
mov al, byte [esp + 0x17]
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.004017f0
mov edx, dword [ebp + 0xec]
lea ecx, [esp + 0x2c]
mov esi, 2
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x560], esi
call fcn.0041d2f8
test eax, eax
je 0x402cbd
mov edi, 0x466648
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x34]
not ecx
dec ecx
push ecx
push 0x466648
push eax
push 0
lea ecx, [esp + 0x3c]
call fcn.004052d0
test eax, eax
jne 0x402c8f
mov dword [0x481878], 1
jmp 0x402cbd
mov edi, str.Only
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x38]
push str.Only
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.004052d0
test eax, eax
jne 0x402cbd
mov dword [0x481878], esi
mov edx, dword [ebp + 0xec]
mov ecx, ebx
push edx
call fcn.0041d1ae
mov dword [ebp + 0x10c], eax
mov al, byte [esp + 0x17]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.004017f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x558], 3
push ecx
push str.swreinst
lea ecx, [ebp + 0x1c8]
call fcn.0041d056
push 1
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x55c], 2
call fcn.004017f0
mov dword [ebp + 0x1c0], esi
mov dl, byte [0x471b14]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x3c]
push eax
call fcn.0041a7eb
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [ebp + 0x1a0]
push 1
mov dword [esp + 0x14], ecx
push ecx
mov ecx, ebx
call fcn.00401860
test al, al
je 0x402d8c
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 4]
mov ecx, eax
lea esi, [esp + 0x3c]
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00401840
mov eax, dword [ebp + 0xec]
push 0x800
lea ecx, [esp + 0x40]
push 0x104
push ecx
push str.ProductSeries
push str.Version
push eax
lea ecx, [ebp + 0x1fc]
call fcn.00419cf3
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [ebp + 0x150]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
mov ecx, ebx
push esi
mov dword [esp + 0x18], esi
call fcn.00401860
test al, al
je 0x402e00
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00401840
mov edi, str._SourcePath_
or ecx, 0xffffffff
xor eax, eax
lea ebx, [ebp + 0x1b0]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov dword [esp + 0x14], ecx
push ecx
mov ecx, ebx
call fcn.00401860
test al, al
je 0x402e4e
mov edx, dword [esp + 0x10]
mov edi, dword [ebx + 4]
mov ecx, edx
mov esi, str._SourcePath_
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], edx
add eax, edx
mov byte [eax], 0
push 0x800
lea esi, [ebp + 0x1fc]
push 0
push ebx
mov ecx, esi
call fcn.00419b4c
mov eax, dword [ebp + 0xec]
push 0x800
lea ecx, [esp + 0x40]
push 0x104
push ecx
push str.CDGuid
push str.Version
push eax
mov ecx, esi
mov byte [esp + 0x54], 0
call fcn.00419cf3
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [ebp + 0x170]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
mov ecx, ebx
push esi
mov dword [esp + 0x18], esi
call fcn.00401860
test al, al
je 0x402edb
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 8], eax
mov ebx, dword [ebx + 4]
add ebx, eax
mov byte [ebx], 0
mov eax, dword [ebp + 0xec]
push 0x800
lea ecx, [esp + 0x40]
push 0x104
push ecx
push str.SoftwareGuid
push str.Version
push eax
lea ecx, [ebp + 0x1fc]
mov byte [esp + 0x54], 0
call fcn.00419cf3
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x180]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, edx
push ebx
call fcn.00401860
test al, al
je 0x402f5a
mov edi, dword [ebp + 0x184]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x184]
mov dword [ebp + 0x188], ebx
add ebx, eax
mov byte [ebx], 0
mov eax, dword [ebp + 0xec]
push 0x800
lea ecx, [esp + 0x40]
push 0x104
push ecx
push str.Manufacturer
push str.Version
push eax
lea ecx, [ebp + 0x1fc]
call fcn.00419cf3
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
lea esi, [ebp + 0x160]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, esi
push ebx
call fcn.00401860
test al, al
je 0x402fd1
mov edi, dword [esi + 4]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x164]
mov dword [ebp + 0x168], ebx
add ebx, eax
mov byte [ebx], 0
mov eax, dword [ebp + 0xec]
push 0x800
lea ecx, [esp + 0x40]
push 0x104
push ecx
push str.RegistryManufacturer
push str.Version
push eax
lea ecx, [ebp + 0x1fc]
call fcn.00419cf3
test eax, eax
je 0x40304e
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [ebp + 0x190]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov esi, ecx
mov ecx, ebx
push esi
mov dword [esp + 0x18], esi
call fcn.00401860
test al, al
je 0x403068
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 8], eax
mov ebx, dword [ebx + 4]
add ebx, eax
mov byte [ebx], 0
jmp 0x403068
mov eax, dword [0x455554]
lea ecx, [ebp + 0x190]
push eax
lea eax, [ebp + 0x160]
push 0
push eax
call fcn.00404f70
mov eax, dword [ebp + 0x158]
test eax, eax
je 0x403372
mov eax, dword [ebp + 0x168]
test eax, eax
je 0x403372
mov cl, byte [0x471b14]
xor eax, eax
mov byte [esp + 0x140], cl
mov ecx, 0x40
lea edi, [esp + 0x141]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp + 0x1c4]
stosb byte es:[edi], al
call fcn.0041d451
lea ebx, [ebp + 0x114]
lea ecx, [ebp + 0x1c8]
push ebx
push 0x4665c8
mov dword [ebp + 0x110], eax
call fcn.0041d056
test eax, eax
je 0x40318e
mov eax, dword [ebp + 0x11c]
mov ecx, dword [ebx + 8]
lea esi, [eax - 1]
cmp ecx, esi
jb 0x403112
mov eax, dword [ebx + 4]
test eax, eax
je 0x403112
mov al, byte [eax - 1]
test al, al
je 0x403100
cmp al, 0xff
je 0x403100
push 0
push ecx
mov ecx, ebx
call fcn.00401860
mov eax, dword [ebx + 4]
test eax, eax
je 0x40310b
mov byte [eax - 1], 0xff
mov eax, dword [ebx + 4]
add eax, esi
jmp 0x403117
mov eax, 0x45561c
cmp byte [eax], 0x5c
je 0x40331f
mov edi, 0x466498
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x455554]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [ebx + 8]
sub edx, ecx
cmp edx, esi
ja 0x403145
call fcn.00441cc0
test esi, esi
jbe 0x40331f
mov eax, dword [ebx + 8]
push 0
add eax, esi
mov ecx, ebx
push eax
mov dword [esp + 0x18], eax
call fcn.00401860
test al, al
je 0x40331f
mov edi, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov ecx, esi
add edi, eax
mov eax, ecx
mov esi, 0x466498
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x10]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x403314
mov ax, word [ebp + 0x104]
mov ecx, dword [ebp + 0xec]
push eax
lea edx, [esp + 0x144]
push 0x104
push edx
push str.INSTALLDIR
push 0x4665b8
lea esi, [ebp + 0x1fc]
push ecx
mov ecx, esi
call fcn.00419cf3
test eax, eax
jne 0x40322b
mov ax, word [ebp + 0x104]
mov ecx, dword [ebp + 0xec]
push eax
lea eax, [esp + 0x144]
push 0x104
push eax
push str.INSTALLDIR
push str.Version
push ecx
mov ecx, esi
call fcn.00419cf3
test eax, eax
jne 0x40322b
mov ax, word [ebp + 0x104]
mov ecx, dword [ebp + 0xec]
push eax
lea edx, [esp + 0x144]
push 0x104
push edx
push str.Pre_Install
push str.Version
push ecx
mov ecx, esi
call fcn.00419cf3
test eax, eax
je 0x40331f
lea eax, [esp + 0x140]
test eax, eax
je 0x403284
lea edi, [esp + 0x140]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x403284
cmp byte [esp + ecx + 0x13f], 0x5c
je 0x403284
mov edi, 0x466498
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x140]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x140]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
cmp esi, 0xfffffffd
mov dword [esp + 0x10], esi
jbe 0x4032a5
call fcn.00441cc0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4032ca
mov al, byte [ecx - 1]
test al, al
je 0x4032ca
cmp al, 0xff
je 0x4032ca
test esi, esi
jne 0x4032ee
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.004017f0
jmp 0x40331f
test esi, esi
jne 0x4032d9
push 1
mov ecx, ebx
call fcn.004017f0
jmp 0x40331f
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x4032e5
cmp eax, esi
jae 0x4032f6
push 1
mov ecx, ebx
call fcn.004017f0
push esi
mov ecx, ebx
call fcn.00401980
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 4]
mov ecx, eax
lea esi, [esp + 0x140]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 8], eax
mov ebx, dword [ebx + 4]
add ebx, eax
mov byte [ebx], 0
lea esi, [ebp + 0x1c4]
mov ecx, esi
call fcn.0041d3af
mov dword [ebp + 0x138], eax
lea eax, [ebp + 0x124]
push eax
push 0x4665a8
lea ecx, [ebp + 0x1c8]
call fcn.0041d056
mov dword [ebp + 0x134], eax
mov eax, dword [ebp + 0x110]
test eax, eax
je 0x403363
mov dword [ebp + 0x10c], 1
mov ecx, esi
call fcn.0041d3a1
mov dword [ebp + 0x14c], eax
jmp 0x403398
push str.Either_manufacturer_or__productSeries_is_empty._n
push 8
push 0x471d20
call fcn.00401200
add esp, 0xc
mov dword [ebp + 0xc0], 0x643
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x30]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x558], 0xffffffff
je 0x4033c9
mov al, byte [ecx - 1]
test al, al
je 0x4033bf
cmp al, 0xff
je 0x4033bf
dec al
mov byte [ecx - 1], al
jmp 0x4033c9
dec ecx
push ecx
call fcn.00447dfa
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x28]
jmp 0x40341b
push str.Cannot_init_the_factory_n
push 8
push 0x471d20
call fcn.00401200
add esp, 0xc
mov dword [ebp + 0xc0], 0x643
jmp 0x403419
push str.GetDatFileName___returned_FALSE.__We_need_a_dat_file_to_run._n
push 8
push 0x471d20
mov dword [ebp + 0xc0], 0x643
call fcn.00401200
add esp, 0xc
xor esi, esi
push str.CSetupApp::InitInstance_n
push 4
push 0x471d20
call fcn.00401200
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x550]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54c
ret 4