Function at 0x46adb1
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 0x46ae56
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x46adf2
movzx edi, di
or edi, 0x80070000
test edi, edi
js 0x46adf9
mov edi, 0x80004005
push edi
mov ebx, 0x94
mov esi, str.d:_awixwix_srclibsdutilwixtoolset.dutilxmlutil.cpp
push ebx
push esi
call fcn.0040129e
push str.failed_to_get_handle_to_kernel32.dll
push edi
push 0x39
push 5
push ebx
push esi
call fcn.004012a1
add esp, 0x18
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x46ae36
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4773f0]
call esi
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x46ae4d
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x4773f0]
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 0x46aec6
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 0x46aec2
test edi, edi
je 0x46aec2
test ebx, ebx
je 0x46aec2
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call dword [0x4773f0]
call esi
push 1
mov ecx, edi
call dword [0x4773f0]
call edi
movzx esi, al
mov dword [ebp - 0xc], esi
jmp 0x46aec6
and dword [ebp - 0xc], 0
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x477914
inc esi
mov eax, 0x4b2770
push esi
push 0
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x46af08
push str.failed_to_create_XML_DOM_Document
push edi
push 0x39
push 5
push 0xad
push str.d:_awixwix_srclibsdutilwixtoolset.dutilxmlutil.cpp
call fcn.004012a1
add esp, 0x18
jmp 0x46afc3
xor ecx, ecx
mov edx, 0x4b2770
mov eax, dword [edx + ecx*4]
mov edx, 0x477904
cmp eax, dword [edx + ecx*4]
mov edx, 0x4b2770
jne 0x46af29
inc ecx
cmp ecx, 4
jne 0x46af0f
jmp 0x46af43
xor ecx, ecx
mov eax, dword [edx + ecx*4]
mov edx, 0x4778f4
cmp eax, dword [edx + ecx*4]
mov edx, 0x4b2770
jne 0x46af49
inc ecx
cmp ecx, 4
jne 0x46af2b
mov dword [0x4b2780], esi
cmp dword [ebp + 8], 0
je 0x46afa7
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.0046afeb
mov edi, eax
test edi, edi
jns 0x46af75
push str.failed_XmlCreateElement
push edi
push 0x39
push 5
push 0xb8
jmp 0x46aef6
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 [0x4773f0]
call esi
mov edi, eax
test edi, edi
jns 0x46afa7
push str.failed_appendChild
push edi
push 0x39
push 5
push 0xba
jmp 0x46aef6
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 0x46afc3
mov eax, dword [ebp - 8]
and dword [ebp - 8], 0
mov dword [ecx], eax
cmp dword [ebp - 0xc], 0
je 0x46ae1f
push dword [ebp - 0x10]
mov ecx, ebx
call dword [0x4773f0]
call ebx
test eax, eax
jne 0x46ae1f
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]