Function at 0x714a6d
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push 0x770
mov eax, 0x7b19d5
call fcn.00774621
mov esi, dword [ebp + 0xc]
call fcn.006f0f55
xor edi, edi
mov dword [ebp - 0x750], edi
mov ebx, edi
test esi, esi
jne 0x714cc6
call fcn.006f7211
push eax
lea ecx, [ebp - 0x490]
call fcn.006f4ff4
mov dword [ebp - 4], edi
call fcn.006f721c
mov ecx, eax
call fcn.006f56f0
test al, al
je 0x714bd8
push dword [ebp + 8]
lea ecx, [ebp - 0x490]
call fcn.006f51e1
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x490]
call fcn.00524130
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x714b09
lea ecx, [ebp - 0x490]
or dword [ebp - 4], 0xffffffff
call fcn.006f50ed
jmp 0x714f0e
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x714af5
push ebx
mov dword [ebp - 0x770], edi
call fcn.006e619d
pop ecx
push edi
lea ecx, [ebp - 0x770]
mov dword [ebp - 0x750], eax
push ecx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x764], edi
mov dword [ebp - 0x760], edi
mov dword [ebp - 0x75c], edi
push 0x53
pop ecx
mov esi, str.bQ7aBGOTU2q98awKNlhE3wmOWQnYc3rSlYFhsl2KyKyyxi3MbilC4kD3HYq9AoWEpfSpzFLsaFp8sK0OwoUVaur1fdQs5hpOx1EXAw9YHUmPjSrwuIHTpHqf6j4STpsz6zYGAjJ44krrDQQxeLI21eOWGv6LJ1wyIlAT0waqXNODwkjiwSXQi9oMtueAlz1rLUWYDF2vX0B22sLouEGVHzUeqKsGZGJyrIop1oFHewwoqtlc7olgabcFfMamO3YfvH9k4L1mASMfmRKGXShXT0cTcXtMCCQPFr5QWYPxZ4hf2BuDUTWbfT9RYI7VR5EahfWJuIm5sV5niI
mov byte [ebp - 4], 1
lea edi, [ebp - 0x3c8]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3c8]
push eax
lea ecx, [ebp - 0x3e0]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.00405a00
lea eax, [ebp - 0x3e0]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x764]
call fcn.00407ea0
xor edi, edi
lea ecx, [ebp - 0x3e0]
push edi
push 1
call fcn.006eb1be
cmp dword [ebp - 0x770], ebx
je 0x714bc8
mov eax, dword [ebp - 0x750]
push eax
call fcn.006e61a6
pop ecx
lea ecx, [ebp - 0x764]
call fcn.006eb210
jmp 0x714af5
lea ecx, [ebp - 0x764]
call fcn.006eb210
jmp 0x714cac
call fcn.006f721c
push eax
lea ecx, [ebp - 0x490]
call fcn.006f51c4
call fcn.006f74bf
test al, al
je 0x714bf9
call fcn.006f7222
jmp 0x714c10
push 2
push edi
lea ecx, [ebp - 0x490]
call fcn.00524130
push eax
call fcn.00715df7
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x714c2a
lea ecx, [ebp - 0x490]
or dword [ebp - 4], 0xffffffff
call fcn.006f50ed
jmp 0x714f0c
lea eax, [ebp - 0x744]
push eax
lea eax, [ebp - 0x758]
push eax
push 1
push dword [ebp + 8]
push edi
call fcn.00715838
add esp, 0x14
test eax, eax
jne 0x714c16
mov ebx, dword [ebp - 0x518]
test ebx, ebx
je 0x714c16
push ebx
call fcn.006e619d
push 3
mov esi, eax
push ebx
push esi
push dword [ebp - 0x758]
mov dword [ebp - 0x750], esi
push edi
call fcn.007161b7
add esp, 0x18
test eax, eax
je 0x714c9c
cmp eax, 0x600
je 0x714c9c
push esi
call fcn.006e61a6
pop ecx
call fcn.006f74bf
test al, al
jne 0x714c16
push edi
call fcn.00715692
pop ecx
jmp 0x714c16
call fcn.006f74bf
test al, al
jne 0x714cac
push edi
call fcn.00715692
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x490]
call fcn.006f50ed
mov edi, dword [ebp - 0x750]
jmp 0x714f04
push str.fullpath
push esi
call fcn.00761537
pop ecx
pop ecx
test eax, eax
jne 0x714d92
call fcn.00402330
push 0xffffffffffffffff
push dword [ebp + 8]
lea ecx, [ebp - 0x514]
call fcn.006f5019
push 3
pop eax
push edi
push 0x80
push eax
push edi
push 1
push SysReAllocString
lea ecx, [ebp - 0x514]
mov dword [ebp - 4], eax
call fcn.00524130
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x714d29
lea ecx, [ebp - 0x514]
jmp 0x714afb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x714d1e
push ebx
mov dword [ebp - 0x774], edi
call fcn.006e619d
pop ecx
mov edi, eax
call fcn.00402330
push 0
lea eax, [ebp - 0x774]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x774], ebx
je 0x714d7e
push edi
call fcn.006e61a6
pop ecx
lea ecx, [ebp - 0x514]
jmp 0x714c1c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x514]
call fcn.006f50ed
jmp 0x714f04
push str.respath
push esi
call fcn.00761537
pop ecx
pop ecx
test eax, eax
jne 0x714e8f
mov dword [ebp - 0x764], edi
mov dword [ebp - 0x760], edi
mov dword [ebp - 0x75c], edi
push 0x4e
pop ecx
mov esi, str.d62wNDFqCAFjrlk4hdugGfg4fkzvrarNEQg3jGeWkRbYxhn3ne94y25so49eZA7OES5hrKkyR0JCyVPOARcbfASRCSpThyytH2lVMcb8B5NmjeQkm5GKVhuh9R2plTRt7hHIA6EAeRj3LhKStBbCuFL31KC57jPcmiDp5dPgwRZrVStP7XrLvcrpgRMmH8lplYZTl6mJAOY1L6EfR0oypuYnT90dn6UBk2k68oU3CNMYmeJ7JjaLiV2RApUS6jzOrzaHjUxrKK1aInwgZ3QhPAsyrwOYEtChcvdXeM3I0MdmvMgqPSwyFIqR
mov dword [ebp - 4], 4
lea edi, [ebp - 0x278]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x3e0]
movsb byte es:[edi], byte [esi]
call fcn.00405a00
lea eax, [ebp - 0x3e0]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x764]
call fcn.00407ea0
push 0
push 1
lea ecx, [ebp - 0x3e0]
mov byte [ebp - 4], 4
call fcn.006eb1be
call fcn.006f7202
push 0x87d1d4
push dword [ebp + 8]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x758], eax
test eax, eax
jne 0x714e3f
lea ecx, [ebp - 0x764]
call fcn.006eb210
xor eax, eax
call fcn.007745cb
ret
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x714e78
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [ebp - 0x758]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
call fcn.006e619d
push ebx
mov edi, eax
push esi
push edi
call fcn.00750d30
add esp, 0x10
jmp 0x714e7e
mov edi, dword [ebp - 0x750]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x764]
call fcn.006eb210
jmp 0x714f04
push esi
push dword [ebp + 8]
call fcn.006f7202
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x714f0e
push esi
call fcn.006f7202
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x758], eax
test eax, eax
jne 0x714ec5
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x714f0e
call fcn.00402330
push esi
call fcn.006f7202
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x714f0e
push ebx
call fcn.006e619d
pop ecx
push ebx
push dword [ebp - 0x758]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push edi
call fcn.00750d30
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test edi, edi
jne 0x71500f
xor edi, edi
call fcn.006efffa
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x76c], eax
cmp eax, 0xffffffff
je 0x714e37
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
je 0x714e37
push ebx
mov dword [ebp - 0x778], edi
call fcn.006e619d
pop ecx
mov dword [ebp - 0x750], eax
mov dword [ebp - 0x764], edi
mov dword [ebp - 0x760], edi
mov dword [ebp - 0x75c], edi
push 0x4a
pop ecx
mov esi, str.mFINv8Z60DWdvBI5qomN79JTUUhbDJp4FuwijMpa01yLlb2FOpusMnTJvvEBEgucwLK9boGQqrlDekdhyii4qqe9U08V4LB6nqbVf1KozQtH9gVMZhIGo1gwdDoqHRdlrLXoPTZJCc3sF2sCt1nzKD3maqqDxS3hat2QYtxqcYR7h4KIrTT7ghfIAb0GSlz2SU0dUrIH33Zn1KjjNB0E8EbLRSu8AuazyZ3XNjvZetMr48iFm2hokwyoxenuzrwp1vS1ch0tb5QtirP1Av8myUxnmiB9T2ZZpaJPfbtq4
mov dword [ebp - 4], 6
lea edi, [ebp - 0x13c]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x3e0]
movsw word es:[edi], word [esi]
call fcn.00405a00
lea eax, [ebp - 0x3e0]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x764]
call fcn.00407ea0
push 0
push 1
lea ecx, [ebp - 0x3e0]
call fcn.006eb1be
mov edi, dword [ebp - 0x750]
lea eax, [ebp - 0x778]
mov esi, dword [ebp - 0x76c]
push 0
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x778], ebx
je 0x714ff8
push edi
call fcn.006e61a6
pop ecx
xor edi, edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x764]
call fcn.006eb210
test edi, edi
je 0x714e37
call fcn.00402330
push 4
lea eax, [ebp - 0x77c]
push eax
lea eax, [ebp - 0x754]
push eax
lea eax, [ebp - 0x768]
push eax
push ebx
push edi
call fcn.00728b56
push edi
mov ebx, eax
call fcn.006e61a6
add esp, 0x1c
test ebx, ebx
je 0x714e37
push 0x2c
lea eax, [ebp - 0x40c]
push 0
push eax
call fcn.007512b0
add esp, 0xc
call fcn.006ebb33
mov eax, dword [ebp - 0x754]
xor edx, edx
mov ecx, dword [ebp - 0x768]
neg eax
mov dword [ebp - 0x404], eax
xor eax, eax
push 0x20
inc eax
mov dword [ebp - 0x408], ecx
imul ecx, dword [ebp - 0x754]
mov word [ebp - 0x400], ax
pop eax
push edx
push edx
mov word [ebp - 0x3fe], ax
lea eax, [ebp - 0x74c]
push eax
push edx
lea eax, [ebp - 0x40c]
shl ecx, 2
push eax
push edx
mov dword [ebp - 0x40c], 0x28
mov dword [ebp - 0x3fc], edx
mov dword [ebp - 0x3f8], ecx
mov byte [ebp - 0x745], dl
mov dword [ebp - 0x74c], edx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edi, eax
mov dword [ebp - 0x76c], edi
test edi, edi
je 0x714e37
mov eax, dword [ebp - 0x768]
xor esi, esi
imul eax, dword [ebp - 0x754]
test eax, eax
jle 0x7151f4
mov edx, 0xff
mov eax, dword [ebp - 0x74c]
mov cl, byte [ebx + esi*4 + 3]
mov byte [eax + esi*4 + 3], cl
mov edi, dword [ebp - 0x74c]
cmp byte [edi + esi*4 + 3], dl
jae 0x715175
movzx ecx, byte [ebx + esi*4 + 3]
xor edx, edx
movzx eax, byte [ebx + esi*4 + 2]
imul eax, ecx
mov ecx, 0xff
div ecx
xor edx, edx
mov byte [edi + esi*4], al
mov edi, 0xff
movzx ecx, byte [ebx + esi*4 + 3]
movzx eax, byte [ebx + esi*4 + 1]
imul eax, ecx
mov ecx, dword [ebp - 0x74c]
div edi
xor edx, edx
mov byte [ecx + esi*4 + 1], al
movzx ecx, byte [ebx + esi*4 + 3]
movzx eax, byte [ebx + esi*4]
imul eax, ecx
mov ecx, dword [ebp - 0x74c]
div edi
xor edx, edx
inc edx
mov byte [ecx + esi*4 + 2], al
mov byte [ebp - 0x745], dl
jmp 0x71519a
mov al, byte [ebx + esi*4 + 2]
xor edx, edx
mov byte [edi + esi*4], al
inc edx
mov eax, dword [ebp - 0x74c]
mov cl, byte [ebx + esi*4 + 1]
mov byte [eax + esi*4 + 1], cl
mov eax, dword [ebp - 0x74c]
mov cl, byte [ebx + esi*4]
mov byte [eax + esi*4 + 2], cl
mov eax, dword [ebp - 0x74c]
mov ecx, dword [ebp + 0x10]
cmp dword [eax + esi*4], ecx
jne 0x7151d3
mov byte [eax + esi*4], 0
mov eax, dword [ebp - 0x74c]
mov byte [ebp - 0x745], dl
mov byte [eax + esi*4 + 1], 0
mov eax, dword [ebp - 0x74c]
mov byte [eax + esi*4 + 2], 0
mov eax, dword [ebp - 0x74c]
mov byte [eax + esi*4 + 3], 0
mov eax, dword [ebp - 0x768]
inc esi
imul eax, dword [ebp - 0x754]
mov edx, 0xff
cmp esi, eax
jl 0x7150fd
mov edi, dword [ebp - 0x76c]
push ebx
call fcn.006e6116
push 0x9c
call fcn.006e611b
pop ecx
mov esi, eax
pop ecx
mov dword [ebp - 0x76c], esi
mov dword [ebp - 4], 8
test esi, esi
je 0x715223
lea ecx, [esi + 0x14]
call fcn.006f503d
jmp 0x715225
xor esi, esi
mov al, byte [ebp - 0x745]
mov dword [esi], edi
mov ecx, dword [ebp - 0x768]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x754]
mov byte [esi + 0x10], al
mov eax, esi
mov dword [esi + 8], ecx
jmp 0x714e39