Function at 0x1d04690
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x1d7080b
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x1dbb89c]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1dbb89c]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x13c]
mov ecx, dword [esp + 0x140]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
test eax, eax
je 0x1d04fa8
cmp word [eax], 0
je 0x1d04fa8
push 0
push str.InventoryName
mov dword [esp + 0x34], 0x14
mov dword [esp + 0x38], 0x10
call fcn.01ca5690
add esp, 8
lea edx, [esp + 0x30]
mov ebp, eax
push edx
lea eax, [esp + 0xe4]
push eax
call dword [0x1da3cc0]
test eax, eax
je 0x1d04951
lea eax, [esp + 0xe0]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1d04740
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, ebp
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1d04756
sub eax, esi
sar eax, 1
lea eax, [eax + edx + 1]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01c60210
mov edi, eax
add esp, 4
test edi, edi
je 0x1d04fd2
lea eax, [esp + 0xe0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1d04796
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, ebp
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1d047b0
sub eax, esi
sar eax, 1
lea ecx, [esp + 0xe0]
push ecx
lea edx, [eax + edx + 1]
push edx
push edi
call fcn.01d3a41e
lea eax, [esp + 0xec]
add esp, 0xc
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1d047e0
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, ebp
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1d047f6
sub eax, esi
sar eax, 1
push ebp
lea eax, [eax + edx + 1]
push eax
push edi
call fcn.01d3a4d2
lea eax, [esp + 0xec]
add esp, 0xc
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1d04820
sub eax, edx
mov ecx, ebp
sar eax, 1
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1d04834
sub ecx, esi
lea edx, [esp + 0x2c]
push edx
sar ecx, 1
lea edx, [esp + 0x104]
add ecx, eax
push edx
lea eax, [ecx + ecx + 2]
push eax
push edi
call fcn.01d30c90
push edi
movzx esi, al
call fcn.01c60200
add esp, 0x14
test esi, esi
je 0x1d04fd2
lea ecx, [esp + 0x3c]
call fcn.01d26ef0
mov dword [esp + 0x134], 0
lea ecx, [esp + 0x3c]
push str.PermittedComputers.pc
push ecx
call fcn.01c720f0
mov edx, dword [esp + 0x44]
add esp, 8
push 0
push 0
push 3
push 0
push 0
push 3
push edx
call dword [0x1da3afc]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1d04d40
call dword [0x1da3abc]
cmp eax, 2
jne 0x1d04f94
mov ebx, dword [0x1da3acc]
push str.NetApi32.dll
call ebx
mov esi, eax
test esi, esi
je 0x1d04991
push str.DsGetDcNameW
push esi
call fcn.01cc1730
push str.NetApiBufferFree
push esi
mov edi, eax
call fcn.01cc1730
add esp, 0x10
mov ebp, eax
test edi, edi
je 0x1d0498a
lea eax, [esp + 0x14]
push eax
push 1
push 0
push 0
push 0
push 0
mov dword [esp + 0x2c], 0
call edi
cmp eax, 0x54b
jne 0x1d0497b
cmp byte [esp + 0x144], 0
je 0x1d0498a
push esi
call dword [0x1da3a94]
push 0
push str.Couldnt_authenticate_the_computer
push str.The_domain_does_not_exist_or_could_not_be_contacted___Application_will_exit
push 0
call dword [0x1da3a88]
push 0
call dword [0x1da3a9c]
cmp byte [esp + 0x144], 0
je 0x1d04fa8
push 0
push str.Couldnt_authenticate_the_computer
push str.Application_will_exit___GetComputerName_API_failed
push 0
call dword [0x1da3a88]
push 0
call dword [0x1da3a9c]
test eax, eax
jne 0x1d0498a
test ebp, ebp
je 0x1d0498a
lea ecx, [esp + 0x14]
push ecx
call ebp
push esi
call dword [0x1da3a94]
lea edx, [esp + 0x34]
push edx
push 8
call dword [0x1da3b00]
push eax
call dword [0x1da3bdc]
test eax, eax
je 0x1d04b16
mov ecx, dword [esp + 0x34]
xor esi, esi
push esi
lea eax, [esp + 0x1c]
push eax
push 1
push ecx
call fcn.01d0fed0
add esp, 0x10
test al, al
je 0x1d04b16
push 0x1d7a100
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], esi
call ebx
mov ebx, eax
cmp ebx, esi
je 0x1d04b09
push str.LookupAccountSidW
push ebx
call fcn.01cc1730
add esp, 8
mov edi, eax
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [edx]
push esi
lea ecx, [esp + 0x20]
push ecx
push esi
push eax
push esi
call edi
test eax, eax
jne 0x1d04b02
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01c60210
mov ebp, eax
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01c60210
add esp, 8
mov esi, eax
test ebp, ebp
je 0x1d04c57
test esi, esi
je 0x1d04c54
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [eax]
push esi
lea edx, [esp + 0x20]
push edx
push ebp
push ecx
push 0
call edi
test eax, eax
je 0x1d04c1f
mov ecx, esi
lea eax, [esp + 0xe0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1d04ab6
test dx, dx
je 0x1d04ab2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1d04ab6
add eax, 4
add ecx, 4
test dx, dx
jne 0x1d04a90
xor eax, eax
jmp 0x1d04abb
sbb eax, eax
sbb eax, 0xffffffff
push ebp
test eax, eax
jne 0x1d04af4
call fcn.01c60200
push esi
call fcn.01c60200
mov edx, dword [esp + 0x20]
push edx
call fcn.01c601e0
add esp, 0xc
push 0
push str.Couldnt_authenticate_the_computer
push str.The_current_user_account_cant_be_used_to_access_Active_Directory___Application_will_exit
push 0
call dword [0x1da3a88]
push 0
call dword [0x1da3a9c]
call fcn.01c60200
push esi
call fcn.01c60200
add esp, 8
push ebx
call dword [0x1da3a94]
mov edx, dword [esp + 0x18]
push edx
call fcn.01c601e0
add esp, 4
mov ebp, dword [esp + 0x24]
mov eax, ebp
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1d04b20
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 0x212]
push eax
call fcn.01c60190
mov esi, eax
add esp, 4
test esi, esi
je 0x1d04d16
mov eax, dword [esp + 0x1c]
mov bl, byte [esp + 0x144]
mov byte [esi + 0x208], bl
test eax, eax
je 0x1d04b6d
push eax
push 0x104
push esi
call fcn.01d3a41e
add esp, 0xc
lea edx, [esi + 0x210]
mov eax, ebp
mov dword [esi + 0x20c], edx
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1d04b80
sub eax, edi
sar eax, 1
push ebp
inc eax
push eax
push edx
call fcn.01d3a41e
lea ecx, [esp + 0x44]
push ecx
push 0
push esi
push 0x1d045b0
push 0
push 0
call fcn.01d38d36
add esp, 0x24
test eax, eax
je 0x1d04ce9
push 0x3a98
push eax
call dword [0x1da3aec]
test eax, eax
jne 0x1d04cb1
push esi
call fcn.01c601e0
mov edx, dword [esp + 0x40]
add esp, 4
push 0
push 0
push 1
push 0
push 0
push 3
push edx
call dword [0x1da3afc]
mov esi, eax
cmp esi, 0xffffffff
je 0x1d04c8d
mov ecx, dword [esp + 0x2c]
push 0
lea eax, [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0x10c]
push edx
push esi
call dword [0x1da3ba4]
push esi
call dword [0x1da3ad4]
jmp 0x1d04f94
push ebp
call fcn.01c60200
push esi
call fcn.01c60200
mov eax, dword [esp + 0x20]
push eax
call fcn.01c601e0
add esp, 0xc
push 0
push str.Couldnt_authenticate_the_computer
push str.LookupAccountSid_api_failed_while_checking_whether_user_account_is_a_domain_account_or_not___Application_will_exit
push 0
call dword [0x1da3a88]
push 0
call dword [0x1da3a9c]
push ebp
jmp 0x1d04c5c
test esi, esi
je 0x1d04c64
push esi
call fcn.01c60200
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.01c601e0
add esp, 4
push 0
push str.Couldnt_authenticate_the_computer
push str.Memory_allocation_failed___Application_will_exit
push 0
call dword [0x1da3a88]
push 0
call dword [0x1da3a9c]
test bl, bl
je 0x1d04f94
push 0
push str.Couldnt_authenticate_the_computer
push str.CreateFile_failed___Application_will_exit
push 0
call dword [0x1da3a88]
push 0
call dword [0x1da3a9c]
cmp eax, 0x102
jne 0x1d04f94
push esi
call fcn.01c601e0
add esp, 4
test bl, bl
je 0x1d04f94
push 0
push str.Couldnt_authenticate_the_computer
push str.Active_Directory_is_not_reponding___Application_will_exit
push 0
call dword [0x1da3a88]
push 0
call dword [0x1da3a9c]
push esi
call fcn.01c601e0
add esp, 4
test bl, bl
je 0x1d04f94
push 0
push str.Couldnt_authenticate_the_computer
push str.CreateThread_failed___Application_will_exit
push 0
call dword [0x1da3a88]
push 0
call dword [0x1da3a9c]
cmp byte [esp + 0x144], 0
je 0x1d04f94
push 0
push str.Couldnt_authenticate_the_computer
push 0x1d90fb0
push 0
call dword [0x1da3a88]
push 0
call dword [0x1da3a9c]
push 0
lea eax, [esp + 0x24]
push eax
push 0x14
lea ecx, [esp + 0x120]
push ecx
push ebx
call dword [0x1da3b4c]
test eax, eax
je 0x1d04f74
cmp dword [esp + 0x20], 0x14
jne 0x1d04f74
mov eax, 0x14
lea ecx, [esp + 0x100]
lea esi, [esp + 0x114]
mov edi, edi
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x1d04db8
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x1d04d80
test eax, eax
je 0x1d04dd9
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x1d04db8
cmp eax, 1
jbe 0x1d04dd9
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x1d04db8
cmp eax, 2
jbe 0x1d04dd9
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x1d04dd9
push ebx
call dword [0x1da3ad4]
mov eax, dword [esp + 0x144]
test al, al
je 0x1d04f94
mov ecx, dword [esp + 0x1c]
push eax
push ecx
jmp 0x1d04f8c
push str.NetApi32.dll
call dword [0x1da3acc]
mov ebp, eax
test ebp, ebp
je 0x1d04f58
push str.DsGetDcNameW
push ebp
call fcn.01cc1730
push str.NetApiBufferFree
push ebp
mov esi, eax
call fcn.01cc1730
add esp, 0x10
mov edi, eax
test esi, esi
je 0x1d04f35
lea edx, [esp + 0x14]
push edx
push 1
push 0
push 0
push 0
push 0
mov dword [esp + 0x2c], 0
call esi
test eax, eax
jne 0x1d04f2c
test edi, edi
je 0x1d04e3f
mov eax, dword [esp + 0x14]
push eax
call edi
mov eax, dword [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1d04e46
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 0x212]
push ecx
call fcn.01c60190
mov esi, eax
add esp, 4
test esi, esi
je 0x1d04eff
mov eax, dword [esp + 0x1c]
mov dl, byte [esp + 0x144]
mov byte [esi + 0x208], dl
test eax, eax
je 0x1d04e93
push eax
push 0x104
push esi
call fcn.01d3a41e
add esp, 0xc
mov eax, dword [esp + 0x24]
lea edx, [esi + 0x210]
mov dword [esi + 0x20c], edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1d04ea6
mov ecx, dword [esp + 0x24]
sub eax, edi
sar eax, 1
push ecx
inc eax
push eax
push edx
call fcn.01d3a41e
push 0
push 0
push esi
push 0x1d045b0
push 0
push 0
call fcn.01d38d36
add esp, 0x24
test eax, eax
jne 0x1d04f2c
push ebp
call dword [0x1da3a94]
push 0
push str.Couldnt_authenticate_the_computer
push str.CreateThread_failed___Application_will_exit
push 0
call dword [0x1da3a88]
push 0
call dword [0x1da3a9c]
cmp byte [esp + 0x144], 0
je 0x1d04f2c
push ebp
call dword [0x1da3a94]
push 0
push str.Couldnt_authenticate_the_computer
push str.Memory_allocation_failed___Application_will_exit
push 0
call dword [0x1da3a88]
push 0
call dword [0x1da3a9c]
push ebx
call dword [0x1da3ad4]
jmp 0x1d04f94
push ebp
call dword [0x1da3a94]
push 0
push str.Couldnt_authenticate_the_computer
push str.GetProcAddress_failed___Application_will_exit
push 0
call dword [0x1da3a88]
push 0
call dword [0x1da3a9c]
push 0
push str.Couldnt_authenticate_the_computer
push str.LoadLibrary_failed_while_loading_NetApi32.dll__Application_will_exit
push 0
call dword [0x1da3a88]
push 0
call dword [0x1da3a9c]
push ebx
call dword [0x1da3ad4]
mov eax, dword [esp + 0x144]
test al, al
je 0x1d04f94
mov edx, dword [esp + 0x1c]
push eax
push edx
call fcn.01d03020
add esp, 8
mov dword [esp + 0x134], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.01d26680
xor al, al
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.01d389aa
add esp, 0x124
ret
cmp byte [esp + 0x144], 0
je 0x1d04fa8
push 0
push str.Couldnt_authenticate_the_computer
push str.Hash_calculation_failed___Application_will_exit
push 0
call dword [0x1da3a88]
push 0
call dword [0x1da3a9c]
int3