Function at 0x48d554
Capabilities:
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xf0
push ebx
lea eax, [ebp + 0x78]
xor ebx, ebx
push eax
mov dword [ebp + 0x30], ecx
mov dword [ebp + 0x3c], ebx
call fcn.0043e425
mov eax, dword [ebp + 0x78]
mov ax, word [eax]
cmp ax, 0x24
sete byte [ebp + 0x6d]
cmp ax, 0x2a
pop ecx
je 0x48d58f
cmp ax, 0x26
mov byte [ebp + 0x6e], bl
jne 0x48d593
mov byte [ebp + 0x6e], 1
cmp ax, 0x24
je 0x48d59f
cmp ax, 0x2a
jne 0x48d5a3
add dword [ebp + 0x78], 2
push esi
mov esi, dword [sym.imp.shlwapi.dll_StrRChrW]
push edi
push 0x2c
push ebx
push dword [ebp + 0x78]
call esi
mov edi, eax
cmp edi, ebx
je 0x48d5be
mov word [edi], bx
inc edi
inc edi
push 0x2c
push ebx
push dword [ebp + 0x78]
call esi
cmp eax, ebx
je 0x48d5cf
mov word [eax], bx
inc eax
inc eax
cmp eax, ebx
mov dword [ebp + 0x28], eax
mov esi, edi
jne 0x48d5dd
mov dword [ebp + 0x28], edi
xor esi, esi
cmp esi, ebx
lea eax, [ebp - 0x74]
mov dword [ebp + 0x54], eax
lea eax, [ebp - 0x75]
mov byte [ebp + 0x6f], bl
mov dword [ebp + 0x38], eax
mov byte [ebp - 0x75], 0x20
mov byte [ebp - 0x74], bl
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x68], 0x8003
je 0x48d6a9
push esi
push str.SHA1
call fcn.0043f8c3
test al, al
pop ecx
pop ecx
je 0x48d622
mov dword [ebp + 0x68], 0x8004
jmp 0x48d6a9
push esi
push str.SHA256
call fcn.0043f8c3
test al, al
pop ecx
pop ecx
je 0x48d63c
mov dword [ebp + 0x68], 0x800c
jmp 0x48d6a9
push esi
push str.SHA384
call fcn.0043f8c3
test al, al
pop ecx
pop ecx
je 0x48d656
mov dword [ebp + 0x68], 0x800d
jmp 0x48d6a9
push esi
push str.SHA512
call fcn.0043f8c3
test al, al
pop ecx
pop ecx
je 0x48d670
mov dword [ebp + 0x68], 0x800e
jmp 0x48d6a9
push esi
push str.CRC32
call fcn.0043f8c3
test al, al
pop ecx
pop ecx
je 0x48d687
mov byte [ebp + 0x6f], 1
jmp 0x48d6a9
push esi
push 0x4c95d0
call fcn.0043f8c3
test al, al
pop ecx
pop ecx
je 0x48d6a9
lea eax, [ebp + 0x4c]
mov dword [ebp + 0x68], 0xffffcfc7
mov dword [ebp + 0x54], eax
mov byte [ebp + 0x6f], 0xff
mov esi, 0x4dbd30
push esi
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
xor edi, edi
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x34], esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp byte [ebp + 0x6e], bl
jne 0x48d6d8
push esi
mov dword [ebp + 0x34], ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp byte [ebp + 0x6d], bl
je 0x48d702
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 0x78]
lea ecx, [ebp + 0x48]
call fcn.00444998
mov edi, dword [ebp + 0x48]
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
cdq
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
jmp 0x48d87c
cmp byte [ebp + 0x6e], bl
je 0x48d72f
mov ecx, dword [ebp + 0x30]
push ebx
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x78]
call fcn.00410c6f
cmp eax, ebx
je 0x48d8c3
mov edi, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], ebx
jmp 0x48d87c
push dword [ebp + 0x78]
call fcn.004130a1
pop ecx
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push eax
lea ecx, [ebp + 0x78]
mov dword [ebp + 0x78], ebx
call fcn.00405a2a
cmp dword [ebp + 0x78], ebx
je 0x48d874
push 2
push ebx
push ebx
push dword [ebp + 0x78]
call fcn.0043f790
lea ecx, [ebp + 0x50]
push ecx
push ebx
push ebx
push 0x20000002
push edx
push eax
push dword [ebp + 0x78]
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
mov dword [ebp + 0x50], ebx
call fcn.0049856e
add esp, 0x2c
cmp eax, ebx
mov dword [ebp + 0x20], eax
je 0x48d794
push eax
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
mov eax, dword [ebp + 0x60]
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
mov esi, 0x40000000
mov dword [ebp + 0x2c], 3
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x5c], eax
cmp ebx, dword [ebp + 0x5c]
jb 0x48d7c7
ja 0x48d7c4
cmp esi, dword [ebp + 0x58]
jbe 0x48d7c7
mov esi, dword [ebp + 0x58]
push esi
push dword [ebp + 0x40]
push dword [ebp + 0x44]
push 4
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov edi, eax
mov dword [ebp + 0x24], edi
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp edi, ebx
jne 0x48d7f8
cmp esi, 0x100000
jbe 0x48d8aa
shr esi, 1
jmp 0x48d7b8
cmp ebx, dword [ebp + 0x5c]
jb 0x48d80c
ja 0x48d804
cmp esi, dword [ebp + 0x58]
jb 0x48d80c
xor eax, eax
inc eax
mov dword [ebp + 0x2c], eax
jmp 0x48d80f
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x54]
add eax, ecx
cmp byte [ebp + 0x6f], bl
push eax
jg 0x48d838
push dword [ebp + 0x68]
push ebx
push esi
push edi
call fcn.00498f93
add esp, 0x14
cmp byte [ebp + 0x6f], bl
mov dword [ebp + 0x3c], eax
jge 0x48d843
mov eax, dword [ebp + 0x4c]
mov dword [ebp + 0x38], eax
jmp 0x48d843
push ebx
push esi
push edi
call fcn.004992b0
add esp, 0x10
push dword [ebp + 0x24]
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
add dword [ebp + 0x40], esi
adc dword [ebp + 0x44], ebx
sub dword [ebp + 0x58], esi
mov eax, dword [ebp + 0x58]
sbb dword [ebp + 0x5c], ebx
or eax, dword [ebp + 0x5c]
jne 0x48d7b8
xor edi, edi
cmp dword [ebp + 0x50], ebx
je 0x48d874
push dword [ebp + 0x50]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [ebp + 0x78]
call fcn.00402cb5
cmp edi, ebx
je 0x48d8c3
cmp byte [ebp + 0x6f], bl
push dword [ebp + 0x54]
jg 0x48d8b4
push dword [ebp + 0x68]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push edi
call fcn.00498f93
add esp, 0x14
cmp byte [ebp + 0x6f], bl
mov dword [ebp + 0x3c], eax
jge 0x48d8c3
mov eax, dword [ebp + 0x4c]
mov dword [ebp + 0x38], eax
jmp 0x48d8c3
lea ecx, [ebp + 0x78]
call fcn.00402cb5
jmp 0x48d8c3
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push edi
call fcn.004992b0
add esp, 0x10
push 0xffffffffffffffff
push dword [ebp + 0x38]
lea ecx, [ebp + 0x78]
call fcn.0044dfb0
mov ecx, dword [ebp + 0x7c]
cmp ecx, ebx
pop edi
pop esi
je 0x48d8e7
mov eax, dword [ebp + 0x78]
add eax, 2
push eax
call fcn.0044dfe2
jmp 0x48d90e
mov eax, dword [ebp + 0x28]
cmp eax, ebx
je 0x48d905
cmp word [eax], bx
je 0x48d905
mov ecx, dword [ebp + 0x78]
add ecx, 2
push ecx
mov ecx, dword [ebp + 0x30]
push eax
call fcn.0044414b
jmp 0x48d90e
push dword [ebp + 0x78]
call fcn.0048c51a
pop ecx
lea ecx, [ebp + 0x78]
call fcn.0043e48d
cmp dword [ebp + 0x34], ebx
pop ebx
je 0x48d925
push dword [ebp + 0x34]
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea ecx, [ebp + 0x1c]
call fcn.0043e2c7
lea ecx, [ebp + 0x48]
call fcn.0043e48d
lea ecx, [ebp + 0x4c]
call fcn.0043e48d
mov eax, dword [ebp + 0x3c]
add ebp, 0x70
leave
ret 8