Function at 0x7d71c610
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x15c
push esi
mov dword [ebp - 0x48], 0
push 1
push 0
mov eax, dword [ebp + 8]
push eax
call sym.kernelbase.dll_LZSeek
mov dword [ebp - 0x54], eax
push 0x108
lea ecx, [ebp - 0x15c]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.kernelbase.dll_LZRead
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x14
jae 0x7d71c658
xor eax, eax
jmp 0x7d71cc62
cmp dword [ebp - 0x18], 0x108
jae 0x7d71c67f
mov eax, 0x108
sub eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x18]
lea edx, [ebp + ecx - 0x15c]
push edx
call sub.ntext.dll_memset
add esp, 0xc
movzx eax, word [ebp - 0x144]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x10b
je 0x7d71c69d
cmp dword [ebp - 0x34], 0x20b
je 0x7d71c6a8
jmp 0x7d71c6b3
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0x1c], ecx
jmp 0x7d71c6ba
lea edx, [ebp - 0xc4]
mov dword [ebp - 0x1c], edx
jmp 0x7d71c6ba
xor eax, eax
jmp 0x7d71cc62
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0
jne 0x7d71c737
mov ecx, dword [0x7d73575c]
movzx edx, byte [ecx]
and edx, 8
je 0x7d71c730
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 0x7d71c6ee
mov dword [ebp - 0x50], 0x12
jmp 0x7d71c6f5
mov dword [ebp - 0x50], 0x21
push 0x7d7242c0
push 0x126
push str.find_pe_resource
mov edx, dword [ebp - 0x50]
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 0x7d71c730
push str.No_resources_in_PE_dll_n
call fcn.7d71f960
add esp, 4
xor eax, eax
jmp 0x7d71cc62
movzx ecx, word [ebp - 0x156]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x28
push edx
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7d71c765
xor eax, eax
jmp 0x7d71cc62
movzx eax, word [ebp - 0x148]
add eax, 0x18
mov dword [ebp - 0x18], eax
push 0
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.kernelbase.dll_LZSeek
mov esi, dword [ebp - 0x10]
imul esi, esi, 0x28
mov eax, dword [ebp - 0x10]
imul eax, eax, 0x28
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.kernelbase.dll_LZRead
cmp esi, eax
je 0x7d71c7ba
mov eax, dword [ebp - 8]
push eax
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
xor eax, eax
jmp 0x7d71cc62
mov dword [ebp - 4], 0
jmp 0x7d71c7cc
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jge 0x7d71c80d
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp ecx, dword [edx + eax + 0xc]
jb 0x7d71c80b
mov edx, dword [ebp - 4]
imul edx, edx, 0x28
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx + 0xc]
mov ecx, dword [ebp - 8]
add edx, dword [ecx + eax + 0x10]
mov eax, dword [ebp - 0x1c]
cmp dword [eax], edx
jae 0x7d71c80b
jmp 0x7d71c80d
jmp 0x7d71c7c3
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jne 0x7d71c89e
mov edx, dword [ebp - 8]
push edx
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
mov eax, dword [0x7d73575c]
movzx ecx, byte [eax]
and ecx, 8
je 0x7d71c897
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 0x7d71c854
mov dword [ebp - 0x3c], 0x12
jmp 0x7d71c85b
mov dword [ebp - 0x3c], 0x21
push 0x7d7242c0
push 0x144
push str.find_pe_resource
mov ecx, dword [ebp - 0x3c]
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 0x7d71c897
push str.Couldnt_find_resource_section_n
call fcn.7d71f960
add esp, 4
xor eax, eax
jmp 0x7d71cc62
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax + 0x10]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx + eax + 8]
jbe 0x7d71c8c8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
jmp 0x7d71c8d8
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapAlloc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x7d71c910
mov eax, dword [ebp - 8]
push eax
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
xor eax, eax
jmp 0x7d71cc62
push 0
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.kernelbase.dll_LZSeek
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.kernelbase.dll_LZRead
cmp dword [ebp - 0x14], eax
je 0x7d71c944
jmp 0x7d71cc3d
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x2c]
jae 0x7d71c964
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call sub.ntext.dll_memset
add esp, 0xc
mov edx, dword [ebp - 4]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
sub eax, dword [ecx + edx + 0xc]
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x10
mov eax, dword [ebp - 0xc]
push eax
call fcn.7d71c070
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x7d71ca0f
mov ecx, dword [0x7d73575c]
movzx edx, byte [ecx]
and edx, 8
je 0x7d71ca0a
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 0x7d71c9c8
mov dword [ebp - 0x44], 0x12
jmp 0x7d71c9cf
mov dword [ebp - 0x44], 0x21
push 0x7d7242c0
push 0x15d
push str.find_pe_resource
mov edx, dword [ebp - 0x44]
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 0x7d71ca0a
push str.No_typeid_entry_found_n
call fcn.7d71f960
add esp, 4
jmp 0x7d71cc3d
mov ecx, dword [ebp - 0x24]
push ecx
push 1
mov edx, dword [ebp - 0xc]
push edx
call fcn.7d71c070
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x7d71ca9c
mov eax, dword [0x7d73575c]
movzx ecx, byte [eax]
and ecx, 8
je 0x7d71ca97
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 0x7d71ca54
mov dword [ebp - 0x30], 0x12
jmp 0x7d71ca5b
mov dword [ebp - 0x30], 0x21
push 0x7d7242c0
push 0x163
push str.find_pe_resource
mov ecx, dword [ebp - 0x30]
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 0x7d71ca97
push str.No_resid_entry_found_n
call fcn.7d71f960
add esp, 4
jmp 0x7d71cc3d
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.7d71c140
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x7d71cb2b
mov eax, dword [0x7d73575c]
movzx ecx, byte [eax]
and ecx, 8
je 0x7d71cb26
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 0x7d71cae3
mov dword [ebp - 0x38], 0x12
jmp 0x7d71caea
mov dword [ebp - 0x38], 0x21
push 0x7d7242c0
push 0x169
push str.find_pe_resource
mov ecx, dword [ebp - 0x38]
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 0x7d71cb26
push str.No_default_language_entry_found_n
call fcn.7d71f960
add esp, 4
jmp 0x7d71cc3d
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
jmp 0x7d71cb43
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jge 0x7d71cb84
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
mov ecx, dword [ecx]
cmp ecx, dword [edx + eax + 0xc]
jb 0x7d71cb82
mov edx, dword [ebp - 4]
imul edx, edx, 0x28
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + edx + 0xc]
mov ecx, dword [ebp - 8]
add edx, dword [ecx + eax + 0x10]
mov eax, dword [ebp - 0x28]
cmp dword [eax], edx
jae 0x7d71cb82
jmp 0x7d71cb84
jmp 0x7d71cb3a
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jne 0x7d71cbfb
mov edx, dword [0x7d73575c]
movzx eax, byte [edx]
and eax, 8
je 0x7d71cbf9
mov ecx, 1
imul ecx, ecx, 0
movsx edx, byte [ecx + str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c]
cmp edx, 0x2e
jne 0x7d71cbb7
mov dword [ebp - 0x40], 0x12
jmp 0x7d71cbbe
mov dword [ebp - 0x40], 0x21
push 0x7d7242c0
push 0x177
push str.find_pe_resource
mov eax, dword [ebp - 0x40]
add eax, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c
push eax
mov ecx, dword [0x7d73575c]
push ecx
push 3
call fcn.7d71f8f0
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d71cbf9
push str.Couldnt_find_resource_data_section_n
call fcn.7d71f960
add esp, 4
jmp 0x7d71cc3d
cmp dword [ebp + 0xc], 0
je 0x7d71cc0c
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov dword [edx], ecx
cmp dword [ebp + 0x10], 0
je 0x7d71cc36
mov edx, dword [ebp - 4]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
sub eax, dword [ecx + edx + 0xc]
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 8]
add eax, dword [edx + ecx + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ebp - 0x48], 1
mov edx, dword [ebp - 0x20]
push edx
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
mov eax, dword [ebp - 8]
push eax
push 0
call sym.kernelbase.dll_GetProcessHeap
push eax
call sub.kernel32.dll_HeapFree
mov eax, dword [ebp - 0x48]
pop esi
mov esp, ebp
pop ebp
ret