Function at 0x408d60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43a9a6
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x44e848]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44e848]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
xor eax, eax
mov edi, ecx
push 0x206
push eax
lea ecx, [esp + 0x2a]
push ecx
mov dword [esp + 0x20], edi
mov word [esp + 0x2c], ax
call fcn.00427580
add esp, 0xc
call fcn.0040ad12
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408dd5
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea edx, [edi + 0x3aa]
mov dword [esp + 0x234], 0
test edx, edx
jne 0x408dfe
xor eax, eax
jmp 0x408e12
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408e03
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x20]
call fcn.00403430
push str.TPMXUD.ini
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00405650
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x238], 1
call fcn.004055d0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x234], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408e6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebx
push 0x104
lea ecx, [esp + 0x28]
push ecx
push 0x43ebcc
push str.Http_URL
push 0x43e660
call ebp
test eax, eax
je 0x408ebf
lea eax, [esp + 0x20]
lea ecx, [edi + 0x5b4]
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x408ea5
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00403430
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x43ebcc
lea eax, [esp + 0x24]
push eax
call edi
push ebx
push 0x104
lea ecx, [esp + 0x28]
push ecx
push 0x43ebcc
push str.ProductString
push 0x43e660
call ebp
test eax, eax
je 0x408f1c
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
add ecx, 0x5b8
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x408f02
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00403430
push 0x43ebcc
lea eax, [esp + 0x24]
push eax
call edi
push ebx
push 0x104
lea ecx, [esp + 0x28]
push ecx
push 0x43ebcc
push str.Product_Reg
push 0x43e660
call ebp
test eax, eax
je 0x408f7a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
add ecx, 0x39c
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x408f60
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00403430
push 0x43ebcc
lea eax, [esp + 0x24]
push eax
call edi
push ebx
push 0x104
lea ecx, [esp + 0x28]
push ecx
push 0x43ebcc
push str.SW_Ver
push 0x43e660
call ebp
test eax, eax
je 0x408fd1
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
add ecx, 0x390
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x408fb7
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00403430
push 0x43ebcc
lea eax, [esp + 0x24]
push eax
call edi
push ebx
push 0x104
lea ecx, [esp + 0x28]
push ecx
push 0x43ebcc
push str.Folder
push 0x43e660
call ebp
test eax, eax
je 0x40902a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
add ecx, 0x3a0
lea esi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x409010
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00403430
push 0x43ebcc
lea eax, [esp + 0x24]
push eax
call edi
push ebx
push 0x104
lea ecx, [esp + 0x28]
push ecx
push 0x43ebcc
push str.NeverRemind
push 0x43e660
call ebp
test eax, eax
je 0x409081
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
add ecx, 0x3a4
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x409067
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00403430
push 0x43ebcc
lea eax, [esp + 0x24]
push eax
call edi
push ebx
push 0x104
lea ecx, [esp + 0x28]
push ecx
push 0x43ebcc
push 0x43f188
push 0x43e660
call ebp
test eax, eax
je 0x4090da
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
add ecx, 0x5c8
lea esi, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4090c0
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00403430
lea eax, [ebx - 0x10]
mov dword [esp + 0x234], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409101
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00427533
add esp, 0x224
ret