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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c4
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x43a598
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x420701
test cl, cl
je 0x4206fd
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x420701
add eax, 2
add esi, 2
test cl, cl
jne 0x4206d9
xor eax, eax
jmp 0x420706
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420f61
mov esi, 0x435f94
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x42073d
test cl, cl
je 0x420739
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x42073d
add eax, 2
add esi, 2
test cl, cl
jne 0x420715
xor eax, eax
jmp 0x420742
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420f61
mov esi, 0x435f90
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x420779
test cl, cl
je 0x420775
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x420779
add eax, 2
add esi, 2
test cl, cl
jne 0x420751
xor eax, eax
jmp 0x42077e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420f61
mov esi, 0x435f8c
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4207b5
test cl, cl
je 0x4207b1
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4207b5
add eax, 2
add esi, 2
test cl, cl
jne 0x42078d
xor eax, eax
jmp 0x4207ba
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420f61
mov ebx, dword [ebp + 0xc]
inc ebx
cmp bx, 1
jl 0x420f54
cmp bx, 9
jg 0x420f54
push 0
push 4
call fcn.0041d160
mov dword [0x438e00], 0
mov dword [0x438e04], 0
mov dword [0x438df8], 0
mov dword [0x438dfc], 0
mov dword [0x438df0], 0
mov dword [0x438df4], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.00422540
lea eax, [esp + 0xa0]
push eax
push str.textstyle
call fcn.00423370
mov edi, dword [esp + 0xae]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1e0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.txt_hztxt
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x449da8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00428d42
push 0x449da8
push str.chinese_v
push 1
call fcn.004211d0
push 0x449da8
push str.chinese_h
push 0
call fcn.004211d0
add esp, 0x30
cmp bx, 8
jne 0x4208e3
mov ecx, dword [ebp + 8]
push ecx
call fcn.00421500
add esp, 4
mov eax, 0x13ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx esi, bx
cmp esi, 9
ja case.0x4208ef.8
jmp dword [esi*4 + 0x420f70]
mov edi, dword [ebp + 8]
or ecx, 0xffffffff
xor eax, eax
push 0x449da8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.chinese_h
mov edx, ecx
mov esi, edi
mov edi, 0x449da8
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004211d0
push 0x449da8
push str.chinese_v
push 1
call fcn.004211d0
add esp, 0x18
jmp case.0x4208ef.8
mov eax, dword [0x438df0]
mov ecx, dword [0x438df4]
mov edi, dword [ebp + 8]
mov edx, dword [0x438df8]
mov dword [esp + 0x48], eax
mov eax, dword [0x438dfc]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x438e00]
push edi
push 0
mov dword [esp + 0x5c], eax
push 0
mov dword [esp + 0x64], ecx
push 0x40040000
lea eax, [esp + 0x58]
push 0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x64], edx
mov edx, dword [0x438e04]
push eax
push ecx
push esi
mov dword [esp + 0x7c], edx
call fcn.00420fa0
add esp, 0x20
cmp eax, 0x13ec
jne 0x420f66
lea edx, [esp + 0x88]
push edx
call fcn.004245c0
lea eax, [esp + 0x94]
lea ecx, [esp + 0x8c]
push eax
push 0
push ecx
call fcn.00424c90
lea edx, [esp + 0xc8]
lea eax, [esp + 0xa0]
push edx
push 0x4214c0
push 0
push 0x438eac
push eax
call fcn.00426040
lea ecx, [esp + 0xac]
mov ebx, eax
push ecx
call fcn.004245a0
lea edx, [esp + 0xb8]
push edx
call fcn.00424b50
add esp, 0x2c
cmp ebx, 0x13ec
je 0x420a1e
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 0
push 0
push 0x40040000
lea eax, [esp + 0xc8]
push 0
lea ecx, [esp + 0xcc]
push eax
push ecx
push esi
call fcn.00420fa0
add esp, 0x20
jmp case.0x4208ef.8
lea edx, [esp + 0x60]
push edx
push 0x438e9c
push 0
call fcn.00425e10
add esp, 0xc
cmp eax, 0x13ec
jne 0x420f66
lea eax, [esp + 0x10]
lea ecx, [esp + 0x60]
push eax
push 0x435f40
push ecx
call fcn.00425e10
add esp, 0xc
cmp eax, 0xffffec76
jne 0x420a8c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x13ec
je 0x420ac3
fld qword [esp + 0x60]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
fadd qword [0x431178]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
fstp qword [esp + 0x10]
jmp 0x420ae0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.00420210
add esp, 8
cmp eax, 0x13ec
jne 0x420f66
lea edx, [esp + 0x30]
lea eax, [esp + 0x10]
push edx
push 0x435f28
push eax
call fcn.00425e10
add esp, 0xc
cmp eax, 0xffffec76
jne 0x420b05
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x13ec
je 0x420b3a
fld qword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
fadd qword [0x4311d8]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
fstp qword [esp + 0x30]
mov edi, dword [ebp + 8]
lea edx, [esp + 0xd0]
push edx
push edi
call fcn.00421170
add esp, 8
mov esi, 0x43a598
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x420b7d
test cl, cl
je 0x420b79
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x420b7d
add eax, 2
add esi, 2
test cl, cl
jne 0x420b55
xor eax, eax
jmp 0x420b82
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420bad
push 0
push edi
push 0x40040000
push 0
call fcn.00421390
fst qword [esp + 0x38]
fcomp qword [0x431158]
add esp, 0x10
fnstsw ax
test ah, 1
jne 0x420f61
mov esi, 0x43a598
lea eax, [esp + 0xd0]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x420be1
test cl, cl
je 0x420bdd
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x420be1
add eax, 2
add esi, 2
test cl, cl
jne 0x420bb9
xor eax, eax
jmp 0x420be6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x420c1e
lea eax, [esp + 0xd0]
push 0
push eax
push 0x40040000
push 0
call fcn.00421390
fcom qword [0x431158]
add esp, 0x10
fnstsw ax
test ah, 1
je 0x420c22
fstp st(0)
mov eax, 0xffffec77
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld qword [esp + 0x78]
fld qword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x420c35
fstp st(0)
fld qword [esp + 0x28]
fadd qword [0x431208]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x10]
push ecx
push edx
fstp qword [esp + 0x30]
call fcn.00426fb0
fld qword [esp + 0x38]
fsub qword [esp + 0x18]
lea eax, [esp + 0x38]
lea ecx, [esp + 0x18]
push eax
push ecx
fdiv st(1)
fstp qword [esp + 0x40]
fld qword [esp + 0x48]
fsub qword [esp + 0x28]
fdivrp st(1)
fld qword [esp + 0x38]
fmul qword [esp + 0x40]
fadd qword [esp + 0x20]
fstp qword [esp + 0x40]
fld qword [esp + 0x38]
fmul st(1)
fadd qword [esp + 0x28]
fstp qword [esp + 0x48]
fstp st(0)
call fcn.00420210
add esp, 0x10
cmp eax, 0x13ec
jne 0x420f66
fld qword [esp + 0x30]
fcomp qword [esp + 0x10]
fnstsw ax
test ah, 1
je 0x420ce2
fld qword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
fstp qword [esp + 0x30]
fld qword [esp + 0x18]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
fstp qword [esp + 0x38]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.00426f40
fstp qword [esp + 0x30]
lea edx, [esp + 0x38]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00426fb0
fld qword [esp + 0x40]
fsub qword [esp + 0x20]
mov esi, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x3c]
push esi
fdiv st(1)
push edi
push 0x40040000
lea ecx, [esp + 0x68]
push 0
lea edx, [esp + 0x6c]
push ecx
push edx
push 3
fstp qword [esp + 0xc8]
fld qword [esp + 0x68]
fsub qword [esp + 0x48]
fdivrp st(1)
fchs
fld qword [esp + 0x60]
fadd qword [esp + 0x40]
fmul qword [0x431168]
fstp qword [esp + 0x40]
fld qword [esp + 0x68]
fadd qword [esp + 0x48]
fmul qword [0x431168]
fstp qword [esp + 0x48]
fmul qword [0x4311a0]
fst qword [esp + 0xb0]
fadd qword [esp + 0x40]
fstp qword [esp + 0x78]
fld qword [esp + 0xc8]
fmul qword [0x431168]
fst qword [esp + 0xa8]
fadd qword [esp + 0x48]
fstp qword [esp + 0x80]
call fcn.00420fa0
add esp, 0x30
cmp eax, 0x13ec
jne 0x420f66
fld qword [esp + 0x10]
fsub qword [esp + 0x80]
lea eax, [esp + 0xd0]
lea ecx, [esp + 0x48]
push eax
push esi
push edi
push 0x40040000
fstp qword [esp + 0x58]
fld qword [esp + 0x28]
fsub qword [esp + 0x88]
push 0
lea edx, [esp + 0x5c]
push ecx
push edx
push 0x14
fstp qword [esp + 0x70]
jmp 0x420edb
lea eax, [esp + 0x60]
push eax
push 0x438e9c
push 0
call fcn.00425e10
add esp, 0xc
cmp eax, 0x13ec
jne 0x420f66
lea ecx, [esp + 0x10]
lea edx, [esp + 0x60]
push ecx
push 0x435f40
push edx
call fcn.00425e10
add esp, 0xc
cmp eax, 0xffffec76
jne 0x420e2e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 0x13ec
je 0x420e61
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], ecx
fld qword [esp + 0x60]
fadd qword [0x431178]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
jmp 0x420e82
lea ecx, [esp + 0x10]
lea edx, [esp + 0x60]
push ecx
push edx
call fcn.00420210
add esp, 8
cmp eax, 0x13ec
jne 0x420f66
fld qword [esp + 0x10]
fld qword [esp + 0x60]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x420eb6
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
fadd qword [0x431168]
push eax
push 0
push 0
push 0x40040000
push 0
lea edx, [esp + 0x24]
fstp qword [esp + 0x24]
push ecx
push edx
push 4
jmp 0x420edb
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x10]
fsub qword [0x431168]
push eax
push 0
push 0
push 0x40040000
push 0
lea edx, [esp + 0x24]
fstp qword [esp + 0x24]
push ecx
push edx
push 8
call fcn.00420fa0
add esp, 0x20
cmp eax, 0x13ec
je case.0x4208ef.8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
push eax
call fcn.004219e0
jmp 0x420f1b
mov ecx, dword [ebp + 8]
push ecx
call fcn.00421d20
jmp 0x420f1b
mov edx, dword [ebp + 8]
push edx
call fcn.00421f70
jmp 0x420f1b
mov eax, dword [ebp + 8]
push eax
call fcn.00422170
add esp, 4
lea ecx, [esp + 0x1d0]
push 0
push ecx
push 0x138d
call fcn.004257d0
mov esi, eax
push esi
push str.textstyle
call fcn.004232b0
push esi
call fcn.00428160
add esp, 0x18
mov eax, 0x13ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x438e88
call fcn.00425270
add esp, 4
mov eax, 0xffffec77
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret