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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x523a48
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x58057c]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov eax, dword [ebp + 0x10]
sub eax, 1
mov ebx, 0
jne 0x414dfd
lea ecx, [esi + 4]
call fcn.00416c70
mov dword [esi + 0x20], ebx
mov dword [esp + 0x60], fcn.004fe6e3
mov dword [esp + 0x64], fcn.004ff2b3
mov dword [esp + 0x68], fcn.004fe606
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 0x8000
mov dword [esp + 0x5c], vtable.t_heap.0
mov dword [esp + 0x74], ebx
mov byte [esp + 0x78], bl
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x88], ebx
cmp byte [eax + 0x11c], 0
je 0x414e49
add eax, 0xc
jmp 0x414e4c
mov eax, dword [eax + 8]
mov esi, dword [ebp + 8]
lea edx, [eax + 4]
push esi
lea ecx, [esp + 0x60]
call fcn.004255f0
test al, al
jne 0x414ec7
mov ecx, esi
call fcn.00417c00
push 0x55dda0
push 0x55e008
mov edx, eax
call fcn.00419360
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x74]
add esp, 8
mov dword [esp + 0x5c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
cmp eax, ebx
je 0x414ead
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 0x414e96
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 0x414f45
xor esi, esi
mov dword [esp + 0x14], ebx
cmp esi, ebx
jne 0x414fb0
mov ecx, dword [ebp + 8]
call fcn.00417c00
push 0x55ddb0
push 0x55e008
mov edx, eax
call fcn.00419360
mov dword [esp + 0x90], 0xffffffff
mov eax, dword [esp + 0x74]
add esp, 8
mov dword [esp + 0x5c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
cmp eax, ebx
je 0x414f2b
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 0x414f14
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 + 0x20]
push edx
lea edi, [esp + 0x20]
mov dword [esp + 0x24], str.Setting
call fcn.00488480
cmp eax, ebx
je 0x414f6e
mov esi, dword [eax + 4]
jmp 0x414f70
xor esi, esi
mov eax, dword [esp + 0x74]
cmp eax, ebx
je 0x414ed1
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x20]
mov dword [esp + 0x24], 0x55dd7c
call fcn.00488480
cmp eax, ebx
je 0x414ed1
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
jmp 0x414ed5
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edi, [esp + 0x30]
mov eax, esi
mov dword [esp + 0x24], str.LimitWordCand
call fcn.00488480
cmp eax, ebx
je 0x414fdb
cmp dword [eax + 4], ebx
jne 0x41500f
mov ecx, str.MaxWordCand
mov eax, esi
call fcn.00425490
cmp eax, ebx
je 0x414fff
push eax
call fcn.004fde7b
add esp, 4
test eax, eax
jle 0x414fff
push 0x558f88
jmp 0x415004
push 0x55dddc
push str.LimitWordCand
push esi
call fcn.00424f60
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edi, [esp + 0x34]
mov eax, esi
mov dword [esp + 0x24], 0
or ebx, 0xffffffff
mov dword [esp + 0x28], str.LearnNewWord
call fcn.00488480
test eax, eax
je 0x415046
cmp dword [eax + 4], 0
jne 0x415092
mov ecx, str.FreqUpMode
mov eax, esi
call fcn.00425490
mov dword [esp + 0x18], eax
test eax, eax
je 0x41507f
push eax
call fcn.004fde7b
mov ebx, eax
add esp, 4
test ebx, ebx
jl 0x415082
cmp ebx, 2
je 0x415082
cmp ebx, 3
je 0x415082
cmp ebx, 4
je 0x415082
push 0x55dddc
jmp 0x415087
or ebx, 0xffffffff
push 0x558f88
push str.LearnNewWord
push esi
call fcn.00424f60
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.00488480
test eax, eax
je 0x4150be
cmp dword [eax + 4], 0
jne 0x415105
cmp dword [esp + 0x18], 0
jne 0x4150e0
mov ecx, str.FreqUpMode
mov eax, esi
call fcn.00425490
test eax, eax
je 0x4150f5
push eax
call fcn.004fde7b
add esp, 4
mov ebx, eax
test ebx, ebx
jl 0x4150f5
cmp ebx, 3
je 0x4150f5
cmp ebx, 4
je 0x4150f5
push 0x55dddc
jmp 0x4150fa
push 0x558f88
push str.LearnFreq
push esi
call fcn.00424f60
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.IgnoreSkinColorSetting_Real
call fcn.00488480
test eax, eax
je 0x415131
cmp dword [eax + 4], 0
jne 0x41514d
mov ecx, str.IgnoreSkinColorSetting
mov eax, esi
call fcn.00425490
test eax, eax
je 0x41514d
push eax
push str.IgnoreSkinColorSetting_Real
push esi
call fcn.00424f60
lea eax, [esp + 0x54]
mov edi, esi
call fcn.00414a90
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
test ecx, ecx
je 0x4152d7
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x3c]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x18], esi
cmp eax, esi
je 0x4151c1
cmp ebx, esi
je 0x4151c1
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.00488480
cmp eax, esi
je 0x4151bd
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
jmp 0x4151c1
mov dword [esp + 0x18], esi
call fcn.00413b10
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.00414590
cmp eax, esi
je 0x4151e9
mov eax, dword [eax]
jmp 0x4151eb
xor eax, eax
mov ecx, dword [esp + 0x10]
push 0x14
add ecx, 4
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ebx
call fcn.00406410
cmp eax, esi
je 0x415222
xor ecx, ecx
mov byte [eax], 0
mov byte [eax + 1], 0
mov dword [eax + 4], 0xffffffff
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov byte [eax + 0x10], cl
mov esi, eax
jmp 0x415224
xor esi, esi
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push eax
add edi, 4
push edi
lea eax, [esp + 0x4c]
call fcn.00417590
test al, al
je 0x415293
push str.KeyFocusWord
push ebx
call fcn.004fddd2
add esp, 8
test eax, eax
jne 0x415285
mov eax, esi
call fcn.00417770
cmp eax, 2
jne 0x415285
mov eax, 4
mov byte [esi + 0x10], 1
cmp dword [esi + 0xc], eax
jae 0x41527c
push eax
mov ecx, edi
mov dword [esi + 0xc], eax
call fcn.00406410
mov dword [esi + 8], eax
mov ecx, dword [esi + 8]
mov dword [ecx], 0
mov ecx, dword [esp + 0x10]
push esi
lea eax, [esp + 0x48]
call fcn.004164e0
mov edi, dword [esp + 0x40]
mov esi, dword [edi + 8]
test esi, esi
jne 0x4152a2
xor ecx, ecx
jmp 0x4152cb
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4152cb
mov eax, dword [eax + 0xc]
xor edx, edx
div esi
inc edx
cmp edx, esi
jae 0x4152cb
mov eax, dword [edi]
cmp dword [eax + edx*4], 0
lea eax, [eax + edx*4]
je 0x4152c6
mov ecx, dword [eax]
inc edx
test ecx, ecx
je 0x4152b5
mov dword [esp + 0x3c], ecx
test ecx, ecx
jne 0x415175
mov ecx, dword [esp + 0x10]
call fcn.004168e0
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x5c], vtable.allocator_unsigned_char__class_TAllocDefault_.0
test eax, eax
je 0x415317
jmp 0x415300
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 0x415300
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