Function at 0x4183b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41ca5b
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.00418c30
mov byte [ebp - 4], 2
push str.config.ini
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00402d80
add esp, 0x10
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x298]
cmp edx, 8
jb 0x418493
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418489
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418489
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041949d
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.00406340
add esp, 4
test al, al
je 0x4188aa
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 0x41e7a4
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x21c], 0
je 0x4188aa
lea eax, [ebp - 0x24c]
push eax
call fcn.00418e00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.00402d80
add esp, 0x10
mov edi, eax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x234]
cmp eax, edi
je 0x418589
mov ecx, eax
call fcn.00402190
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 0x4185cf
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4185c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4185c5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041949d
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 0x418632
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418628
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418628
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041949d
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.00406470
add esp, 4
test al, al
je 0x4188aa
push str.2345OCRConverter.dll
lea ecx, [ebp - 0x27c]
call fcn.00402ae0
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.00405d30
add esp, 0xc
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x268]
cmp edx, 8
jb 0x4186dd
mov ecx, dword [ebp - 0x27c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4186d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4186d3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041949d
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.00406340
add esp, 4
test al, al
je 0x418847
lea eax, [ebp - 0x234]
push 0x10
push eax
call fcn.00405af0
add esp, 8
lea eax, [ebp - 0x234]
mov ecx, esi
push eax
call fcn.00402aa0
mov dword [ebp - 0x2c8], 1
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x418780
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418776
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418776
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041949d
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 0x4187e3
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4187d9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4187d9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041949d
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 0x418bf0
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418be6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418be6
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 0x41888d
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418883
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418883
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041949d
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 7
mov dword [ebp - 0x23c], 0
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x238], 0
push 0x41e7e0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
call fcn.00402bb0
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 0x418958
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41894e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41894e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041949d
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 0x4189c8
mov ecx, eax
call fcn.00402190
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 0x418a0e
mov ecx, dword [ebp - 0x2ac]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418a04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418a04
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0041949d
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.00406470
add esp, 4
test al, al
je 0x418aaf
lea eax, [ebp - 0x234]
push 0x10
push eax
call fcn.00405af0
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.0040f720
jmp 0x41879d
lea eax, [ebp - 0x294]
push eax
call fcn.00418fd0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.004068b0
lea eax, [ebp - 0x234]
push eax
call fcn.00406470
add esp, 0x10
test al, al
je 0x418b79
lea eax, [ebp - 0x234]
push 0x10
push eax
call fcn.00405af0
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 0x418b99
push edx
push ecx
call fcn.0041949d
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.0040f720
jmp 0x41879d
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
push 0x41e7a4
mov word [esi], ax
call fcn.00402bb0
mov dword [ebp - 0x2c8], 1
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x280]
cmp edx, 8
jb 0x418b48
mov ecx, dword [ebp - 0x294]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418b3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x418b3e
jmp 0x4187d3
push edx
push ecx
call fcn.0041949d
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.0041945c
mov esp, ebp
pop ebp
ret