Function at 0x426800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
push 0x22
mov eax, edx
mov byte [ebp - 1], 0
push 0
mov ebx, ecx
mov dword [ebp - 0x28], eax
push eax
mov dword [ebp - 0xc], ebx
mov byte [ebp - 4], 0
mov byte [ebp - 2], 0
mov byte [ebp - 3], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x42683e
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 1
push 0x10
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x426c08
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x426c08
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x426c08
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push str.VarFileInfoTranslation
push edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x426c08
cmp dword [ebp - 0x18], 0
je 0x426c08
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp + 0xc]
push 0x44da5c
mov ecx, dword [eax]
mov eax, ecx
shr eax, 0x10
push eax
movzx eax, cx
push eax
push str.StringFileInfo_04x_04x_s
push 0x40
push esi
call dword [0x457664]
add esp, 0x18
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x426c08
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x426c08
mov edi, dword [ebp - 0x14]
dec eax
mov dword [0x457638], eax
test edi, edi
je 0x426c08
cmp eax, 0xb
jle 0x42697b
push 1
mov eax, 0x18
mov dword [0x45641c], edi
push 0x456410
push 0x456418
mov dword [0x456414], 0x44da80
mov word [0x456410], ax
mov word [0x456418], ax
call dword [0x457674]
movzx eax, al
test eax, eax
je 0x426976
lea ecx, [edi + 0x18]
movzx eax, word [ecx]
cmp eax, 0x20
je 0x426963
cmp eax, 9
jne 0x426968
add ecx, 2
jmp 0x426956
test ax, ax
jne 0x426bed
jmp 0x426b96
mov eax, dword [0x457638]
cmp eax, 0xa
jne 0x426c08
mov edx, SysReAllocString
mov eax, edi
nop dword [eax + eax]
cmp word [eax], 0
je 0x42699e
add eax, 2
sub edx, 1
jne 0x426990
mov ecx, 0xfffffffe
test edx, edx
je 0x4269bb
lea eax, [edx + edx]
mov esi, edx
sub ecx, eax
neg esi
sbb esi, esi
and esi, ecx
mov ecx, 0xfffffffe
jmp 0x4269bd
xor esi, esi
mov dword [ebp - 8], esi
mov dword [0x457630], esi
test edx, edx
jne 0x4269d5
xor esi, esi
cmp word [edi], si
cmovne esi, ecx
mov dword [ebp - 8], esi
mov edi, SysReAllocString
mov eax, str.SFXCAB.EXE
nop
cmp word [eax], 0
je 0x4269ee
add eax, 2
sub edi, 1
jne 0x4269e0
test edi, edi
je 0x426a06
lea ecx, [edi + edi]
mov edx, 0xfffffffe
mov eax, edi
sub edx, ecx
neg eax
sbb eax, eax
and eax, edx
jmp 0x426a08
xor eax, eax
test edi, edi
mov dword [0x457630], eax
mov edi, 0xfffe
mov dword [0x456414], 0x44da9c
mov edx, 0xfffffffe
cmovne edx, eax
mov eax, dword [ebp - 0x14]
mov dword [0x45641c], eax
cmp esi, edi
movzx eax, si
cmova eax, edi
mov dword [ebp - 0x24], edx
movzx ecx, ax
cmp edx, edi
movzx eax, dx
cmova eax, edi
mov word [0x456418], cx
movzx eax, ax
mov word [0x456410], ax
cmp cx, di
jb 0x426b42
cmp ax, di
jb 0x426b42
nop word [eax + eax]
push 1
push 0x456410
push 0x456418
call dword [0x457674]
test al, al
je 0x426c05
movzx esi, word [0x456418]
mov eax, dword [0x45641c]
mov ecx, esi
movzx edx, word [0x456410]
shr ecx, 1
mov ebx, dword [ebp - 0x24]
lea eax, [eax + ecx*2]
mov ecx, edx
shr ecx, 1
mov dword [0x45641c], eax
mov eax, dword [0x456414]
lea eax, [eax + ecx*2]
movzx ecx, word [0x456418]
mov dword [0x456414], eax
mov eax, dword [ebp - 8]
sub eax, esi
mov dword [ebp - 8], eax
mov esi, dword [ebp - 8]
cmp esi, edi
movzx eax, ax
cmovb ecx, eax
sub ebx, edx
mov word [0x456418], cx
cmp ebx, edi
movzx ecx, word [0x456410]
movzx eax, bx
cmovb ecx, eax
mov dword [ebp - 0x24], ebx
mov word [0x456410], cx
test esi, esi
jne 0x426a70
test ebx, ebx
jne 0x426a70
mov ebx, dword [ebp - 0xc]
mov byte [ebp - 3], 1
push 0
test ebx, ebx
jne 0x426b61
push 0x2000080
push 3
push ebx
push 7
push 0x120089
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0xc], ebx
cmp ebx, 0xffffffff
je 0x426c08
mov byte [ebp - 4], 1
jmp 0x426b6c
push 1
push 0x456410
push 0x456418
call dword [0x457674]
movzx eax, al
test eax, eax
je 0x426c08
jmp 0x426b0c
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
mov dl, 1
mov ecx, ebx
call fcn.00414f20
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xc]
add esp, 4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00409130
add esp, 8
test al, al
jne 0x426bff
cmp byte [ebp - 2], al
jne 0x426c08
mov edi, dword [ebp - 0x10]
push 0
push str.CABINET
push 0xa
push edi
mov byte [ebp - 2], 1
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov esi, eax
test esi, esi
je 0x426bed
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x426bed
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x426bed
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, eax
mov ecx, edi
call fcn.00426620
add esp, 8
test al, al
jne 0x426bf9
cmp byte [ebp - 3], 0
je 0x426b0c
jmp 0x426c08
mov byte [ebp - 1], 3
jmp 0x426c08
mov byte [ebp - 1], 1
jmp 0x426c08
mov ebx, dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp byte [ebp - 4], 0
je 0x426c1e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret