Function at 0x41dbe0
Capabilities:
Get hostname
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d189
mov eax, dword fs:[0]
push eax
sub esp, 0x52c
mov eax, dword [0x585184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
xor eax, eax
mov dword [ebp - 0x510], 0
mov dword [ebp - 0x50c], 0
lea ecx, [ebp - 0x520]
push 0x55b660
mov dword [ebp - 0x510], 0
mov dword [ebp - 0x50c], 7
mov word [ebp - 0x520], ax
call fcn.00404420
mov dword [ebp - 4], 0
lea eax, [ebp - 0x520]
push eax
call fcn.00423e80
mov ecx, eax
call fcn.00423f40
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x50c]
cmp edx, 8
jb 0x41dcb3
mov ecx, dword [ebp - 0x520]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dca9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e17b
push edx
push ecx
call fcn.00502621
add esp, 8
xor eax, eax
mov dword [ebp - 0x510], 0
mov dword [ebp - 0x50c], 7
mov word [ebp - 0x520], ax
test esi, esi
jne 0x41dcdb
xor al, al
jmp 0x41e160
mov dword [ebp - 0x528], eax
lea ecx, [ebp - 0x538]
mov dword [ebp - 0x524], eax
mov dword [ebp - 0x528], eax
xor eax, eax
push 0xc
push str.Netapi32.dll
mov dword [ebp - 0x524], 7
mov word [ebp - 0x538], ax
call fcn.00404420
mov dword [ebp - 4], 1
lea eax, [ebp - 0x538]
push eax
call fcn.00423e80
mov ecx, eax
call fcn.00423f40
mov edi, eax
mov dword [ebp - 0x504], edi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x524]
cmp edx, 8
jb 0x41dd7b
mov ecx, dword [ebp - 0x538]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41dd71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e180
push edx
push ecx
call fcn.00502621
add esp, 8
xor eax, eax
mov dword [ebp - 0x528], 0
mov dword [ebp - 0x524], 7
mov word [ebp - 0x538], ax
test edi, edi
je 0x41dcd4
push 0xb
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], eax
push str.Secur32.dll
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404420
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
call fcn.00423e80
mov ecx, eax
call fcn.00423f40
mov edi, eax
mov dword [ebp - 0x4f8], edi
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41de23
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41de19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e185
push edx
push ecx
call fcn.00502621
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test edi, edi
je 0x41dcd4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateWellKnownSid
push esi
call edi
mov dword [ebp - 0x4d4], eax
test eax, eax
je 0x41dcd4
push str.LookupAccountNameW
push esi
call edi
mov dword [ebp - 0x508], eax
test eax, eax
je 0x41dcd4
push str.NetUserGetLocalGroups
push dword [ebp - 0x504]
call edi
mov dword [ebp - 0x4dc], eax
test eax, eax
je 0x41dcd4
push str.NetApiBufferFree
push dword [ebp - 0x504]
call edi
mov dword [ebp - 0x4fc], eax
test eax, eax
je 0x41dcd4
push str.EqualSid
push esi
call edi
mov dword [ebp - 0x4e0], eax
test eax, eax
je 0x41dcd4
push str.GetUserNameExW
push dword [ebp - 0x4f8]
call edi
mov esi, eax
xor al, al
test esi, esi
je 0x41e160
push 0x20a
mov dword [ebp - 0x500], eax
lea eax, [ebp - 0x2c4]
push 0
push eax
call fcn.00504c10
add esp, 0xc
mov dword [ebp - 0x4e4], 0x104
lea ecx, [ebp - 0x4d8]
mov dword [ebp - 0x4d8], 0
call fcn.0041c2e0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x4d8]
call fcn.0041cb10
test al, al
je 0x41df4e
lea eax, [ebp - 0x4e4]
push eax
lea eax, [ebp - 0x2c4]
push eax
push 2
call esi
lea ecx, [ebp - 0x4d8]
mov esi, eax
call fcn.0041ce80
test esi, esi
je 0x41e140
lea eax, [ebp - 0x4e8]
mov dword [ebp - 0x4e8], 0x44
push eax
lea eax, [ebp - 0xb8]
push eax
push 0
push 0x1a
call dword [ebp - 0x4d4]
lea eax, [ebp - 0x4ec]
mov dword [ebp - 0x4f8], 0
push eax
lea eax, [ebp - 0x4d4]
mov dword [ebp - 0x4d4], 0
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x4f8]
mov dword [ebp - 0x4ec], 0
push eax
push 1
push 0
lea eax, [ebp - 0x2c4]
push eax
push 0
call dword [ebp - 0x4dc]
test eax, eax
jne 0x41e076
mov edi, dword [ebp - 0x4f8]
xor esi, esi
cmp dword [ebp - 0x4d4], esi
jbe 0x41e070
nop dword [eax]
nop dword [eax + eax]
push 0x20a
lea eax, [ebp - 0x4d0]
push 0
push eax
call fcn.00504c10
push 0x44
lea eax, [ebp - 0x74]
mov dword [ebp - 0x4dc], 0x104
push 0
push eax
call fcn.00504c10
add esp, 0x18
mov dword [ebp - 0x4f0], 0x44
lea eax, [ebp - 0x4f4]
push eax
lea eax, [ebp - 0x4dc]
push eax
lea eax, [ebp - 0x4d0]
push eax
lea eax, [ebp - 0x4f0]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [edi]
push 0
call dword [ebp - 0x508]
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xb8]
push eax
call dword [ebp - 0x4e0]
test eax, eax
jne 0x41e068
inc esi
add edi, 4
cmp esi, dword [ebp - 0x4d4]
jb 0x41dfe0
jmp 0x41e070
mov al, 1
mov dword [ebp - 0x500], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [ebp - 0x4f8]
mov esi, dword [ebp - 0x4fc]
test eax, eax
je 0x41e089
push eax
call esi
mov eax, dword [ebp - 0x500]
test al, al
jne 0x41e142
lea eax, [ebp - 0x4e0]
mov dword [ebp - 0x4e0], 0xf
push eax
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push 2
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x41e140
lea ecx, [ebp - 0x30]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e0d0
sub ecx, edx
sar ecx, 1
je 0x41e140
push str.NetUserGetInfo
push dword [ebp - 0x504]
call edi
test eax, eax
je 0x41e140
lea ecx, [ebp - 0x4fc]
mov dword [ebp - 0x4fc], 0
push ecx
push 1
lea ecx, [ebp - 0x2c4]
push ecx
lea ecx, [ebp - 0x30]
push ecx
call eax
mov ecx, dword [ebp - 0x4fc]
test eax, eax
jne 0x41e137
mov eax, dword [ebp - 0x500]
mov edx, 1
cmp dword [ecx + 0xc], 2
movzx eax, al
cmove eax, edx
mov dword [ebp - 0x500], eax
test ecx, ecx
je 0x41e148
push ecx
call esi
jmp 0x41e148
xor al, al
mov dword [ebp - 0x500], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4d8]
call fcn.0041c360
mov eax, dword [ebp - 0x500]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00502346
mov esp, ebp
pop ebp
ret
call fcn.00506759
call fcn.00506759
call fcn.00506759
int3