Function at 0x464f70
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x514eb9
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5aa4e4]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
xor edi, edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x78], 2
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], 0xa
mov dword [esp + 0x84], 6
mov dword [esp + 0x88], 4
call fcn.00490893
mov dword [esp + 0xa8], edi
lea ecx, [esp + 0x64]
call fcn.00490893
mov byte [esp + 0xa8], 1
xor eax, eax
mov dword [esp + 0x30], eax
lea esp, [esp]
mov ebp, dword [esp + eax*4 + 0x78]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
push edi
lea eax, [esp + 0x54]
push ebp
push eax
call fcn.00462290
add esp, 0xc
mov byte [esp + 0xa8], 2
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x24]
call fcn.00449370
mov byte [esp + 0xa8], 4
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46505b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x3c]
call fcn.004909a1
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
call fcn.0044a900
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4652fe
cmp dword [esp + 0x2c], 0
jne 0x4650d8
lea edx, [esp + 0x4c]
push ebp
push edx
call fcn.004621f0
add esp, 8
mov byte [esp + 0xa8], 0xb
mov eax, dword [eax]
push eax
call dword [0x54050c]
mov dword [esp + 0x2c], eax
mov byte [esp + 0xa8], 4
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4650d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
xor ebx, ebx
test eax, eax
jle 0x4652d4
test ebx, ebx
jl 0x465445
cmp ebx, eax
jge 0x465445
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + ebx*4]
lea edx, [esp + 0x64]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.0044a9f0
mov eax, dword [esp + 0x6c]
xor edi, edi
test eax, eax
jle 0x4652c3
test edi, edi
jl 0x465445
cmp edi, eax
jge 0x465445
cmp ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + edi*4]
jge 0x465445
mov edx, dword [esp + 0x38]
mov eax, dword [edx + ebx*4]
push 0
push ecx
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x30]
call fcn.0044aad0
mov byte [esp + 0xa8], 0xd
lea ecx, [esp + 0x60]
push ebp
push ecx
call fcn.004621f0
add esp, 8
mov byte [esp + 0xa8], 0xe
cmp edi, dword [esp + 0x6c]
mov ecx, dword [eax]
jge 0x465445
cmp ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x68]
mov edx, dword [edx + edi*4]
jge 0x465445
mov eax, dword [esp + 0x38]
mov eax, dword [eax + ebx*4]
mov esi, dword [0x5404d0]
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push edx
push eax
call esi
mov dword [esp + 0x1c], eax
mov byte [esp + 0xa8], 0xd
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4651ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x18], 0
jne 0x465230
push 1
lea ecx, [esp + 0x4c]
push ebp
push ecx
call fcn.00462290
add esp, 0xc
mov byte [esp + 0xa8], 0x10
cmp ebx, dword [esp + 0x3c]
mov ecx, dword [eax]
jge 0x465445
mov edx, dword [esp + 0x38]
mov eax, dword [edx + ebx*4]
push ecx
push 0
push 0
push eax
call esi
mov byte [esp + 0xa8], 0xd
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465230
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x1c], 1
je 0x46528e
lea ecx, [esp + 0x54]
push ebp
push ecx
call fcn.004621f0
add esp, 8
mov esi, eax
mov byte [esp + 0xa8], 0x12
call dword [0x540510]
mov edx, dword [esi]
push eax
push edx
push str.Domain_Controller
call fcn.00447920
add esp, 0xc
mov byte [esp + 0xa8], 0xd
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46528e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa8], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4652b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x6c]
inc edi
cmp edi, eax
jl 0x465116
mov eax, dword [esp + 0x3c]
inc ebx
cmp ebx, eax
jl 0x4650e2
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x4653d5
mov dword [esp + 0x18], 1
mov byte [esp + 0xa8], 1
lea ecx, [esp + 0x20]
call fcn.00448940
mov edi, dword [esp + 0x18]
jmp 0x465010
lea ecx, [esp + 0x8c]
call fcn.0049248f
mov byte [esp + 0xa8], 6
push edi
lea ecx, [esp + 0x5c]
push ebp
push ecx
call fcn.00462290
add esp, 0xc
mov byte [esp + 0xa8], 7
mov eax, dword [eax]
push 0
push 0
push eax
lea ecx, [esp + 0x98]
call fcn.004929db
mov esi, eax
mov byte [esp + 0xa8], 6
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x465366
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4653c1
test edi, edi
jne 0x4653b5
lea ecx, [esp + 0x5c]
push ebp
push ecx
call fcn.004621f0
mov byte [esp + 0xb0], 9
mov eax, dword [eax]
push edi
push eax
call fcn.00463300
add esp, 0x10
mov byte [esp + 0xa8], 6
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4653b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x8c]
call fcn.00492429
mov byte [esp + 0xa8], 4
lea ecx, [esp + 0x8c]
call fcn.00492646
mov byte [esp + 0xa8], 1
lea ecx, [esp + 0x20]
call fcn.00448940
xor edi, edi
cmp dword [esp + 0x1c], edi
jne 0x4653f7
push ebp
call fcn.00464d00
add esp, 4
mov eax, dword [esp + 0x30]
inc eax
cmp eax, 5
mov dword [esp + 0x30], eax
jl 0x465000
mov byte [esp + 0xa8], 0
lea ecx, [esp + 0x64]
call fcn.00490bfc
mov dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.00490bfc
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00480fe6
int3