Function at 0x416090
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5998b8
mov eax, dword fs:[0]
push eax
sub esp, 0x86c
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x874], esi
lea edx, [esi + 0x74]
mov dword [ebp - 0x878], 0
cmp dword [edx + 0x14], 8
jb 0x4160da
mov edx, dword [edx]
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4160e0
sub ecx, edi
lea edi, [esi + 0xd4]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00411630
push 0xd
push str.ZHGameBox.cfg
mov ecx, edi
call fcn.004114b0
push str.yxhzgf
push 0x5a1f48
push str.MainAppInfo
lea eax, [ebp - 0x858]
push 0x5a1790
push eax
call fcn.0044ba31
add esp, 0x14
mov dword [ebp - 0x878], 1
add esi, 0xec
mov dword [ebp - 4], 0
lea eax, [ebp - 0x858]
cmp esi, eax
je 0x41616c
cmp dword [ebp - 0x844], 8
mov ecx, esi
push dword [ebp - 0x848]
cmovae eax, dword [ebp - 0x858]
push eax
call fcn.00411630
push str.yxhzgf
push esi
call fcn.00411a70
add esp, 8
test al, al
je 0x4161e5
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056f980
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x41619c
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.yxhzgf
push 0x5a1f48
push str.MainAppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4161c7
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00411630
push str.yxhzgf
push esi
call fcn.00411a70
add esp, 8
test al, al
je 0x4162af
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056f980
mov edi, dword [ebp - 0x874]
lea ecx, [ebp - 0x840]
add esp, 0xc
lea eax, [edi + 0x5c]
push eax
call fcn.0040cde0
push 0xd
push str.ZHGameBox.cfg
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 1
call fcn.004114b0
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
cmovae eax, dword [ebp - 0x840]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.yxhzgf
push 0x5a1f48
push str.MainAppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416280
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00411630
lea ecx, [ebp - 0x840]
mov byte [ebp - 4], 0
call fcn.0040a530
jmp 0x4162b5
mov edi, dword [ebp - 0x874]
push str.yxhzgf
push esi
call fcn.00411a70
add esp, 8
test al, al
je 0x4164d4
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.0056f980
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x4162f3
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push str.yxhzgf
push 0x5a1f48
push str.MainAppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov dword [ebp - 0x818], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416340
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x828]
call fcn.00411630
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
mov dword [ebp - 0x878], 3
mov ecx, str.yxhzgf
cmovae eax, dword [ebp - 0x828]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4163ab
test dx, dx
je 0x4163a7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4163ab
add eax, 4
add ecx, 4
test dx, dx
jne 0x416385
xor eax, eax
jmp 0x4163b0
sbb eax, eax
or eax, 1
test eax, eax
jne 0x416484
push str.yxhzgf
push 0x5a1f48
push str.MainAppInfo
cmp byte [edi + 5], al
je 0x41641f
lea eax, [ebp - 0x870]
mov ecx, edi
push eax
call fcn.00413bf0
mov edi, eax
lea eax, [ebp - 0x828]
cmp eax, edi
je 0x416417
mov ecx, eax
call fcn.004113b0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x828], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0x818], xmm0
mov word [edi], ax
lea ecx, [ebp - 0x870]
jmp 0x41647f
lea eax, [ebp - 0x840]
push 0x5a1790
push eax
call fcn.0044bbf6
add esp, 0x14
lea ecx, [ebp - 0x828]
call fcn.004113b0
movups xmm0, xmmword [ebp - 0x840]
xor eax, eax
lea ecx, [ebp - 0x840]
mov word [ebp - 0x840], ax
movups xmmword [ebp - 0x828], xmm0
movq xmm0, qword [ebp - 0x830]
movq qword [ebp - 0x818], xmm0
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 7
call fcn.0040a530
lea eax, [ebp - 0x828]
cmp esi, eax
je 0x4164c9
mov ecx, esi
call fcn.004113b0
movups xmm0, xmmword [ebp - 0x828]
xor eax, eax
mov word [ebp - 0x828], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x818]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
lea ecx, [ebp - 0x828]
call fcn.0040a530
mov edx, dword [ebp - 0x844]
cmp edx, 8
jb 0x416510
mov ecx, dword [ebp - 0x858]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416506
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41652b
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret
call fcn.00572b79
int3