Function at 0x454100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4f22ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x110]
mov dword [ebp - 0x11c], 0
push 0
push eax
mov edi, ecx
mov dword [ebp - 0x118], 0
mov ebx, 1
call fcn.00493600
add esp, 0xc
test edi, edi
je 0x4541b7
cmp byte [edi], 0
jne 0x45415f
push 2
push ebx
call fcn.0049570f
add esp, 8
mov esi, eax
jmp 0x4541b9
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x114], eax
cmp eax, 1
jle 0x4541b7
push 2
push eax
call fcn.0049570f
mov esi, eax
add esp, 8
test esi, esi
je 0x4541b7
push dword [ebp - 0x114]
push esi
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, dword [ebp - 0x114]
je 0x4541b9
push esi
call fcn.004998ec
add esp, 4
xor esi, esi
mov ecx, dword [0x5403ec]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test ecx, ecx
jne 0x45420d
push str.WIMCreateFile
push ecx
mov ecx, str.Wimgapi
call fcn.00409990
add esp, 4
push eax
call edi
mov ecx, eax
mov dword [0x5403ec], ecx
test ecx, ecx
jne 0x45420d
call fcn.00440bb0
push eax
push str.Wimgapi
push str.WIMCreateFile
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.004407e0
add esp, 0x10
jmp 0x454468
cmp dword [0x5404b8], 0
jne 0x45425d
push str.WIMGetImageInformation
push ecx
mov ecx, str.Wimgapi
call fcn.00409990
add esp, 4
push eax
call edi
mov dword [0x5404b8], eax
test eax, eax
jne 0x454257
call fcn.00440bb0
push eax
push str.Wimgapi
push str.WIMGetImageInformation
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.004407e0
add esp, 0x10
jmp 0x454468
mov ecx, dword [0x5403ec]
cmp dword [0x5404d0], 0
jne 0x4542ad
push str.WIMCloseHandle
push ecx
mov ecx, str.Wimgapi
call fcn.00409990
add esp, 4
push eax
call edi
mov dword [0x5404d0], eax
test eax, eax
jne 0x4542a7
call fcn.00440bb0
push eax
push str.Wimgapi
push str.WIMCloseHandle
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.004407e0
add esp, 0x10
jmp 0x454468
mov ecx, dword [0x5403ec]
cmp dword [0x543630], 0xe0000
push 0
sbb eax, eax
push 0
and eax, 0xe0000000
add eax, 0x20000000
push eax
push 3
push 0x80000000
push esi
call ecx
mov edi, eax
test edi, edi
jne 0x4542f0
call fcn.00440bb0
push eax
push str.__Could_not_access_image:__s
call fcn.004407e0
add esp, 8
jmp 0x454468
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x120]
push eax
push edi
call dword [0x5404b8]
test eax, eax
je 0x45444e
cmp dword [ebp - 0x118], 0
je 0x45444e
lea eax, [ebp - 0x110]
push eax
push ecx
call fcn.00413620
add esp, 8
test eax, eax
je 0x454337
cmp byte [ebp - 0x110], 0
jne 0x45436c
mov eax, dword [str..RufVXml.tmp]
mov dword [ebp - 0x110], eax
mov eax, dword [0x4e7a10]
mov dword [ebp - 0x10c], eax
mov eax, dword [0x4e7a14]
mov dword [ebp - 0x108], eax
mov ax, word [0x4e7a18]
mov word [ebp - 0x104], ax
mov byte [ebp - 0x103], 0
lea ecx, [ebp - 0x110]
call fcn.00409dc0
sub esp, 8
lea ecx, [ebp - 0x110]
mov edx, 0xc0000000
push 2
sub esp, 8
call fcn.00452040
add esp, 0x14
mov dword [ebp - 0x114], eax
cmp eax, 0xffffffff
je 0x45442f
push 0
lea ecx, [ebp - 0x118]
push ecx
push dword [ebp - 0x118]
push dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45442f
push 1
lea edx, [ebp - 0x110]
mov ecx, str.IMAGE_INDEX
call fcn.00420240
add esp, 4
test eax, eax
je 0x45442f
lea ebx, [ebx]
push eax
call fcn.004a2aea
add esp, 4
cmp eax, 2
je 0x454416
inc ebx
lea edx, [ebp - 0x110]
push ebx
mov ecx, str.IMAGE_INDEX
call fcn.00420240
add esp, 4
test eax, eax
jne 0x4543e0
push edi
call dword [0x5404d0]
mov eax, dword [ebp - 0x114]
jmp 0x454441
push edi
mov dword [ebp - 0x11c], 1
call dword [0x5404d0]
mov eax, dword [ebp - 0x114]
jmp 0x454441
push edi
call dword [0x5404d0]
mov eax, dword [ebp - 0x114]
cmp eax, 0xffffffff
je 0x454468
test eax, eax
je 0x454468
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x454468
call fcn.00440bb0
push eax
push str.__Could_not_access_WIM_info:__s
call fcn.004407e0
add esp, 8
push edi
call dword [0x5404d0]
cmp byte [ebp - 0x110], 0
je 0x45447c
lea ecx, [ebp - 0x110]
call fcn.00409dc0
push esi
call fcn.004998ec
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x11c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00491940
mov esp, ebp
pop ebp
ret