Function at 0x4a3f38
Capabilities:
Link many functions at runtime
Set current directory

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rbx
push rsi
push r12
push r13
push r14
sub rsp, 0x1d0
mov qword [rsp + 0x160], 0xfffffffffffffffe
lea r13, [0x008bba40]
mov qword [r11 + 8], r13
and qword [0x008bba48], 0
lea r12, [0x008bba50]
mov qword [0x008bba70], r12
mov qword [0x008bba78], r12
mov byte [0x008bba50], 0
lea rax, [r11 + 0x10]
mov qword [rsp + 0x20], rax
lea r9, [r11 + 0x10]
lea r8, [r11 + 0x10]
xor edx, edx
lea rcx, [0x008bba80]
call fcn.004a4de8
nop
lea rcx, str.hunspell64.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x008bba40], rax
test rax, rax
je 0x4a473a
lea rdx, str.hunspell_initialize
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x008bbab8], rax
lea rdx, str.hunspell_uninitialize
mov rcx, qword [0x008bba40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x008bbac0], rax
lea rdx, str.hunspell_spell
mov rcx, qword [0x008bba40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x008bbac8], rax
lea rdx, str.hunspell_suggest
mov rcx, qword [0x008bba40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x008bbad0], rax
lea rdx, str.hunspell_suggest_free
mov rcx, qword [0x008bba40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x008bbad8], rax
lea rdx, str.hunspell_put_word
mov rcx, qword [0x008bba40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x008bbae0], rax
cmp qword [0x008bbab8], 0
je 0x4a4725
cmp qword [0x008bbac0], 0
je 0x4a4725
cmp qword [0x008bbac8], 0
je 0x4a4725
cmp qword [0x008bbad0], 0
je 0x4a4725
cmp qword [0x008bbad8], 0
je 0x4a4725
lea rdx, [0x0085e988]
lea rcx, [rsp + 0x168]
call fcn.00401f00
mov rcx, qword [rax + 0x48]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea r11, [rsp + 0x168]
mov rcx, qword [rsp + 0x1b0]
cmp rcx, r11
je 0x4a410c
test rcx, rcx
je 0x4a410c
mov rax, qword [rsp + 0x168]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov esi, 0x100
cmp rdx, rsi
jbe 0x4a4105
call fcn.006a4944
jmp 0x4a4111
call fcn.006a3610
jmp 0x4a4111
mov esi, 0x100
lea r8, [rsp + 0x208]
lea rdx, str.._dict_
lea rcx, [rsp + 0x80]
call fcn.004021a8
nop
lea r8, str.ru_RU.aff
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.00402658
mov rcx, rax
call fcn.005952a0
cmp eax, 1
sete bl
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x4a4182
test rcx, rcx
je 0x4a4182
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
cmp rdx, rsi
jbe 0x4a417d
call fcn.006a4944
jmp 0x4a4182
call fcn.006a3610
test bl, bl
je 0x4a424c
lea r8, str.ru_RU.dic
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc8]
call fcn.00402658
mov rbx, rax
lea r8, str.ru_RU.aff
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.00402658
nop
mov rdx, qword [rbx + 0x28]
mov rcx, qword [rax + 0x28]
call qword [0x008bbab8]
mov qword [0x008bba48], rax
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x4a4206
test rcx, rcx
je 0x4a4206
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
cmp rdx, rsi
jbe 0x4a4200
call fcn.006a4944
jmp 0x4a4206
call fcn.006a3610
nop
lea rax, [rsp + 0xc8]
mov rcx, qword [rsp + 0xf0]
cmp rcx, rax
je 0x4a435b
test rcx, rcx
je 0x4a435b
mov rdx, qword [rsp + 0xc8]
sub rdx, rcx
cmp rdx, rsi
jbe 0x4a4242
call fcn.006a4944
jmp 0x4a435b
call fcn.006a3610
jmp 0x4a435b
lea r8, str.en_US.aff
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.00402658
mov rcx, rax
call fcn.005952a0
cmp eax, 1
sete bl
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x4a42a0
test rcx, rcx
je 0x4a42a0
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
cmp rdx, rsi
jbe 0x4a429b
call fcn.006a4944
jmp 0x4a42a0
call fcn.006a3610
test bl, bl
je 0x4a46ed
lea r8, str.en_US.dic
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0xc8]
call fcn.00402658
mov rbx, rax
lea r8, str.en_US.aff
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.00402658
nop
mov rdx, qword [rbx + 0x28]
mov rcx, qword [rax + 0x28]
call qword [0x008bbab8]
mov qword [0x008bba48], rax
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x4a4324
test rcx, rcx
je 0x4a4324
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
cmp rdx, rsi
jbe 0x4a431e
call fcn.006a4944
jmp 0x4a4324
call fcn.006a3610
nop
lea rax, [rsp + 0xc8]
mov rcx, qword [rsp + 0xf0]
cmp rcx, rax
je 0x4a435b
test rcx, rcx
je 0x4a435b
mov rdx, qword [rsp + 0xc8]
sub rdx, rcx
cmp rdx, rsi
jbe 0x4a4355
call fcn.006a4944
jmp 0x4a435b
call fcn.006a3610
nop
lea r8, str.dictuser.dic
lea rdx, [0x0085e988]
lea rcx, [rsp + 0x168]
call fcn.00402658
nop
cmp rax, r12
je 0x4a438c
mov r8, qword [rax + 0x20]
mov rdx, qword [rax + 0x28]
mov rcx, r12
call fcn.0040289c
mov r9d, 1
mov r8d, 0x80000000
mov rdx, r12
lea rcx, [rsp + 0xb0]
call fcn.005944d4
nop
lea rdx, [rsp + 0x130]
mov rcx, rax
call fcn.005954d8
nop
lea rax, [0x007955b8]
mov qword [rsp + 0xb0], rax
lea rax, [0x007955c8]
mov qword [rsp + 0xb8], rax
lea rcx, [rsp + 0xb0]
call fcn.0059492c
lea r11, [0x007955f8]
mov qword [rsp + 0xb8], r11
lea rax, [0x007955e8]
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x168]
mov rcx, qword [rsp + 0x190]
cmp rcx, rax
je 0x4a4439
test rcx, rcx
je 0x4a4439
mov rdx, qword [rsp + 0x168]
sub rdx, rcx
cmp rdx, rsi
jbe 0x4a4434
call fcn.006a4944
jmp 0x4a4439
call fcn.006a3610
lea r8, [rsp + 0x208]
lea rdx, [0x00799bf8]
lea rcx, [rsp + 0x30]
call fcn.004021a8
nop
lea r8, [rsp + 0x208]
lea rdx, [0x0078cb38]
lea rcx, [rsp + 0xc8]
call fcn.004021a8
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x130]
call fcn.0058c994
nop
lea rax, [rsp + 0xc8]
mov rcx, qword [rsp + 0xf0]
cmp rcx, rax
je 0x4a44c2
test rcx, rcx
je 0x4a44c2
mov rdx, qword [rsp + 0xc8]
sub rdx, rcx
cmp rdx, rsi
jbe 0x4a44bc
call fcn.006a4944
jmp 0x4a44c2
call fcn.006a3610
nop
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x4a44ef
test rcx, rcx
je 0x4a44ef
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
cmp rdx, rsi
jbe 0x4a44ea
call fcn.006a4944
jmp 0x4a44ef
call fcn.006a3610
mov r8b, 0xa
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x118]
call fcn.0041fd10
nop
mov r12, qword [rsp + 0x118]
or r14, 0xffffffffffffffff
cmp r12, qword [rsp + 0x120]
je 0x4a4661
mov rcx, qword [r12 + 0x20]
cmp qword [r12 + 0x28], rcx
je 0x4a4658
mov rax, qword [r13 + 0xa0]
test rax, rax
je 0x4a454e
mov rdx, qword [r12 + 0x28]
mov rcx, qword [r13 + 8]
call rax
jmp 0x4a4658
sub rcx, qword [r12 + 0x28]
add rcx, 5
mov eax, 2
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.006a43c4
mov rbx, rax
mov qword [rsp + 0x210], rax
mov rax, qword [r12 + 0x20]
mov r8, qword [r12 + 0x28]
sub eax, r8d
add eax, 5
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, r14d
xor edx, edx
mov ecx, 0x5182
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r8, [rsp + 0x208]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.004023b4
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xc8]
call fcn.00420f08
nop
lea rcx, [r13 + 0x40]
mov r8, rax
lea rdx, [rsp + 0x1b8]
call fcn.004a4e6c
nop
lea rax, [rsp + 0xc8]
mov rcx, qword [rsp + 0x110]
cmp rcx, rax
je 0x4a461b
test rcx, rcx
je 0x4a461b
mov rax, qword [rsp + 0xc8]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rsi
jbe 0x4a4615
call fcn.006a4944
jmp 0x4a461b
call fcn.006a3610
nop
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x4a4650
test rcx, rcx
je 0x4a4650
mov rax, qword [rsp + 0x30]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rsi
jbe 0x4a464a
call fcn.006a4944
jmp 0x4a4650
call fcn.006a3610
nop
mov rcx, rbx
call fcn.006a5088
add r12, 0x30
jmp 0x4a4514
lea rcx, [rsp + 0x118]
call fcn.00401d58
nop
lea rax, [rsp + 0x130]
mov rcx, qword [rsp + 0x158]
cmp rcx, rax
je 0x4a46a6
test rcx, rcx
je 0x4a46a6
mov rdx, qword [rsp + 0x130]
sub rdx, rcx
cmp rdx, rsi
jbe 0x4a46a0
call fcn.006a4944
jmp 0x4a46a6
call fcn.006a3610
nop
jmp 0x4a46b5
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0xa8]
cmp rcx, rax
je 0x4a473a
test rcx, rcx
je 0x4a473a
mov rdx, qword [rsp + 0x80]
sub rdx, rcx
cmp rdx, rsi
jbe 0x4a46e6
call fcn.006a4944
jmp 0x4a473a
call fcn.006a3610
jmp 0x4a473a
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0xa8]
cmp rcx, rax
je 0x4a473a
test rcx, rcx
je 0x4a473a
mov rdx, qword [rsp + 0x80]
sub rdx, rcx
cmp rdx, rsi
jbe 0x4a471e
call fcn.006a4944
jmp 0x4a473a
call fcn.006a3610
jmp 0x4a473a
mov rcx, qword [0x008bba40]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and qword [0x008bba40], 0
mov rax, r13
add rsp, 0x1d0
pop r14
pop r13
pop r12
pop rsi
pop rbx
ret