Function at 0x45fe21
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor eax, eax
push edi
push str.kernel32.dll
mov ebx, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x45fec6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x45fe62
movzx edi, di
or edi, 0x80070000
test edi, edi
js 0x45fe69
mov edi, 0x80004005
push edi
mov ebx, 0x94
mov esi, str.d:_awixwix_srclibsdutilwixtoolset.dutilxmlutil.cpp
push ebx
push esi
call fcn.00401225
push str.failed_to_get_handle_to_kernel32.dll
push edi
push 0x38
push 5
push ebx
push esi
call fcn.00401228
add esp, 0x18
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x45fea6
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x46e3f8]
call esi
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x45febd
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x46e3f8]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc
push str.IsWow64Process
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45ff36
push str.Wow64DisableWow64FsRedirection
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64EnableWow64FsRedirection
push esi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.Wow64RevertWow64FsRedirection
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0xc]
mov ebx, eax
test esi, esi
je 0x45ff32
test edi, edi
je 0x45ff32
test ebx, ebx
je 0x45ff32
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call dword [0x46e3f8]
call esi
push 1
mov ecx, edi
call dword [0x46e3f8]
call edi
movzx esi, al
mov dword [ebp - 0xc], esi
jmp 0x45ff36
and dword [ebp - 0xc], 0
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x46e8f4
inc esi
mov eax, 0x49d6d8
push esi
push 0
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x45ff78
push str.failed_to_create_XML_DOM_Document
push edi
push 0x38
push 5
push 0xad
push str.d:_awixwix_srclibsdutilwixtoolset.dutilxmlutil.cpp
call fcn.00401228
add esp, 0x18
jmp 0x460033
xor ecx, ecx
mov edx, 0x49d6d8
mov eax, dword [edx + ecx*4]
mov edx, 0x46e8e4
cmp eax, dword [edx + ecx*4]
mov edx, 0x49d6d8
jne 0x45ff99
inc ecx
cmp ecx, 4
jne 0x45ff7f
jmp 0x45ffb3
xor ecx, ecx
mov eax, dword [edx + ecx*4]
mov edx, 0x46e8d4
cmp eax, dword [edx + ecx*4]
mov edx, 0x49d6d8
jne 0x45ffb9
inc ecx
cmp ecx, 4
jne 0x45ff9b
mov dword [0x49d6e8], esi
cmp dword [ebp + 8], 0
je 0x460017
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.0046005b
mov edi, eax
test edi, edi
jns 0x45ffe5
push str.failed_XmlCreateElement
push edi
push 0x38
push 5
push 0xb8
jmp 0x45ff66
mov eax, dword [ebp - 4]
push 0
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x54]
mov ecx, esi
call dword [0x46e3f8]
call esi
mov edi, eax
test edi, edi
jns 0x460017
push str.failed_appendChild
push edi
push 0x38
push 5
push 0xba
jmp 0x45ff66
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
and dword [ebp - 4], 0
mov dword [eax], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x460033
mov eax, dword [ebp - 8]
and dword [ebp - 8], 0
mov dword [ecx], eax
cmp dword [ebp - 0xc], 0
je 0x45fe8f
push dword [ebp - 0x10]
mov ecx, ebx
call dword [0x46e3f8]
call ebx
test eax, eax
jne 0x45fe8f
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]