Function at 0x5f06f0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0xb0
mov edx, dword [ebp + 8]
mov eax, dword [0x6d159c]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
lea ecx, [edx + 0x10]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x20], 0x1160913
mov dword [ebp - 0x1c], eax
call fcn.0064cef6
mov dword [ebp - 0x18], eax
call sub.KERNEL32.dll_GetCurrentProcessId
mov edx, 0x7b
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], eax
mov word [ecx], dx
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5f0750
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5f073b
dec eax
mov ebx, str._08X
mov esi, eax
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], 0x1160913
call fcn.0062fd20
mov edx, eax
lea eax, [ebp - 0xb8]
push eax
push 0
push ebx
push 0xffffffffffffffff
mov ecx, dword [edx]
lea ebx, [ebp - 0x48]
add esi, ebx
or ecx, 1
push esi
push dword [edx + 4]
push ecx
call fcn.0064c89e
add esp, 0x1c
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 0x5f07a3
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5f07c7
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5f07b2
dec eax
mov esi, eax
mov ebx, str._02X
movzx eax, byte [ebp - 0x18]
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], eax
call fcn.0062fd20
mov ecx, eax
lea eax, [ebp - 0xac]
push eax
push 0
push ebx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
add esi, edx
push esi
mov esi, dword [ecx]
push dword [ecx + 4]
or esi, 1
push esi
call fcn.0064c89e
add esp, 0x1c
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5f0822
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5f080d
dec eax
mov esi, eax
movzx eax, byte [ebp - 0x17]
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], eax
call fcn.0062fd20
mov ecx, eax
lea eax, [ebp - 0xa0]
push eax
push 0
push ebx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
add esi, edx
push esi
mov esi, dword [ecx]
push dword [ecx + 4]
or esi, 1
push esi
call fcn.0064c89e
add esp, 0x1c
mov edx, 0x69a71c
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 0x5f0870
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5f0894
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5f087f
dec eax
mov esi, eax
movzx eax, byte [ebp - 0x16]
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], eax
call fcn.0062fd20
mov ecx, eax
lea eax, [ebp - 0x94]
push eax
push 0
push ebx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
add esi, edx
push esi
mov esi, dword [ecx]
push dword [ecx + 4]
or esi, 1
push esi
call fcn.0064c89e
add esp, 0x1c
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5f08ea
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5f08d5
dec eax
mov esi, eax
movzx eax, byte [ebp - 0x15]
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], eax
call fcn.0062fd20
mov ecx, eax
lea eax, [ebp - 0x88]
push eax
push 0
push ebx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
add esi, edx
push esi
mov esi, dword [ecx]
push dword [ecx + 4]
or esi, 1
push esi
call fcn.0064c89e
add esp, 0x1c
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5f0940
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5f092b
dec eax
mov esi, eax
movzx eax, byte [ebp - 0x14]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], eax
call fcn.0062fd20
mov ecx, eax
lea eax, [ebp - 0x7c]
push eax
push 0
push ebx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
add esi, edx
push esi
mov esi, dword [ecx]
push dword [ecx + 4]
or esi, 1
push esi
call fcn.0064c89e
add esp, 0x1c
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5f098d
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5f0978
dec eax
mov esi, eax
movzx eax, byte [ebp - 0x13]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], eax
call fcn.0062fd20
mov ecx, eax
lea eax, [ebp - 0x70]
push eax
push 0
push ebx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
add esi, edx
push esi
mov esi, dword [ecx]
push dword [ecx + 4]
or esi, 1
push esi
call fcn.0064c89e
add esp, 0x1c
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5f09da
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5f09c5
dec eax
mov esi, eax
movzx eax, byte [ebp - 0x12]
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], eax
call fcn.0062fd20
mov ecx, eax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
push 0xffffffffffffffff
lea edx, [ebp - 0x48]
add esi, edx
push esi
mov esi, dword [ecx]
push dword [ecx + 4]
or esi, 1
push esi
call fcn.0064c89e
add esp, 0x1c
lea ecx, [ebp - 0x48]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x5f0a27
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x5f0a12
dec eax
mov esi, eax
movzx eax, byte [ebp - 0x11]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], eax
call fcn.0062fd20
mov edx, eax
lea eax, [ebp - 0x58]
push eax
push 0
push ebx
push 0xffffffffffffffff
mov ecx, dword [edx]
lea ebx, [ebp - 0x48]
add esi, ebx
or ecx, 1
push esi
push dword [edx + 4]
push ecx
call fcn.0064c89e
add esp, 0x1c
mov edx, 0x69a720
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 0x5f0a6c
lea eax, [ebp - 0x48]
push eax
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
test eax, eax
je 0x5f0ac4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x50]
push eax
push 0
push dword [ebp + 8]
call fcn.005c09a0
add esp, 0xc
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x6d159c]
jne 0x5f0abf
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
call fcn.0063f93a
xor edx, edx
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x4c]
push edx
push 4
push edx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
je 0x5f0a8f
push dword [ebp - 0x4c]
xor eax, eax
push eax
push eax
push 6
push ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x5f0b15
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
mov dword [ebp - 0x50], eax
jmp 0x5f0aa3
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5f0a8f