Function at 0x10006261
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
and byte [ebp - 0x21c], 0
push ebx
push esi
push edi
mov ebx, ecx
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x21b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [ebx + 0x24804]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
mov esi, 0x104
jle 0x100062ba
push edi
lea eax, [ebp - 0x21c]
push esi
push eax
push 0x100583f4
push str.path
push str.AhnCfg
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jg 0x100062e9
push 0
call fcn.10001ca8
pop ecx
push eax
push str._s_patch_ahncfg
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.10001426
add esp, 0x10
cmp dword [ebx + 0x50], 0
je 0x10006314
lea edi, [ebx + 0x54]
push edi
call fcn.10031620
test eax, eax
pop ecx
je 0x10006314
lea eax, [ebx + 0x95]
push edi
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.10002a7c
add esp, 0xc
and byte [ebp - 0x118], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x117]
and byte [ebp - 0x320], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x31f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
push 0
lea eax, [ebp - 0x118]
push esi
push eax
mov ecx, ebx
call fcn.1001e7a6
lea eax, [ebp - 0x118]
push str.patch
push eax
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.10002f5f
lea eax, [ebp - 0x118]
push str.ahncfg
push eax
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.10002f5f
lea eax, [ebp - 0x118]
push eax
call fcn.10002fbc
mov edi, str.ahnau.cfg
lea eax, [ebp - 0x118]
push edi
push eax
lea eax, [ebp - 0x320]
push esi
push eax
call fcn.10002f5f
push 0x420
lea eax, [ebp - 0x844]
push 0
push eax
call fcn.10031550
mov eax, dword [ebx]
mov dword [ebp - 0x43c], 3
add esp, 0x40
mov ecx, dword [eax + 0x434]
mov dword [ebp - 0x430], ecx
lea ecx, [ebp - 0x21c]
push ecx
push 0x800
push dword [eax + 0x24]
call fcn.1000180e
push 0
lea eax, [ebp - 0x844]
push 0
push eax
lea eax, [ebp - 0x118]
mov ecx, ebx
push eax
lea eax, [ebp - 0x320]
push edi
push eax
call fcn.1001e5ca
test eax, eax
jne 0x100064d8
cmp dword [ebp + 8], eax
je 0x100064d3
or dword [ebp - 8], 0xffffffff
and dword [ebp - 4], eax
push 0x52
mov dword [ebp - 0x10], 0x51
pop edx
mov dword [ebp - 0xc], 0x56
mov dword [ebp - 0x14], edx
lea ebx, [ebp - 0x14]
and byte [ebp - 0x424], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x423]
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.DuriAhn
push str._s__d_
lea eax, [ebp - 0x424]
push esi
push eax
call fcn.10001426
add esp, 0x14
lea eax, [ebp - 0x320]
mov edi, 0x100583f4
push eax
push edi
push dword [0x1004b1fc]
lea eax, [ebp - 0x424]
push eax
call fcn.1000e219
lea eax, [ebp - 0x320]
push eax
push 0
push dword [0x1004b1a8]
lea eax, [ebp - 0x424]
push eax
call fcn.1000e541
lea eax, [ebp - 0x320]
push eax
push edi
push dword [0x1004b1e8]
lea eax, [ebp - 0x424]
push eax
call fcn.1000e219
mov edx, dword [ebx + 4]
add ebx, 4
test edx, edx
jne 0x1000643f
push 1
pop eax
jmp 0x100064da
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4