Function at 0x39caad0
Capabilities:
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x3a33b66
mov eax, dword fs:[0]
push eax
sub esp, 0x3b8
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x3b4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x3cc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3dc]
push 0
push str.RuntimeEULA
call fcn.0395a6d0
add esp, 8
test eax, eax
je 0x39caedb
mov ebx, dword [0x3a5fd3c]
push 0
call ebx
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x39cabbb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x39cabbb
cmp word [ecx + 0x5c], 3
jne 0x39cabbb
push 0
push 1
push 0
push 0
push 0xc0000000
call dword [0x3a60528]
mov esi, eax
cmp esi, 0xffffffff
je 0x39caedb
push 0x3a4fa50
push 0x3a3acd4
call ebx
push eax
call dword [0x3a5fd54]
test eax, eax
je 0x39cab89
push esi
call eax
push str.GetConsoleWindow
push 0x3a3acd4
call ebx
push eax
call fcn.039971f0
add esp, 8
test eax, eax
je 0x39cabbb
call eax
test eax, eax
je 0x39caedb
push eax
call dword [0x3a60524]
test eax, eax
je 0x39caedb
lea ecx, [esp + 0x80]
call fcn.039efdc0
mov dword [esp + 0x3d4], 0
call fcn.039cb830
push eax
lea edx, [esp + 0x84]
push str._lsThinstall.ini
push edx
call fcn.039f08d0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x1cc]
push ecx
mov dword [esp + 0x20], 0x100
call dword [0x3a60520]
mov edx, dword [esp + 0x80]
push edx
push 0
push str.EulaAgreed
lea eax, [esp + 0x1d4]
push eax
call dword [0x3a60494]
test eax, eax
jne 0x39caec4
lea ecx, [esp + 0x124]
call fcn.039efdc0
mov byte [esp + 0x3d4], 1
lea ecx, [esp + 0x124]
push ecx
push 8
call fcn.0395a5b0
push eax
call fcn.03998130
push edi
call fcn.039ca9d0
add esp, 0x10
test al, al
jne 0x39cac7c
push 0
push 0x3a3ad58
push str.Failed_to_load_EULA
push 0
call dword [0x3a5fd48]
jmp 0x39caeb0
mov edi, dword [0x3a60200]
call edi
push eax
call dword [0x3a601fc]
mov esi, eax
push esi
call dword [0x3a6051c]
push esi
mov ebp, eax
call edi
push eax
call dword [0x3a601e8]
push str.riched32.dll
call dword [0x3a5fd8c]
push str.Arial
push 0
push 0
push 0x20
push 4
push ebp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xe
mov dword [esp + 0x4c], eax
call dword [0x3a60518]
push 0
mov dword [0x3a79f40], eax
call ebx
mov ebp, eax
xor eax, eax
push 0x7f00
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], eax
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], 3
mov dword [esp + 0x28], 0x39ca810
mov dword [esp + 0x34], ebp
call dword [0x3a6025c]
push 0xf
mov dword [esp + 0x38], eax
call dword [0x3a60514]
push eax
call dword [0x3a60510]
push 0x7f02
push 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], str.th_eula
call dword [0x3a60260]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x34], eax
call dword [0x3a6050c]
lea eax, [esp + 0x124]
push eax
push 6
call fcn.0395a5b0
push eax
push str.EulaTitle
call fcn.0395a0a0
add esp, 0x10
push 0
push ebp
push 0
push 0
push 7
mov esi, eax
call fcn.0395a5d0
add esp, 4
push eax
push 9
call fcn.0395a5d0
add esp, 4
push eax
push 0x80000000
push 0x80000000
push 0
push esi
push str.th_eula
push 0
call dword [0x3a60250]
lea ecx, [esp + 0x54]
push ecx
mov esi, eax
call edi
mov edi, dword [0x3a60508]
push eax
call edi
lea edx, [esp + 0x44]
push edx
push esi
call edi
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
push 5
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x5c]
push 0
cdq
sub eax, edx
sar eax, 1
sar ecx, 1
sub eax, ecx
push 0
push eax
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
sar ecx, 1
cdq
sub eax, edx
sar eax, 1
sub eax, ecx
push eax
push 0
push esi
call dword [0x3a6023c]
push 1
push esi
call dword [0x3a60244]
mov edi, dword [0x3a60504]
push 0
push 0
push 0
lea edx, [esp + 0x70]
push edx
call edi
test eax, eax
je 0x39cae79
mov ebx, dword [0x3a60500]
lea eax, [esp + 0x64]
push eax
push esi
call ebx
test eax, eax
jne 0x39cae68
lea ecx, [esp + 0x64]
push ecx
call dword [0x3a6006c]
lea edx, [esp + 0x64]
push edx
call dword [0x3a60068]
push 0
push 0
push 0
lea eax, [esp + 0x70]
push eax
call edi
test eax, eax
jne 0x39cae46
push ebp
push str.th_eula
call dword [0x3a604fc]
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x3a5fd5c]
mov edx, dword [esp + 0x80]
push edx
push 0x3a3c130
push str.EulaAgreed
lea eax, [esp + 0x1d4]
push eax
call dword [0x3a604a4]
mov byte [esp + 0x3d4], 0
lea ecx, [esp + 0x124]
call fcn.039ef660
mov dword [esp + 0x3d4], 0xffffffff
lea ecx, [esp + 0x80]
call fcn.039ef660
mov ecx, dword [esp + 0x3cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3b4]
xor ecx, esp
call fcn.03a00f6a
add esp, 0x3c4
ret