Function at 0x4123e0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x426464
mov eax, dword fs:[0]
push eax
sub esp, 0x890
mov eax, dword [0x435028]
xor eax, esp
mov dword [esp + 0x888], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x435028]
xor eax, esp
push eax
lea eax, [esp + 0x8a4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8b4]
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCP80.dll_public:_wchar_t____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator___unsigned_int_]
cmp word [eax], bx
je 0x4126ad
push str.Download
lea ecx, [esp + 0x5c]
xor ebp, ebp
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_wchar_t_const__]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x8ac], ebx
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_]
push 0x3fe
lea ecx, [esp + 0x4a2]
push ebx
mov byte [esp + 0x8b4], 1
push ecx
mov word [esp + 0x4a8], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0xa
push 0x200
lea edx, [esp + 0x4a4]
push edx
push ebx
call dword [sym.imp.MSVCR80.dll__itow_s]
add esp, 0x10
cmp eax, ebx
jne 0x412687
jmp 0x4124b4
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x49c]
push ecx
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov edx, dword [0x4279f4]
mov ecx, dword [str.none]
mov di, word [0x4279f8]
xor eax, eax
push 0x3f6
mov dword [esp + 0x7c], edx
mov dword [esp + 0xa4], edx
lea edx, [esp + 0xaa]
push ebx
push edx
mov dword [esp + 0x80], ecx
mov word [esp + 0x88], di
mov dword [esp + 0x8a], eax
mov dword [esp + 0x8e], eax
mov dword [esp + 0x92], eax
mov dword [esp + 0x96], eax
mov dword [esp + 0x9a], eax
mov dword [esp + 0x9e], eax
mov dword [esp + 0xa2], eax
mov word [esp + 0xa6], ax
mov dword [esp + 0xa8], ecx
mov word [esp + 0xb0], di
call sub.MSVCR80.dll_memset
mov ecx, 8
add esp, 0xc
cmp dword [esi + 0x18], ecx
jb 0x412571
mov eax, dword [esi + 4]
jmp 0x412574
lea eax, [esi + 4]
cmp dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x40]
jae 0x412582
lea ecx, [esp + 0x40]
push eax
push 0x200
lea eax, [esp + 0xa4]
push eax
lea edx, [esp + 0x80]
push edx
push ecx
push str.PatchLink
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x74]
lea eax, [esp + 0x9c]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4125d6
cmp dx, bx
je 0x4125d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4125d6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4125b0
xor eax, eax
jmp 0x4125db
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4125e7
cmp ebp, ebx
je 0x412687
lea ecx, [esp + 0x74]
lea eax, [esp + 0x9c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x412618
cmp dx, bx
je 0x412614
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x412618
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4125f2
xor eax, eax
jmp 0x41261d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x412629
cmp ebp, ebx
jne 0x4126b1
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x24]
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_wchar_t_const__]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0x8b0], 2
call fcn.00403fc0
lea ecx, [esp + 0x20]
mov byte [esp + 0x8ac], 1
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_]
push 0xa
push 0x200
lea edx, [esp + 0x4a4]
push edx
add ebp, 1
push ebp
call dword [sym.imp.MSVCR80.dll__itow_s]
add esp, 0x10
cmp eax, ebx
je 0x4124b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8ac], bl
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_]
lea ecx, [esp + 0x58]
mov dword [esp + 0x8ac], 0xffffffff
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 al, al
jmp 0x4126d9
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8ac], bl
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_]
lea ecx, [esp + 0x58]
mov dword [esp + 0x8ac], 0xffffffff
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_]
mov al, 1
mov ecx, dword [esp + 0x8a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x888]
xor ecx, esp
call fcn.00422de8
add esp, 0x89c
ret 4