Function at 0x4245de
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.0045e790
mov edx, dword [esp + 0x1c]
lea ecx, [esp]
call fcn.0044e000
push 0x50
call fcn.0045ac20
mov dword [0x473514], eax
push dword [0x473514]
pop eax
mov dword [esp + 8], eax
push 0x473578
push dword [esp + 4]
call sub.kernel32.dll_FindFirstFileW
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0xc]
cmp ebx, 0xffffffff
je 0x424684
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
push dword [esp + 8]
call fcn.0045b156
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e620
pop edx
push eax
push 0x19
push 0xffffffff
lea ebp, [0x473578]
push ebp
pop ebp
lea eax, [ebp + 0x2c]
push eax
call fcn.0045ac80
pop eax
lea eax, [esp + 4]
push eax
call fcn.0045e660
push dword [esp + 0xc]
call sub.kernel32.dll_FindClose
push dword [esp]
call sub.kernel32.dll_LoadLibraryW
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp], eax
mov ebp, dword [0x473514]
cmp dword [ebp], 0
je 0x424974
mov edx, dword [esp]
push edx
call fcn.0045e620
pop edx
push eax
push edx
call fcn.0045e6f0
mov ebp, dword [0x473514]
lea eax, [ebp + 4]
push eax
call fcn.0045e660
mov ebp, str.wimlib_free
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 8], eax
mov ebp, str.wimlib_get_version
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0xc], eax
mov ebp, str.wimlib_register_progress_function
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x10], eax
mov ebp, str.wimlib_global_init
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x14], eax
mov ebp, str.wimlib_open_wim
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x18], eax
mov ebp, str.wimlib_extract_image
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x1c], eax
mov ebp, str.wimlib_get_wim_info
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x20], eax
mov ebp, str.wimlib_get_xml_data
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x24], eax
mov ebp, str.wimlib_global_cleanup
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x28], eax
mov ebp, str.wimlib_reference_resource_files
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x2c], eax
mov ebp, str.wimlib_extract_paths
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x30], eax
mov ebp, str.wimlib_add_tree
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x34], eax
mov ebp, str.wimlib_get_error_string
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x38], eax
mov ebp, str.wimlib_iterate_dir_tree
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x3c], eax
mov ebp, str.wimlib_write
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x48], eax
mov ebp, str.wimlib_set_output_compression_type
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x44], eax
mov ebp, str.wimlib_create_new_wim
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x40], eax
mov ebp, str.wimlib_add_empty_image
push ebp
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_GetProcAddress
push eax
mov ebp, dword [0x473514]
pop eax
mov dword [ebp + 0x4c], eax
mov dword [esp + 4], 1
jmp 0x4248ff
mov eax, 0x14
cmp eax, dword [esp + 4]
jl 0x424951
mov ebp, dword [esp + 8]
cmp dword [ebp], 0
je 0x424918
xor eax, eax
jmp 0x42491d
mov eax, 1
and eax, eax
je 0x424940
mov ebp, dword [0x473514]
push dword [ebp]
call sub.kernel32.dll_FreeLibrary
mov ebp, dword [0x473514]
mov dword [ebp], 0
xor eax, eax
jmp 0x424976
mov ebx, dword [esp + 8]
add ebx, 4
mov dword [esp + 8], ebx
inc dword [esp + 4]
jno 0x4248ff
mov ebp, dword [0x473514]
push dword [ebp + 0x14]
push 0
call dword [esp + 4]
add esp, 4
add esp, 4
mov ebp, dword [0x473514]
mov eax, dword [ebp]
jmp 0x424976
xor eax, eax
push dword [esp]
call fcn.0045e7f0
add esp, 0x10
pop ebx
pop ebp
ret 4