Function at 0x430f03
Capabilities:
Get common file path
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46171a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x530
push edi
mov dword [ebp - 0x530], ecx
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x64
lea eax, [ebp - 0x80]
push eax
push 0x479a8c
push str.BundledOCR
push 0x476a24
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x476a28
push 0x476a2c
push 0x476a34
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsWinword.exe
lea ecx, [ebp - 0x14]
call fcn.0045518e
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x288]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402270
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x430fce
mov edx, dword [ebp - 0x288]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x476a7c
push 0x476a80
push 0x476a88
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, 0x479910
call fcn.00402270
push eax
push 0
push str.MSWord
push 0x476a98
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x530]
mov dword [ecx + 0xb74], eax
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x476aa0
push 0x476aa4
push 0x476ab8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x14]
call fcn.004550ab
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_sprint.exe
lea ecx, [ebp - 0x14]
call fcn.004552a9
lea edx, [ebp - 0x28c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00402270
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x431078
mov eax, dword [ebp - 0x28c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x476b00
push 0x476b04
push 0x476b18
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, 0x479910
call fcn.00402270
push eax
push 0
push str.ABBYY_FineReader
push 0x476b34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x530]
mov dword [ecx + 0xb7c], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x88]
call fcn.00402210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00402210
mov byte [ebp - 4], 2
mov dl, byte [0x479a90]
mov byte [ebp - 0x284], dl
mov ecx, 0x7c
xor eax, eax
lea edi, [ebp - 0x283]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x476b3c
lea eax, [ebp - 0x80]
push eax
call fcn.00443890
add esp, 8
test eax, eax
je 0x43157d
push 0x1f4
lea ecx, [ebp - 0x284]
push ecx
push 0x160
mov ecx, 0x479934
call fcn.0041c0a1
lea edx, [ebp - 0x284]
push edx
push 0x476b48
lea eax, [ebp - 0x18]
push eax
call fcn.0044fdfe
add esp, 0xc
push str.Sprint.exe
lea ecx, [ebp - 0x18]
call fcn.00455488
lea ecx, [ebp - 0x84]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x18]
call fcn.00402270
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43157d
mov edx, dword [ebp - 0x530]
mov dword [edx + 0xb78], 0
mov dword [ebp - 0x2f4], 0
lea eax, [ebp - 0x2f8]
push eax
push 0x20019
push 0
push str.SoftwareBITSoftFineSprint4.0Language
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x431255
mov dword [ebp - 0x300], 0x64
mov dword [ebp - 0x2fc], 1
lea ecx, [ebp - 0x300]
push ecx
lea edx, [ebp - 0x2f0]
push edx
lea eax, [ebp - 0x2fc]
push eax
push 0
push 0x476b84
mov ecx, dword [ebp - 0x2f8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43120c
mov dword [ebp - 0x2f4], 1
jmp 0x431243
lea edx, [ebp - 0x300]
push edx
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x2fc]
push ecx
push 0
push 0x476b8c
mov edx, dword [ebp - 0x2f8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x431243
mov dword [ebp - 0x2f4], 1
mov eax, dword [ebp - 0x2f8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x431420
lea ecx, [ebp - 0x2f8]
push ecx
push 0x20019
push 0
push str.SoftwareABBYYNew_User_DefaultsFineSprint4.0Language
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x431311
mov dword [ebp - 0x308], 0x64
mov dword [ebp - 0x304], 1
lea edx, [ebp - 0x308]
push edx
lea eax, [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x304]
push ecx
push 0
push str.NAME
mov edx, dword [ebp - 0x2f8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4312c8
mov dword [ebp - 0x2f4], 1
jmp 0x4312ff
lea eax, [ebp - 0x308]
push eax
lea ecx, [ebp - 0x2f0]
push ecx
lea edx, [ebp - 0x304]
push edx
push 0
push str.Name
mov eax, dword [ebp - 0x2f8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4312ff
mov dword [ebp - 0x2f4], 1
mov ecx, dword [ebp - 0x2f8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x431420
lea edx, [ebp - 0x2f8]
push edx
push 0x20019
push 0
push str.SoftwareABBYYSprint6.00Language
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x431420
mov dword [ebp - 0x310], 0xff
mov dword [ebp - 0x30c], 1
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x410]
push ecx
lea edx, [ebp - 0x30c]
push edx
push 0
push str.Language
mov eax, dword [ebp - 0x2f8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x431413
lea ecx, [ebp - 0x414]
call fcn.00402210
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x410]
push ecx
lea edx, [ebp - 0x528]
push edx
mov ecx, dword [ebp - 0x530]
call fcn.00439fc7
mov dword [ebp - 0x534], eax
mov eax, dword [ebp - 0x534]
mov dword [ebp - 0x538], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x538]
push ecx
lea ecx, [ebp - 0x414]
call fcn.00455259
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x528]
call fcn.00455120
push 0x64
push 0
lea ecx, [ebp - 0x414]
call fcn.004554dc
push eax
lea edx, [ebp - 0x2f0]
push edx
call fcn.004432f0
add esp, 0xc
mov dword [ebp - 0x2f4], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x414]
call fcn.00455120
mov eax, dword [ebp - 0x2f8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x2f4], 0
je 0x431520
push 0x476c10
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x530]
add ecx, 0x918
call fcn.004512a8
lea edx, [ebp - 0x2f0]
push edx
lea ecx, [ebp - 0x418]
call fcn.0045518e
mov byte [ebp - 4], 5
push 0x476c1c
lea ecx, [ebp - 0x418]
call fcn.00402280
test eax, eax
jne 0x4314e1
cmp dword [ebp - 0x10], 0
jne 0x4314df
push 0x476c24
lea ecx, [ebp - 0x88]
call fcn.004552a9
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512d4
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x10], 1
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x476c2c
push 0x476c38
push 0x476c40
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x43150f
lea eax, [ebp - 0x2f0]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512a8
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x418]
call fcn.00455120
jmp 0x431570
push 0x476c44
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x530]
add ecx, 0x918
call fcn.004512a8
push 0x476c50
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512a8
mov dword [ebp - 0x10], 1
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x476c58
lea ecx, [ebp - 0x80]
push ecx
call fcn.00443890
add esp, 8
test eax, eax
je 0x431858
lea ecx, [ebp - 0x18]
call fcn.004550ab
push 0x1f4
lea edx, [ebp - 0x284]
push edx
push 0x160
mov ecx, 0x479934
call fcn.0041c0a1
lea eax, [ebp - 0x284]
push eax
push 0x476c60
lea ecx, [ebp - 0x18]
push ecx
call fcn.0044fdfe
add esp, 0xc
push str.hw51.exe
lea ecx, [ebp - 0x18]
call fcn.00455488
lea edx, [ebp - 0x84]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x18]
call fcn.00402270
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4317cf
mov eax, dword [ebp - 0x530]
mov dword [eax + 0xb78], 1
push 0x476c70
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x530]
add ecx, 0x918
call fcn.004512a8
push 0x104
lea edx, [ebp - 0x51c]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [ebp - 0x524]
call fcn.00402210
mov byte [ebp - 4], 6
lea eax, [ebp - 0x51c]
push eax
push str._s_ncpro5.ini
lea ecx, [ebp - 0x524]
push ecx
call fcn.0044fdfe
add esp, 0xc
lea ecx, [ebp - 0x524]
call fcn.00402270
push eax
push 0
push str.JFfont
push str.System
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x520], eax
mov edx, dword [ebp - 0x520]
mov dword [ebp - 0x53c], edx
cmp dword [ebp - 0x53c], 0
je 0x4316c5
cmp dword [ebp - 0x53c], 1
je 0x43171b
cmp dword [ebp - 0x53c], 2
je 0x431768
jmp 0x4317b3
cmp dword [ebp - 0x90], 0
jne 0x431716
push 0x476c98
lea ecx, [ebp - 0x88]
call fcn.004552a9
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512d4
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x90], 1
jmp 0x4317b3
cmp dword [ebp - 0x10], 0
jne 0x431766
push 0x476ca8
lea ecx, [ebp - 0x88]
call fcn.004552a9
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512d4
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x10], 1
jmp 0x4317b3
cmp dword [ebp - 0x1c], 0
jne 0x4317b3
push 0x476cb0
lea ecx, [ebp - 0x88]
call fcn.004552a9
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512d4
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x524]
call fcn.00455120
mov ecx, dword [ebp - 0x530]
cmp dword [ecx + 0xb74], 0
jne 0x431858
mov edx, dword [ebp - 0x530]
cmp dword [edx + 0xb7c], 0
jne 0x431858
mov eax, dword [ebp - 0x530]
cmp dword [eax + 0x364], 0
je 0x431858
mov ecx, dword [ebp - 0x530]
add ecx, 0x348
call fcn.0041b940
cmp eax, 1
jne 0x431825
push 0
mov ecx, dword [ebp - 0x530]
add ecx, 0x348
call fcn.0041b970
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x476cc0
push 0x476cc4
push 0x476cd8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
mov ecx, dword [ebp - 0x530]
add ecx, 0x348
call fcn.004548eb
push 0x476cdc
lea ecx, [ebp - 0x80]
push ecx
call fcn.00443890
add esp, 8
test eax, eax
je 0x431a4c
lea ecx, [ebp - 0x18]
call fcn.004550ab
push 0x1f4
lea edx, [ebp - 0x284]
push edx
push 0x160
mov ecx, 0x479934
call fcn.0041c0a1
lea eax, [ebp - 0x284]
push eax
push 0x476ce4
lea ecx, [ebp - 0x18]
push ecx
call fcn.0044fdfe
add esp, 0xc
push str.GN2000.exe
lea ecx, [ebp - 0x18]
call fcn.00455488
lea edx, [ebp - 0x84]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x18]
call fcn.00402270
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4319c3
mov eax, dword [ebp - 0x530]
mov dword [eax + 0xb78], 2
cmp dword [ebp - 0x10], 0
jne 0x43195b
push 0x476cf4
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x530]
add ecx, 0x918
call fcn.004512a8
push 0x476cfc
lea ecx, [ebp - 0x88]
call fcn.004552a9
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512d4
mov ecx, dword [ebp - 0x8c]
add ecx, 1
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x10], 1
push 0x476d04
mov edx, dword [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x530]
add ecx, 0x918
call fcn.004512a8
push str.Korean
lea ecx, [ebp - 0x88]
call fcn.004552a9
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512d4
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x530]
cmp dword [ecx + 0xb74], 0
jne 0x431a4c
mov edx, dword [ebp - 0x530]
cmp dword [edx + 0xb7c], 0
jne 0x431a4c
mov eax, dword [ebp - 0x530]
cmp dword [eax + 0x364], 0
je 0x431a4c
mov ecx, dword [ebp - 0x530]
add ecx, 0x348
call fcn.0041b940
cmp eax, 1
jne 0x431a19
push 0
mov ecx, dword [ebp - 0x530]
add ecx, 0x348
call fcn.0041b970
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x476d14
push str.OCR_MultiplePage
push 0x476d2c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
mov ecx, dword [ebp - 0x530]
add ecx, 0x348
call fcn.004548eb
push 0x476d30
lea ecx, [ebp - 0x80]
push ecx
call fcn.00443890
add esp, 8
test eax, eax
je 0x431c32
lea ecx, [ebp - 0x18]
call fcn.004550ab
push 0x1f4
lea edx, [ebp - 0x284]
push edx
push 0x160
mov ecx, 0x479934
call fcn.0041c0a1
lea eax, [ebp - 0x284]
push eax
push 0x476d38
lea ecx, [ebp - 0x18]
push ecx
call fcn.0044fdfe
add esp, 0xc
push str.Winocr32.exe
lea ecx, [ebp - 0x18]
call fcn.00455488
lea edx, [ebp - 0x84]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x18]
call fcn.00402270
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x431c32
mov eax, dword [ebp - 0x530]
mov dword [eax + 0xb78], 3
cmp dword [ebp - 0x10], 0
jne 0x431b4f
push 0x476d4c
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x530]
add ecx, 0x918
call fcn.004512a8
push 0x476d54
lea ecx, [ebp - 0x88]
call fcn.004552a9
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512d4
mov ecx, dword [ebp - 0x8c]
add ecx, 1
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x90], 0
jne 0x431bbd
push 0x476d5c
mov edx, dword [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x530]
add ecx, 0x918
call fcn.004512a8
push 0x476d64
lea ecx, [ebp - 0x88]
call fcn.004552a9
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512d4
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x90], 1
cmp dword [ebp - 0x1c], 0
jne 0x431c25
push str.THOCR
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x530]
add ecx, 0x918
call fcn.004512a8
push 0x476d7c
lea ecx, [ebp - 0x88]
call fcn.004552a9
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512d4
mov eax, dword [ebp - 0x8c]
add eax, 1
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x476d8c
lea edx, [ebp - 0x80]
push edx
call fcn.00443890
add esp, 8
test eax, eax
je 0x431e18
lea ecx, [ebp - 0x18]
call fcn.004550ab
push 0x1f4
lea eax, [ebp - 0x284]
push eax
push 0x160
mov ecx, 0x479934
call fcn.0041c0a1
lea ecx, [ebp - 0x284]
push ecx
push 0x476d98
lea edx, [ebp - 0x18]
push edx
call fcn.0044fdfe
add esp, 0xc
push str.fzrsmain.exe
lea ecx, [ebp - 0x18]
call fcn.00455488
lea eax, [ebp - 0x84]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x18]
call fcn.00402270
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x431e18
mov ecx, dword [ebp - 0x530]
mov dword [ecx + 0xb78], 5
cmp dword [ebp - 0x10], 0
jne 0x431d35
push 0x476dac
mov edx, dword [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x530]
add ecx, 0x918
call fcn.004512a8
push 0x476db8
lea ecx, [ebp - 0x88]
call fcn.004552a9
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512d4
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x90], 0
jne 0x431da3
push 0x476dc0
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x530]
add ecx, 0x918
call fcn.004512a8
push str.Chinese_PRC_
lea ecx, [ebp - 0x88]
call fcn.004552a9
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512d4
mov eax, dword [ebp - 0x8c]
add eax, 1
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], 1
cmp dword [ebp - 0x1c], 0
jne 0x431e0b
push str.FOUNDEROCR
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x530]
add ecx, 0x918
call fcn.004512a8
push str.Chinese_Taiwan_
lea ecx, [ebp - 0x88]
call fcn.004552a9
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512d4
mov ecx, dword [ebp - 0x8c]
add ecx, 1
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x1c], 1
mov edx, dword [ebp - 0x84]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x476df8
lea eax, [ebp - 0x80]
push eax
call fcn.00443890
add esp, 8
test eax, eax
je 0x431f85
lea ecx, [ebp - 0x18]
call fcn.004550ab
push 0x1f4
lea ecx, [ebp - 0x284]
push ecx
push 0x160
mov ecx, 0x479934
call fcn.0041c0a1
lea edx, [ebp - 0x284]
push edx
push 0x476e04
lea eax, [ebp - 0x18]
push eax
call fcn.0044fdfe
add esp, 0xc
push str.Prestopm.exe
lea ecx, [ebp - 0x18]
call fcn.00455488
lea ecx, [ebp - 0x84]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x18]
call fcn.00402270
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x431f83
mov edx, dword [ebp - 0x530]
mov dword [edx + 0xb78], 4
cmp dword [ebp - 0x10], 0
jne 0x431f1b
push 0x476e18
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x530]
add ecx, 0x918
call fcn.004512a8
push str.English
lea ecx, [ebp - 0x88]
call fcn.004552a9
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512d4
mov eax, dword [ebp - 0x8c]
add eax, 1
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x10], 1
push str.PageManager
mov ecx, dword [ebp - 0x8c]
push ecx
mov ecx, dword [ebp - 0x530]
add ecx, 0x918
call fcn.004512a8
push str.Japanese
lea ecx, [ebp - 0x88]
call fcn.004552a9
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x530]
add ecx, 0x92c
call fcn.004512d4
mov ecx, dword [ebp - 0x8c]
add ecx, 1
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x84]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x431f95
mov eax, dword [ebp - 0x530]
mov dword [eax + 0xb78], 6
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x52c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00455120
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.00455120
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00455120
mov eax, dword [ebp - 0x52c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret