Function at 0x403748
Capabilities:
Create process on windows
Read .ini file
Terminate process

Disassembly:
push 0x8c
mov eax, 0x4093f2
call fcn.00408971
mov bl, cl
push str.Diablo_IV.exe
lea ecx, [ebp - 0x64]
xor esi, esi
call fcn.0040606d
lea ecx, [ebp - 0x64]
call fcn.00401ac7
lea ecx, [ebp - 0x64]
call fcn.00406189
mov eax, 0x40f6c8
xor ecx, ecx
mov word [eax], cx
add eax, 0x20a
cmp eax, 0x41a006
jl 0x40377d
lea ecx, [ebp - 0x80]
call fcn.0040207d
push eax
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], esi
call fcn.004060aa
push 0x52
lea edx, [ebp - 0x64]
mov byte [ebp - 4], 1
pop ecx
call fcn.0040159b
lea ecx, [ebp - 0x64]
call fcn.00406189
or edi, 0xffffffff
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], edi
call fcn.00406189
push str.LoLSuite.ini
lea ecx, [ebp - 0x64]
call fcn.0040606d
push 0x52
lea edx, [ebp - 0x64]
mov dword [ebp - 4], 2
pop ecx
call fcn.0040159b
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.00406189
push 0x419dfc
push 0x105
push 0x40f6c8
push esi
push str.DiabloIV
push str.Path
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x40f6c8
lea ecx, [ebp - 0x80]
call fcn.0040606d
lea ecx, [ebp - 0x80]
mov esi, dword [eax + 0x10]
call fcn.00406189
test esi, esi
jne 0x403881
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], 0x250
push eax
mov dword [ebp - 0x24], str._drive_:Battle.net
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
jne 0x40385b
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov esi, 0x40f6c8
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x419dfc
push esi
push str.DiabloIV
push str.Path
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
or edi, 0xffffffff
push str.Diablo_IV
lea ecx, [ebp - 0x64]
call fcn.0040606d
lea edx, [ebp - 0x64]
mov dword [ebp - 4], 3
xor ecx, ecx
call fcn.0040159b
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.msvcp140_1.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 4
xor ecx, ecx
xor edx, edx
push eax
inc ecx
call fcn.0040161c
pop ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.msvcp140_2.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
push 5
pop esi
lea eax, [ebp - 0x64]
mov dword [ebp - 4], esi
push eax
push 2
xor edx, edx
pop ecx
call fcn.0040161c
pop ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.msvcp140.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 6
push eax
push 3
xor edx, edx
pop ecx
call fcn.0040161c
pop ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.msvcp140_codecvt_ids.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 7
push eax
push 4
xor edx, edx
pop ecx
call fcn.0040161c
pop ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.vcruntime140.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 8
push eax
xor edx, edx
mov ecx, esi
call fcn.0040161c
pop ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.vcruntime140_1.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 9
push eax
push 6
xor edx, edx
pop ecx
call fcn.0040161c
pop ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.Diablo_IV.exe
lea ecx, [ebp - 0x64]
call fcn.0040606d
sub esp, 0x18
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x64]
mov ecx, esp
xor edx, edx
push eax
call fcn.004010a8
pop ecx
call fcn.00401cb4
add esp, 0x18
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x64]
call fcn.004014d4
lea ecx, [ebp - 0x64]
test bl, bl
je 0x403ae6
push str.r_diabloiv_msvcp140_1.dll
call fcn.0040606d
xor edx, edx
mov dword [ebp - 4], 0xb
inc edx
lea ecx, [ebp - 0x64]
call fcn.00401cf0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.r_diabloiv_msvcp140_2.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
push 2
pop edx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xc
call fcn.00401cf0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.r_diabloiv_msvcp140.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
push 3
pop edx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xd
call fcn.00401cf0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.r_diabloiv_msvcp140_codecvt_ids.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
push 4
pop edx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0xe
call fcn.00401cf0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.r_diabloiv_vcruntime140.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
mov edx, esi
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x64]
call fcn.00401cf0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.r_diabloiv_vcruntime140_1.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
mov dword [ebp - 4], 0x10
jmp 0x403bc8
push str.msvcp140_1.dll
call fcn.0040606d
xor edx, edx
mov dword [ebp - 4], 0x11
inc edx
lea ecx, [ebp - 0x64]
call fcn.00401cf0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.msvcp140_2.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
push 2
pop edx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x12
call fcn.00401cf0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.msvcp140.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
push 3
pop edx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x13
call fcn.00401cf0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.msvcp140_codecvt_ids.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
push 4
pop edx
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0x14
call fcn.00401cf0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.vcruntime140.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
mov edx, esi
mov dword [ebp - 4], 0x15
lea ecx, [ebp - 0x64]
call fcn.00401cf0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push str.vcruntime140_1.dll
lea ecx, [ebp - 0x64]
call fcn.0040606d
mov dword [ebp - 4], 0x16
push 6
pop edx
lea ecx, [ebp - 0x64]
call fcn.00401cf0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], edi
call fcn.004014d4
push 0x3c
pop ebx
push ebx
lea eax, [ebp - 0x4c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea esi, [ebp - 0x4c]
mov edi, 0x41a0d8
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
push str.Diablo_IV_Launcher.exe
lea ecx, [ebp - 0x98]
mov dword [0x41a0d8], ebx
mov dword [0x41a0dc], 0x40
mov dword [0x41a0f4], 5
call fcn.0040606d
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 0x17
push eax
xor edx, edx
lea ecx, [ebp - 0x28]
call fcn.004010a8
pop ecx
mov ecx, eax
call fcn.00405f6d
lea ecx, [ebp - 0x28]
mov dword [0x41a0e8], eax
call fcn.004014d4
lea ecx, [ebp - 0x98]
call fcn.004014d4
push 0x41a0d8
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [0x41a110]
test eax, eax
je 0x403853
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x403853