Function at 0x4d76c6
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x6c07a1
call fcn.006b6d3c
sub esp, 0x298
push ebx
push esi
mov edx, ecx
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 1
mov ebx, dword [ebp + 0x18]
test ebx, ebx
jne 0x4d7705
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
push 9
pop ecx
lea esi, [ebp - 0x48]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
jmp 0x4d795c
mov edi, dword [ebp + 0x30]
lea eax, [edi + 5]
add eax, ebx
push eax
call fcn.0053b995
cmp dword [ebp + 0x34], 0x10
mov esi, eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x14], esi
cmovae eax, dword [ebp + 0x20]
push edi
push eax
push esi
call fcn.00552b30
mov al, byte [esi + edi - 1]
add esp, 0x10
cmp al, 0x5c
je 0x4d773f
cmp al, 0x2f
je 0x4d773f
mov byte [esi + edi], 0x2f
inc edi
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push ebx
cmovae eax, dword [ebp + 8]
add edi, esi
push eax
push edi
call fcn.00552b30
push 0x13
mov dword [edi + ebx], 0x6b612e
mov edx, 0x8000
pop ebx
push 0
mov ecx, esi
call fcn.00526d70
mov edi, eax
add esp, 0x10
cmp edi, 0xffffffff
je 0x4d78e6
push 0x40
lea eax, [ebp - 0x88]
push eax
push edi
call fcn.00574010
push edi
mov ebx, eax
call fcn.005721bd
add esp, 0x10
cmp ebx, 0x14
je 0x4d780f
cmp ebx, 0x24
je 0x4d780f
and dword [ebp - 0x2a4], 0
lea eax, [ebp - 0x288]
and dword [ebp - 0x294], 0
lea ecx, [ebp - 0x2a4]
push 0x50
push str.d:_buildserver_bna_2work_git_bootstrapper_repositorycontribcontrib_bnl_tact_sourcegameencoding_armadillokey.cpp
mov dword [ebp - 0x2a0], str.Unsupported_Armadillo_Key____s:_length__d
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], 0x200
mov dword [ebp - 0x290], 4
mov dword [ebp - 0x28c], str.ArmadilloKey
call fcn.00492518
push esi
lea ecx, [ebp - 0x2a4]
call fcn.004928ff
push ebx
lea ecx, [ebp - 0x2a4]
call fcn.00492a9a
jmp 0x4d78d6
lea edi, [ebx - 4]
push edi
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x24]
call fcn.00493482
lea eax, [ebp - 0x24]
mov eax, dword [eax]
pop ecx
cmp eax, dword [ebp + ebx - 0x8c]
jne 0x4d7876
test edi, edi
je 0x4d7852
cmp edi, 0x10
je 0x4d7852
cmp edi, 0x20
je 0x4d7852
push 0x45
push 0x79cc80
push str.ArmadilloKey::IsValidSize_static_cast_size_t__length___4__
call fcn.0055c77a
add esp, 0xc
push edi
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x48]
call fcn.004d7673
mov edi, dword [ebp - 0x10]
mov esi, eax
push 9
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x14]
xor ebx, ebx
jmp 0x4d7951
and dword [ebp - 0x2a4], 0
lea eax, [ebp - 0x288]
and dword [ebp - 0x294], 0
lea ecx, [ebp - 0x2a4]
push 0x4b
push str.d:_buildserver_bna_2work_git_bootstrapper_repositorycontribcontrib_bnl_tact_sourcegameencoding_armadillokey.cpp
mov dword [ebp - 0x2a0], str.Broken_Armadillo_Key____s
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], 0x200
mov dword [ebp - 0x290], 4
mov dword [ebp - 0x28c], str.ArmadilloKey
call fcn.00492518
push esi
lea ecx, [ebp - 0x2a4]
call fcn.004928ff
lea ecx, [ebp - 0x2a4]
call fcn.0042e42b
push 0x13
pop ebx
jmp 0x4d7951
and dword [ebp - 0x2a4], 0
lea eax, [ebp - 0x288]
and dword [ebp - 0x294], 0
lea ecx, [ebp - 0x2a4]
push 0x56
push str.d:_buildserver_bna_2work_git_bootstrapper_repositorycontribcontrib_bnl_tact_sourcegameencoding_armadillokey.cpp
mov dword [ebp - 0x2a0], str.Failed_to_open_Armadillo_Key____s
mov dword [ebp - 0x29c], eax
mov dword [ebp - 0x298], 0x200
mov dword [ebp - 0x290], 4
mov dword [ebp - 0x28c], str.ArmadilloKey
call fcn.00492518
push esi
lea ecx, [ebp - 0x2a4]
call fcn.004928ff
lea ecx, [ebp - 0x2a4]
call fcn.0042e42b
test esi, esi
je 0x4d795c
push esi
call fcn.0053b990
pop ecx
lea ecx, [ebp + 8]
call fcn.004063c5
lea ecx, [ebp + 0x20]
call fcn.004063c5
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret