Function at 0x39ce8b0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x3a3408b
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3a7682c]
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 0x39cf1c8
cmp word [eax], 0
je 0x39cf1c8
push 0
push str.InventoryName
mov dword [esp + 0x34], 0x14
mov dword [esp + 0x38], 0x10
call fcn.0395a0a0
add esp, 8
lea edx, [esp + 0x30]
mov ebp, eax
push edx
lea eax, [esp + 0xe4]
push eax
call dword [0x3a60040]
test eax, eax
je 0x39ceb71
lea eax, [esp + 0xe0]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x39ce960
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 0x39ce976
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.0393d9d0
mov edi, eax
add esp, 4
test edi, edi
je 0x39cf1f2
lea eax, [esp + 0xe0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x39ce9b6
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 0x39ce9d0
sub eax, esi
sar eax, 1
lea ecx, [esp + 0xe0]
push ecx
lea edx, [eax + edx + 1]
push edx
push edi
call fcn.03a0280c
lea eax, [esp + 0xec]
add esp, 0xc
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x39cea00
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 0x39cea16
sub eax, esi
sar eax, 1
push ebp
lea eax, [eax + edx + 1]
push eax
push edi
call fcn.03a028c0
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 0x39cea40
sub eax, edx
mov ecx, ebp
sar eax, 1
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x39cea54
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.039f7c60
push edi
movzx esi, al
call fcn.0393d9e0
add esp, 0x14
test esi, esi
je 0x39cf1f2
lea ecx, [esp + 0x3c]
call fcn.039efdc0
mov dword [esp + 0x134], 0
lea ecx, [esp + 0x3c]
push str.PermittedComputers.pc
push ecx
call fcn.0394f4b0
mov edx, dword [esp + 0x44]
add esp, 8
push 0
push 0
push 3
push 0
push 0
push 3
push edx
call dword [0x3a5fdb0]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x39cef60
call dword [0x3a5fd78]
cmp eax, 2
jne 0x39cf1b4
mov ebx, dword [0x3a5fd8c]
push str.NetApi32.dll
call ebx
mov esi, eax
test esi, esi
je 0x39cebb1
push str.DsGetDcNameW
push esi
call fcn.039971f0
push str.NetApiBufferFree
push esi
mov edi, eax
call fcn.039971f0
add esp, 0x10
mov ebp, eax
test edi, edi
je 0x39cebaa
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 0x39ceb9b
cmp byte [esp + 0x144], 0
je 0x39cebaa
push esi
call dword [0x3a5fd5c]
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 [0x3a5fd48]
push 0
call dword [0x3a5fd44]
cmp byte [esp + 0x144], 0
je 0x39cf1c8
push 0
push str.Couldnt_authenticate_the_computer
push str.Application_will_exit___GetComputerName_API_failed
push 0
call dword [0x3a5fd48]
push 0
call dword [0x3a5fd44]
test eax, eax
jne 0x39cebaa
test ebp, ebp
je 0x39cebaa
lea ecx, [esp + 0x14]
push ecx
call ebp
push esi
call dword [0x3a5fd5c]
lea edx, [esp + 0x34]
push edx
push 8
call dword [0x3a5fdb4]
push eax
call dword [0x3a60530]
test eax, eax
je 0x39ced36
mov ecx, dword [esp + 0x34]
xor esi, esi
push esi
lea eax, [esp + 0x1c]
push eax
push 1
push ecx
call fcn.039d6000
add esp, 0x10
test al, al
je 0x39ced36
push 0x3a3cd04
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], esi
call ebx
mov ebx, eax
cmp ebx, esi
je 0x39ced29
push str.LookupAccountSidW
push ebx
call fcn.039971f0
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 0x39ced22
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0393d9d0
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.0393d9d0
add esp, 8
mov esi, eax
test ebp, ebp
je 0x39cee77
test esi, esi
je 0x39cee74
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 0x39cee3f
mov ecx, esi
lea eax, [esp + 0xe0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x39cecd6
test dx, dx
je 0x39cecd2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x39cecd6
add eax, 4
add ecx, 4
test dx, dx
jne 0x39cecb0
xor eax, eax
jmp 0x39cecdb
sbb eax, eax
sbb eax, 0xffffffff
push ebp
test eax, eax
jne 0x39ced14
call fcn.0393d9e0
push esi
call fcn.0393d9e0
mov edx, dword [esp + 0x20]
push edx
call fcn.0393d9b0
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 [0x3a5fd48]
push 0
call dword [0x3a5fd44]
call fcn.0393d9e0
push esi
call fcn.0393d9e0
add esp, 8
push ebx
call dword [0x3a5fd5c]
mov edx, dword [esp + 0x18]
push edx
call fcn.0393d9b0
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 0x39ced40
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 0x212]
push eax
call fcn.0393d960
mov esi, eax
add esp, 4
test esi, esi
je 0x39cef36
mov eax, dword [esp + 0x1c]
mov bl, byte [esp + 0x144]
mov byte [esi + 0x208], bl
test eax, eax
je 0x39ced8d
push eax
push 0x104
push esi
call fcn.03a0280c
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 0x39ceda0
sub eax, edi
sar eax, 1
push ebp
inc eax
push eax
push edx
call fcn.03a0280c
lea ecx, [esp + 0x44]
push ecx
push 0
push esi
push 0x39ce7d0
push 0
push 0
call fcn.03a01906
add esp, 0x24
test eax, eax
je 0x39cef09
push 0x3a98
push eax
call dword [0x3a5fda8]
test eax, eax
jne 0x39ceed1
push esi
call fcn.0393d9b0
mov edx, dword [esp + 0x40]
add esp, 4
push 0
push 0
push 1
push 0
push 0
push 3
push edx
call dword [0x3a5fdb0]
mov esi, eax
cmp esi, 0xffffffff
je 0x39ceead
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 [0x3a5fe38]
push esi
call dword [0x3a5fd90]
jmp 0x39cf1b4
push ebp
call fcn.0393d9e0
push esi
call fcn.0393d9e0
mov eax, dword [esp + 0x20]
push eax
call fcn.0393d9b0
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 [0x3a5fd48]
push 0
call dword [0x3a5fd44]
push ebp
jmp 0x39cee7c
test esi, esi
je 0x39cee84
push esi
call fcn.0393d9e0
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0393d9b0
add esp, 4
push 0
push str.Couldnt_authenticate_the_computer
push str.Memory_allocation_failed___Application_will_exit
push 0
call dword [0x3a5fd48]
push 0
call dword [0x3a5fd44]
test bl, bl
je 0x39cf1b4
push 0
push str.Couldnt_authenticate_the_computer
push str.CreateFile_failed___Application_will_exit
push 0
call dword [0x3a5fd48]
push 0
call dword [0x3a5fd44]
cmp eax, 0x102
jne 0x39cf1b4
push esi
call fcn.0393d9b0
add esp, 4
test bl, bl
je 0x39cf1b4
push 0
push str.Couldnt_authenticate_the_computer
push str.Active_Directory_is_not_reponding___Application_will_exit
push 0
call dword [0x3a5fd48]
push 0
call dword [0x3a5fd44]
push esi
call fcn.0393d9b0
add esp, 4
test bl, bl
je 0x39cf1b4
push 0
push str.Couldnt_authenticate_the_computer
push str.CreateThread_failed___Application_will_exit
push 0
call dword [0x3a5fd48]
push 0
call dword [0x3a5fd44]
cmp byte [esp + 0x144], 0
je 0x39cf1b4
push 0
push str.Couldnt_authenticate_the_computer
push 0x3a507d0
push 0
call dword [0x3a5fd48]
push 0
call dword [0x3a5fd44]
push 0
lea eax, [esp + 0x24]
push eax
push 0x14
lea ecx, [esp + 0x120]
push ecx
push ebx
call dword [0x3a5fe08]
test eax, eax
je 0x39cf194
cmp dword [esp + 0x20], 0x14
jne 0x39cf194
mov eax, 0x14
lea ecx, [esp + 0x100]
lea esi, [esp + 0x114]
mov edi, edi
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x39cefd8
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x39cefa0
test eax, eax
je 0x39ceff9
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x39cefd8
cmp eax, 1
jbe 0x39ceff9
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x39cefd8
cmp eax, 2
jbe 0x39ceff9
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x39ceff9
push ebx
call dword [0x3a5fd90]
mov eax, dword [esp + 0x144]
test al, al
je 0x39cf1b4
mov ecx, dword [esp + 0x1c]
push eax
push ecx
jmp 0x39cf1ac
push str.NetApi32.dll
call dword [0x3a5fd8c]
mov ebp, eax
test ebp, ebp
je 0x39cf178
push str.DsGetDcNameW
push ebp
call fcn.039971f0
push str.NetApiBufferFree
push ebp
mov esi, eax
call fcn.039971f0
add esp, 0x10
mov edi, eax
test esi, esi
je 0x39cf155
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 0x39cf14c
test edi, edi
je 0x39cf05f
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 0x39cf066
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 0x212]
push ecx
call fcn.0393d960
mov esi, eax
add esp, 4
test esi, esi
je 0x39cf11f
mov eax, dword [esp + 0x1c]
mov dl, byte [esp + 0x144]
mov byte [esi + 0x208], dl
test eax, eax
je 0x39cf0b3
push eax
push 0x104
push esi
call fcn.03a0280c
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 0x39cf0c6
mov ecx, dword [esp + 0x24]
sub eax, edi
sar eax, 1
push ecx
inc eax
push eax
push edx
call fcn.03a0280c
push 0
push 0
push esi
push 0x39ce7d0
push 0
push 0
call fcn.03a01906
add esp, 0x24
test eax, eax
jne 0x39cf14c
push ebp
call dword [0x3a5fd5c]
push 0
push str.Couldnt_authenticate_the_computer
push str.CreateThread_failed___Application_will_exit
push 0
call dword [0x3a5fd48]
push 0
call dword [0x3a5fd44]
cmp byte [esp + 0x144], 0
je 0x39cf14c
push ebp
call dword [0x3a5fd5c]
push 0
push str.Couldnt_authenticate_the_computer
push str.Memory_allocation_failed___Application_will_exit
push 0
call dword [0x3a5fd48]
push 0
call dword [0x3a5fd44]
push ebx
call dword [0x3a5fd90]
jmp 0x39cf1b4
push ebp
call dword [0x3a5fd5c]
push 0
push str.Couldnt_authenticate_the_computer
push str.GetProcAddress_failed___Application_will_exit
push 0
call dword [0x3a5fd48]
push 0
call dword [0x3a5fd44]
push 0
push str.Couldnt_authenticate_the_computer
push str.LoadLibrary_failed_while_loading_NetApi32.dll__Application_will_exit
push 0
call dword [0x3a5fd48]
push 0
call dword [0x3a5fd44]
push ebx
call dword [0x3a5fd90]
mov eax, dword [esp + 0x144]
test al, al
je 0x39cf1b4
mov edx, dword [esp + 0x1c]
push eax
push edx
call fcn.039cd0f0
add esp, 8
mov dword [esp + 0x134], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.039ef660
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.03a00f6a
add esp, 0x124
ret
cmp byte [esp + 0x144], 0
je 0x39cf1c8
push 0
push str.Couldnt_authenticate_the_computer
push str.Hash_calculation_failed___Application_will_exit
push 0
call dword [0x3a5fd48]
push 0
call dword [0x3a5fd44]
int3