Function at 0x76e53e93
Capabilities:
Get domain controller name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2bc
mov eax, dword [0x76e5f514]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp + 0x14]
push ebx
xor ebx, ebx
mov dword [ebp - 0x244], eax
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x240], eax
mov word [ebp - 0x280], bx
xor eax, eax
lea edi, [ebp - 0x27e]
stosd dword es:[edi], eax
push 0x76e55970
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x248], ebx
mov dword [ebp - 0x258], ebx
mov byte [ebp - 0x226], bl
mov byte [ebp - 0x222], bl
mov byte [ebp - 0x221], bl
mov byte [ebp - 0x224], bl
mov byte [ebp - 0x227], bl
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x28c], ebx
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x284], 1
stosw word es:[edi], ax
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x250], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x238], ebx
mov byte [ebp - 0x215], bl
mov byte [ebp - 0x225], bl
mov byte [ebp - 0x223], bl
mov dword [ebp - 0x260], ebx
call fcn.76e42867
pop ecx
push dword [ebp - 0x210]
call fcn.76e5719f
push eax
push 0x76e55960
call fcn.76e42867
pop ecx
pop ecx
push esi
call fcn.76e5719f
push eax
push 0x76e55950
call fcn.76e42867
pop ecx
pop ecx
push dword [ebp - 0x24c]
call fcn.76e5719f
push eax
push 0x76e55938
call fcn.76e42867
pop ecx
pop ecx
push dword [ebp - 0x244]
call fcn.76e5719f
push eax
push 0x76e55928
call fcn.76e42867
push dword [ebp + 0x1c]
push 0x76e55914
call fcn.76e42867
add esp, 0x10
call fcn.76e50c84
test byte [ebp + 0x1c], 0x80
je 0x76e54095
test byte [ebp + 0x1c], 0x40
jne 0x76e54025
push 0x76e558c8
call fcn.76e42867
pop ecx
push 0x57
jmp 0x76e542f1
cmp dword [ebp - 0x244], ebx
je 0x76e54034
push 0x76e55878
jmp 0x76e54018
mov edi, dword [ebp - 0x240]
push edi
mov dword [ebp - 0x240], ebx
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 1
pop ecx
mov dword [ebp - 0x254], eax
jae 0x76e5405d
mov edi, 0x52d
jmp 0x76e54d2e
mov al, byte [edi]
mov byte [ebp - 0x288], al
add edi, 2
push edi
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [ebp - 0x280]
push eax
push dword [ebp - 0x288]
call dword [sym.imp.ntdll.dll_RtlRunDecodeUnicodeString]
dec dword [ebp - 0x254]
mov dword [ebp - 0x28c], edi
mov edi, dword [ebp - 0x240]
cmp edi, ebx
je 0x76e540cb
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
cmp eax, 1
pop ecx
jb 0x76e5401e
mov al, byte [edi]
add edi, 2
mov byte [ebp - 0x219], al
push edi
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
jmp 0x76e540db
xor eax, eax
lea edi, [ebp - 0x230]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov byte [ebp - 0x219], bl
xor eax, eax
lea edi, [ebp - 0x2a0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x1c]
and eax, 2
mov dword [ebp - 0x25c], eax
jne 0x76e54100
mov dword [ebp - 0x284], 0x11
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x234]
push eax
push esi
call fcn.76e50fc7
mov edi, eax
cmp edi, ebx
jne 0x76e54d2e
cmp dword [ebp - 0x20c], ebx
je 0x76e54130
mov dword [ebp - 0x238], 1
mov esi, dword [sym.imp.ntdll.dll_RtlRunDecodeUnicodeString]
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x219]
call esi
push 3
push dword [ebp - 0x22c]
push dword [ebp - 0x244]
push dword [ebp - 0x234]
push dword [ebp - 0x210]
call fcn.76e526a5
mov edi, eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x219]
push eax
call dword [sym.imp.ntdll.dll_RtlRunEncodeUnicodeString]
cmp edi, 0x2554
jne 0x76e54184
xor edi, edi
cmp edi, ebx
jne 0x76e54d2e
cmp dword [ebp - 0x238], ebx
jne 0x76e541ca
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x278]
push eax
push 0x1020
push dword [ebp - 0x210]
push dword [ebp - 0x234]
push ebx
call fcn.76e51739
mov edi, eax
cmp edi, ebx
jne 0x76e54d2e
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x219]
call esi
push dword [ebp - 0x284]
push dword [ebp - 0x22c]
push dword [ebp - 0x244]
push dword [ebp - 0x20c]
call fcn.76e56544
mov edi, eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x219]
push eax
call dword [sym.imp.ntdll.dll_RtlRunEncodeUnicodeString]
push edi
push dword [ebp - 0x20c]
push 0x76e5583c
call fcn.76e42867
add esp, 0xc
cmp edi, ebx
jne 0x76e54d2e
cmp dword [ebp - 0x238], ebx
mov byte [ebp - 0x227], 1
je 0x76e543f2
mov eax, dword [ebp - 0x20c]
push ebx
add eax, 4
push eax
call sub.DNSAPI.dll_DnsValidateName_W
cmp eax, ebx
mov esi, 0x76e557fc
je 0x76e54272
cmp eax, 0x2554
je 0x76e54272
push dword [ebp - 0x20c]
push 0x76e557bc
call fcn.76e42867
pop ecx
pop ecx
jmp 0x76e54307
lea eax, [ebp - 0x214]
push eax
push 0x40000000
push ebx
push ebx
push dword [ebp - 0x234]
push dword [ebp - 0x20c]
call sub.NETAPI32.dll_DsGetDcNameW
mov edi, eax
cmp edi, ebx
jne 0x76e542d5
mov eax, dword [ebp - 0x214]
mov eax, dword [eax]
add eax, 4
push eax
mov eax, dword [ebp - 0x20c]
add eax, 4
push eax
call sub.DNSAPI.dll_DnsNameCompare_W
test eax, eax
mov eax, dword [ebp - 0x214]
push dword [eax]
push dword [ebp - 0x20c]
je 0x76e542ce
push 0x76e55780
jmp 0x76e54392
push 0x76e55740
jmp 0x76e542ff
cmp edi, 0x6d1
jne 0x76e542f7
push dword [ebp - 0x20c]
push 0x76e55710
call fcn.76e42867
pop ecx
pop ecx
push 0x32
pop edi
jmp 0x76e54d2e
push edi
push dword [ebp - 0x20c]
push esi
call fcn.76e42867
add esp, 0xc
mov eax, dword [ebp - 0x20c]
add eax, 4
push eax
call fcn.76e5c3d0
test eax, eax
je 0x76e543de
cmp dword [ebp - 0x214], ebx
je 0x76e54337
push dword [ebp - 0x214]
call sub.NETAPI32.dll_NetApiBufferFree
mov dword [ebp - 0x214], ebx
lea eax, [ebp - 0x214]
push eax
push 0x80000000
push ebx
push ebx
push dword [ebp - 0x234]
push dword [ebp - 0x20c]
call sub.NETAPI32.dll_DsGetDcNameW
mov edi, eax
cmp edi, ebx
jne 0x76e543b0
mov eax, dword [ebp - 0x214]
mov eax, dword [eax]
push ebx
push 4
add eax, 4
push eax
mov eax, dword [ebp - 0x20c]
add eax, 4
push eax
push ebx
call sub.NETAPI32.dll_I_NetNameCompare
test eax, eax
mov eax, dword [ebp - 0x214]
push dword [eax]
push dword [ebp - 0x20c]
jne 0x76e543a9
push 0x76e556d0
call fcn.76e42867
mov ecx, dword [ebp - 0x214]
add esp, 0xc
cmp ecx, ebx
je 0x76e543c0
mov eax, dword [ecx + 0x24]
jmp 0x76e543fe
push 0x76e55688
jmp 0x76e543b8
push edi
push dword [ebp - 0x20c]
push esi
call fcn.76e42867
add esp, 0xc
push edi
push dword [ebp - 0x20c]
push 0x76e5564c
call fcn.76e42867
add esp, 0xc
mov edi, 0x54a
jmp 0x76e54d2e
push dword [ebp - 0x20c]
push 0x76e55608
call fcn.76e42867
pop ecx
pop ecx
jmp 0x76e543c0
mov ecx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x278]
mov esi, eax
shr esi, 4
not esi
and esi, 1
cmp dword [ebp - 0x24c], ebx
mov dword [ebp - 0x238], esi
je 0x76e5442e
cmp esi, ebx
je 0x76e5442e
push 0x76e555c8
call fcn.76e42867
mov edi, 0x54b
jmp 0x76e54d2d
test eax, 0x40000000
jne 0x76e5443a
mov edi, dword [ecx + 0x1c]
jmp 0x76e5446e
lea eax, [ebp - 0x270]
push eax
push 0x80000000
push ebx
push ebx
push dword [ebp - 0x234]
push ebx
call sub.NETAPI32.dll_DsGetDcNameW
mov edi, eax
cmp edi, ebx
je 0x76e54465
push edi
push 0x76e55580
jmp 0x76e54d27
mov eax, dword [ebp - 0x270]
mov edi, dword [eax + 0x1c]
push ebx
push 4
push edi
push dword [ebp - 0x210]
push ebx
call sub.NETAPI32.dll_I_NetNameCompare
test eax, eax
jne 0x76e544a0
push edi
push dword [ebp - 0x210]
push 0x76e55538
call fcn.76e42867
add esp, 0xc
mov edi, 0x4bc
jmp 0x76e54d2e
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x20c]
push ebx
call fcn.76e4273c
cmp esi, ebx
mov edi, eax
jne 0x76e544e4
mov eax, dword [ebp - 0x248]
cmp eax, ebx
je 0x76e544e4
lea ecx, [ebp - 0x250]
push ecx
add eax, 8
push eax
push ebx
call fcn.76e56924
mov edi, eax
cmp edi, ebx
jne 0x76e54b5e
cmp esi, ebx
je 0x76e544fc
cmp dword [ebp - 0x25c], ebx
jne 0x76e544fc
or dword [ebp + 0x1c], 0x40
mov esi, dword [ebp - 0x28c]
cmp esi, ebx
jne 0x76e5454e
xor eax, eax
test byte [ebp + 0x1c], 0x50
jne 0x76e5450f
inc eax
lea ecx, [ebp - 0x208]
push ecx
push dword [ebp - 0x238]
push dword [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call fcn.76e5b0be
mov edi, eax
cmp edi, ebx
jne 0x76e54b5e
lea esi, [ebp - 0x208]
mov eax, esi
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0x1c]
and eax, 0x20
mov dword [ebp - 0x25c], eax
je 0x76e54581
lea eax, [ebp - 0x220]
push eax
push 1
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp - 0x220]
call fcn.76e58283
mov edi, eax
cmp edi, ebx
jne 0x76e54b5e
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp + 0x1c]
shr eax, 7
and eax, 1
push eax
push ebx
push esi
push dword [ebp - 0x210]
push ebx
call fcn.76e57eaf
mov edi, eax
cmp edi, ebx
jne 0x76e54b5e
test byte [ebp + 0x1c], 2
mov byte [ebp - 0x226], 1
je 0x76e546ad
cmp dword [ebp - 0x24c], ebx
je 0x76e5463c
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x219]
call dword [sym.imp.ntdll.dll_RtlRunDecodeUnicodeString]
push dword [ebp - 0x24c]
push dword [ebp - 0x250]
push esi
push dword [ebp - 0x210]
push dword [ebp - 0x22c]
push dword [ebp - 0x244]
push dword [ebp - 0x214]
call fcn.76e5b4af
mov edi, eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x219]
push eax
call dword [sym.imp.ntdll.dll_RtlRunEncodeUnicodeString]
push edi
push 0x76e554fc
call fcn.76e42867
cmp edi, ebx
pop ecx
pop ecx
jne 0x76e54b5e
cmp dword [ebp - 0x250], ebx
je 0x76e54671
mov byte [ebp - 0x215], 1
jmp 0x76e54671
push dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
push dword [ebp + 0x1c]
push ebx
push dword [eax + 8]
push esi
push dword [ebp - 0x20c]
push ebx
push dword [ebp - 0x210]
call fcn.76e51089
mov edi, eax
push edi
push 0x76e554c8
call fcn.76e42867
pop ecx
pop ecx
cmp edi, ebx
jne 0x76e54b5e
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
cmp dword [ebp - 0x254], eax
pop ecx
je 0x76e5470f
lea eax, [ebp - 0x220]
push eax
push ebx
push ebx
push esi
push dword [ebp - 0x210]
push ebx
call fcn.76e57eaf
mov edi, eax
push edi
push 0x76e55494
jmp 0x76e54700
test byte [ebp + 0x1c], 0x50
jne 0x76e546e0
push dword [ebp - 0x238]
mov eax, dword [ebp - 0x23c]
push 1
push esi
push dword [ebp - 0x210]
push dword [eax + 8]
push dword [ebp - 0x20c]
call fcn.76e5a95a
mov edi, eax
push edi
push 0x76e55458
jmp 0x76e54700
push esi
push dword [ebp - 0x210]
push dword [ebp - 0x234]
push dword [ebp - 0x20c]
call fcn.76e5c216
mov edi, eax
push edi
push 0x76e5541c
call fcn.76e42867
cmp edi, ebx
pop ecx
pop ecx
jne 0x76e54b5e
test byte [ebp + 0x1d], 1
mov byte [ebp - 0x222], 1
jne 0x76e54841
cmp dword [ebp - 0x238], ebx
jne 0x76e54841
cmp dword [ebp - 0x24c], ebx
jne 0x76e54841
cmp dword [ebp - 0x250], ebx
je 0x76e54841
cmp dword [ebp - 0x244], ebx
je 0x76e54841
cmp dword [ebp - 0x240], ebx
je 0x76e54841
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x210]
call fcn.76e571c7
mov edi, eax
cmp edi, ebx
jne 0x76e54d2e
mov esi, dword [sym.imp.msvcrt.dll_wcslen]
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x264]
call esi
push dword [ebp - 0x234]
mov edi, eax
call esi
pop ecx
add edi, eax
pop ecx
lea eax, [edi + edi + 4]
push eax
call sub.NETAPI32.dll_NetApiBufferAllocate
mov edi, eax
cmp edi, ebx
jne 0x76e54d2e
push dword [ebp - 0x264]
push dword [ebp - 0x234]
push 0x76e5540c
push dword [ebp - 0x26c]
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0x10
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x219]
call dword [sym.imp.ntdll.dll_RtlRunDecodeUnicodeString]
push dword [ebp - 0x250]
push dword [ebp - 0x210]
push dword [ebp - 0x22c]
push dword [ebp - 0x244]
push dword [ebp - 0x214]
call fcn.76e5bac9
mov edi, eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x219]
push eax
call dword [sym.imp.ntdll.dll_RtlRunEncodeUnicodeString]
push edi
push 0x76e553cc
call fcn.76e42867
cmp edi, 0x57
pop ecx
pop ecx
jne 0x76e54832
mov edi, 0x214d
cmp edi, ebx
jne 0x76e54b5e
mov byte [ebp - 0x215], 1
push ebx
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x268]
push eax
push ebx
push dword [ebp - 0x220]
call fcn.76e4273c
mov edi, eax
cmp edi, ebx
jne 0x76e54b5e
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x2bc]
push eax
push 0x76e49d9c
call fcn.76e50d47
mov edi, eax
cmp edi, ebx
jne 0x76e54b5e
xor esi, esi
inc esi
cmp dword [ebp - 0x2b8], esi
je 0x76e548ab
push esi
push esi
call fcn.76e51e48
mov edi, eax
cmp edi, ebx
jne 0x76e54b5e
mov byte [ebp - 0x225], 1
mov eax, dword [ebp - 0x23c]
push ebx
push dword [ebp - 0x248]
push dword [eax + 8]
push dword [eax + 4]
push dword [ebp - 0x220]
call fcn.76e57dea
mov edi, eax
push edi
push 0x76e55390
call fcn.76e42867
cmp edi, ebx
pop ecx
pop ecx
jne 0x76e54b5e
mov eax, dword [ebp - 0x23c]
push ebx
push dword [eax + 8]
mov byte [ebp - 0x224], 1
call fcn.76e56019
mov edi, eax
push edi
push 0x76e55358
call fcn.76e42867
cmp edi, ebx
pop ecx
pop ecx
jne 0x76e54b5e
push dword [ebp - 0x20c]
mov byte [ebp - 0x221], 1
call fcn.76e55ce7
mov edi, eax
push edi
push 0x76e5531c
call fcn.76e42867
cmp edi, ebx
pop ecx
pop ecx
jne 0x76e54b5e
cmp dword [ebp - 0x214], ebx
je 0x76e54961
push dword [ebp - 0x214]
call fcn.76e57378
cmp eax, ebx
je 0x76e54961
push eax
push dword [ebp - 0x20c]
push 0x76e552c8
call fcn.76e42867
add esp, 0xc
mov eax, dword [ebp - 0x248]
cmp eax, ebx
je 0x76e549b2
mov ecx, dword [ebp - 0x258]
cmp ecx, ebx
je 0x76e5498e
push esi
add eax, 8
push eax
add ecx, 8
push ecx
call dword [sym.imp.ntdll.dll_RtlCompareUnicodeString]
test eax, eax
je 0x76e549d3
mov eax, dword [ebp - 0x248]
push dword [eax + 0xc]
call fcn.76e5c00b
mov edi, eax
mov eax, dword [ebp - 0x248]
push edi
add eax, 8
push eax
push 0x76e55270
call fcn.76e42867
add esp, 0xc
jmp 0x76e549d3
cmp dword [ebp - 0x258], ebx
je 0x76e549d3
push 0x76e49dfc
call fcn.76e5c00b
mov edi, eax
push edi
push 0x76e55220
call fcn.76e42867
pop ecx
pop ecx
cmp edi, ebx
jne 0x76e54b5e
mov eax, dword [ebp - 0x260]
cmp dword [eax + 4], 2
je 0x76e54a13
push esi
push 4
call fcn.76e51e48
mov edi, eax
cmp edi, ebx
jne 0x76e549fe
mov byte [ebp - 0x223], 1
jmp 0x76e54a0b
push edi
push 0x76e551ec
call fcn.76e42867
pop ecx
pop ecx
cmp edi, ebx
jne 0x76e54b5e
push 1
push 2
call fcn.76e51e48
mov edi, eax
cmp edi, ebx
jne 0x76e54b5e
push 0x76e49e00
call fcn.76e57b5c
cmp dword [ebp - 0x25c], ebx
je 0x76e54d2e
mov eax, dword [ebp - 0x294]
cmp eax, ebx
je 0x76e54d2e
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x76e54d2e
mov ecx, dword [ebp - 0x23c]
cmp ecx, ebx
je 0x76e54d41
push eax
push dword [ecx + 8]
call dword [sym.imp.ntdll.dll_RtlEqualSid]
test al, al
jne 0x76e54d2e
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x76e54d2e
mov ecx, dword [ebp - 0x294]
mov ecx, dword [ecx + 4]
cmp ecx, ebx
je 0x76e54d2e
push ecx
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x76e54d2e
mov eax, dword [ebp - 0x294]
push 1
push dword [eax + 8]
call fcn.76e56019
push eax
push dword [ebp - 0x294]
push 0x76e55190
call fcn.76e42867
add esp, 0xc
test byte [ebp + 0x1c], 4
je 0x76e54b57
push ebx
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0x294]
push 0x1020
push dword [ebp - 0x210]
mov dword [ebp - 0x240], ebx
push dword [eax + 4]
mov dword [ebp - 0x25c], ebx
push ebx
call fcn.76e51739
mov esi, eax
cmp esi, ebx
jne 0x76e54b3d
push dword [ebp - 0x238]
push dword [ebp + 0x1c]
push 1
push ebx
push dword [ebp - 0x240]
push ebx
push dword [ebp - 0x210]
call fcn.76e516d9
push dword [ebp - 0x240]
mov esi, eax
call sub.NETAPI32.dll_NetApiBufferFree
push esi
push dword [ebp - 0x294]
push dword [ebp - 0x210]
push 0x76e55138
call fcn.76e42867
add esp, 0x10
xor edi, edi
jmp 0x76e54d2e
push 0x76e550fc
call fcn.76e42867
cmp byte [ebp - 0x223], bl
pop ecx
je 0x76e54ba2
mov eax, dword [ebp - 0x260]
mov eax, dword [eax + 4]
cmp eax, 4
jne 0x76e54b83
push 8
jmp 0x76e54b8a
cmp eax, 3
jne 0x76e54ba2
push 0x10
pop esi
push 1
push esi
call fcn.76e51e48
push eax
push esi
push 0x76e550a8
call fcn.76e42867
add esp, 0xc
cmp byte [ebp - 0x225], bl
je 0x76e54bc9
cmp dword [ebp - 0x2b8], 4
jne 0x76e54bc9
push 1
push 2
call fcn.76e51e48
push eax
push 0x76e55068
call fcn.76e42867
pop ecx
pop ecx
cmp byte [ebp - 0x215], bl
je 0x76e54bd7
push ebx
call fcn.76e577b3
cmp byte [ebp - 0x221], bl
je 0x76e54bfc
mov eax, dword [ebp - 0x23c]
push 1
push dword [eax + 8]
call fcn.76e56019
push eax
push 0x76e5502c
call fcn.76e42867
pop ecx
pop ecx
cmp byte [ebp - 0x224], bl
je 0x76e54c28
mov eax, dword [ebp - 0x268]
push ebx
push ebx
push ebx
push dword [eax + 4]
push dword [ebp - 0x220]
call fcn.76e57dea
push eax
push 0x76e54fe8
call fcn.76e42867
pop ecx
pop ecx
cmp byte [ebp - 0x222], bl
je 0x76e54cde
test byte [ebp + 0x1c], 2
je 0x76e54cde
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x219]
call dword [sym.imp.ntdll.dll_RtlRunDecodeUnicodeString]
cmp dword [ebp - 0x24c], ebx
je 0x76e54c9a
push dword [ebp - 0x22c]
push dword [ebp - 0x244]
push dword [ebp - 0x210]
push dword [ebp - 0x24c]
push dword [ebp - 0x20c]
call fcn.76e5be1b
mov esi, eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x219]
push eax
call dword [sym.imp.ntdll.dll_RtlRunEncodeUnicodeString]
push esi
push 0x76e54f90
jmp 0x76e54cd7
push dword [ebp - 0x238]
push ebx
push 1
push dword [ebp - 0x22c]
push dword [ebp - 0x20c]
push ebx
push dword [ebp - 0x210]
call fcn.76e516d9
mov esi, eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x219]
push eax
call dword [sym.imp.ntdll.dll_RtlRunEncodeUnicodeString]
push esi
push 0x76e54f48
call fcn.76e42867
pop ecx
pop ecx
cmp byte [ebp - 0x226], bl
je 0x76e54d2e
cmp byte [ebp - 0x2a0], bl
je 0x76e54d10
lea eax, [ebp - 0x220]
push eax
push ebx
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp - 0x220]
call fcn.76e58283
push eax
push 0x76e54f04
jmp 0x76e54d27
push ebx
push ebx
push 1
push ebx
push dword [ebp - 0x210]
push ebx
call fcn.76e57eaf
push eax
push 0x76e54ec8
call fcn.76e42867
pop ecx
pop ecx
cmp dword [ebp - 0x23c], ebx
je 0x76e54d41
push dword [ebp - 0x23c]
call sub.ADVAPI32.dll_LsaFreeMemory
cmp dword [ebp - 0x268], ebx
je 0x76e54d54
push dword [ebp - 0x268]
call sub.ADVAPI32.dll_LsaFreeMemory
cmp dword [ebp - 0x248], ebx
je 0x76e54d67
push dword [ebp - 0x248]
call sub.ADVAPI32.dll_LsaFreeMemory
cmp dword [ebp - 0x258], ebx
je 0x76e54d7a
push dword [ebp - 0x258]
call sub.ADVAPI32.dll_LsaFreeMemory
cmp dword [ebp - 0x220], ebx
je 0x76e54d8d
push dword [ebp - 0x220]
call sub.ADVAPI32.dll_LsaClose
cmp dword [ebp - 0x274], ebx
je 0x76e54da0
push dword [ebp - 0x274]
call sub.ADVAPI32.dll_LsaClose
cmp byte [ebp - 0x227], bl
je 0x76e54dfe
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x219]
call dword [sym.imp.ntdll.dll_RtlRunDecodeUnicodeString]
push 2
push dword [ebp - 0x22c]
push dword [ebp - 0x244]
push dword [ebp - 0x20c]
call fcn.76e56544
mov esi, eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x219]
push eax
call dword [sym.imp.ntdll.dll_RtlRunEncodeUnicodeString]
push esi
push dword [ebp - 0x20c]
push 0x76e54e8c
call fcn.76e42867
add esp, 0xc
push dword [ebp - 0x214]
call sub.NETAPI32.dll_NetApiBufferFree
push dword [ebp - 0x20c]
call sub.NETAPI32.dll_NetApiBufferFree
push dword [ebp - 0x234]
call sub.NETAPI32.dll_NetApiBufferFree
push dword [ebp - 0x264]
call sub.NETAPI32.dll_NetApiBufferFree
push dword [ebp - 0x26c]
call sub.NETAPI32.dll_NetApiBufferFree
push dword [ebp - 0x250]
call sub.NETAPI32.dll_NetApiBufferFree
push dword [ebp - 0x270]
call sub.NETAPI32.dll_NetApiBufferFree
cmp dword [ebp - 0x260], ebx
je 0x76e54e5f
push dword [ebp - 0x260]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x27c], ebx
je 0x76e54e7b
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.ntdll.dll_RtlRunEncodeUnicodeString]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
pop ebx
call fcn.76e42a30
leave
ret 0x18