Function at 0x45c200
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x524ed6
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x581500]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x581500]
xor eax, esp
push eax
lea eax, [esp + 0x194]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1a4]
mov ebp, dword [esp + 0x1a8]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
mov byte [esp + 0x18], bl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x19c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], vtable.t_freetype_fontmanager::t_locker.0
mov byte [esp + 0x19c], 1
mov ecx, dword [0x58f290]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov esi, ecx
call eax
test al, al
jne 0x45c305
lea ecx, [esp + 0x14]
push str.t_mutex::Lock
push ecx
call fcn.00409a40
add esp, 8
cmp al, bl
je 0x45c348
lea ecx, [esp + 0x30]
push ecx
lea eax, [esp + 0x3c]
lea edx, [esp + 0x4c]
mov dword [esp + 0x30], eax
lea eax, [edi + 4]
push edx
lea ecx, [esp + 0x34]
push ecx
lea edi, [esp + 0x58]
mov dword [esp + 0x34], esi
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x40], eax
call fcn.0045cc30
cmp eax, ebx
je 0x45c317
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov dword [ecx], edx
mov eax, dword [eax]
inc dword [eax + 0xc]
mov ecx, esi
mov byte [esp + 0x19c], bl
call fcn.00412a50
jmp 0x45c4b3
mov edx, dword [esi]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call edx
test al, al
jmp 0x45c29f
push 0x2c
lea edx, [esp + 0x5c]
push ebx
push edx
mov dword [esp + 0x60], ebx
call fcn.004ff6c0
lea eax, [esp + 0x60]
push eax
push ebp
call fcn.005030c7
add esp, 0x14
test eax, eax
je 0x45c358
mov ecx, esi
mov byte [esp + 0x19c], bl
call fcn.00412a50
lea ecx, [esp + 0x14]
call fcn.00409930
xor al, al
jmp 0x45c4be
mov ecx, dword [esp + 0x68]
push 0x103
lea edx, [esp + 0x89]
push ebx
push edx
mov dword [esp + 0x38], ecx
mov byte [esp + 0x90], bl
call fcn.004ff6c0
lea eax, [esp + 0x90]
push eax
mov esi, ebp
call fcn.0045c1c0
add esp, 0x10
lea ecx, [esp + 0x84]
push ecx
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
cmp esi, ebx
jne 0x45c3f9
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x45c41c
lea edx, [esp + 0x84]
push edx
push ebx
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
call edi
cmp esi, ebx
je 0x45c41c
push 6
push esi
call fcn.00413790
push 6
push esi
call fcn.004137e0
add esp, 0x10
jmp 0x45c3ff
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esp + 0x30], eax
cmp eax, ebx
jne 0x45c43c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call edi
lea esi, [esp + 0x24]
mov byte [esp + 0x19c], bl
call fcn.00457960
lea ecx, [esp + 0x14]
call fcn.00409930
xor al, al
jmp 0x45c4be
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1ac]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x24]
push ecx
push eax
mov eax, dword [edx]
push eax
call fcn.004cdd40
add esp, 0x14
cmp eax, ebx
jne 0x45c419
push 0x10
call fcn.004faf1d
mov edi, eax
push ebp
mov dword [esp + 0x24], edi
call fcn.00502f65
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov dword [edi], eax
add esp, 8
push edx
lea eax, [esp + 0x50]
mov dword [edi + 0xc], 1
push eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 4], esi
lea ebx, [esp + 0x24]
mov dword [edi + 8], ecx
call fcn.0045ca80
lea esi, [esp + 0x24]
mov byte [esp + 0x19c], 0
call fcn.00457960
lea ecx, [esp + 0x14]
call fcn.00409930
mov al, 1
mov ecx, dword [esp + 0x194]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.004fa259
add esp, 0x18c
ret 0xc