Function at 0x403877
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5353c0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x597790]
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.0041485d
lea eax, [esp + 0x20]
push eax
call fcn.0044df29
mov dword [esp + 0x50], 1
mov edi, dword [ebx + 4]
add edi, 0x878
lea esi, [esp + 0x20]
call fcn.00403b63
mov eax, dword [edi + 0x20]
mov edi, dword [ebx + 4]
add edi, 0x878
mov dword [esp + 0x40], eax
call fcn.00411d3f
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x24], esp
mov dword [eax], vtable.CFlags_enum_CoreLogFlag_.0
mov dword [eax + 4], 1
mov byte [esp + 0x58], 2
mov byte [esp + 0x58], 1
call fcn.00401927
mov esi, eax
test esi, esi
je 0x403930
push 0
xor eax, eax
call fcn.00401963
mov ecx, dword [ebx + 4]
call fcn.0042f3e2
mov edi, dword [ebx + 4]
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
add edi, 0x2a8
push eax
call fcn.00401eda
mov byte [esp + 0x54], 3
mov byte [esp + 0x54], 1
mov ecx, edi
call fcn.0042c0cb
test esi, esi
je 0x40396c
push 1
xor eax, eax
call fcn.00401963
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x898], ecx
mov esi, dword [ebx + 4]
add esi, 0x878
lea edi, [esp + 0x20]
call fcn.00411d3f
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.0041485d
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 + 0x20], esp
push edx
call dword [eax + 0x80]
mov byte [esp + 0x58], 6
mov byte [esp + 0x58], 1
lea esi, [esp + 0x18]
call fcn.004139f3
pop ecx
pop ecx
mov byte [esp + 0x50], 7
push dword [esp + 0x10]
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 0x403b35
push dword [esp + 0x10]
push eax
push str.PostbackSent
push esi
call edi
push dword [esp + 0x10]
mov dword [esp + 0x1c], eax
push 0
push str.LogSent
push esi
call edi
cmp dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
ja 0x403b27
push dword [esp + 0x10]
push 0
push str.SilentPostback
push esi
call edi
mov edi, 0x4000000
test eax, eax
je 0x403a65
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 0x403a8b
mov eax, dword [ebx + 4]
lea ecx, [eax + 4]
mov eax, dword [ecx]
push edi
call dword [eax + 0x88]
lea ecx, [esp + 0x14]
call fcn.00404433
mov byte [esp + 0x50], 8
mov eax, dword [esp + 0x10]
mov edi, 0x800
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], eax
call fcn.00401673
push dword [esp + 0x18]
push edi
push eax
push 0
push str.ProductFailUrl
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea ecx, [esp + 0x18]
call fcn.004043a7
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x403b11
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
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 + 0x18]
push eax
call fcn.004044ef
mov byte [esp + 0x50], 8
lea ecx, [esp + 0x18]
call fcn.00401898
push dword [ebx + 4]
call fcn.00431b00
mov byte [esp + 0x50], 7
lea ecx, [esp + 0x14]
call fcn.00401898
cmp dword [esp + 0x1c], 0
ja 0x403b35
mov ecx, ebx
call fcn.00403ba2
mov byte [esp + 0x50], 1
lea ecx, [esp + 0x10]
call fcn.00401898
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.0044df76
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret