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

Disassembly:
mov eax, 0x6ba509
call fcn.00640244
sub esp, 0x11c
xor eax, eax
cmp dword [0x7e9a30], 1
mov dword [ebp - 0x48], eax
jne 0x695d63
mov eax, dword [ebp + 0xc]
push dword [ebp + 8]
mov byte [eax], 1
call fcn.00696263
jmp 0x696054
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 0x695da9
mov ebx, str.UnpackRemoteIE___Unable_to_Find_Resource_File
push ebx
call fcn.0040f10e
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0040ee87
mov byte [esi], 0
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
cmp byte [esi], 0
mov ebx, eax
je 0x695dd8
test ebx, ebx
jne 0x695dd8
push str.UnpackRemoteIE___Resource_file_size_is_0_byte
call fcn.0040f10e
pop ecx
push eax
push str.UnpackRemoteIE___Resource_file_size_is_0_byte
lea ecx, [ebp - 0x3c]
call fcn.0040ee87
mov byte [esi], bl
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp byte [esi], 0
mov edi, eax
je 0x695e08
test edi, edi
jne 0x695e08
push str.UnpackRemoteIE___LoadResource_Failed
call fcn.0040f10e
pop ecx
push eax
push str.UnpackRemoteIE___LoadResource_Failed
lea ecx, [ebp - 0x3c]
call fcn.0040ee87
mov byte [esi], 0
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
cmp byte [esi], 0
mov dword [ebp + 0xc], eax
je 0x695f7f
test eax, eax
jne 0x695e3b
push str.UnpackRemoteIE___Lock_Resource_Failed
call fcn.0040f10e
pop ecx
push eax
push str.UnpackRemoteIE___Lock_Resource_Failed
lea ecx, [ebp - 0x3c]
call fcn.0040ee87
mov byte [esi], 0
cmp byte [esi], 0
je 0x695f7f
lea eax, [ebp - 0x24]
push eax
call fcn.00696263
cmp byte [esi], 0
mov byte [ebp - 4], 1
je 0x695ebb
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x695e62
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x695ebb
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x695e79
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x44]
push ecx
push eax
call fcn.00694cab
test al, al
je 0x695ebb
cmp dword [ebp - 0x44], ebx
jne 0x695ebb
cmp dword [ebp - 0x40], 0
jne 0x695ebb
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.00427b6c
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.004281f2
push 0
jmp 0x696047
call fcn.00696102
mov byte [esi], al
test al, al
je 0x695f55
push 1
push 0x40
push 0x22
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x128]
call fcn.0044c274
cmp dword [ebp - 0xd8], 0
mov byte [ebp - 4], 2
je 0x695f2e
push 0
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x128]
call fcn.0045c478
lea ecx, [ebp - 0x128]
call fcn.0045132c
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.00427b6c
lea ecx, [ebp - 0x128]
call fcn.0044cf24
jmp 0x695ea8
mov ebx, str.UnpackRemoteIE___Open_File_to_write_Failed
push ebx
call fcn.0040f10e
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0040ee87
xor ebx, ebx
lea ecx, [ebp - 0x128]
mov byte [esi], bl
call fcn.0044cf24
jmp 0x695f6f
mov ebx, str.UnpackRemoteIE___Create_File_Failed
push ebx
call fcn.0040f10e
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x3c]
call fcn.0040ee87
xor ebx, ebx
mov byte [esi], bl
push ebx
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.004281f2
jmp 0x695f81
xor ebx, ebx
cmp dword [ebp - 0x2c], 0
je 0x69602e
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.0040eeff
cmp dword [ebp - 0x28], 0x10
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 4
jae 0x695fb9
lea eax, [ebp - 0x3c]
push ebx
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0046a515
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0040efd9
push ebx
push 1
lea ecx, [ebp - 0x78]
call fcn.0040f52f
push ebx
push 1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call fcn.0040f52f
push str.remote_ieprocess
lea ecx, [ebp - 0x60]
call fcn.0040eeff
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.00488d2d
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.0040f52f
push ebx
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.0040f52f
test edi, edi
je 0x696039
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov ecx, dword [ebp + 8]
push 0x6c111c
call fcn.00429973
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.0040f52f
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