Function at 0x44cb22
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
cmp dword [0x5284c0], 0
jne 0x44cb55
mov eax, str.Wimgapi
call fcn.0044b43d
mov dword [esp + 4], str.WIMCreateFile
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push edx
push edx
mov dword [0x5284c0], eax
cmp dword [0x5284bc], 0
jne 0x44cb80
mov eax, str.Wimgapi
call fcn.0044b43d
mov dword [esp + 4], str.WIMSetTemporaryPath
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push esi
push esi
mov dword [0x5284bc], eax
cmp dword [0x5284b8], 0
jne 0x44cbab
mov eax, str.Wimgapi
call fcn.0044b43d
mov dword [esp + 4], str.WIMLoadImage
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push ebx
push ebx
mov dword [0x5284b8], eax
cmp dword [0x5284ac], 0
jne 0x44cbd6
mov eax, str.Wimgapi
call fcn.0044b43d
mov dword [esp + 4], str.WIMApplyImage
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push ecx
push ecx
mov dword [0x5284ac], eax
cmp dword [0x5284a8], 0
jne 0x44cc01
mov eax, str.Wimgapi
call fcn.0044b43d
mov dword [esp + 4], str.WIMExtractImagePath
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push edx
push edx
mov dword [0x5284a8], eax
cmp dword [0x5284a4], 0
jne 0x44cc2c
mov eax, str.Wimgapi
call fcn.0044b43d
mov dword [esp + 4], str.WIMGetImageInformation
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push esi
push esi
mov dword [0x5284a4], eax
cmp dword [0x52849c], 0
jne 0x44cc57
mov eax, str.Wimgapi
call fcn.0044b43d
mov dword [esp + 4], str.WIMRegisterMessageCallback
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push ebx
push ebx
mov dword [0x52849c], eax
cmp dword [0x528498], 0
jne 0x44cc82
mov eax, str.Wimgapi
call fcn.0044b43d
mov dword [esp + 4], str.WIMUnregisterMessageCallback
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push ecx
push ecx
mov dword [0x528498], eax
cmp dword [0x5284a0], 0
jne 0x44ccad
mov eax, str.Wimgapi
call fcn.0044b43d
mov dword [esp + 4], str.WIMCloseHandle
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push edx
push edx
mov dword [0x5284a0], eax
cmp dword [0x5284c0], 0
je 0x44cce1
cmp dword [0x5284bc], 0
je 0x44cce1
cmp dword [0x5284b8], 0
je 0x44cce1
cmp dword [0x5284a8], 0
je 0x44cce1
cmp dword [0x5284a0], 0
je 0x44cce1
or byte [0x528494], 1
mov ecx, 1
mov edx, str.Software7_ZipPath
mov eax, 0x80000001
mov dword [esp + 4], 0x104
mov dword [esp], 0x527f40
call fcn.0044c8e2
test eax, eax
je 0x44cd58
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], str.7z.exe
mov dword [esp + 4], 0x104
mov dword [esp], 0x527f40
call dword [sym.imp.msvcrt.dll_strncat_s]
mov eax, 0x527f40
call fcn.0044b6c5
mov ebx, eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll__waccess]
mov esi, eax
test ebx, ebx
je 0x44cd81
mov dword [esp], ebx
call sub.msvcrt.dll_free
jmp 0x44cd81
mov ecx, 1
mov edx, str.Software7_ZipPath
mov eax, 0x80000002
mov dword [esp + 4], 0x104
mov dword [esp], 0x527f40
call fcn.0044c8e2
test eax, eax
je 0x44cd91
jmp 0x44cd08
inc esi
mov al, byte [0x528494]
je 0x44cd91
or eax, 2
mov byte [0x528494], al
mov al, byte [0x528494]
test al, 1
je 0x44cdbd
cmp dword [0x5284ac], 0
je 0x44cdbd
cmp dword [0x52849c], 0
je 0x44cdbd
cmp dword [0x528498], 0
je 0x44cdbd
or eax, 4
mov byte [0x528494], al
cmp dword [ebp + 8], 0
jne 0x44ce4c
mov cl, byte [0x528494]
mov esi, ecx
and esi, 1
je 0x44cdee
mov eax, ecx
mov edx, 0x4b1885
mov ebx, str.wimgapi.dll
not eax
test al, 3
mov eax, 0x4b1882
cmove edx, eax
jmp 0x44cdf5
mov ebx, 0x4b1885
mov edx, ebx
and cl, 2
mov eax, 0x4b188b
jne 0x44ce10
mov eax, esi
mov ecx, 0x4b1885
test al, al
mov eax, str.NONE
cmovne eax, ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp + 0xc], ebx
mov dword [esp], str.WIM_extraction_method_s__supported:__s_s_s
call fcn.0043d9e0
mov eax, str.NONE
mov edx, str.wimgapi.dll
test byte [0x528494], 4
cmovne eax, edx
mov dword [esp], str.WIM_apply_method_supported:__s
mov dword [esp + 4], eax
call fcn.0043d9e0
mov al, byte [0x528494]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret