Function at 0x44fa70
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov edx, dword [0x4e4100]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], edi
lea ebx, [eax + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], 0
call fcn.0047f120
mov dword [ebp - 0x18], eax
call fcn.0047f160
mov dword [ebp - 0x14], eax
mov word [ebp - 0x48], 0x7b
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x44fac8
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x44fab3
dec eax
push dword [ebp - 0x20]
push str._08X
lea edx, [ebp - 0x48]
add eax, edx
push eax
call fcn.00474200
add esp, 0xc
mov edx, str._0000_0000_
lea edi, [ebp - 0x48]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x44faf0
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x44fb14
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x44faff
dec eax
movzx ecx, byte [ebp - 0x18]
lea edx, [ebp - 0x48]
push ecx
push str._02X
add eax, edx
push eax
call fcn.00474200
add esp, 0xc
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x44fb46
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x44fb31
dec eax
movzx ecx, byte [ebp - 0x17]
lea edx, [ebp - 0x48]
push ecx
push str._02X
add eax, edx
push eax
call fcn.00474200
add esp, 0xc
mov edx, 0x4e4124
lea edi, [ebp - 0x48]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x44fb70
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x44fb94
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x44fb7f
dec eax
movzx ecx, byte [ebp - 0x16]
lea edx, [ebp - 0x48]
push ecx
push str._02X
add eax, edx
push eax
call fcn.00474200
add esp, 0xc
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x44fbc6
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x44fbb1
dec eax
movzx ecx, byte [ebp - 0x15]
lea edx, [ebp - 0x48]
push ecx
push str._02X
add eax, edx
push eax
call fcn.00474200
add esp, 0xc
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x44fbf8
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x44fbe3
dec eax
movzx ecx, byte [ebp - 0x14]
lea edx, [ebp - 0x48]
push ecx
push str._02X
add eax, edx
push eax
call fcn.00474200
add esp, 0xc
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x44fc2a
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x44fc15
dec eax
movzx ecx, byte [ebp - 0x13]
lea edx, [ebp - 0x48]
push ecx
push str._02X
add eax, edx
push eax
call fcn.00474200
add esp, 0xc
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x44fc5c
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x44fc47
dec eax
movzx ecx, byte [ebp - 0x12]
lea edx, [ebp - 0x48]
push ecx
push str._02X
add eax, edx
push eax
call fcn.00474200
add esp, 0xc
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x44fc8e
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x44fc79
dec eax
movzx ecx, byte [ebp - 0x11]
lea edx, [ebp - 0x48]
push ecx
push str._02X
add eax, edx
push eax
call fcn.00474200
add esp, 0xc
mov edx, 0x4e4128
lea edi, [ebp - 0x48]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x44fcb8
lea eax, [ebp - 0x48]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
test eax, eax
je 0x44fcf3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call fcn.00478600
add esp, 4
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
xor edi, edi
lea eax, [ebp - 0x48]
push eax
push ebx
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov esi, eax
test esi, esi
je 0x44fcdb
push ebx
push edi
push edi
push 6
mov dword [ebp - 0x1c], esi
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x44fd3b
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov ebx, dword [ebp - 0x18]
mov dword [eax + 8], ebx
mov esi, dword [ebp - 0x14]
mov dword [eax + 0xc], esi
add eax, 0x10
jmp 0x44fce6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44fcdb