Function at 0x403842
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5323b6
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x5937d0]
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.0041474e
lea eax, [esp + 0x20]
push eax
call fcn.00484254
mov dword [esp + 0x50], 1
mov edi, dword [ebx + 4]
add edi, 0x858
lea esi, [esp + 0x20]
call fcn.00403b2e
mov eax, dword [edi + 0x20]
mov edi, dword [ebx + 4]
add edi, 0x858
mov dword [esp + 0x40], eax
call fcn.00411c5f
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 0x4038fb
push 0
xor eax, eax
call fcn.00401963
mov ecx, dword [ebx + 4]
call fcn.0042ecfb
mov edi, dword [ebx + 4]
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
add edi, 0x2a8
push eax
call fcn.00401ea5
mov byte [esp + 0x54], 3
mov byte [esp + 0x54], 1
mov ecx, edi
call fcn.0042ba7e
test esi, esi
je 0x403937
push 1
xor eax, eax
call fcn.00401963
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x878], ecx
mov esi, dword [ebx + 4]
add esi, 0x858
lea edi, [esp + 0x20]
call fcn.00411c5f
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.0041474e
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.004138e4
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 0x403b00
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 0x403af2
push dword [esp + 0x10]
push 0
push str.SilentPostback
push esi
call edi
mov edi, 0x4000000
test eax, eax
je 0x403a30
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 0x403a56
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.00404402
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.00404376
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
je 0x403adc
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.004044be
mov byte [esp + 0x50], 8
lea ecx, [esp + 0x18]
call fcn.00401898
push dword [ebx + 4]
call fcn.00431387
mov byte [esp + 0x50], 7
lea ecx, [esp + 0x14]
call fcn.00401898
cmp dword [esp + 0x1c], 0
ja 0x403b00
mov ecx, ebx
call fcn.00403b6d
mov byte [esp + 0x50], 1
lea ecx, [esp + 0x10]
call fcn.00401898
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004842a1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret