Function at 0x44d3df
Capabilities:
Get common file path
Link many functions at runtime
Write file on windows

Disassembly:
push ebp
xor ecx, ecx
xor eax, eax
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x220]
push ebx
sub esp, 0x24c
mov dword [ebp - 0x228], ecx
mov esi, dword [ebp + 0x10]
mov ecx, 0x82
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
call fcn.0044b6c5
mov dword [ebp - 0x234], eax
mov eax, esi
call fcn.0044b6c5
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x14]
call fcn.0044b6c5
cmp dword [0x5284c0], 0
mov dword [ebp - 0x230], eax
jne 0x44d493
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
test eax, eax
jne 0x44d493
call fcn.0043df77
mov dword [esp + 8], str.Wimgapi
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.WIMCreateFile
mov dword [esp], 0x4b1266
call fcn.0043d9e0
xor eax, eax
xor esi, esi
xor edi, edi
mov dword [ebp - 0x22c], eax
jmp 0x44d80d
cmp dword [0x5284bc], 0
jne 0x44d4dd
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 edi
push edi
mov dword [0x5284bc], eax
test eax, eax
jne 0x44d4dd
call fcn.0043df77
mov dword [esp + 8], str.Wimgapi
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.WIMSetTemporaryPath
jmp 0x44d476
cmp dword [0x5284b8], 0
jne 0x44d52a
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
test eax, eax
jne 0x44d52a
call fcn.0043df77
mov dword [esp + 8], str.Wimgapi
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.WIMLoadImage
jmp 0x44d476
cmp dword [0x5284a8], 0
jne 0x44d577
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 ecx
push ecx
mov dword [0x5284a8], eax
test eax, eax
jne 0x44d577
call fcn.0043df77
mov dword [esp + 8], str.Wimgapi
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.WIMExtractImagePath
jmp 0x44d476
cmp dword [0x5284a0], 0
jne 0x44d5c4
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
test eax, eax
jne 0x44d5c4
call fcn.0043df77
mov dword [esp + 8], str.Wimgapi
mov dword [esp + 0xc], eax
mov dword [esp + 4], str.WIMCloseHandle
jmp 0x44d476
cmp dword [ebp + 0x18], 0
jne 0x44d5e4
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], str.Opening:__s:__d___API_
mov dword [esp + 4], eax
call fcn.0043d9e0
lea ebx, [ebp - 0x220]
mov dword [esp], 0x104
mov dword [esp + 4], ebx
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
push edi
push edi
test eax, eax
jne 0x44d613
call fcn.0043df77
mov dword [esp], str.__Could_not_fetch_temp_path:__s
mov dword [esp + 4], eax
jmp 0x44d66f
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
cmp dword [0x510768], 0xdffff
seta al
mov dword [esp + 8], 3
shl eax, 0x1d
mov dword [esp + 4], 0x80000000
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x234]
mov dword [esp], eax
call dword [0x5284c0]
mov dword [ebp - 0x22c], eax
sub esp, 0x18
test eax, eax
jne 0x44d679
call fcn.0043df77
mov dword [esp], str.__Could_not_access_image:__s
mov dword [esp + 4], eax
call fcn.0043d9e0
jmp 0x44d482
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call dword [0x5284bc]
mov ebx, eax
push edx
push edx
test eax, eax
jne 0x44d6a9
call fcn.0043df77
mov dword [esp], str.__Could_not_set_temp_path:__s
mov dword [esp + 4], eax
jmp 0x44d72b
cmp dword [ebp + 0x18], 0
jne 0x44d6c6
mov dword [esp + 8], esi
mov eax, dword [ebp + 0x14]
mov dword [esp], str.Extracting:__s__From__s_
mov dword [esp + 4], eax
call fcn.0043d9e0
test esi, esi
je 0x44d7d8
mov dword [esp + 4], 0x4b1ac2
mov dword [esp], esi
call sub.msvcrt.dll_strcmp
mov ebx, eax
test eax, eax
jne 0x44d7d8
lea eax, [ebp - 0x224]
lea edi, [ebp - 0x228]
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call dword [0x5284a4]
sub esp, 0xc
test eax, eax
je 0x44d71b
cmp dword [ebp - 0x228], 0
jne 0x44d737
call fcn.0043df77
mov dword [esp], str.__Could_not_access_WIM_info:__s
mov dword [esp + 4], eax
call fcn.0043d9e0
xor esi, esi
jmp 0x44d7d1
xor eax, eax
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0xc0000000
mov eax, dword [ebp - 0x230]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
sub esp, 0x1c
mov esi, eax
cmp eax, 0xffffffff
jne 0x44d79b
cmp dword [ebp + 0x18], 0
jne 0x44d7d1
call fcn.0043df77
mov dword [esp], str.__Could_not_extract_file:__s
xor ebx, ebx
mov dword [esp + 4], eax
call fcn.0043d9e0
jmp 0x44d7d1
xor eax, eax
mov dword [esp + 0xc], edi
xor edi, edi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x228]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x224]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
sub esp, 0x14
test eax, eax
jne 0x44d85c
jmp 0x44d77c
xor edi, edi
jmp 0x44d861
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call dword [0x5284b8]
mov edi, eax
push esi
push esi
test eax, eax
jne 0x44d811
call fcn.0043df77
mov dword [esp], str.__Could_not_set_index:__s
xor esi, esi
mov dword [esp + 4], eax
call fcn.0043d9e0
xor ebx, ebx
jmp 0x44d861
xor ebx, ebx
xor esi, esi
mov dword [esp + 0xc], ebx
mov eax, dword [ebp - 0x230]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x238]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [0x5284a8]
sub esp, 0x10
mov ebx, eax
test eax, eax
jne 0x44d85c
cmp dword [ebp + 0x18], 0
jne 0x44d861
call fcn.0043df77
mov dword [esp], str.__Could_not_extract_file:__s
mov dword [esp + 4], eax
call fcn.0043d9e0
jmp 0x44d861
mov ebx, 1
mov eax, dword [ebp - 0x22c]
or eax, edi
je 0x44d8ae
cmp dword [ebp + 0x18], 0
jne 0x44d884
mov eax, dword [ebp + 8]
mov dword [esp], str.Closing:__s
mov dword [esp + 4], eax
call fcn.0043d9e0
mov eax, dword [0x5284a0]
test edi, edi
jne 0x44d89f
mov eax, dword [ebp - 0x22c]
mov dword [esp], eax
call dword [0x5284a0]
push ecx
jmp 0x44d8ae
mov dword [esp], edi
call eax
push edx
cmp dword [ebp - 0x22c], 0
jne 0x44d88d
lea eax, [esi - 1]
cmp eax, 0xfffffffd
ja 0x44d8c0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
mov eax, dword [ebp - 0x234]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x238]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [ebp - 0x230]
mov dword [esp], eax
call sub.msvcrt.dll_free
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret