Function at 0x42022d
Capabilities:
Read .ini file

Disassembly:
push 0x674
mov eax, 0x4377c3
call fcn.00435021
or dword [ebp - 0x67c], 0xffffffff
mov ebx, ecx
xor edi, edi
lea ecx, [ebp - 0x648]
mov dword [ebp - 0x65c], ebx
mov dword [ebp - 0x678], edi
mov dword [ebp - 0x668], 1
mov dword [ebp - 0x660], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov dword [ebp - 4], edi
mov eax, dword [0x44b724]
mov ecx, 0x44b724
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x654], eax
mov esi, 0x206
push esi
lea eax, [ebp - 0x422]
push edi
mov byte [ebp - 4], 1
push eax
mov word [ebp - 0x424], di
call sub.MSVCR80.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x62a]
push edi
push eax
mov word [ebp - 0x62c], di
call sub.MSVCR80.dll_memset
add esp, 0xc
call fcn.0041ed0a
movsx ax, al
mov word [ebp - 0x62c], ax
lea eax, [ebp - 0x62c]
push 0x43eb90
push eax
call dword [sym.imp.MSVCR80.dll_wcscat]
pop ecx
pop ecx
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x64c]
push eax
call fcn.00402b38
lea eax, [ebp - 0x64c]
push eax
mov eax, ebx
mov byte [ebp - 4], 2
call fcn.0041a0f6
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x64c]
add eax, 0xfffffff0
call fcn.00401a71
lea ebx, [ebp - 0x648]
lea ecx, [ebp - 0x680]
mov dword [ebp - 0x680], str.TheWorld.exe
mov dword [ebp - 0x674], 0x80000002
mov dword [ebp - 0x670], str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsTheWorld.exe
mov dword [ebp - 0x66c], str.Path
mov dword [ebp - 0x664], 0x43ecdc
call fcn.0041e886
cmp dword [ebp - 0x630], 8
mov eax, dword [ebp - 0x644]
jae 0x420374
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x654]
push eax
call fcn.00402c06
push str.TheWorld.ini
lea eax, [ebp - 0x654]
push eax
call fcn.004077fc
push esi
lea eax, [ebp - 0x21a]
push edi
push eax
mov word [ebp - 0x21c], di
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x64c], edi
mov eax, dword [0x44b724]
mov ecx, 0x44b724
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x658], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x64c]
lea eax, [ebp - 0x658]
push str.Path_d
call fcn.00405672
mov esi, dword [ebp - 0x658]
pop ecx
pop ecx
push dword [ebp - 0x654]
lea eax, [ebp - 0x21c]
push 0x103
push eax
push edi
push esi
push str.Download
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x21c]
push 0x4398dc
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x42052c
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x650]
push eax
call fcn.00402b38
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x650]
cmp dword [eax - 0xc], edi
jl 0x420538
movzx ebx, word [eax]
call fcn.0041ed0a
movsx eax, al
movzx ecx, bx
cmp ecx, eax
je 0x4204c6
mov eax, dword [ebp - 0x650]
cmp dword [eax - 0xc], edi
jl 0x420538
movzx ebx, word [eax]
call fcn.0041ed0a
movsx eax, al
movzx ecx, bx
sub eax, 0x20
cmp ecx, eax
je 0x4204c6
mov eax, dword [ebp - 0x650]
cmp dword [eax - 0xc], edi
jl 0x420538
movzx ebx, word [eax]
call fcn.0041ed0a
movsx eax, al
movzx ecx, bx
add eax, 0x20
cmp ecx, eax
jne 0x4204d8
lea eax, [ebp - 0x650]
push eax
mov eax, dword [ebp - 0x65c]
call fcn.0041a0f6
mov eax, dword [ebp - 0x650]
add eax, 0xfffffff0
call fcn.00401a71
lea eax, [esi - 0x10]
mov byte [ebp - 4], 1
call fcn.00401a71
inc dword [ebp - 0x64c]
cmp dword [ebp - 0x64c], 8
jl 0x4203d3
mov eax, dword [ebp - 0x654]
add eax, 0xfffffff0
call fcn.00401a71
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x648]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor eax, eax
inc eax
call fcn.004350a4
ret
add esi, 0xfffffff0
mov eax, esi
call fcn.00401a71
jmp 0x420505
push 0x80070057
call fcn.00402877
int3