Function at 0x417b80
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x456f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, dword [0x473eb8]
push ebx
push esi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
xor ebx, ebx
push edi
mov esi, ecx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.004114f0
call fcn.00449143
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 8]
push eax
push ecx
lea eax, [esp + 0x34]
push str._s_s
push eax
mov dword [esp + 0x6c], ebx
call fcn.004037b0
mov edi, dword [esp + 0x3c]
mov eax, dword [esi + 0x18]
mov esi, dword [esi + 0x14]
add esp, 0x10
push edi
push 0x20
lea ecx, [esp + 0x38]
push ecx
push 0x45ad90
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jbe 0x417c90
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x24]
call fcn.00411440
test eax, eax
je 0x417c90
mov ecx, dword [esp + 0x26]
mov eax, 0x8000
test eax, ecx
je 0x417c90
test dword [esp + 0x1a], eax
je 0x417c90
mov ax, word [esp + 0x20]
cmp ax, word [esp + 0x14]
jne 0x417c90
mov cx, word [esp + 0x22]
cmp cx, word [esp + 0x16]
jne 0x417c90
mov dx, word [esp + 0x24]
cmp dx, word [esp + 0x18]
jne 0x417c90
lea eax, [edi - 0x10]
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [eax + 0xc]
mov edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417c87
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
xor edx, edx
jmp 0x417dd3
push ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call fcn.00411840
mov esi, eax
push ebx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 1
call fcn.00411840
mov esi, dword [esi]
mov eax, dword [eax]
mov ecx, dword [0x475498]
mov edx, dword [ecx]
push esi
push eax
push 0x88
push str._Patch:_d_check_ver_failed___s__s
push ecx
mov byte [esp + 0x70], 2
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x5c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417cfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x5c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417d1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.00411840
mov esi, eax
push ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 3
call fcn.00411840
mov esi, dword [esi]
mov eax, dword [eax]
push esi
push eax
push 0x8a
push str._Patch:_d_check_ver_failed___s__s
push 0x47549c
mov byte [esp + 0x70], 4
call fcn.0040f2c0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x5c], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x417d88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x5c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417daa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x5c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417dcc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 3
mov edx, eax
mov ecx, dword [esp + 0x54]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x48]
pop ebx
call fcn.004375fb
add esp, 0x54
ret