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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a2037
mov eax, dword fs:[0]
push eax
sub esp, 0x788
mov eax, dword [0x101ef110]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x4f8]
call fcn.100d0640
mov dword [ebp - 4], 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x4f8]
call fcn.100d89a0
lea ecx, [ebp - 0x3f0]
push ecx
lea ecx, [ebp - 0x118]
call fcn.100dd6d0
mov byte [ebp - 4], 1
mov dword [ebp - 0x72c], 0
mov dword [ebp - 0x730], 0
call fcn.100d36f0
push eax
lea ecx, [ebp - 0x94]
call fcn.100dd6d0
mov byte [ebp - 4], 2
call fcn.100d3700
mov ecx, eax
call fcn.100de790
movzx edx, al
test edx, edx
je 0x100fe699
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x94]
call fcn.100ddc50
push 0
push 0x80
push 3
push 0
push 1
push Ordinal_1
lea ecx, [ebp - 0x94]
call fcn.100ddb40
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x73c], eax
cmp dword [ebp - 0x73c], 0xffffffff
jne 0x100fe5bf
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
jmp 0x100fe932
push 0
mov ecx, dword [ebp - 0x73c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x730], eax
cmp dword [ebp - 0x730], 0
jne 0x100fe5f1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
jmp 0x100fe932
mov dword [ebp - 0x74c], 0
mov edx, dword [ebp - 0x730]
push edx
call fcn.10161a35
add esp, 4
mov dword [ebp - 0x78c], eax
mov eax, dword [ebp - 0x78c]
mov dword [ebp - 0x72c], eax
push 0
lea ecx, [ebp - 0x74c]
push ecx
mov edx, dword [ebp - 0x730]
push edx
mov eax, dword [ebp - 0x72c]
push eax
mov ecx, dword [ebp - 0x73c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x73c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x74c]
cmp eax, dword [ebp - 0x730]
je 0x100fe694
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x788], ecx
mov edx, dword [ebp - 0x788]
push edx
call fcn.10161835
add esp, 4
mov dword [ebp - 0x72c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
jmp 0x100fe932
jmp 0x100fe91b
call fcn.100d3700
push eax
lea ecx, [ebp - 0x94]
call fcn.100ddc50
mov dword [ebp - 0x734], 0
call fcn.100d3af0
movzx eax, al
test eax, eax
je 0x100fe6d0
call fcn.100d3710
mov dword [ebp - 0x734], eax
jmp 0x100fe755
call fcn.100d3720
push eax
lea ecx, [ebp - 0x220]
call fcn.100dd6d0
mov byte [ebp - 4], 3
push 0
lea ecx, [ebp - 0x220]
call fcn.100ddb40
push eax
call fcn.100dc640
add esp, 8
mov dword [ebp - 0x748], eax
mov ecx, dword [ebp - 0x748]
push ecx
lea ecx, [ebp - 0x94]
call fcn.100ddb40
push eax
call fcn.100e7590
add esp, 8
mov dword [ebp - 0x734], eax
cmp dword [ebp - 0x748], 0
je 0x100fe746
mov edx, dword [ebp - 0x748]
mov dword [ebp - 0x790], edx
mov eax, dword [ebp - 0x790]
push eax
call fcn.10161835
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call fcn.100dd8d0
cmp dword [ebp - 0x734], 0
jne 0x100fe772
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
jmp 0x100fe932
mov dword [ebp - 0x750], 0
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x19c]
call fcn.100dd6d0
mov byte [ebp - 4], 4
push 0x101c953c
push 0x101c3180
lea ecx, [ebp - 0x19c]
call fcn.100debb0
lea edx, [ebp - 0x728]
push edx
lea eax, [ebp - 0x750]
push eax
push 1
lea ecx, [ebp - 0x19c]
call fcn.100ddb40
push eax
mov ecx, dword [ebp - 0x734]
push ecx
call fcn.100e68a0
add esp, 0x14
test eax, eax
je 0x100fe7f9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x19c]
call fcn.100dd8d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
jmp 0x100fe932
mov edx, dword [ebp - 0x4fc]
mov dword [ebp - 0x730], edx
cmp dword [ebp - 0x730], 0
jne 0x100fe831
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x19c]
call fcn.100dd8d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
jmp 0x100fe932
mov eax, dword [ebp - 0x730]
push eax
call fcn.10161a35
add esp, 4
mov dword [ebp - 0x764], eax
mov ecx, dword [ebp - 0x764]
mov dword [ebp - 0x72c], ecx
mov edx, dword [ebp - 0x730]
push edx
mov eax, dword [ebp - 0x72c]
push eax
mov ecx, dword [ebp - 0x750]
push ecx
mov edx, dword [ebp - 0x734]
push edx
call fcn.100e7e00
add esp, 0x10
mov dword [ebp - 0x754], eax
cmp dword [ebp - 0x754], 0
je 0x100fe8f1
cmp dword [ebp - 0x754], 0x600
je 0x100fe8f1
mov eax, dword [ebp - 0x72c]
mov dword [ebp - 0x768], eax
mov ecx, dword [ebp - 0x768]
push ecx
call fcn.10161835
add esp, 4
mov dword [ebp - 0x72c], 0
call fcn.100d3af0
movzx edx, al
test edx, edx
jne 0x100fe8d1
mov eax, dword [ebp - 0x734]
push eax
call fcn.100e64e0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x19c]
call fcn.100dd8d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
jmp 0x100fe932
call fcn.100d3af0
movzx ecx, al
test ecx, ecx
jne 0x100fe90c
mov edx, dword [ebp - 0x734]
push edx
call fcn.100e64e0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x19c]
call fcn.100dd8d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.100dd8d0
xor eax, eax
jne 0x100fe53a
cmp dword [ebp - 0x72c], 0
jne 0x100fea30
push 0
push 0x80
push 3
push 0
push 1
push Ordinal_1
lea ecx, [ebp - 0x118]
call fcn.100ddb40
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x740], eax
cmp dword [ebp - 0x740], 0xffffffff
jne 0x100fe977
jmp 0x100fea30
push 0
mov ecx, dword [ebp - 0x740]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x730], eax
cmp dword [ebp - 0x730], 0
jne 0x100fe99a
jmp 0x100fea30
mov dword [ebp - 0x760], 0
mov edx, dword [ebp - 0x730]
push edx
call fcn.10161a35
add esp, 4
mov dword [ebp - 0x76c], eax
mov eax, dword [ebp - 0x76c]
mov dword [ebp - 0x72c], eax
push 0
lea ecx, [ebp - 0x760]
push ecx
mov edx, dword [ebp - 0x730]
push edx
mov eax, dword [ebp - 0x72c]
push eax
mov ecx, dword [ebp - 0x740]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x740]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x760]
cmp eax, dword [ebp - 0x730]
je 0x100fea29
mov ecx, dword [ebp - 0x72c]
mov dword [ebp - 0x770], ecx
mov edx, dword [ebp - 0x770]
push edx
call fcn.10161835
add esp, 4
mov dword [ebp - 0x72c], 0
jmp 0x100fea30
cmp dword [ebp - 0x72c], 0
jne 0x100feb8b
lea ecx, [ebp - 0x118]
call fcn.100de800
movzx eax, al
test eax, eax
je 0x100feb84
call fcn.100d36d0
mov dword [ebp - 0x744], eax
cmp dword [ebp - 0x744], 0
jne 0x100fea6c
jmp 0x100feb8b
mov dword [ebp - 0x774], 0
push 0xa
lea ecx, [ebp - 0x774]
push ecx
lea ecx, [ebp - 0x118]
call fcn.100ddb40
push eax
call fcn.1016cd5e
add esp, 0xc
mov dword [ebp - 0x778], eax
lea ecx, [ebp - 0x36c]
call fcn.100ddb40
push eax
mov edx, dword [ebp - 0x778]
push edx
lea ecx, [ebp - 0x794]
call fcn.100dfb30
mov eax, dword [eax]
push eax
mov ecx, dword [ebp - 0x744]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x738], eax
cmp dword [ebp - 0x738], 0
jne 0x100feadb
jmp 0x100feb8b
mov edx, dword [ebp - 0x738]
push edx
mov eax, dword [ebp - 0x744]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x75c], eax
cmp dword [ebp - 0x75c], 0
jne 0x100feb0d
mov ecx, dword [ebp - 0x738]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x100feb8b
mov edx, dword [ebp - 0x738]
push edx
mov eax, dword [ebp - 0x744]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x730], eax
cmp dword [ebp - 0x730], 0
jne 0x100feb32
jmp 0x100feb8b
mov ecx, dword [ebp - 0x730]
push ecx
call fcn.10161a35
add esp, 4
mov dword [ebp - 0x77c], eax
mov edx, dword [ebp - 0x77c]
mov dword [ebp - 0x72c], edx
mov eax, dword [ebp - 0x730]
push eax
mov ecx, dword [ebp - 0x75c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov edx, dword [ebp - 0x72c]
push edx
call fcn.10164d60
add esp, 0xc
mov eax, dword [ebp - 0x738]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x100feb8b
mov dword [ebp - 0x758], 0
cmp dword [ebp - 0x72c], 0
je 0x100febdf
mov ecx, dword [ebp - 0x730]
push ecx
mov edx, dword [ebp - 0x72c]
push edx
call fcn.100fe420
add esp, 8
mov dword [ebp - 0x758], eax
mov eax, dword [ebp - 0x72c]
mov dword [ebp - 0x780], eax
mov ecx, dword [ebp - 0x780]
push ecx
call fcn.10161835
add esp, 4
mov dword [ebp - 0x72c], 0
mov edx, dword [ebp - 0x758]
mov dword [ebp - 0x784], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x118]
call fcn.100dd8d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4f8]
call fcn.100d0d40
mov eax, dword [ebp - 0x784]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1016100c
mov esp, ebp
pop ebp
ret