Function at 0x401bf0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43f256
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x451530]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x451530]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x26c]
lea esi, [esp + 0x1c]
mov dword [esp + 0x20], eax
call fcn.00401310
push str.Platform.ini
push eax
lea ecx, [esp + 0x20]
xor esi, esi
push ecx
mov dword [esp + 0x270], esi
call fcn.004020c0
mov eax, dword [eax]
add esp, 0xc
push eax
push esi
push str.UpdateCount
push str.Update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x28], edi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x401c95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x264], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401cc0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, esi
ja 0x401ccb
xor al, al
jmp 0x401e65
push 0x1ff
lea ecx, [esp + 0x59]
push 0
push ecx
mov byte [esp + 0x60], 0
call fcn.0042afc0
add esp, 0xc
xor eax, eax
lea edi, [esi + 1]
push edi
push str.UpdateXmlUrl_d
lea edx, [esp + 0x3c]
push 0x20
push edx
mov byte [esp + 0x44], 0
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov dword [esp + 0x4d], eax
mov dword [esp + 0x51], eax
mov dword [esp + 0x55], eax
mov dword [esp + 0x59], eax
mov dword [esp + 0x5d], eax
mov word [esp + 0x61], ax
mov byte [esp + 0x63], al
call fcn.0042884e
lea esi, [esp + 0x34]
call fcn.00401310
push str.Platform.ini
push eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x280], 1
call fcn.004020c0
mov eax, dword [eax]
add esp, 0x1c
push eax
push 0x200
lea ecx, [esp + 0x5c]
push ecx
push 0x445d9b
lea edx, [esp + 0x44]
push edx
push str.Update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401d8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x264], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401db9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 8
call fcn.0040a6c2
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x401de7
call fcn.0040ae6b
test eax, eax
je 0x401e8f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx + 4], eax
jmp 0x401de9
xor ebx, ebx
lea ecx, [ebx + 4]
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], ebx
mov byte [ebx], 0
call fcn.00401430
mov esi, dword [esp + 0x24]
mov ecx, dword [esi + 0xb8]
add esi, 0xac
add esp, 4
test ecx, ecx
jne 0x401e18
xor eax, eax
jmp 0x401e20
mov eax, dword [esi + 0x14]
sub eax, ecx
sar eax, 2
mov ebp, dword [esi + 0x10]
mov edx, ebp
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x401e39
mov dword [ebp], ebx
add ebp, 4
mov dword [esi + 0x10], ebp
jmp 0x401e57
cmp ecx, ebp
jbe 0x401e42
call fcn.00428cf2
mov eax, dword [esi]
push ebp
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
mov eax, esi
call fcn.00402660
mov esi, edi
cmp esi, dword [esp + 0x28]
jb 0x401ccb
mov al, 1
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004286dd
add esp, 0x254
ret 4
push 0x80004005
call fcn.00401010
int3