Function at 0x7d71b0d0
Capabilities:
Extract resource via kernel32 functions
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc4
mov dword [ebp - 0x18], 1
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x7d73575c]
movzx edx, byte [ecx]
and edx, 8
je 0x7d71b172
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 0x7d71b113
mov dword [ebp - 0x20], 0x12
jmp 0x7d71b11a
mov dword [ebp - 0x20], 0x21
push 0x7d7242c0
push 0x2e7
push 0x7d735c40
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 0x7d71b172
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.7d701950
add esp, 4
push eax
mov edx, dword [ebp + 8]
push edx
push str._0x_x__s__d_size_d_data_p__n
call fcn.7d71f960
add esp, 0x18
cmp dword [ebp + 0x18], 0
jne 0x7d71b186
push 0xd
call sub.kernel32.dll_SetLastError
xor eax, eax
jmp 0x7d71b482
mov eax, dword [ebp + 8]
and eax, 0xfffffffe
je 0x7d71b202
mov ecx, dword [0x7d73575c]
movzx edx, byte [ecx]
and edx, 1
je 0x7d71b202
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 0x7d71b1b9
mov dword [ebp - 0x34], 0x12
jmp 0x7d71b1c0
mov dword [ebp - 0x34], 0x21
push 0x7d7242c0
push 0x2f0
push 0x7d735c40
mov edx, dword [ebp - 0x34]
add edx, str.D:DevelopOne_CoreOne_Core_Apiwrappers_basekernelbase_wrapper_version.c
push edx
mov eax, dword [0x7d73575c]
push eax
push 0
call fcn.7d71f8f0
add esp, 0x18
cmp eax, 0xffffffff
je 0x7d71b202
mov ecx, dword [ebp + 8]
and ecx, 0xfffffffe
push ecx
push str.flags_0x_x_ignored_n
call fcn.7d71f960
add esp, 8
push 0
lea edx, [ebp - 0xc4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call sym.kernelbase.dll_LZOpenFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x7d71b280
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.7d71cc70
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jbe 0x7d71b277
push 0
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sym.kernelbase.dll_LZSeek
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x14]
jae 0x7d71b25d
mov edx, dword [ebp - 4]
mov dword [ebp - 0x2c], edx
jmp 0x7d71b263
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sym.kernelbase.dll_LZRead
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
push ecx
call sym.kernelbase.dll_LZClose
cmp dword [ebp - 0x18], 1
jne 0x7d71b360
push 2
push 0
mov edx, dword [ebp + 0xc]
push edx
call sub.kernel32.dll_LoadLibraryExW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x7d71b360
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
and eax, 1
jne 0x7d71b2d1
mov ecx, 0x409
mov word [ebp - 0x1c], cx
movzx edx, word [ebp - 0x1c]
push edx
push 0x10
push 1
mov eax, dword [ebp - 0xc]
push eax
call sym.kernelbase.dll_FindResourceExW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x7d71b2e7
push 0x10
push 1
mov ecx, dword [ebp - 0xc]
push ecx
call sym.kernelbase.dll_FindResourceW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x7d71b357
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call sym.kernelbase.dll_LoadResource
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0x4550
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sym.kernelbase.dll_SizeofResource
cmp eax, dword [ebp + 0x14]
jae 0x7d71b328
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call sym.kernelbase.dll_SizeofResource
mov dword [ebp - 0x38], eax
jmp 0x7d71b32e
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call sym.kernelbase.dll_LockResource
push eax
mov eax, dword [ebp + 0x18]
push eax
call sub.ntext.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x24]
push ecx
call sym.kernelbase.dll_FreeResource
mov edx, dword [ebp - 0xc]
push edx
call sym.kernelbase.dll_FreeLibrary
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x454e
je 0x7d71b37d
cmp dword [ebp - 0x28], 0x4550
je 0x7d71b3da
jmp 0x7d71b45e
movzx ecx, byte [0x7d75621c]
and ecx, 8
je 0x7d71b3c9
push 0x7d75621c
call fcn.7d71f130
add esp, 4
movzx edx, al
and edx, 8
je 0x7d71b3c9
mov eax, dword [ebp + 0x18]
add eax, 4
push eax
call sub.ntext.dll_strlen
add esp, 4
mov ecx, dword [ebp + 0x18]
lea edx, [ecx + eax + 5]
sub edx, dword [ebp + 0x18]
add edx, 3
and edx, 0xfffffffc
add edx, dword [ebp + 0x18]
push edx
call fcn.7d71cd00
add esp, 4
push 0
call sub.kernel32.dll_SetLastError
mov eax, 1
jmp 0x7d71b482
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp - 4]
jb 0x7d71b407
push 4
push str.FE2X_
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
add ecx, dword [ebp + 0x18]
push ecx
call sub.ntext.dll_memcpy
add esp, 0xc
movzx edx, byte [0x7d75621c]
and edx, 8
je 0x7d71b450
push 0x7d75621c
call fcn.7d71f130
add esp, 4
movzx eax, al
and eax, 8
je 0x7d71b450
mov ecx, dword [ebp - 0x14]
add ecx, 6
push ecx
call sym.kernelbase.dll_lstrlenW
mov edx, dword [ebp - 0x14]
lea eax, [edx + eax*2 + 8]
sub eax, dword [ebp - 0x14]
add eax, 3
and eax, 0xfffffffc
add eax, dword [ebp - 0x14]
push eax
call fcn.7d71cd00
add esp, 4
push 0
call sub.kernel32.dll_SetLastError
mov eax, 1
jmp 0x7d71b482
cmp dword [ebp - 0x10], 0xffffffff
jne 0x7d71b470
movzx ecx, word [ebp - 0xc2]
mov dword [ebp - 0x30], ecx
jmp 0x7d71b477
mov dword [ebp - 0x30], 0x714
mov edx, dword [ebp - 0x30]
push edx
call sub.kernel32.dll_SetLastError
xor eax, eax
mov esp, ebp
pop ebp
ret 0x14