Function at 0x446db0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa20
mov eax, dword [0x4d3100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x58c460]
push esi
push edi
mov edi, dword [eax + 8]
mov eax, dword [0x58c464]
shl edi, 4
mov eax, dword [eax + 0x24]
add edi, eax
cmp dword [0x4e51a8], 0
je 0x446e00
mov eax, dword [edi - 4]
add eax, 0xc
push eax
lea eax, [ebp - 0xa18]
push 0x4c57b4
push eax
call fcn.00493964
add esp, 0xc
jmp 0x446e1c
mov ecx, dword [edi - 4]
lea edx, [ebp - 0xa18]
add ecx, 0xc
lea esp, [esp]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
inc edx
test al, al
jne 0x446e10
mov esi, dword [edi - 0x14]
lea ecx, [ebp - 0xa18]
mov edi, dword [edi - 0x24]
mov eax, 0x4e7870
shl esi, 2
shl edi, 2
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x446e53
test dl, dl
je 0x446e4f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x446e53
add eax, 2
add ecx, 2
test dl, dl
jne 0x446e33
xor eax, eax
jmp 0x446e58
sbb eax, eax
or eax, 1
test eax, eax
mov ecx, 1
mov eax, 0
cmovne eax, ecx
cmp dword [0x4e7978], esi
cmovne eax, ecx
cmp dword [0x4e7974], edi
jne 0x446e80
test eax, eax
je 0x4470d5
call fcn.00444850
xor ecx, ecx
jmp 0x446e90
mov al, byte [ebp + ecx - 0xa18]
lea ecx, [ecx + 1]
mov byte [ecx + 0x4e786f], al
test al, al
jne 0x446e90
mov eax, dword [0x4e5164]
mov dword [0x4e7978], esi
mov dword [0x4e7974], edi
cmp eax, 0xffffffff
jne 0x446ee4
mov ecx, str.FONTCACHESMART
call fcn.00487da0
test eax, eax
je 0x446edf
push dword [eax + 4]
call fcn.00494176
mov esi, dword [0x4e7978]
add esp, 4
mov edi, dword [0x4e7974]
mov dword [0x4e5164], eax
push esi
push edi
test eax, eax
lea eax, [ebp - 0x110]
push 0x4e7870
je 0x446efc
push str.fca__s__03dx_03d.fcd
jmp 0x446f01
push str.fc__s__03dx_03d.fcd
push eax
call fcn.00493964
add esp, 0x14
cmp dword [0x53bf90], 0
jne 0x446f35
push 0x575f18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4801a0
call fcn.0049543a
add esp, 4
mov dword [0x53bf90], 1
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x110]
call fcn.00482070
test eax, eax
je 0x446f5e
mov edx, 0x4c3d40
lea ecx, [ebp - 0x110]
call fcn.004816c0
mov esi, eax
jmp 0x446fd9
mov eax, dword [0x4e5164]
cmp eax, 0xffffffff
jne 0x446f86
mov ecx, str.FONTCACHESMART
call fcn.00487da0
test eax, eax
je 0x446f81
push dword [eax + 4]
call fcn.00494176
add esp, 4
mov dword [0x4e5164], eax
push dword [0x4e7978]
test eax, eax
lea eax, [ebp - 0x110]
push dword [0x4e7974]
push 0x4e7870
je 0x446fa8
push str.save_cn_fca__s__03dx_03d.fcd
jmp 0x446fad
push str.save_cn_fc__s__03dx_03d.fcd
push eax
call fcn.00493964
add esp, 0x14
lea ecx, [ebp - 0x110]
push 0x4c3d40
call fcn.0045e940
push eax
call fcn.00494396
mov esi, eax
add esp, 8
test esi, esi
je 0x44706d
push esi
push 1
push 0x50118
push 0x4e7870
call fcn.00495739
add esp, 0x10
cmp eax, 1
jne 0x447057
mov edi, dword [0x537980]
lea eax, [edi + 0x80000]
mov dword [0x53797c], eax
add eax, 0x20
push eax
call fcn.00497cab
add esp, 4
mov dword [ebp - 0xa1c], eax
test eax, eax
jne 0x447039
push 0x10
push str.malloc
push 0x4c9a90
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edi, dword [0x537980]
mov eax, dword [ebp - 0xa1c]
push esi
push 1
push edi
push eax
mov dword [0x537984], eax
call fcn.00495739
dec eax
add esp, 0x10
neg eax
sbb eax, eax
and eax, 1
mov edi, eax
jmp 0x44705c
mov edi, 1
test esi, esi
je 0x447069
push esi
call fcn.00494b54
add esp, 4
test edi, edi
je 0x4470d5
push 0x10000
push 0
push 0x4e797c
call fcn.0049cbc0
add esp, 0xc
push 0x40000
push 0
push 0x4f797c
call fcn.0049cbc0
add esp, 0xc
push 0x80020
call fcn.00497cab
mov esi, eax
add esp, 4
test esi, esi
jne 0x4470bb
push 0x10
push str.malloc
push 0x4c9a90
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [0x537984], esi
mov dword [0x537980], 4
mov dword [0x53797c], 0x80000
xor ecx, ecx
call fcn.0044fd30
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00493955
mov esp, ebp
pop ebp
ret