Function at 0x4090c0
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x174
mov eax, dword [0x54b07c]
xor eax, esp
mov dword [esp + 0x170], eax
mov eax, dword [0x5500dc]
push ebx
push esi
mov esi, ecx
push edi
test eax, eax
je 0x4090f1
push eax
call fcn.004cedda
add esp, 4
push 0x532e54
push esi
call fcn.004ce8d6
push 2
mov esi, eax
push 0
push esi
call fcn.004ceda0
add esp, 0x14
push esi
call fcn.004ce7e4
add esp, 4
mov dword [0x5500e0], eax
push 0
push 0
push esi
call fcn.004ceda0
mov eax, dword [0x5500e0]
add esp, 0xc
cmp dword [0x269347c], 0
je 0x409140
cmp eax, 0x4000000
jae 0x409140
mov eax, 0x4000000
push eax
call fcn.004cf109
add esp, 4
mov dword [0x5500dc], eax
push esi
push 1
push dword [0x5500e0]
push eax
call fcn.004cefce
push esi
call fcn.004cea42
mov edx, dword [0x5500dc]
add esp, 0x14
mov esi, dword [0x5500e0]
cmp byte [edx], 0x37
jne 0x409195
mov ebx, esi
mov edi, 0
shr ebx, 1
je 0x409195
mov cl, byte [edx + edi*2]
mov al, byte [edx + edi*2 + 1]
mov byte [edx + edi*2], al
mov byte [edx + edi*2 + 1], cl
inc edi
cmp edi, ebx
jb 0x409182
mov al, byte [edx]
cmp al, 0x40
jne 0x4091c7
shr esi, 2
test esi, esi
je 0x4091ed
inc edx
mov cl, byte [edx - 1]
lea edx, [edx + 4]
movzx eax, byte [edx - 2]
mov byte [edx - 5], al
movzx eax, byte [edx - 3]
mov byte [edx - 2], cl
mov cl, byte [edx - 4]
mov byte [edx - 4], al
mov byte [edx - 3], cl
sub esi, 1
jne 0x4091a3
jmp 0x4091ed
cmp al, 0x80
jne 0x409368
cmp byte [edx + 1], 0x37
jne 0x409368
cmp byte [edx + 2], 0x12
jne 0x409368
cmp byte [edx + 3], 0x40
jne 0x409368
push str.rom_loaded_succesfully_n
call fcn.00402650
mov ebx, dword [0x5500dc]
add esp, 4
push 0x1000
push ebx
push 0x550120
call fcn.004c77d0
mov al, byte [0x550140]
add esp, 0xc
mov dword [0x550154], 0
mov edi, 0x550140
mov dword [0x550138], 0
mov esi, edi
mov dword [0x55013c], 0
test al, al
je 0x4092ac
movsx eax, al
mov ebx, edi
push eax
mov dword [esp + 0x10], esi
call fcn.004cf740
add esp, 4
test eax, eax
je 0x409261
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x409241
jmp 0x4092a0
mov ecx, dword [esp + 0xc]
mov edi, ebx
mov esi, ecx
mov al, byte [ecx]
test al, al
je 0x4092a0
cmp ebx, 0x550140
je 0x40927f
mov byte [ebx], 0x20
lea edi, [ebx + 1]
mov al, byte [ecx]
test al, al
je 0x4092a0
movsx eax, al
push eax
call fcn.004cf740
add esp, 4
test eax, eax
jne 0x4092a0
movzx eax, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov al, byte [esi]
test al, al
jne 0x409283
mov al, byte [esi]
test al, al
jne 0x409241
mov ebx, dword [0x5500dc]
push dword [0x5500e0]
mov edx, ebx
mov byte [edi], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
call fcn.00406ae0
add esp, 4
lea edx, [esp + 0x68]
lea ecx, [esp + 0x10]
call fcn.00406bc0
push 0x100
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.004c7d50
add esp, 0xc
lea edi, [esp + 0x78]
xor esi, esi
lea ebx, [ebx]
movzx eax, byte [esp + esi + 0x68]
push eax
push str._02X
push edi
call fcn.00408ae0
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x10
jb 0x409320
xor ecx, ecx
nop
mov al, byte [esp + ecx + 0x78]
lea ecx, [ecx + 1]
mov byte [ecx + 0x5500ef], al
test al, al
jne 0x409340
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.0049dba8
mov esp, ebp
pop ebp
ret
push str.wrong_file_format___n
call fcn.00402650
add esp, 4
push dword [0x5500dc]
call fcn.004cedda
mov ecx, dword [esp + 0x180]
add esp, 4
mov dword [0x5500dc], 0
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0049dba8
mov esp, ebp
pop ebp
ret