Function at 0x40371c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x515034
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x56d790]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Attempting_to_load_configs_from_stub...
call fcn.00401769
and dword [esp + 0x54], 0
push 2
or dword [esp + 0x58], 0xffffffff
call fcn.00412200
lea eax, [esp + 0x20]
push eax
call fcn.00448bd5
mov dword [esp + 0x50], 1
mov edi, dword [ebx + 4]
add edi, 0x800
lea esi, [esp + 0x20]
call fcn.00403a23
mov eax, dword [edi + 0x20]
mov edi, dword [ebx + 4]
add edi, 0x800
mov dword [esp + 0x40], eax
call fcn.00411a55
mov edi, vtable.CFlags_enum_CoreLogFlag_.0
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 1
mov byte [esp + 0x50], 2
cmp dword [0x575e64], 0
jle 0x4037d8
mov eax, dword [0x575e0c]
xor ecx, ecx
and al, 1
cmp al, 1
sete cl
mov esi, ecx
mov byte [esp + 0x50], 1
jmp 0x4037df
mov byte [esp + 0x50], 1
xor esi, esi
mov dword [esp + 0x14], edi
test esi, esi
je 0x4037f0
push 0
xor eax, eax
call fcn.00401927
mov ecx, dword [ebx + 4]
call fcn.0042b54b
mov edi, dword [ebx + 4]
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
add edi, 0x280
push eax
call fcn.00401d86
mov byte [esp + 0x54], 3
mov byte [esp + 0x54], 1
mov ecx, edi
call fcn.004287d7
test esi, esi
je 0x40382c
push 1
xor eax, eax
call fcn.00401927
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x820], ecx
mov esi, dword [ebx + 4]
add esi, 0x800
lea edi, [esp + 0x20]
call fcn.00411a55
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Finished_attempting_to_load_configs_from_stub.
call fcn.00401769
mov byte [esp + 0x54], 4
push 2
mov byte [esp + 0x58], 1
call fcn.00412200
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.stubinfo.ini
call fcn.00401769
mov byte [esp + 0x54], 5
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push edx
call dword [eax + 0x80]
mov byte [esp + 0x58], 6
mov byte [esp + 0x58], 1
lea esi, [esp + 0x14]
call fcn.00414ad0
pop ecx
pop ecx
mov byte [esp + 0x50], 7
push dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push str.AlreadyRunning
mov esi, str.StubInfo
push esi
call edi
test eax, eax
jne 0x4039f5
push dword [esp + 0xc]
push eax
push str.PostbackSent
push esi
call edi
push dword [esp + 0xc]
mov dword [esp + 0x18], eax
push 0
push str.LogSent
push esi
call edi
cmp dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
ja 0x4039e7
push dword [esp + 0xc]
push 0
push str.SilentPostback
push esi
call edi
mov edi, 0x4000000
test eax, eax
je 0x403925
mov eax, dword [ebx + 4]
lea ecx, [eax + 4]
mov eax, dword [ecx]
push edi
call dword [eax + 0x88]
mov eax, dword [ebx + 4]
lea ecx, [eax + 4]
mov eax, dword [ecx]
push 0x40000
call dword [eax + 0x84]
test eax, eax
je 0x40394b
mov eax, dword [ebx + 4]
lea ecx, [eax + 4]
mov eax, dword [ecx]
push edi
call dword [eax + 0x88]
lea ecx, [esp + 0x10]
call fcn.00404312
mov byte [esp + 0x50], 8
mov eax, dword [esp + 0xc]
mov edi, 0x800
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], eax
call fcn.00401673
push dword [esp + 0x14]
push edi
push eax
push 0
push str.ProductFailUrl
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea ecx, [esp + 0x14]
call fcn.00404286
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
je 0x4039d1
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.0040184e
mov byte [esp + 0x50], 9
mov eax, dword [ebx + 4]
add eax, 4
mov byte [esp + 0x50], 0xa
lea ecx, [eax + 0x44]
lea eax, [esp + 0x14]
push eax
call fcn.004043ce
mov byte [esp + 0x50], 8
lea ecx, [esp + 0x14]
call fcn.00401898
push dword [ebx + 4]
call fcn.0042d6e6
mov byte [esp + 0x50], 7
lea ecx, [esp + 0x10]
call fcn.00401898
cmp dword [esp + 0x1c], 0
ja 0x4039f5
mov ecx, ebx
call fcn.00403a62
mov byte [esp + 0x50], 1
lea ecx, [esp + 0xc]
call fcn.00401898
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00448c22
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret