Function at 0x47ca10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5244e8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x589560]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov eax, dword [ebp + 0x10]
sub eax, 1
jne 0x47ca6e
lea ecx, [esi + 0x4010]
call fcn.004572f0
mov eax, dword [esi + 0x4004]
xor ebx, ebx
mov dword [esi + 0x400c], eax
mov dword [esi + 0x402c], ebx
jmp 0x47ca70
xor ebx, ebx
mov dword [esp + 0x60], fcn.004fdc99
mov dword [esp + 0x64], fcn.004fca61
mov dword [esp + 0x68], fcn.004fdda1
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 0x8000
mov dword [esp + 0x5c], vtable.t_heapT_class_TAllocDefault_.0
mov dword [esp + 0x74], ebx
mov byte [esp + 0x78], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x88], ebx
cmp byte [eax + 0x11c], 0
je 0x47cabd
add eax, 0xc
jmp 0x47cac0
mov eax, dword [eax + 8]
mov esi, dword [ebp + 8]
lea edx, [eax + 4]
push esi
lea ecx, [esp + 0x60]
call fcn.0046c8b0
test al, al
jne 0x47cb41
mov ecx, esi
call fcn.00470820
push 0x566818
push 0x551604
push eax
call fcn.0046adf0
mov dword [esp + 0x94], 0xffffffff
mov eax, dword [esp + 0x78]
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x5c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x47cb27
lea esp, [esp]
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x70], ecx
call dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
add esp, 4
cmp eax, ebx
jne 0x47cb10
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esp + 0x74]
cmp eax, ebx
jne 0x47cbc1
xor esi, esi
mov dword [esp + 0x10], ebx
cmp esi, ebx
jne 0x47cc2c
mov ecx, dword [ebp + 8]
call fcn.00470820
push 0x566828
push 0x551604
push eax
call fcn.0046adf0
mov dword [esp + 0x94], 0xffffffff
mov eax, dword [esp + 0x78]
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x5c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x47cba7
lea ecx, [ecx]
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x70], ecx
call dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
add esp, 4
cmp eax, ebx
jne 0x47cb90
xor al, al
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
lea edi, [esp + 0x1c]
mov dword [esp + 0x20], str.Setting
call fcn.0046d570
cmp eax, ebx
je 0x47cbea
mov esi, dword [eax + 4]
jmp 0x47cbec
xor esi, esi
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x47cb4b
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edi, [esp + 0x1c]
mov dword [esp + 0x20], 0x5667f4
call fcn.0046d570
cmp eax, ebx
je 0x47cb4b
mov edx, dword [eax + 4]
mov dword [esp + 0x10], edx
jmp 0x47cb4f
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edi, [esp + 0x30]
mov eax, esi
mov dword [esp + 0x20], str.LimitWordCand
call fcn.0046d570
cmp eax, ebx
je 0x47cc57
cmp dword [eax + 4], ebx
jne 0x47cc8a
push esi
mov eax, str.MaxWordCand
call fcn.0046c760
cmp eax, ebx
je 0x47cc7a
push eax
call fcn.004fe07a
add esp, 4
test eax, eax
jle 0x47cc7a
push 0x561710
jmp 0x47cc7f
push 0x54b9a0
push str.LimitWordCand
push esi
call fcn.0046c290
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
push ecx
lea edi, [esp + 0x34]
mov eax, esi
or ebx, 0xffffffff
mov dword [esp + 0x28], str.LearnNewWord
call fcn.0046d570
test eax, eax
je 0x47ccbd
cmp dword [eax + 4], 0
jne 0x47cd08
push esi
mov eax, str.FreqUpMode
call fcn.0046c760
test eax, eax
mov dword [esp + 0x14], eax
je 0x47ccf5
push eax
call fcn.004fe07a
mov ebx, eax
add esp, 4
test ebx, ebx
jl 0x47ccf8
cmp ebx, 2
je 0x47ccf8
cmp ebx, 3
je 0x47ccf8
cmp ebx, 4
je 0x47ccf8
push 0x54b9a0
jmp 0x47ccfd
or ebx, 0xffffffff
push 0x561710
push str.LearnNewWord
push esi
call fcn.0046c290
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edi, [esp + 0x2c]
mov eax, esi
mov dword [esp + 0x28], str.LearnFreq
call fcn.0046d570
test eax, eax
je 0x47cd34
cmp dword [eax + 4], 0
jne 0x47cd7a
cmp dword [esp + 0x14], 0
jne 0x47cd55
push esi
mov eax, str.FreqUpMode
call fcn.0046c760
test eax, eax
je 0x47cd6a
push eax
call fcn.004fe07a
add esp, 4
mov ebx, eax
test ebx, ebx
jl 0x47cd6a
cmp ebx, 3
je 0x47cd6a
cmp ebx, 4
je 0x47cd6a
push 0x54b9a0
jmp 0x47cd6f
push 0x561710
push str.LearnFreq
push esi
call fcn.0046c290
lea eax, [esp + 0x54]
mov edi, esi
call fcn.0047c680
mov ecx, dword [eax]
test ecx, ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
je 0x47ce9c
mov dword [esp + 0x4c], 0
jmp 0x47cda8
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 4]
mov ebx, dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x14], esi
je 0x47cdf0
cmp ebx, esi
je 0x47cdf0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push ecx
lea edi, [esp + 0x38]
mov dword [esp + 0x28], ebx
call fcn.0046d570
cmp eax, esi
je 0x47cdec
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
jmp 0x47cdf0
mov dword [esp + 0x14], esi
call fcn.0047bdb0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
lea edi, [esp + 0x40]
lea ecx, [esp + 0x54]
mov dword [esp + 0x58], ebx
call fcn.0047c440
cmp eax, esi
je 0x47ce18
mov eax, dword [eax]
jmp 0x47ce1a
xor eax, eax
mov edi, dword [esp + 0x18]
add edi, 4
mov ecx, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
call fcn.0047e420
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x20]
push eax
push edi
lea eax, [esp + 0x4c]
call fcn.0047e7f0
test al, al
je 0x47ce83
push str.KeyFocusWord
push ebx
call fcn.004fe715
add esp, 8
test eax, eax
jne 0x47ce75
mov eax, esi
call fcn.0047e9e0
cmp eax, 2
jne 0x47ce75
mov ecx, dword [esp + 0x18]
add ecx, 4
xor edi, edi
call fcn.0047ec00
mov ecx, dword [esp + 0x18]
push esi
lea eax, [esp + 0x48]
call fcn.0047df10
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
call fcn.004369e0
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x47cda4
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x6c]
test eax, eax
mov dword [esp + 0x5c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
je 0x47cece
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x70], ecx
call dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
add esp, 4
test eax, eax
jne 0x47ceb7
mov al, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc