Function at 0x40a219
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x42f08f
call fcn.00417a2c
mov eax, 0x2ebc
call fcn.00418ae0
push ebx
push esi
xor ebx, ebx
mov esi, ecx
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x30], esi
jne 0x40a242
xor eax, eax
jmp 0x40c24e
push edi
mov ecx, esi
push dword [ebp + 0xc]
call fcn.00409185
push 0x2710
lea eax, [ebp - 0x2ec8]
push ebx
push eax
call fcn.00418a80
add esp, 0xc
mov dword [esi + 0x84], 1
mov al, byte [0x441334]
lea edi, [ebp - 0x15b]
push 0x40
mov byte [ebp - 0x15c], al
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x58], al
call fcn.00402820
mov al, byte [0x441334]
push 0x40
mov byte [ebp - 0x670], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x66f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 4], ebx
mov dword [ebp + 0xc], ebx
stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
sub eax, ebx
je 0x40a2e3
dec eax
je 0x40a2d9
dec eax
jne 0x40a2e9
mov ax, word [esi + 0x70]
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.0041260a
pop ecx
pop ecx
jmp 0x40a2e9
mov ax, word [esi + 0x70]
and ax, 0x3ff
jmp 0x40a2c8
mov byte [ebp - 0x670], bl
mov edi, str.Strings
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.004062f0
lea eax, [ebp - 0x670]
push eax
call fcn.004179b0
pop ecx
push eax
lea eax, [ebp - 0x670]
push eax
lea ecx, [ebp - 0x58]
call fcn.00406230
mov eax, dword [ebp - 0x54]
cmp eax, ebx
jne 0x40a328
mov eax, 0x4312e0
lea ecx, [ebp - 0x2ec8]
push 0x2710
push ecx
push ebx
push ebx
push eax
push dword [ebp + 8]
call fcn.0041203c
add esp, 0x18
test eax, eax
je 0x40a3fe
cmp byte [ebp - 0x2ec8], bl
lea edi, [ebp - 0x2ec8]
je 0x40a3fe
mov eax, dword [ebp - 0x54]
mov byte [ebp - 0x15c], bl
cmp eax, ebx
jne 0x40a36e
mov eax, 0x4312e0
lea ecx, [ebp - 0x15c]
push 0x104
push ecx
push edi
push ebx
push eax
push dword [ebp + 8]
call fcn.0041203c
add esp, 0x18
test eax, eax
je 0x40a3e9
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00402820
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
lea eax, [ebp - 0x2c]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 1
call fcn.0040c5a6
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp - 0x48]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004062f0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00402820
push edi
call fcn.004179b0
cmp byte [edi + eax + 1], bl
lea edi, [edi + eax + 1]
pop ecx
jne 0x40a35c
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 3
jl 0x40a2b7
mov al, byte [0x441334]
push 0x40
mov byte [ebp - 0x260], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x25f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x260]
push 0x104
push eax
push 0x5a
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x40a57c
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00402820
mov esi, str._country_
push esi
call fcn.004179b0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 2
lea esi, [eax + 0x74]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0040c5a6
mov edi, eax
lea eax, [ebp - 0x260]
push eax
call fcn.004179b0
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
mov ecx, edi
call fcn.004062f0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00402820
lea eax, [ebp - 0x260]
push 0x43ab10
push eax
call fcn.00417383
pop ecx
test eax, eax
pop ecx
jne 0x40a51d
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00402820
mov edi, str._countrycode_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
mov byte [ebp - 4], 3
call fcn.0040c5a6
mov edi, 0x43aafc
mov dword [ebp + 0xc], eax
push edi
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push edi
call fcn.004062f0
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x2c]
jmp 0x40a645
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00402820
mov edi, str._countrycode_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
mov byte [ebp - 4], 4
call fcn.0040c5a6
mov edi, eax
lea eax, [ebp - 0x260]
push eax
call fcn.004179b0
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
mov ecx, edi
call fcn.004062f0
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x2c]
jmp 0x40a645
push str.Could_not_get_country_code
push 8
push 0x441540
call fcn.00401930
mov al, byte [ebp + 0xb]
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
push ebx
call fcn.00402820
mov esi, str._country_
push esi
call fcn.004179b0
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 5
lea esi, [eax + 0x74]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0040c5a6
mov edi, 0x43aadc
mov dword [ebp + 0xc], eax
push edi
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push edi
call fcn.004062f0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00402820
mov edi, str._countrycode_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
mov byte [ebp - 4], 6
call fcn.0040c5a6
mov edi, 0x43aadc
mov dword [ebp + 0xc], eax
push edi
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push edi
call fcn.004062f0
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402820
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x15c], bl
mov ax, word [eax + 0x70]
push eax
lea eax, [ebp - 0x15c]
push 0x104
push eax
push str.ICE_REV
push str.Version
push dword [ebp + 8]
call fcn.00412485
add esp, 0x18
test eax, eax
je 0x40a6dc
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00402820
mov edi, str._ICE_REV_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
mov byte [ebp - 4], 7
call fcn.0040c5a6
mov edi, eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
push eax
lea eax, [ebp - 0x15c]
push eax
mov ecx, edi
call fcn.004062f0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00402820
call fcn.0040e4c9
test eax, eax
je 0x40a79d
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00402820
mov edi, str._ICE_SUFFIX_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
mov byte [ebp - 4], 8
call fcn.0040c5a6
mov edi, 0x43aab4
mov dword [ebp + 0xc], eax
push edi
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push edi
call fcn.004062f0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00402820
mov edi, str._BITS_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
mov byte [ebp - 4], 9
call fcn.0040c5a6
mov edi, 0x43aaa8
mov dword [ebp + 0xc], eax
push edi
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push edi
call fcn.004062f0
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x2c]
jmp 0x40a84c
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00402820
mov edi, str._ICE_SUFFIX_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0xa
call fcn.0040c5a6
mov edi, 0x43aaa4
mov dword [ebp + 0xc], eax
push edi
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push edi
call fcn.004062f0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00402820
mov edi, str._BITS_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0xb
call fcn.0040c5a6
mov edi, 0x43aaa0
mov dword [ebp + 0xc], eax
push edi
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push edi
call fcn.004062f0
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402820
cmp dword [ebp + 0x18], ebx
mov byte [ebp - 0x15c], bl
mov edi, str._INSTALLDIR_
je 0x40a8b5
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00402820
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0xc
call fcn.0040c5a6
push dword [ebp + 0x18]
mov dword [ebp + 0xc], eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push dword [ebp + 0x18]
call fcn.004062f0
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x2c]
jmp 0x40aa4b
mov eax, dword [ebp - 0x30]
mov ax, word [eax + 0x70]
push eax
lea eax, [ebp - 0x15c]
push 0x104
push eax
push str.INSTALLDIR
push 0x439aec
push dword [ebp + 8]
call fcn.00412485
add esp, 0x18
test eax, eax
je 0x40a93e
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00402820
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0xd
call fcn.0040c5a6
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004062f0
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x2c]
jmp 0x40aa4b
mov eax, dword [ebp - 0x30]
mov ax, word [eax + 0x70]
push eax
lea eax, [ebp - 0x15c]
push 0x104
push eax
push str.INSTALLDIR
push str.Version
push dword [ebp + 8]
call fcn.00412485
add esp, 0x18
test eax, eax
je 0x40a9c7
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00402820
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0xe
call fcn.0040c5a6
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004062f0
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x2c]
jmp 0x40aa4b
mov eax, dword [ebp - 0x30]
mov ax, word [eax + 0x70]
push eax
lea eax, [ebp - 0x15c]
push 0x104
push eax
push str.Pre_Install
push str.Version
push dword [ebp + 8]
call fcn.00412485
add esp, 0x18
test eax, eax
je 0x40aa50
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00402820
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0xf
call fcn.0040c5a6
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004062f0
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], al
call fcn.00402820
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.004062f0
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
mov byte [ebp - 0x2c], al
call fcn.00402820
mov edi, str._INSTALLDIRx86_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.004062f0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x11
call fcn.0040c5a6
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.0040c5a6
push dword [0x4312dc]
mov ecx, eax
push ebx
push dword [ebp + 0x18]
call fcn.00402540
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.00402820
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], al
call fcn.00402820
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.004062f0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x12
call fcn.0040c5a6
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x40ab1d
mov eax, 0x4312e0
push eax
push str.initial_installdirx86_macro___s
push 0x20
push 0x441540
call fcn.00401930
add esp, 0x10
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
push 1
call fcn.00402820
call fcn.0040e4c9
test eax, eax
je 0x40aea6
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.00402820
push str._programfiles_
call fcn.004179b0
pop ecx
push eax
push str._programfiles_
lea ecx, [ebp - 0x2c]
call fcn.004062f0
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x13
mov byte [ebp - 0x40], al
call fcn.00402820
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.004062f0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x14
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov dword [ebp + 0x18], 0x4312e0
je 0x40abb3
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0040c5a6
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x40abca
mov eax, 0x4312e0
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push eax
call fcn.00417638
add esp, 0xc
lea ecx, [ebp - 0x40]
neg eax
sbb al, al
push 1
inc al
mov byte [ebp - 4], 0x13
mov byte [ebp + 0x1b], al
call fcn.00402820
cmp byte [ebp + 0x1b], bl
je 0x40acfb
push str.Replacing_programfiles_macro_with_programfilesx86_macro_in_installdirx86_macro
push 0x20
push 0x441540
call fcn.00401930
mov al, byte [ebp + 0xb]
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
push ebx
call fcn.00402820
push str._ProgramFilesx86_
call fcn.004179b0
pop ecx
push eax
push str._ProgramFilesx86_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x15
mov byte [ebp - 0x40], al
call fcn.00402820
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x16
call fcn.0040c5a6
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.0040c5a6
push eax
call fcn.00412d34
add esp, 0xc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x15
push 1
call fcn.00402820
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x17
call fcn.0040c5a6
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x40acd8
mov eax, 0x4312e0
push eax
push str.installdirx86_macro___s
push 0x20
push 0x441540
call fcn.00401930
add esp, 0x10
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1c]
push 1
jmp 0x40ae94
mov ecx, dword [ebp - 0x30]
push 0x800
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.0040c25e
cmp dword [ebp - 0x24], ebx
je 0x40ae99
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 0x18
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x28]
cmp eax, ebx
mov dword [ebp + 0x18], 0x4312e0
je 0x40ad51
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0040c5a6
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x40ad68
mov eax, 0x4312e0
push dword [ebp + 0xc]
push dword [ebp + 0x18]
push eax
call fcn.00417638
add esp, 0xc
lea ecx, [ebp - 0x1c]
neg eax
sbb al, al
push 1
inc al
mov byte [ebp - 4], 0x13
mov byte [ebp + 0x1b], al
call fcn.00402820
cmp byte [ebp + 0x1b], bl
je 0x40ae99
push str.Replacing_programfiles_expanded_string_with_programfilesx86_macro_in_installdirx86_macro
push 0x20
push 0x441540
call fcn.00401930
mov al, byte [ebp + 0xb]
add esp, 0xc
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], al
push ebx
call fcn.00402820
push str._ProgramFilesx86_
call fcn.004179b0
pop ecx
push eax
push str._ProgramFilesx86_
lea ecx, [ebp - 0x40]
call fcn.004062f0
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x19
mov byte [ebp - 0x1c], al
call fcn.00402820
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x1a
call fcn.0040c5a6
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.0040c5a6
push eax
call fcn.00412d34
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x19
push 1
call fcn.00402820
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x13
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x1b
call fcn.0040c5a6
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x40ae76
mov eax, 0x4312e0
push eax
push str.installdirx86_macro___s
push 0x20
push 0x441540
call fcn.00401930
add esp, 0x10
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1c]
push 1
call fcn.00402820
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00402820
lea eax, [ebp - 0x15c]
mov byte [ebp - 0x15c], bl
push eax
call fcn.0040ef1a
mov al, byte [ebp + 0xb]
pop ecx
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
mov edi, str._MyPath_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x1c
call fcn.0040c5a6
mov edi, eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
push eax
lea eax, [ebp - 0x15c]
push eax
mov ecx, edi
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
push dword [ebp + 0x14]
lea eax, [ebp - 0x15c]
push eax
call fcn.004189a0
lea eax, [ebp - 0x15c]
push eax
call fcn.0040efa6
mov al, byte [ebp + 0xb]
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
push ebx
call fcn.00402820
mov edi, str._CDRoot_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x1d
call fcn.0040c5a6
mov edi, eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
push eax
lea eax, [ebp - 0x15c]
push eax
mov ecx, edi
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov byte [ebp - 0x15c], bl
push ebx
lea eax, [ebp - 0x15c]
push eax
push 0x104
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
cmp dword [0x441504], ebx
je 0x40b2dd
mov eax, dword [0x441500]
mov eax, dword [eax]
lea edi, [eax + 8]
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
push eax
lea eax, [ebp - 0x15c]
push eax
mov ecx, edi
push dword [edi + 8]
push ebx
call fcn.00406450
cmp eax, ebx
jne 0x40b2dd
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
mov edi, str._LANG_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
mov eax, dword [ebp - 0x30]
mov ecx, 0x4413f8
mov byte [ebp - 4], 0x25
mov ax, word [eax + 0x70]
push eax
call fcn.0040f546
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.0040c5a6
push dword [ebp + 0x18]
mov dword [ebp + 0xc], eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push dword [ebp + 0x18]
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x26
call fcn.0040c5a6
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x40b098
mov eax, 0x4312e0
push eax
mov ecx, 0x4413f8
call fcn.0040f4ce
movzx eax, ax
push eax
lea eax, [ebp - 0x15c]
push 0x4392ec
push eax
call fcn.004168c1
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
push 1
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
mov edi, str._LANGID_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x27
call fcn.0040c5a6
mov edi, eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
push eax
lea eax, [ebp - 0x15c]
push eax
mov ecx, edi
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov ecx, dword [ebp - 0x30]
push 0x800
lea eax, [ebp - 0x15c]
push 0x104
push eax
push str.LanguagesInthisCD
push str.Version
push dword [ebp + 8]
call fcn.0040c405
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
mov edi, str._LanguagesInthisCD_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x28
call fcn.0040c5a6
mov edi, eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
push eax
lea eax, [ebp - 0x15c]
mov ecx, edi
push eax
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x15c], bl
mov ax, word [eax + 0x70]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0041260a
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x15c]
jbe 0x40b1e6
push eax
call fcn.004171cf
pop ecx
mov dword [ebp + 0x18], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
mov edi, str._LangQualifier_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x29
call fcn.0040c5a6
push dword [ebp + 0x18]
mov edi, eax
call fcn.004179b0
pop ecx
push eax
mov ecx, edi
push dword [ebp + 0x18]
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x15c], bl
mov ax, word [eax + 0x70]
and ax, 0x3ff
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0041260a
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x15c]
jbe 0x40b27e
push eax
call fcn.004171cf
pop ecx
mov dword [ebp + 0x18], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
mov edi, str._PrimaryLangQualifier_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x2a
call fcn.0040c5a6
push dword [ebp + 0x18]
mov edi, eax
call fcn.004179b0
pop ecx
push eax
mov ecx, edi
push dword [ebp + 0x18]
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
jmp 0x40b5f6
push ebx
lea eax, [ebp - 0x15c]
push dword [ebp + 0x10]
lea ecx, [ebp - 0x7b8]
push eax
call fcn.0040f320
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1e
mov byte [ebp - 0x1c], al
call fcn.00402820
mov edi, str._LANG_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x7b8]
mov byte [ebp - 4], 0x1f
mov ax, word [eax + 0x70]
push eax
call fcn.0040f546
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.0040c5a6
push dword [ebp + 0x18]
mov dword [ebp + 0xc], eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push dword [ebp + 0x18]
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1e
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x20
call fcn.0040c5a6
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x40b3a2
mov eax, 0x4312e0
push eax
lea ecx, [ebp - 0x7b8]
call fcn.0040f4ce
movzx eax, ax
push eax
lea eax, [ebp - 0x15c]
push 0x4392ec
push eax
call fcn.004168c1
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1e
push 1
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
mov edi, str._LANGID_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x21
call fcn.0040c5a6
mov edi, eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
push eax
lea eax, [ebp - 0x15c]
push eax
mov ecx, edi
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1e
call fcn.00402820
mov ecx, dword [ebp - 0x30]
push 0x800
lea eax, [ebp - 0x15c]
push 0x104
push eax
push str.LanguagesInthisCD
push str.Version
push dword [ebp + 8]
call fcn.0040c405
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
mov edi, str._LanguagesInthisCD_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x22
call fcn.0040c5a6
mov edi, eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
push eax
lea eax, [ebp - 0x15c]
mov ecx, edi
push eax
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1e
call fcn.00402820
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x15c], bl
mov ax, word [eax + 0x70]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0041260a
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x15c]
jbe 0x40b4f4
push eax
call fcn.004171cf
pop ecx
mov dword [ebp + 0x18], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
mov edi, str._LangQualifier_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x23
call fcn.0040c5a6
push dword [ebp + 0x18]
mov edi, eax
call fcn.004179b0
pop ecx
push eax
mov ecx, edi
push dword [ebp + 0x18]
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1e
call fcn.00402820
mov eax, dword [ebp - 0x30]
mov byte [ebp - 0x15c], bl
mov ax, word [eax + 0x70]
and ax, 0x3ff
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.0041260a
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x15c]
jbe 0x40b58d
push eax
call fcn.004171cf
pop ecx
mov dword [ebp + 0x18], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
mov edi, str._PrimaryLangQualifier_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x24
call fcn.0040c5a6
push dword [ebp + 0x18]
mov edi, eax
call fcn.004179b0
pop ecx
push eax
mov ecx, edi
push dword [ebp + 0x18]
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1e
call fcn.00402820
lea ecx, [ebp - 0x7b8]
mov byte [ebp - 4], bl
call fcn.0040fe9b
mov dl, byte [0x441334]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x467]
mov byte [ebp - 0x468], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x363]
mov byte [ebp - 0x364], dl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x56b]
mov byte [ebp - 0x56c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x468]
mov byte [ebp - 0x15c], bl
push eax
call fcn.0041253e
lea eax, [ebp - 0x364]
push eax
call fcn.004125be
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x56c]
push eax
call fcn.00418990
lea eax, [ebp - 0x364]
push eax
call fcn.004179b0
add esp, 0x14
test eax, eax
je 0x40b697
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x56c]
push eax
call fcn.004189a0
pop ecx
pop ecx
lea eax, [ebp - 0x468]
push eax
call fcn.004179b0
test eax, eax
pop ecx
je 0x40b73b
lea eax, [ebp - 0x468]
push eax
call fcn.004171cf
pop ecx
mov edi, 0x441540
push eax
push str.OS_MACRO_will_expand_to__s
push 0x80
push edi
call fcn.00401930
mov al, byte [ebp + 0xb]
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
push ebx
call fcn.00402820
push str._OS_
call fcn.004179b0
pop ecx
push eax
push str._OS_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 0x2b
push eax
call fcn.004171cf
mov dword [ebp + 0x18], eax
pop ecx
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0040c5a6
push dword [ebp + 0x18]
mov dword [ebp + 0xc], eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push dword [ebp + 0x18]
call fcn.004062f0
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x1c]
jmp 0x40b7ab
push str.OS_MACRO_is_empty___Cant_expand_OS
mov edi, 0x441540
push 8
push edi
call fcn.00401930
mov al, byte [ebp + 0xb]
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
push ebx
call fcn.00402820
push str._OS_
call fcn.004179b0
pop ecx
push eax
push str._OS_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x2c
call fcn.0040c5a6
push 0x441334
mov dword [ebp + 0x18], eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
push 0x441334
call fcn.004062f0
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402820
lea eax, [ebp - 0x364]
push eax
call fcn.004179b0
test eax, eax
pop ecx
je 0x40b84f
lea eax, [ebp - 0x364]
push eax
call fcn.004171cf
pop ecx
push eax
push str.SP_MACRO_will_expand_to__s
push 0x80
push edi
call fcn.00401930
mov al, byte [ebp + 0xb]
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
push ebx
call fcn.00402820
push str._SP_
call fcn.004179b0
pop ecx
push eax
push str._SP_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x364]
mov byte [ebp - 4], 0x2d
push eax
call fcn.004171cf
mov dword [ebp + 0x18], eax
pop ecx
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0040c5a6
push dword [ebp + 0x18]
mov dword [ebp + 0xc], eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push dword [ebp + 0x18]
call fcn.004062f0
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x1c]
jmp 0x40b8bd
push str.SP_MACRO_will_expand_to___
push 0x80
push edi
call fcn.00401930
mov al, byte [ebp + 0xb]
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
push ebx
call fcn.00402820
push str._SP_
call fcn.004179b0
pop ecx
push eax
push str._SP_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x2e
call fcn.0040c5a6
push 0x441334
mov dword [ebp + 0x18], eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
push 0x441334
call fcn.004062f0
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402820
lea eax, [ebp - 0x56c]
push eax
call fcn.004179b0
test eax, eax
pop ecx
je 0x40b959
lea eax, [ebp - 0x56c]
push eax
call fcn.004171cf
pop ecx
push eax
push str.OSSP_MACRO_will_expand_to__s
push 0x80
push edi
call fcn.00401930
mov al, byte [ebp + 0xb]
add esp, 0x10
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
push ebx
call fcn.00402820
mov edi, str._OSSP_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x56c]
mov byte [ebp - 4], 0x2f
push eax
call fcn.004171cf
mov edi, eax
pop ecx
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.0040c5a6
push edi
mov dword [ebp + 0x18], eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
push edi
call fcn.004062f0
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x1c]
jmp 0x40b9be
push str.OSSP_MACRO_is_empty___Cant_expand_OSSP
push 8
push edi
call fcn.00401930
mov al, byte [ebp + 0xb]
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
push ebx
call fcn.00402820
mov edi, str._OSSP_
push edi
call fcn.004179b0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x30
call fcn.0040c5a6
mov edi, 0x441334
mov dword [ebp + 0x18], eax
push edi
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
push edi
call fcn.004062f0
mov byte [ebp - 4], bl
push 1
lea ecx, [ebp - 0x1c]
call fcn.00402820
mov edi, dword [ebp - 0x30]
mov byte [ebp - 0x15c], bl
mov ax, word [edi + 0x70]
push eax
lea eax, [ebp - 0x15c]
push 0x104
push eax
push str.CDGuid
push str.Version
push dword [ebp + 8]
call fcn.00412485
add esp, 0x18
test eax, eax
je 0x40ba5a
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._CDGuid_
call fcn.004179b0
pop ecx
push eax
push str._CDGuid_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x31
call fcn.0040c5a6
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov ax, word [edi + 0x70]
mov byte [ebp - 0x15c], bl
push eax
lea eax, [ebp - 0x15c]
push 0x104
push eax
push str.DIVISION
push str.Version
push dword [ebp + 8]
call fcn.00412485
add esp, 0x18
test eax, eax
je 0x40baee
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._DIVISION_
call fcn.004179b0
pop ecx
push eax
push str._DIVISION_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x32
call fcn.0040c5a6
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov ax, word [edi + 0x70]
mov byte [ebp - 0x15c], bl
push eax
lea eax, [ebp - 0x15c]
push 0x104
push eax
push str.Manufacturer
push str.Version
push dword [ebp + 8]
call fcn.00412485
add esp, 0x18
test eax, eax
je 0x40bb82
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._Manufacturer_
call fcn.004179b0
pop ecx
push eax
push str._Manufacturer_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x33
call fcn.0040c5a6
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov ax, word [edi + 0x70]
mov byte [ebp - 0x15c], bl
push eax
lea eax, [ebp - 0x15c]
push 0x104
push eax
push str.RegistryManufacturer
push str.Version
push dword [ebp + 8]
call fcn.00412485
add esp, 0x18
test eax, eax
je 0x40bc16
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._RegistryManufacturer_
call fcn.004179b0
pop ecx
push eax
push str._RegistryManufacturer_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x34
call fcn.0040c5a6
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov ax, word [edi + 0x70]
mov byte [ebp - 0x15c], bl
push eax
lea eax, [ebp - 0x15c]
push 0x104
push eax
push str.ProductSeries
push str.Version
push dword [ebp + 8]
call fcn.00412485
add esp, 0x18
test eax, eax
je 0x40bcaa
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._ProductSeries_
call fcn.004179b0
pop ecx
push eax
push str._ProductSeries_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x35
call fcn.0040c5a6
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov ax, word [edi + 0x70]
mov byte [ebp - 0x15c], bl
push eax
lea eax, [ebp - 0x15c]
push 0x104
push eax
push str.SoftwareGuid
push str.Version
push dword [ebp + 8]
call fcn.00412485
add esp, 0x18
test eax, eax
je 0x40bd3e
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._SoftwareGuid_
call fcn.004179b0
pop ecx
push eax
push str._SoftwareGuid_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x36
call fcn.0040c5a6
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov ax, word [edi + 0x70]
mov byte [ebp - 0x15c], bl
push eax
lea eax, [ebp - 0x15c]
push 0x104
push eax
push str.AutorunLocation
push str.Version
push dword [ebp + 8]
call fcn.00412485
add esp, 0x18
test eax, eax
je 0x40bdd2
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._AutorunLocation_
call fcn.004179b0
pop ecx
push eax
push str._AutorunLocation_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x37
call fcn.0040c5a6
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
lea eax, [ebp - 0x15c]
push 0x104
push eax
push str.UpdateFolder
push 0x43a7bc
mov byte [ebp - 0x15c], bl
push dword [ebp + 8]
call fcn.00412637
add esp, 0x14
test eax, eax
jne 0x40be55
lea eax, [ebp - 0x15c]
push str._programfiles_
push eax
call fcn.00418990
lea eax, [ebp - 0x15c]
push str._Manufacturer_
push eax
call fcn.004189a0
lea eax, [ebp - 0x15c]
push 0x439bdc
push eax
call fcn.004189a0
lea eax, [ebp - 0x15c]
push str._CDGuid_
push eax
call fcn.004189a0
lea eax, [ebp - 0x15c]
push str.wup_
push eax
call fcn.004189a0
add esp, 0x28
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._UpdateFolder_
call fcn.004179b0
pop ecx
push eax
push str._UpdateFolder_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x38
call fcn.0040c5a6
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._Preloadx86_
call fcn.004179b0
pop ecx
push eax
push str._Preloadx86_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
mov eax, dword [edi + 0x78]
mov ecx, esi
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0x39
call fcn.0040c6c5
mov eax, dword [ebp + 0x18]
push 1
cmp dword [ebp + 0xc], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
sete byte [ebp + 0x1b]
call fcn.00402820
cmp byte [ebp + 0x1b], bl
je 0x40bf76
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._Preloadx86_
call fcn.004179b0
pop ecx
push eax
push str._Preloadx86_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x3a
call fcn.0040c5a6
push str._InstallDirx86__CDGuid__
mov dword [ebp + 0x18], eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
push str._InstallDirx86__CDGuid__
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._Preload_
call fcn.004179b0
pop ecx
push eax
push str._Preload_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
mov eax, dword [edi + 0x78]
mov ecx, esi
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0x3b
call fcn.0040c6c5
mov eax, dword [ebp + 0x18]
push 1
cmp dword [ebp + 0xc], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
sete byte [ebp + 0x1b]
call fcn.00402820
cmp byte [ebp + 0x1b], bl
je 0x40c033
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._Preload_
call fcn.004179b0
pop ecx
push eax
push str._Preload_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x3c
call fcn.0040c5a6
push str._InstallDir__CDGuid__
mov dword [ebp + 0x18], eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
push str._InstallDir__CDGuid__
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._SourcePath_
call fcn.004179b0
pop ecx
push eax
push str._SourcePath_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
mov eax, dword [edi + 0x78]
mov ecx, esi
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0x3d
call fcn.0040c6c5
mov eax, dword [ebp + 0x18]
push 1
cmp dword [ebp + 0xc], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
sete byte [ebp + 0x1b]
call fcn.00402820
cmp byte [ebp + 0x1b], bl
je 0x40c0f0
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._SourcePath_
call fcn.004179b0
pop ecx
push eax
push str._SourcePath_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x3e
call fcn.0040c5a6
push str._CDRoot_
mov dword [ebp + 0x18], eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
push str._CDRoot_
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._autorunName_
call fcn.004179b0
pop ecx
push eax
push str._autorunName_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
mov eax, dword [edi + 0x78]
mov ecx, esi
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0xc]
push eax
mov byte [ebp - 4], 0x3f
call fcn.0040c6c5
mov eax, dword [ebp + 0x18]
push 1
cmp dword [ebp + 0xc], eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
sete byte [ebp + 0x1b]
call fcn.00402820
cmp byte [ebp + 0x1b], bl
je 0x40c1ad
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._autorunName_
call fcn.004179b0
pop ecx
push eax
push str._autorunName_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x40
call fcn.0040c5a6
push str.autorun.inf
mov dword [ebp + 0x18], eax
call fcn.004179b0
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
push str.autorun.inf
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.00402820
push str._datfile_
call fcn.004179b0
pop ecx
push eax
push str._datfile_
lea ecx, [ebp - 0x1c]
call fcn.004062f0
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x41
call fcn.0040c5a6
push dword [ebp + 8]
mov esi, eax
call fcn.004179b0
pop ecx
push eax
mov ecx, esi
push dword [ebp + 8]
call fcn.004062f0
push 1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00402820
mov eax, dword [edi + 0x78]
mov ecx, dword [eax]
cmp ecx, eax
mov dword [ebp - 0x44], ecx
je 0x40c23c
mov esi, 0x800
mov eax, dword [ebp - 0x44]
push esi
add eax, 0x1c
push ebx
push eax
mov ecx, edi
call fcn.0040c25e
cmp eax, ebx
jne 0x40c218
lea ecx, [ebp - 0x44]
call fcn.00407700
mov eax, dword [edi + 0x78]
cmp dword [ebp - 0x44], eax
jne 0x40c218
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x58]
call fcn.00402820
push 1
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14