Function at 0x407512
Capabilities:
Contain obfuscated stackstrings
Query environment variable

Disassembly:
mov eax, 0x4732fc
call fcn.00444d58
sub esp, 0x1b8
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
call fcn.0040104a
mov edi, eax
lea eax, [ebp - 0xd]
push 1
mov esi, 0x49a2c8
push eax
push esi
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x14], edi
call fcn.0040175f
mov eax, dword [eax + 8]
and dword [ebp - 4], 0
test eax, eax
mov ebx, 0x47b578
je 0x40755b
mov ebx, eax
lea eax, [ebp - 0x16]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupdiskaction.cpp
lea ecx, [ebp - 0x140]
call fcn.0040175f
mov eax, dword [eax + 8]
mov byte [ebp - 4], 1
test eax, eax
jne 0x407581
mov eax, 0x47b578
mov dword [ebp - 0x24], eax
push ebx
lea eax, [ebp - 0x24]
push str.Reading_setup.ini_from__s
push eax
mov dword [ebp - 0x20], 0xce
call fcn.004084c8
and byte [ebp - 4], 0
add esp, 0xc
lea ecx, [ebp - 0x140]
call fcn.00401bc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00401bc2
push esi
lea ecx, [edi + 0x28]
call fcn.004026b9
lea eax, [ebp - 0x16]
push 0
mov esi, 0x498d9c
mov ebx, 0x47b560
mov edi, 0x47b558
push eax
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], edi
call fcn.00408d40
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xf0]
push dword [0x47b5d0]
mov dword [ebp - 4], 2
call fcn.0040175f
lea eax, [ebp - 0x15]
push 1
push eax
lea ecx, [ebp - 0x118]
push dword [0x47b5cc]
mov byte [ebp - 4], 3
call fcn.0040175f
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x118]
push eax
push 5
mov byte [ebp - 4], 4
call fcn.0040845f
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 3
call fcn.00401bc2
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 2
call fcn.00401bc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00401bc2
lea eax, [ebp - 0x15]
push 0
push eax
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], edi
call fcn.00408d40
lea eax, [ebp - 0x16]
push 1
push eax
lea ecx, [ebp - 0x118]
push dword [0x47b5d8]
mov dword [ebp - 4], 5
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xf0]
push dword [0x47b5cc]
mov byte [ebp - 4], 6
call fcn.0040175f
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xf0]
push eax
push 6
mov byte [ebp - 4], 7
call fcn.0040845f
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 6
call fcn.00401bc2
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 5
call fcn.00401bc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00401bc2
mov ecx, dword [ebp - 0x14]
push 6
call fcn.00408397
test al, al
jne 0x40779e
lea eax, [ebp - 0x15]
push 1
push eax
lea ecx, [ebp - 0xf0]
push dword [0x47b5d8]
call fcn.0040175f
mov eax, dword [eax + 8]
mov dword [ebp - 4], 8
test eax, eax
mov esi, 0x47b578
je 0x407741
mov esi, eax
lea eax, [ebp - 0x16]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupdiskaction.cpp
lea ecx, [ebp - 0x140]
call fcn.0040175f
mov eax, dword [eax + 8]
mov byte [ebp - 4], 9
test eax, eax
jne 0x407767
mov eax, 0x47b578
mov dword [ebp - 0x24], eax
push esi
lea eax, [ebp - 0x24]
push str.Failed_to_read_setup_package:__s_name_from_Setup.ini
push eax
mov dword [ebp - 0x20], 0xde
call fcn.004084c8
add esp, 0xc
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 8
call fcn.00401bc2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
jmp 0x4077f7
mov ecx, dword [ebp - 0x1c]
call fcn.0040858f
test al, al
jne 0x407803
lea eax, [ebp - 0x15]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupdiskaction.cpp
lea ecx, [ebp - 0x140]
call fcn.0040175f
mov eax, dword [eax + 8]
mov dword [ebp - 4], 0xa
test eax, eax
jne 0x4077d3
mov eax, 0x47b578
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push str.Failed_to_get_MSI_Engine_Version
push eax
mov dword [ebp - 0x20], 0xe6
call fcn.004084c8
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x140]
call fcn.00401bc2
xor eax, eax
jmp 0x408330
lea eax, [ebp - 0x15]
push 0
push eax
push esi
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0xf8], edi
call fcn.00408d40
lea eax, [ebp - 0x16]
push 1
push eax
lea ecx, [ebp - 0x140]
push dword [0x47b5dc]
mov dword [ebp - 4], 0xb
call fcn.0040175f
lea eax, [ebp - 0x76]
push 1
push eax
lea ecx, [ebp - 0xf0]
push dword [0x47b5cc]
mov byte [ebp - 4], 0xc
call fcn.0040175f
lea eax, [ebp - 0x118]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x1c4]
push eax
mov byte [ebp - 4], 0xd
call fcn.00432273
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0xe
push ecx
mov ecx, eax
call fcn.004087ff
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 0x13
call fcn.00401bc2
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x12
call fcn.00401bc2
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x11
call fcn.00401bc2
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
xor eax, eax
cmp dword [ebp - 0x190], eax
jne 0x407930
lea eax, [ebp - 0xd]
push 1
push eax
push str.C:CodeBasesisdev_srcRuntimeMSISharedSetupdiskaction.cpp
lea ecx, [ebp - 0xc8]
call fcn.0040175f
mov eax, dword [eax + 8]
mov byte [ebp - 4], 0x14
test eax, eax
jne 0x407900
mov eax, 0x47b578
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push 0x48f308
push eax
mov dword [ebp - 0x20], 0xef
call fcn.004084c8
pop ecx
mov byte [ebp - 4], 0x10
pop ecx
lea ecx, [ebp - 0xc8]
call fcn.00401bc2
xor esi, esi
jmp 0x40831f
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x50], eax
cmp dword [0x49b6f4], eax
jne 0x407973
cmp dword [0x49b6f0], eax
jne 0x407973
lea eax, [ebp - 0x19c]
lea ecx, [ebp - 0x198]
neg eax
sbb eax, eax
push 0x48f304
and eax, ecx
push eax
call fcn.00409a77
pop ecx
test al, al
pop ecx
je 0x407973
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x50], 1
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0x74]
push dword [0x47b5e0]
call fcn.0040175f
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x4c]
push dword [0x47b5e4]
mov byte [ebp - 4], 0x15
call fcn.0040175f
mov ecx, dword [ebp - 0x14]
push 0xa
lea eax, [ebp - 0x74]
push 0x1f40
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x16
call fcn.004323eb
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x15
mov dword [ecx + 0x58], eax
lea ecx, [ebp - 0x4c]
call fcn.00401bc2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x74]
push dword [0x47b5f0]
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0x4c]
push dword [0x47b5cc]
mov byte [ebp - 4], 0x17
call fcn.0040175f
mov ecx, dword [ebp - 0x14]
push 0xa
lea eax, [ebp - 0x74]
push 1
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 0x18
call fcn.004323eb
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x17
call fcn.00401bc2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
push 1
pop ecx
cmp dword [ebp - 0x1c], ecx
jne 0x407a59
xor eax, eax
cmp dword [0x49b6f4], eax
jne 0x407a51
cmp dword [0x49b6f0], eax
je 0x407a61
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x48], ecx
jmp 0x407a67
push 2
pop eax
cmp dword [ebp - 0x1c], eax
je 0x407a51
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x48], eax
lea eax, [ebp - 0xe]
push 0
push eax
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], edi
call fcn.00408d40
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xa0]
push dword [0x47b5f8]
mov byte [ebp - 4], 0x19
call fcn.0040175f
lea eax, [ebp - 0xf]
push 1
push eax
lea ecx, [ebp - 0x4c]
push dword [0x47b5cc]
mov byte [ebp - 4], 0x1a
call fcn.0040175f
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x4c]
push eax
push 1
mov byte [ebp - 4], 0x1b
call fcn.0040845f
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1a
call fcn.00401bc2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x19
call fcn.00401bc2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
lea eax, [ebp - 0xf]
push 0
push eax
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], edi
call fcn.00408d40
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x4c]
push dword [0x47b5f4]
mov byte [ebp - 4], 0x1c
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xa0]
push dword [0x47b5cc]
mov byte [ebp - 4], 0x1d
call fcn.0040175f
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xa0]
push eax
push 2
mov byte [ebp - 4], 0x1e
call fcn.0040845f
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xa0]
call fcn.00401bc2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1c
call fcn.00401bc2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
lea eax, [ebp - 0xf]
push 0
push eax
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x54], edi
call fcn.00408d40
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0x4c]
push dword [0x47b600]
mov byte [ebp - 4], 0x1f
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xa0]
push dword [0x47b5cc]
mov byte [ebp - 4], 0x20
call fcn.0040175f
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xa0]
push eax
push 3
mov byte [ebp - 4], 0x21
call fcn.0040845f
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x20
call fcn.00401bc2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x1f
call fcn.00401bc2
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xc8]
push 8
push eax
call fcn.004083bc
cmp dword [eax + 0xc], 0
lea ecx, [ebp - 0xc8]
sete byte [ebp - 0xd]
call fcn.00401f95
cmp byte [ebp - 0xd], 0
je 0x407dbf
lea eax, [ebp - 0xf]
push 0
push eax
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x2c], edi
call fcn.00408d40
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0xc8]
push dword [0x47b5e8]
mov byte [ebp - 4], 0x22
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xa0]
push dword [0x47b5cc]
mov byte [ebp - 4], 0x23
call fcn.0040175f
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xa0]
push eax
push 8
mov byte [ebp - 4], 0x24
call fcn.0040845f
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x23
call fcn.00401bc2
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x22
call fcn.00401bc2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
lea eax, [ebp - 0xf]
push 0
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], 0x47b5a0
mov dword [ebp - 0x54], 0x47b598
call fcn.00402b2c
lea eax, [ebp - 0x174]
push 0x400
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x25
call fcn.004024e5
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x26
call fcn.0040305e
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
push 8
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0xc8]
push eax
call fcn.004083bc
push 0x400
mov ecx, eax
push dword [ebp - 0x20]
mov byte [ebp - 4], 0x27
call fcn.0040305e
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xc8]
call fcn.00401f95
lea ecx, [ebp - 0x174]
mov byte [ebp - 4], 0x25
call fcn.004025f7
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x74]
push 0
push eax
push 8
call fcn.0040833f
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x24], 5
je 0x407db3
lea eax, [ebp - 0xc8]
push 8
push eax
call fcn.004083bc
push 1
mov ecx, eax
mov byte [ebp - 4], 0x28
call fcn.0040305e
mov ecx, dword [ebp - 0x14]
push eax
push 0x48f300
call fcn.004315f3
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x25
call fcn.00401f95
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x10
call fcn.00401f95
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x24], 0
jne 0x407e3c
lea eax, [ebp - 0xf]
push 1
push eax
lea ecx, [ebp - 0xa0]
push dword [0x47b5ec]
call fcn.0040175f
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0xc8]
push dword [0x47b5cc]
mov byte [ebp - 4], 0x29
call fcn.0040175f
mov ecx, dword [ebp - 0x14]
push 0xa
lea eax, [ebp - 0xa0]
push 0
push eax
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 0x2a
call fcn.004323eb
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x29
mov dword [ecx + 0x24], eax
lea ecx, [ebp - 0xc8]
call fcn.00401bc2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
lea eax, [ebp - 0xf]
push 0
push eax
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x2c], edi
call fcn.00408d40
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0xa0]
push dword [0x47b5fc]
mov byte [ebp - 4], 0x2b
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xc8]
push dword [0x47b5cc]
mov byte [ebp - 4], 0x2c
call fcn.0040175f
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0xe
mov byte [ebp - 4], 0x2d
call fcn.0040845f
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x2c
call fcn.00401bc2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x2b
call fcn.00401bc2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
lea eax, [ebp - 0xf]
push 0
push eax
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x2c], edi
call fcn.00408d40
lea eax, [ebp - 0xe]
push 1
push eax
push 0x48f2f0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x2e
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xc8]
push dword [0x47b5cc]
mov byte [ebp - 4], 0x2f
call fcn.0040175f
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0xf
mov byte [ebp - 4], 0x30
call fcn.0040845f
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0xc8]
call fcn.00401bc2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x2e
call fcn.00401bc2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x10
call fcn.00401bc2
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x168]
push 0xf
push eax
call fcn.004083bc
cmp dword [ebp - 0x15c], 3
mov byte [ebp - 4], 0x31
jbe 0x4081e5
mov eax, 0x48f2e8
mov dword [ebp - 0x4c], 0x47b5a0
mov ecx, eax
mov dword [ebp - 0x2c], 0x47b598
test ecx, ecx
jne 0x407fa2
mov eax, esi
lea ecx, [ebp - 0xf]
push 0
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403ed5
lea eax, [ebp - 0x4c]
push 0
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x32
call fcn.004024b0
neg eax
sbb al, al
lea ecx, [ebp - 0x4c]
inc al
mov byte [ebp - 4], 0x31
mov byte [ebp - 0xd], al
call fcn.00401f95
cmp byte [ebp - 0xd], 0
je 0x407fed
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x68], 1
jmp 0x408172
mov eax, 0x48f2e0
mov dword [ebp - 0x74], 0x47b5a0
mov ecx, eax
mov dword [ebp - 0x54], 0x47b598
test ecx, ecx
jne 0x408008
mov eax, esi
lea ecx, [ebp - 0xf]
push 0
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00403ed5
lea eax, [ebp - 0x74]
push 0
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x33
call fcn.004024b0
test eax, eax
je 0x408090
mov eax, str.v1.1
mov dword [ebp - 0x4c], 0x47b5a0
mov ecx, eax
mov dword [ebp - 0x2c], 0x47b598
test ecx, ecx
jne 0x40804b
mov eax, esi
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403ed5
lea eax, [ebp - 0x4c]
push 0
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x34
call fcn.004024b0
neg eax
sbb al, al
lea ecx, [ebp - 0x4c]
inc al
mov byte [ebp - 4], 0x33
mov byte [ebp - 0xd], al
call fcn.00401f95
cmp byte [ebp - 0xd], 0
jne 0x408090
and byte [ebp - 0xd], 0
jmp 0x408094
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x31
call fcn.00401f95
cmp byte [ebp - 0xd], 0
je 0x4080b2
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x69], 1
jmp 0x408172
mov eax, 0x48f2cc
mov dword [ebp - 0x74], 0x47b5a0
mov ecx, eax
mov dword [ebp - 0x54], 0x47b598
test ecx, ecx
jne 0x4080cd
mov eax, esi
lea ecx, [ebp - 0xf]
push 0
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.00403ed5
lea eax, [ebp - 0x74]
push 0
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x35
call fcn.004024b0
test eax, eax
je 0x408155
mov eax, str.v2.0
mov dword [ebp - 0x4c], 0x47b5a0
mov ecx, eax
mov dword [ebp - 0x2c], 0x47b598
test ecx, ecx
jne 0x408110
mov eax, esi
lea ecx, [ebp - 0xe]
push 0
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403ed5
lea eax, [ebp - 0x4c]
push 0
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x36
call fcn.004024b0
neg eax
sbb al, al
lea ecx, [ebp - 0x4c]
inc al
mov byte [ebp - 4], 0x35
mov byte [ebp - 0xd], al
call fcn.00401f95
cmp byte [ebp - 0xd], 0
jne 0x408155
and byte [ebp - 0xd], 0
jmp 0x408159
mov byte [ebp - 0xd], 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x31
call fcn.00401f95
cmp byte [ebp - 0xd], 0
je 0x408172
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x6a], 1
lea eax, [ebp - 0xf]
push 1
push eax
push str.DotNetSPRequired
lea ecx, [ebp - 0xa0]
call fcn.0040175f
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0xc8]
push dword [0x47b5cc]
mov byte [ebp - 4], 0x37
call fcn.0040175f
mov ecx, dword [ebp - 0x14]
push 0xa
lea eax, [ebp - 0xa0]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0xc8]
push eax
mov byte [ebp - 4], 0x38
call fcn.004323eb
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x37
mov dword [ecx + 0x6c], eax
lea ecx, [ebp - 0xc8]
call fcn.00401bc2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x31
call fcn.00401bc2
lea eax, [ebp - 0xf]
push 0
push eax
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x2c], edi
call fcn.00408d40
lea eax, [ebp - 0xe]
push 1
push eax
lea ecx, [ebp - 0xa0]
push dword [0x47b604]
mov byte [ebp - 4], 0x39
call fcn.0040175f
lea eax, [ebp - 0xd]
push 1
push eax
lea ecx, [ebp - 0xc8]
push dword [0x47b5e4]
mov byte [ebp - 4], 0x3a
call fcn.0040175f
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0x11
mov byte [ebp - 4], 0x3b
call fcn.0040845f
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x3a
call fcn.00401bc2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x39
call fcn.00401bc2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x31
call fcn.00401bc2
lea eax, [ebp - 0xf]
push 0
push eax
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x2c], edi
call fcn.00408d40
push 1
lea eax, [ebp - 0xe]
pop esi
lea ecx, [ebp - 0xa0]
push esi
push eax
push dword [0x47b608]
mov byte [ebp - 4], 0x3c
call fcn.0040175f
lea eax, [ebp - 0x75]
push esi
push eax
lea ecx, [ebp - 0xc8]
push dword [0x47b5cc]
mov byte [ebp - 4], 0x3d
call fcn.0040175f
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xc8]
push eax
push 0x16
mov byte [ebp - 4], 0x3e
call fcn.0040845f
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x3d
call fcn.00401bc2
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x3c
call fcn.00401bc2
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0x31
call fcn.00401bc2
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x10
call fcn.00401f95
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19c]
call fcn.00401f95
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret