Function at 0x4183a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cabb
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x427038]
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.00418c20
mov byte [ebp - 4], 2
push str.config.ini
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00402da0
add esp, 0x10
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x298]
cmp edx, 8
jb 0x418483
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418479
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418479
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041948d
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.00406350
add esp, 4
test al, al
je 0x41889a
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 0x41e7b4
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x21c], 0
je 0x41889a
lea eax, [ebp - 0x24c]
push eax
call fcn.00418df0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00402da0
add esp, 0x10
mov edi, eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x234]
cmp eax, edi
je 0x418579
mov ecx, eax
call fcn.004021b0
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 0x4185bf
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4185b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4185b5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041948d
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 0x418622
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418618
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418618
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041948d
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.00406480
add esp, 4
test al, al
je 0x41889a
push str.KeanImageMatting.dll
lea ecx, [ebp - 0x27c]
call fcn.00402b00
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.00405d40
add esp, 0xc
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x4186cd
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4186c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4186c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041948d
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.00406350
add esp, 4
test al, al
je 0x418837
lea eax, [ebp - 0x234]
push 0x10
push eax
call fcn.00405b00
add esp, 8
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.00402ac0
mov dword [ebp - 0x2c8], 1
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x418770
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418766
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418766
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041948d
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 0x4187d3
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4187c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4187c9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041948d
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 0x418be0
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418bd6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418bd6
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 0x41887d
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418873
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418873
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041948d
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.00412140
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 0x41e7f0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.00402bd0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x2c4]
call fcn.004121a0
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x418948
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41893e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41893e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041948d
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.00412600
mov edi, eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x234]
cmp eax, edi
je 0x4189b8
mov ecx, eax
call fcn.004021b0
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 0x4189fe
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4189f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4189f4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041948d
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.00406480
add esp, 4
test al, al
je 0x418a9f
lea eax, [ebp - 0x234]
push 0x10
push eax
call fcn.00405b00
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.0040f8e0
jmp 0x41878d
lea eax, [ebp - 0x294]
push eax
call fcn.00418fc0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.004068c0
lea eax, [ebp - 0x234]
push eax
call fcn.00406480
add esp, 0x10
test al, al
je 0x418b69
lea eax, [ebp - 0x234]
push 0x10
push eax
call fcn.00405b00
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 0x418b89
push edx
push ecx
call fcn.0041948d
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.0040f8e0
jmp 0x41878d
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x41e7b4
mov word [esi], ax
call fcn.00402bd0
mov dword [ebp - 0x2c8], 1
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x280]
cmp edx, 8
jb 0x418b38
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418b2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418b2e
jmp 0x4187c3
push edx
push ecx
call fcn.0041948d
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.0041944c
mov esp, ebp
pop ebp
ret