Function at 0x42d770
Capabilities:
Create process on windows

Disassembly:
push 0x90
mov eax, 0x4dd8f4
call fcn.004c1f48
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.004ad3ae
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042249b
mov eax, dword [ebp + 8]
push ebx
mov byte [ebp - 4], 1
push ebx
mov dword [eax], ebx
mov eax, dword [ebp + 0x10]
push ebx
push ecx
mov dword [eax], ebx
mov eax, dword [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.Domain
mov dword [eax], ebx
lea edi, [ebp - 0x1c]
call fcn.004247ec
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.SYSTEMCurrentControlSetServicesTcpipParameters
call fcn.004247ec
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 1
call fcn.0046e520
add esp, 0x14
mov eax, esp
mov dword [ebp - 0x14], esp
push dword [ebp - 0x1c]
push str.CheckDomains:_AttachedToDomainStr__s_
push eax
call fcn.0046da40
add esp, 0xc
call fcn.0042d061
mov esi, dword [ebp + 0x20]
pop ecx
cmp esi, dword [ebp + 0x24]
jbe 0x42d809
call fcn.004bbc61
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp + 0x24]
cmp dword [ebp + 0x20], esi
jbe 0x42d81f
call fcn.004bbc61
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], esi
lea edi, [ebp - 0x50]
lea esi, [ebp - 0x30]
mov dword [ebp - 0x50], eax
call fcn.00424d79
test al, al
je 0x42dabc
call fcn.00426f23
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push dword [eax]
push str.CheckDomains:_checking_for_DomainName:__s
push ecx
call fcn.0046da40
add esp, 0xc
call fcn.0042d061
or dword [ebp - 0x28], 0xffffffff
push 0x40
lea eax, [ebp - 0x98]
push ebx
push eax
call fcn.004bc420
mov dword [ebp - 0x48], ebx
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov ecx, esp
mov dword [ebp - 0x14], esp
mov esi, 0x4ebfa0
push esi
stosd dword es:[edi], eax
mov dword [ebp - 0x9c], 0x44
call fcn.004247ec
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.nltest.exe
call fcn.004247ec
push ecx
mov byte [ebp - 4], 4
mov eax, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0046cc90
pop ecx
lea edi, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0046d300
add esp, 8
mov byte [ebp - 4], 5
mov eax, edi
mov dword [ebp - 0x18], esp
mov ecx, esp
push eax
call fcn.00424ebe
call fcn.004700f0
pop ecx
cmp eax, ebx
jne 0x42d952
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call fcn.004247ec
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.SysNative_nltest.exe
call fcn.004247ec
push ecx
mov byte [ebp - 4], 7
mov dword [ebp - 0x14], esp
mov esi, esp
push 0x5c
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0046cc90
pop ecx
push esi
call fcn.0046de50
add esp, 0xc
lea edi, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.0046d300
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call fcn.00424edf
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.0042201a
lea esi, [ebp - 0x30]
call fcn.00426f23
push dword [eax]
lea eax, [ebp - 0x24]
push dword [ebp - 0x20]
push str.__s____dsgetdc:_s_
push eax
call fcn.0046da40
add esp, 0x10
xor eax, eax
mov byte [ebp - 4], 9
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x9c]
push eax
push ebx
push ebx
push ebx
push ebx
xor edi, edi
push ebx
inc edi
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x70], edi
call fcn.00424f59
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00424afa
cmp esi, ebx
je 0x42da2e
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x44]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], eax
call esi
push dword [ebp - 0x48]
call esi
cmp dword [ebp - 0x14], ebx
je 0x42d9ea
cmp dword [ebp - 0x28], ebx
je 0x42da7b
mov eax, dword [ebp - 0x1c]
push ecx
mov dword [ebp - 0x18], esp
cmp dword [eax - 0xc], ebx
jne 0x42da10
mov eax, esp
push dword [ebp - 0x28]
push str.CheckDomains:_ExitCode_d._Not_attached_to_a_domain_anyways.
push eax
call fcn.0046da40
add esp, 0xc
call fcn.0042d061
jmp 0x42da53
mov ecx, esp
push eax
push dword [ebp - 0x28]
push str.CheckDomains:_ExitCode_d._Computer_is_normally_attached_to___s___considering_offline___unreachable_DC.
push ecx
call fcn.0046da40
add esp, 0x10
call fcn.0042d061
mov eax, dword [ebp + 0xc]
jmp 0x42da51
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
push str._CheckDomains:_failed_executing_nltest__LE_d
push ecx
call fcn.0046da40
add esp, 0xc
call fcn.0042d061
mov eax, dword [ebp + 0x10]
mov dword [eax], edi
pop ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0042201a
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042201a
lea esi, [ebp - 0x30]
call fcn.00424d4e
jmp 0x42d812
lea esi, [ebp - 0x30]
call fcn.00426f23
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push dword [eax]
push str.CheckDomains:_connected_to_domain__s
push ecx
call fcn.0046da40
add esp, 0xc
call fcn.0042d061
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov dword [eax], edi
call fcn.0042201a
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0042201a
jmp 0x42dad5
push ecx
mov eax, esp
mov dword [ebp + 0xc], esp
push str.CheckDomains:_not_connected_to_any_white_listed_domain
push eax
call fcn.0046da40
pop ecx
pop ecx
call fcn.0042d061
pop ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0042201a
or dword [ebp - 4], 0xffffffff
lea eax, [ebp + 0x14]
push eax
call fcn.00424b5a
call fcn.004c2020
ret 0x24