Function at 0x1009bc60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b37db
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x100d703c]
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, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x2cc], esi
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2ac]
push eax
call fcn.1009c4e0
mov byte [ebp - 4], 2
push str.config.ini
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.10003d20
add esp, 0x10
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x298]
cmp edx, 8
jb 0x1009bd43
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009bd39
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009bd39
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1009eaad
add esp, 8
xor eax, eax
mov dword [ebp - 0x29c], 0
mov word [ebp - 0x2ac], ax
lea eax, [ebp - 0x264]
push eax
mov dword [ebp - 0x298], 7
call fcn.1000e210
add esp, 4
test al, al
je 0x1009c15a
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x250], 8
cmovae eax, dword [ebp - 0x264]
push eax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x100b5aa4
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x21c], 0
je 0x1009c15a
lea eax, [ebp - 0x24c]
push eax
call fcn.1009c6b0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10003d20
add esp, 0x10
mov edi, eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x234]
cmp eax, edi
je 0x1009be39
mov ecx, eax
call fcn.10003a00
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x224], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x1009be7f
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009be75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009be75
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1009eaad
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 7
mov word [ebp - 0x27c], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x1009bee2
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009bed8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009bed8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1009eaad
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
lea eax, [ebp - 0x234]
push eax
mov dword [ebp - 0x238], 7
call fcn.1000e300
add esp, 4
test al, al
je 0x1009c15a
push str.HaoCompressApp.dll
lea ecx, [ebp - 0x27c]
call fcn.10003770
mov byte [ebp - 4], 7
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.100100d0
add esp, 0xc
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x1009bf8d
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009bf83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009bf83
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1009eaad
add esp, 8
xor eax, eax
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
lea eax, [ebp - 0x24c]
push eax
mov dword [ebp - 0x268], 7
call fcn.1000e210
add esp, 4
test al, al
je 0x1009c0f7
lea eax, [ebp - 0x234]
push 0x10
push eax
call fcn.1000ff20
add esp, 8
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.10003fe0
mov dword [ebp - 0x2c8], 1
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x1009c030
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009c026
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009c026
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1009eaad
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x1009c093
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009c089
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009c089
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1009eaad
add esp, 8
xor eax, eax
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x1009c4a0
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009c496
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009c496
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x1009c13d
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009c133
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009c133
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1009eaad
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
lea ecx, [ebp - 0x2c4]
call fcn.1004e7b0
mov byte [ebp - 4], 0xa
xor eax, eax
push 0xb
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x238], 0
push str.HaoCompress
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.10003a60
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.1004e810
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x1009c208
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009c1fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009c1fe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1009eaad
add esp, 8
xor eax, eax
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
lea ecx, [ebp - 0x2c4]
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x238], 7
push eax
call fcn.100511c0
mov edi, eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x234]
cmp eax, edi
je 0x1009c278
mov ecx, eax
call fcn.10003a00
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x234], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x224], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x298]
cmp edx, 8
jb 0x1009c2be
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009c2b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009c2b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1009eaad
add esp, 8
xor eax, eax
mov dword [ebp - 0x29c], 0
mov word [ebp - 0x2ac], ax
lea eax, [ebp - 0x234]
push eax
mov dword [ebp - 0x298], 7
call fcn.1000e300
add esp, 4
test al, al
je 0x1009c35f
lea eax, [ebp - 0x234]
push 0x10
push eax
call fcn.1000ff20
movups xmm0, xmmword [ebp - 0x234]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
add esp, 8
movups xmmword [esi], xmm0
mov word [ebp - 0x234], ax
movq xmm0, qword [ebp - 0x224]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x2c8], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c4]
call fcn.10015530
jmp 0x1009c04d
lea eax, [ebp - 0x294]
push eax
call fcn.1009cf20
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.1000f660
lea eax, [ebp - 0x234]
push eax
call fcn.1000e300
add esp, 0x10
test al, al
je 0x1009c429
lea eax, [ebp - 0x234]
push 0x10
push eax
call fcn.1000ff20
movups xmm0, xmmword [ebp - 0x234]
mov dword [esi + 0x10], 0
add esp, 8
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x234], ax
movq xmm0, qword [ebp - 0x224]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
jmp 0x1009c449
push edx
push ecx
call fcn.1009eaad
add esp, 8
xor eax, eax
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 7
mov word [ebp - 0x294], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c4]
call fcn.10015530
jmp 0x1009c04d
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x100b5aa4
mov word [esi], ax
call fcn.10003a60
mov dword [ebp - 0x2c8], 1
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x280]
cmp edx, 8
jb 0x1009c3f8
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009c3ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009c3ee
jmp 0x1009c083
push edx
push ecx
call fcn.1009eaad
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], eax
mov word [ebp - 0x234], ax
mov eax, esi
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.1009ea6c
mov esp, ebp
pop ebp
ret