Function at 0x7d71c300
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, 0x8010
mov word [ebp - 4], ax
mov ecx, 0x8001
mov word [ebp - 8], cx
push 1
push 0
mov edx, dword [ebp + 8]
push edx
call sym.kernelbase.dll_LZSeek
mov dword [ebp - 0x2c], eax
push 0x40
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.kernelbase.dll_LZRead
cmp eax, 0x40
je 0x7d71c345
xor eax, eax
jmp 0x7d71c5f9
movzx edx, word [ebp - 0x46]
movzx eax, word [ebp - 0x48]
sub edx, eax
mov dword [ebp - 0x18], edx
jne 0x7d71c3c8
mov ecx, dword [0x7d73575c]
movzx edx, byte [ecx]
and edx, 8
je 0x7d71c3c1
mov eax, 1
imul eax, eax, 0
movsx ecx, byte [eax + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c]
cmp ecx, 0x2e
jne 0x7d71c37f
mov dword [ebp - 0x20], 0x12
jmp 0x7d71c386
mov dword [ebp - 0x20], 0x21
push 0x7d7242c0
push 0xcf
push str.find_ne_resource
mov edx, dword [ebp - 0x20]
add edx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c
push edx
mov eax, dword [0x7d73575c]
push eax
push 3
call fcn.7d71f8f0
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d71c3c1
push str.No_resources_in_NE_dll_n
call fcn.7d71f960
add esp, 4
xor eax, eax
jmp 0x7d71c5f9
mov ecx, dword [ebp - 0x18]
push ecx
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapAlloc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x7d71c3e9
xor eax, eax
jmp 0x7d71c5f9
push 0
movzx edx, word [ebp - 0x48]
add edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.kernelbase.dll_LZSeek
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.kernelbase.dll_LZRead
cmp dword [ebp - 0x18], eax
je 0x7d71c42a
mov ecx, dword [ebp - 0xc]
push ecx
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
xor eax, eax
jmp 0x7d71c5f9
mov edx, dword [ebp - 0xc]
add edx, 2
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax]
test ecx, ecx
je 0x7d71c466
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
movzx ecx, word [ebp - 4]
cmp eax, ecx
jne 0x7d71c450
jmp 0x7d71c4eb
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 2]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 8]
mov dword [ebp - 0x10], edx
jmp 0x7d71c433
mov eax, dword [0x7d73575c]
movzx ecx, byte [eax]
and ecx, 8
je 0x7d71c4d3
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c]
cmp eax, 0x2e
jne 0x7d71c490
mov dword [ebp - 0x24], 0x12
jmp 0x7d71c497
mov dword [ebp - 0x24], 0x21
push 0x7d7242c0
push 0xe6
push str.find_ne_resource
mov ecx, dword [ebp - 0x24]
add ecx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c
push ecx
mov edx, dword [0x7d73575c]
push edx
push 3
call fcn.7d71f8f0
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d71c4d3
push str.No_typeid_entry_found_n
call fcn.7d71f960
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
xor eax, eax
jmp 0x7d71c5f9
mov ecx, dword [ebp - 0x10]
add ecx, 8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
movzx eax, word [edx + 2]
mov dword [ebp - 0x1c], eax
jmp 0x7d71c512
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x14]
add edx, 0xc
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x1c], 0
jle 0x7d71c52e
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 6]
movzx edx, word [ebp - 8]
cmp ecx, edx
jne 0x7d71c52c
jmp 0x7d71c5b0
jmp 0x7d71c500
mov eax, dword [0x7d73575c]
movzx ecx, byte [eax]
and ecx, 8
je 0x7d71c59b
mov edx, 1
imul edx, edx, 0
movsx eax, byte [edx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c]
cmp eax, 0x2e
jne 0x7d71c558
mov dword [ebp - 0x28], 0x12
jmp 0x7d71c55f
mov dword [ebp - 0x28], 0x21
push 0x7d7242c0
push 0xf0
push str.find_ne_resource
mov ecx, dword [ebp - 0x28]
add ecx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c
push ecx
mov edx, dword [0x7d73575c]
push edx
push 3
call fcn.7d71f8f0
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d71c59b
push str.No_resid_entry_found_n
call fcn.7d71f960
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
xor eax, eax
jmp 0x7d71c5f9
cmp dword [ebp + 0xc], 0
je 0x7d71c5ca
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 2]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax]
shl edx, cl
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edx
cmp dword [ebp + 0x10], 0
je 0x7d71c5e3
mov edx, dword [ebp - 0x14]
movzx eax, word [edx]
mov ecx, dword [ebp - 0xc]
movzx ecx, word [ecx]
shl eax, cl
mov edx, dword [ebp + 0x10]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
mov eax, 1
mov esp, ebp
pop ebp
ret