Function at 0x68cf2d
Capabilities:
Check if file exists
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x6b09c0
call fcn.006375a8
sub esp, 0x11c
xor eax, eax
cmp dword [0x7dade0], 1
mov dword [ebp - 0x48], eax
jne 0x68cf5e
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov byte [eax], 1
call fcn.0068d45e
jmp 0x68d24f
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], eax
mov byte [esi], 1
mov byte [ebp - 0x3c], al
push 0xa
push 0x182
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov edi, eax
test edi, edi
jne 0x68cfa4
mov ebx, str.UnpackRemoteIE___Unable_to_Find_Resource_File
push ebx
call fcn.0040d6de
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0040d457
mov byte [esi], 0
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
cmp byte [esi], 0
mov ebx, eax
je 0x68cfd3
test ebx, ebx
jne 0x68cfd3
push str.UnpackRemoteIE___Resource_file_size_is_0_byte
call fcn.0040d6de
pop ecx
push eax
push str.UnpackRemoteIE___Resource_file_size_is_0_byte
lea ecx, [ebp - 0x3c]
call fcn.0040d457
mov byte [esi], bl
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp byte [esi], 0
mov edi, eax
je 0x68d003
test edi, edi
jne 0x68d003
push str.UnpackRemoteIE___LoadResource_Failed
call fcn.0040d6de
pop ecx
push eax
push str.UnpackRemoteIE___LoadResource_Failed
lea ecx, [ebp - 0x3c]
call fcn.0040d457
mov byte [esi], 0
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
cmp byte [esi], 0
mov dword [ebp + 0xc], eax
je 0x68d17a
test eax, eax
jne 0x68d036
push str.UnpackRemoteIE___Lock_Resource_Failed
call fcn.0040d6de
pop ecx
push eax
push str.UnpackRemoteIE___Lock_Resource_Failed
lea ecx, [ebp - 0x3c]
call fcn.0040d457
mov byte [esi], 0
cmp byte [esi], 0
je 0x68d17a
lea eax, [ebp - 0x24]
push eax
call fcn.0068d45e
cmp byte [esi], 0
mov byte [ebp - 4], 1
je 0x68d0b6
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x68d05d
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x68d0b6
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x68d074
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x44]
push ecx
push eax
call fcn.0068bf78
test al, al
je 0x68d0b6
cmp dword [ebp - 0x44], ebx
jne 0x68d0b6
cmp dword [ebp - 0x40], 0
jne 0x68d0b6
push edi
mov byte [esi], 1
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.0042613c
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.004267c2
push 0
jmp 0x68d242
call fcn.0068d2fd
mov byte [esi], al
test al, al
je 0x68d150
push 1
push 0x40
push 0x22
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x128]
call fcn.0044a781
cmp dword [ebp - 0xd8], 0
mov byte [ebp - 4], 2
je 0x68d129
push 0
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x128]
call fcn.0045a878
lea ecx, [ebp - 0x128]
call fcn.0044f766
push edi
mov byte [esi], 1
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
call fcn.0042613c
lea ecx, [ebp - 0x128]
call fcn.0044b404
jmp 0x68d0a3
mov ebx, str.UnpackRemoteIE___Open_File_to_write_Failed
push ebx
call fcn.0040d6de
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0040d457
xor ebx, ebx
lea ecx, [ebp - 0x128]
mov byte [esi], bl
call fcn.0044b404
jmp 0x68d16a
mov ebx, str.UnpackRemoteIE___Create_File_Failed
push ebx
call fcn.0040d6de
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0040d457
xor ebx, ebx
mov byte [esi], bl
push ebx
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.004267c2
jmp 0x68d17c
xor ebx, ebx
cmp dword [ebp - 0x2c], 0
je 0x68d229
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], bl
push str.error
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.0040d4cf
cmp dword [ebp - 0x28], 0x10
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 4
jae 0x68d1b4
lea eax, [ebp - 0x3c]
push ebx
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.004684c0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0040d5a9
push ebx
push 1
lea ecx, [ebp - 0x78]
call fcn.0040daff
push ebx
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.0040daff
push str.remote_ieprocess
lea ecx, [ebp - 0x60]
call fcn.0040d4cf
push ebx
push ebx
push ebx
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x24]
push eax
push 0x2c
call fcn.00485ab0
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.0040daff
push ebx
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.0040daff
test edi, edi
je 0x68d234
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov ecx, dword [ebp + 8]
push 0x6b6e68
call fcn.00427f43
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040daff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8