Function at 0x10021520
Capabilities:
Get domain information
Get hostname
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e133
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x10071080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
mov dword [ebp - 0x6e4], ebx
mov dword [ebp - 0x704], ebx
mov dword [ebp - 0x6e8], 0
push 7
mov edx, str.DDd
mov dword [ebp - 4], 1
call fcn.100206e0
add esp, 4
mov edx, esi
mov dword [ebp - 0x6e8], 1
lea ecx, [ebp - 0x30]
call fcn.1000d780
mov byte [ebp - 4], 2
mov esi, eax
cmp dword [eax + 0x14], 7
jbe 0x100215a0
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp edx, eax
ja 0x100215e4
cmp dword [ebx + 0x14], 7
lea eax, [ecx + edx]
mov dword [ebp - 0x6dc], eax
mov edi, ebx
mov dword [ebx + 0x10], eax
jbe 0x100215c5
mov edi, dword [ebx]
lea eax, [edx + edx]
push eax
lea ecx, [edi + ecx*2]
push esi
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6dc]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x100215fb
push edx
push esi
mov byte [ebp - 0x6dc], 0
mov ecx, ebx
push dword [ebp - 0x6dc]
push edx
call fcn.1000c990
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x10021639
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002162f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002282a
push ecx
push edx
call fcn.10038149
add esp, 8
push 0x14
mov edx, 0x10071c5c
lea ecx, [ebp - 0x30]
call fcn.100206e0
add esp, 4
mov byte [ebp - 4], 3
mov esi, eax
cmp dword [eax + 0x14], 7
jbe 0x10021659
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp edx, eax
ja 0x1002169d
cmp dword [ebx + 0x14], 7
lea eax, [ecx + edx]
mov dword [ebp - 0x6dc], eax
mov edi, ebx
mov dword [ebx + 0x10], eax
jbe 0x1002167e
mov edi, dword [ebx]
lea eax, [edx + edx]
push eax
lea ecx, [edi + ecx*2]
push esi
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6dc]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x100216b4
push edx
push esi
mov byte [ebp - 0x6dc], 0
mov ecx, ebx
push dword [ebp - 0x6dc]
push edx
call fcn.1000c990
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x100216f2
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100216e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002282f
push ecx
push edx
call fcn.10038149
add esp, 8
cmp dword [ebp + 8], 0
je 0x100226ad
push 0xc
mov edx, str.DDv
lea ecx, [ebp - 0x30]
call fcn.100206e0
add esp, 4
mov byte [ebp - 4], 4
mov esi, eax
cmp dword [eax + 0x14], 7
jbe 0x1002171c
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp edx, eax
ja 0x10021760
cmp dword [ebx + 0x14], 7
lea eax, [ecx + edx]
mov dword [ebp - 0x6dc], eax
mov edi, ebx
mov dword [ebx + 0x10], eax
jbe 0x10021741
mov edi, dword [ebx]
lea eax, [edx + edx]
push eax
lea ecx, [edi + ecx*2]
push esi
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6dc]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x10021777
push edx
push esi
mov byte [ebp - 0x6dc], 0
mov ecx, ebx
push dword [ebp - 0x6dc]
push edx
call fcn.1000c990
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x100217b5
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100217ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022834
push ecx
push edx
call fcn.10038149
add esp, 8
push 0x100687f8
lea ecx, [ebp - 0x6b8]
mov dword [ebp - 0x6e0], 0
call fcn.10008fb0
lea eax, [ebp - 0x6e0]
mov byte [ebp - 4], 5
push eax
push 1
push 0
mov dword [ebp - 0x6e8], 3
call dword [sym.imp.NETAPI32.dll_DsRoleGetPrimaryDomainInformation]
test eax, eax
jne 0x100218da
mov eax, dword [ebp - 0x6e0]
mov edx, dword [eax + 0xc]
test edx, edx
jne 0x10021856
mov eax, dword [ebp - 0x6a4]
cmp eax, 9
jb 0x10021840
cmp eax, 7
mov dword [ebp - 0x6a8], 9
push 0x12
lea esi, [ebp - 0x6b8]
cmova esi, dword [ebp - 0x6b8]
push str.WORKGROUP
push esi
call fcn.100397b0
add esp, 0xc
xor eax, eax
mov word [esi + 0x12], ax
jmp 0x100218bf
push str.WORKGROUP
mov byte [ebp - 0x6dc], 0
push dword [ebp - 0x6dc]
push 9
jmp 0x100218b4
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10021860
mov eax, dword [ebp - 0x6a4]
sub ecx, esi
sar ecx, 1
cmp ecx, eax
ja 0x100218a5
lea esi, [ecx + ecx]
mov dword [ebp - 0x6a8], ecx
cmp eax, 7
lea edi, [ebp - 0x6b8]
push esi
cmova edi, dword [ebp - 0x6b8]
push edx
push edi
call fcn.100397b0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x100218bf
push edx
mov byte [ebp - 0x6dc], 0
push dword [ebp - 0x6dc]
push ecx
lea ecx, [ebp - 0x6b8]
call fcn.1000b6f0
mov eax, dword [ebp - 0x6e0]
test eax, eax
je 0x100218da
push eax
call dword [sym.imp.NETAPI32.dll_DsRoleFreeMemory]
mov dword [ebp - 0x6e0], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x6e8], 0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x6b8]
cmp dword [ebp - 0x6a4], 7
mov ecx, dword [ebx + 0x14]
mov eax, ecx
cmova edx, dword [ebp - 0x6b8]
mov edi, dword [ebx + 0x10]
sub eax, edi
mov esi, dword [ebp - 0x6a8]
cmp esi, eax
ja 0x10021954
mov dword [ebp - 0x6dc], ebx
lea eax, [esi + edi]
mov dword [ebx + 0x10], eax
mov eax, ebx
cmp ecx, 7
jbe 0x10021932
mov eax, dword [ebx]
mov dword [ebp - 0x6dc], eax
lea ecx, [eax + edi*2]
lea eax, [esi + esi]
push eax
push edx
push ecx
call fcn.100397b0
mov ecx, dword [ebp - 0x6dc]
lea eax, [edi + esi]
add esp, 0xc
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x1002196b
push esi
push edx
mov byte [ebp - 0x6dc], 0
mov ecx, ebx
push dword [ebp - 0x6dc]
push esi
call fcn.1000c990
push 0xf
mov edx, 0x10071ccc
lea ecx, [ebp - 0x30]
call fcn.100206e0
add esp, 4
mov byte [ebp - 4], 7
mov esi, eax
cmp dword [eax + 0x14], 7
jbe 0x1002198b
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp edx, eax
ja 0x100219cf
cmp dword [ebx + 0x14], 7
lea eax, [ecx + edx]
mov dword [ebp - 0x6dc], eax
mov edi, ebx
mov dword [ebx + 0x10], eax
jbe 0x100219b0
mov edi, dword [ebx]
lea eax, [edx + edx]
push eax
lea ecx, [edi + ecx*2]
push esi
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6dc]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x100219e6
push edx
push esi
mov byte [ebp - 0x6dc], 0
mov ecx, ebx
push dword [ebp - 0x6dc]
push edx
call fcn.1000c990
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x10021a24
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10021a1a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022839
push ecx
push edx
call fcn.10038149
add esp, 8
lea eax, [ebp - 0x6d4]
mov dword [ebp - 0x6d4], pe_nt_image_headers32
push eax
lea eax, [ebp - 0x49c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x10021b4e
lea eax, [ebp - 0x49c]
push eax
lea ecx, [ebp - 0x30]
call fcn.10008fb0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x5c]
call fcn.100090e0
mov byte [ebp - 4], 9
mov esi, eax
cmp dword [eax + 0x14], 7
jbe 0x10021a77
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp edx, eax
ja 0x10021abb
cmp dword [ebx + 0x14], 7
lea eax, [ecx + edx]
mov dword [ebp - 0x6dc], eax
mov edi, ebx
mov dword [ebx + 0x10], eax
jbe 0x10021a9c
mov edi, dword [ebx]
lea eax, [edx + edx]
push eax
lea ecx, [edi + ecx*2]
push esi
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6dc]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x10021ad2
push edx
push esi
mov byte [ebp - 0x6dc], 0
mov ecx, ebx
push dword [ebp - 0x6dc]
push edx
call fcn.1000c990
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x10021b10
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10021b06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002283e
push ecx
push edx
call fcn.10038149
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x10021b4e
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10021b44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002286b
push ecx
push edx
call fcn.10038149
add esp, 8
push 0x13
mov edx, 0x10071c48
lea ecx, [ebp - 0x30]
call fcn.100206e0
add esp, 4
mov byte [ebp - 4], 0xa
mov esi, eax
cmp dword [eax + 0x14], 7
jbe 0x10021b6e
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp edx, eax
ja 0x10021bb2
cmp dword [ebx + 0x14], 7
lea eax, [ecx + edx]
mov dword [ebp - 0x6dc], eax
mov edi, ebx
mov dword [ebx + 0x10], eax
jbe 0x10021b93
mov edi, dword [ebx]
lea eax, [edx + edx]
push eax
lea ecx, [edi + ecx*2]
push esi
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6dc]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x10021bc9
push edx
push esi
mov byte [ebp - 0x6dc], 0
mov ecx, ebx
push dword [ebp - 0x6dc]
push edx
call fcn.1000c990
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x10021c07
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10021bfd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022843
push ecx
push edx
call fcn.10038149
add esp, 8
lea eax, [ebp - 0x6d8]
mov dword [ebp - 0x6d8], pe_nt_image_headers32
push eax
lea eax, [ebp - 0x69c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x10021d31
lea eax, [ebp - 0x69c]
push eax
lea ecx, [ebp - 0x30]
call fcn.10008fb0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x5c]
call fcn.100090e0
mov byte [ebp - 4], 0xc
mov esi, eax
cmp dword [eax + 0x14], 7
jbe 0x10021c5a
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp edx, eax
ja 0x10021c9e
cmp dword [ebx + 0x14], 7
lea eax, [ecx + edx]
mov dword [ebp - 0x6dc], eax
mov edi, ebx
mov dword [ebx + 0x10], eax
jbe 0x10021c7f
mov edi, dword [ebx]
lea eax, [edx + edx]
push eax
lea ecx, [edi + ecx*2]
push esi
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6dc]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x10021cb5
push edx
push esi
mov byte [ebp - 0x6dc], 0
mov ecx, ebx
push dword [ebp - 0x6dc]
push edx
call fcn.1000c990
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x10021cf3
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10021ce9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022848
push ecx
push edx
call fcn.10038149
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x10021d31
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10021d27
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002286b
push ecx
push edx
call fcn.10038149
add esp, 8
push 0xf
mov edx, 0x10071cbc
lea ecx, [ebp - 0x30]
call fcn.100206e0
add esp, 4
mov byte [ebp - 4], 0xd
mov esi, eax
cmp dword [eax + 0x14], 7
jbe 0x10021d51
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp edx, eax
ja 0x10021d95
cmp dword [ebx + 0x14], 7
lea eax, [ecx + edx]
mov dword [ebp - 0x6dc], eax
mov edi, ebx
mov dword [ebx + 0x10], eax
jbe 0x10021d76
mov edi, dword [ebx]
lea eax, [edx + edx]
push eax
lea ecx, [edi + ecx*2]
push esi
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6dc]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x10021dac
push edx
push esi
mov byte [ebp - 0x6dc], 0
mov ecx, ebx
push dword [ebp - 0x6dc]
push edx
call fcn.1000c990
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x10021dea
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10021de0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002284d
push ecx
push edx
call fcn.10038149
add esp, 8
lea eax, [ebp - 0x6a0]
mov dword [ebp - 0x6a0], pe_nt_image_headers32
push eax
lea eax, [ebp - 0x29c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x6dc]
xor esi, esi
push eax
push 1
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x6dc], esi
push eax
push esi
call dword [sym.imp.NETAPI32.dll_NetUserGetInfo]
test eax, eax
mov eax, dword [ebp - 0x6dc]
jne 0x10021e34
mov esi, dword [eax + 0xc]
test eax, eax
je 0x10021e3f
push eax
call dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
lea ecx, [ebp - 0x16]
mov eax, 0xcccccccd
sub ecx, 2
mul esi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub esi, eax
add esi, 0x30
mov word [ecx], si
mov esi, edx
test esi, esi
jne 0x10021e42
push ecx
lea eax, [ebp - 0x16]
push eax
push ecx
lea ecx, [ebp - 0x700]
call fcn.10017050
mov dword [ebp - 0x6e8], 0xc
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x700]
mov edi, dword [ebp - 0x6ec]
cmp edi, 7
mov edx, dword [ebx + 0x10]
mov esi, dword [ebp - 0x700]
cmova ecx, esi
mov eax, dword [ebx + 0x14]
sub eax, edx
mov dword [ebp - 0x6a0], edx
mov edx, dword [ebp - 0x6f0]
mov dword [ebp - 0x6e4], ecx
cmp edx, eax
ja 0x10021f09
cmp dword [ebx + 0x14], 7
mov ecx, dword [ebp - 0x6a0]
mov dword [ebp - 0x6dc], ebx
lea eax, [ecx + edx]
mov dword [ebp - 0x6a0], eax
mov dword [ebx + 0x10], eax
mov eax, ebx
jbe 0x10021edf
mov eax, dword [ebx]
mov dword [ebp - 0x6dc], eax
lea ecx, [eax + ecx*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x6e4]
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6dc]
add esp, 0xc
mov ecx, dword [ebp - 0x6a0]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x10021f2c
push edx
push ecx
mov byte [ebp - 0x6e4], 0
mov ecx, ebx
push dword [ebp - 0x6e4]
push edx
call fcn.1000c990
mov edi, dword [ebp - 0x6ec]
mov esi, dword [ebp - 0x700]
mov byte [ebp - 4], 6
cmp edi, 7
jbe 0x10021f64
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x10021f5a
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002286b
push ecx
push esi
call fcn.10038149
add esp, 8
push 8
mov edx, 0x10071ca0
lea ecx, [ebp - 0x30]
call fcn.100206e0
add esp, 4
mov byte [ebp - 4], 0xf
mov esi, eax
cmp dword [eax + 0x14], 7
jbe 0x10021f84
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp edx, eax
ja 0x10021fc8
cmp dword [ebx + 0x14], 7
lea eax, [ecx + edx]
mov dword [ebp - 0x6e4], eax
mov edi, ebx
mov dword [ebx + 0x10], eax
jbe 0x10021fa9
mov edi, dword [ebx]
lea eax, [edx + edx]
push eax
lea ecx, [edi + ecx*2]
push esi
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6e4]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x10021fdf
push edx
push esi
mov byte [ebp - 0x6e4], 0
mov ecx, ebx
push dword [ebp - 0x6e4]
push edx
call fcn.1000c990
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x1002201d
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10022013
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022852
push ecx
push edx
call fcn.10038149
add esp, 8
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1002206b
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x1002206b
push 0x110
lea eax, [ebp - 0x1b0]
push 0
push eax
call fcn.10039d30
add esp, 0xc
mov dword [ebp - 0x1b4], 0x114
lea eax, [ebp - 0x1b4]
push eax
call esi
test eax, eax
je 0x10022081
push 0x114
lea eax, [ebp - 0x1b4]
push 0
push eax
call fcn.10039d30
add esp, 0xc
mov ecx, 0x45
lea edi, [ebp - 0x81c]
lea esi, [ebp - 0x1b4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x814]
lea esi, [ebp - 0x42]
nop dword [eax]
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x100220a0
push ecx
lea eax, [ebp - 0x42]
push eax
push esi
lea ecx, [ebp - 0x6d0]
call fcn.10017050
mov dword [ebp - 0x6e8], 0xcc
mov byte [ebp - 4], 0x10
lea esi, [ebp - 0x6e]
mov ecx, dword [ebp - 0x818]
nop dword [eax + eax]
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x100220f0
push ecx
lea eax, [ebp - 0x6e]
push eax
push esi
lea ecx, [ebp - 0x700]
call fcn.10017050
mov dword [ebp - 0x6e8], 0xfc
push 0x10069390
lea edx, [ebp - 0x700]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x30]
call fcn.1000b170
add esp, 4
lea ecx, [ebp - 0x6d0]
mov byte [ebp - 4], 0x12
push ecx
push eax
push dword [ebp - 0x704]
lea ecx, [ebp - 0x5c]
call fcn.1000be60
mov dword [ebp - 0x6e8], 0x1fc
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x100221a7
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002219d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022857
push ecx
push edx
call fcn.10038149
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x6ec]
cmp ecx, 7
jbe 0x100221ff
mov edx, dword [ebp - 0x700]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100221f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022857
push ecx
push edx
call fcn.10038149
add esp, 8
xor eax, eax
mov dword [ebp - 0x6f0], 0
mov dword [ebp - 0x6ec], 7
mov word [ebp - 0x700], ax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x6bc]
cmp ecx, 7
jbe 0x10022260
mov edx, dword [ebp - 0x6d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10022256
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022857
push ecx
push edx
call fcn.10038149
add esp, 8
cmp dword [ebp - 0x48], 7
lea esi, [ebp - 0x5c]
mov eax, dword [ebx + 0x14]
cmova esi, dword [ebp - 0x5c]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
mov edx, dword [ebp - 0x4c]
cmp edx, eax
ja 0x100222af
cmp dword [ebx + 0x14], 7
lea eax, [edx + ecx]
mov dword [ebp - 0x6e4], eax
mov edi, ebx
mov dword [ebx + 0x10], eax
jbe 0x10022290
mov edi, dword [ebx]
lea eax, [edx + edx]
push eax
lea ecx, [edi + ecx*2]
push esi
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6e4]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x100222c6
push edx
push esi
mov byte [ebp - 0x6e4], 0
mov ecx, ebx
push dword [ebp - 0x6e4]
push edx
call fcn.1000c990
push 0xe
mov edx, str.DD6
lea ecx, [ebp - 0x6d0]
call fcn.100206e0
add esp, 4
mov byte [ebp - 4], 0x17
mov esi, eax
cmp dword [eax + 0x14], 7
jbe 0x100222e9
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp edx, eax
ja 0x1002232d
cmp dword [ebx + 0x14], 7
lea eax, [ecx + edx]
mov dword [ebp - 0x6e4], eax
mov edi, ebx
mov dword [ebx + 0x10], eax
jbe 0x1002230e
mov edi, dword [ebx]
lea eax, [edx + edx]
push eax
lea ecx, [edi + ecx*2]
push esi
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6e4]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x10022344
push edx
push esi
mov byte [ebp - 0x6e4], 0
mov ecx, ebx
push dword [ebp - 0x6e4]
push edx
call fcn.1000c990
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x6bc]
cmp ecx, 7
jbe 0x10022388
mov edx, dword [ebp - 0x6d0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002237e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002285c
push ecx
push edx
call fcn.10038149
add esp, 8
mov ecx, dword [ebp - 0x810]
lea esi, [ebp - 0x6e]
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x10022391
push ecx
lea eax, [ebp - 0x6e]
push eax
push esi
lea ecx, [ebp - 0x6d0]
call fcn.10017050
mov dword [ebp - 0x6e8], 0x7fc
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x6d0]
cmp dword [ebp - 0x6bc], 7
mov edi, dword [ebp - 0x6d0]
mov esi, dword [ebx + 0x10]
cmova ecx, edi
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 0x6c0]
sub eax, esi
mov dword [ebp - 0x6a0], ecx
mov dword [ebp - 0x6e4], esi
cmp edx, eax
ja 0x10022444
cmp dword [ebx + 0x14], 7
lea eax, [edx + esi]
mov dword [ebp - 0x6dc], eax
mov esi, ebx
mov dword [ebx + 0x10], eax
jbe 0x1002241a
mov esi, dword [ebx]
mov eax, dword [ebp - 0x6e4]
lea ecx, [esi + eax*2]
lea eax, [edx + edx]
push eax
push dword [ebp - 0x6a0]
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6dc]
add esp, 0xc
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x10022461
push edx
push ecx
mov byte [ebp - 0x6e4], 0
mov ecx, ebx
push dword [ebp - 0x6e4]
push edx
call fcn.1000c990
mov edi, dword [ebp - 0x6d0]
push 0xe
mov edx, 0x10071c90
lea ecx, [ebp - 0x30]
call fcn.100206e0
add esp, 4
mov byte [ebp - 4], 0x19
mov esi, eax
cmp dword [eax + 0x14], 7
jbe 0x10022481
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp edx, eax
ja 0x100224d7
cmp dword [ebx + 0x14], 7
lea eax, [ecx + edx]
mov dword [ebp - 0x6e4], eax
mov dword [ebx + 0x10], eax
mov eax, ebx
mov dword [ebp - 0x6dc], ebx
jbe 0x100224b2
mov eax, dword [ebx]
mov dword [ebp - 0x6dc], eax
lea ecx, [eax + ecx*2]
lea eax, [edx + edx]
push eax
push esi
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6dc]
add esp, 0xc
mov ecx, dword [ebp - 0x6e4]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x100224ee
push edx
push esi
mov byte [ebp - 0x6e4], 0
mov ecx, ebx
push dword [ebp - 0x6e4]
push edx
call fcn.1000c990
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x1002252c
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10022522
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022861
push ecx
push edx
call fcn.10038149
add esp, 8
lea ecx, [ebp - 0x30]
call fcn.1000d360
mov byte [ebp - 4], 0x1a
mov esi, eax
cmp dword [eax + 0x14], 7
jbe 0x10022542
mov esi, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
cmp edx, eax
ja 0x10022598
cmp dword [ebx + 0x14], 7
lea eax, [ecx + edx]
mov dword [ebp - 0x6e4], eax
mov dword [ebx + 0x10], eax
mov eax, ebx
mov dword [ebp - 0x6dc], ebx
jbe 0x10022573
mov eax, dword [ebx]
mov dword [ebp - 0x6dc], eax
lea ecx, [eax + ecx*2]
lea eax, [edx + edx]
push eax
push esi
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6dc]
add esp, 0xc
mov ecx, dword [ebp - 0x6e4]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x100225af
push edx
push esi
mov byte [ebp - 0x6e4], 0
mov ecx, ebx
push dword [ebp - 0x6e4]
push edx
call fcn.1000c990
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x100225ed
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100225e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022866
push ecx
push edx
call fcn.10038149
add esp, 8
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x6bc]
cmp eax, 7
jbe 0x1002262b
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x10022621
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002286b
push ecx
push edi
call fcn.10038149
add esp, 8
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x48]
cmp eax, 7
jbe 0x10022669
mov edx, dword [ebp - 0x5c]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002265f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002286b
push ecx
push edx
call fcn.10038149
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x6a4]
cmp ecx, 7
jbe 0x100226ad
mov edx, dword [ebp - 0x6b8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100226a3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002286b
push ecx
push edx
call fcn.10038149
add esp, 8
push 0x10069394
mov ecx, ebx
call fcn.1000bde0
cmp dword [ebp + 0x20], 7
lea edx, [ebp + 0xc]
mov ecx, dword [ebx + 0x10]
cmova edx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x14]
mov esi, dword [ebp + 0x1c]
sub eax, ecx
mov dword [ebp - 0x6e4], ecx
cmp esi, eax
ja 0x1002270a
cmp dword [ebx + 0x14], 7
lea eax, [ecx + esi]
mov dword [ebx + 0x10], eax
mov edi, ebx
jbe 0x100226e9
mov edi, dword [ebx]
lea eax, [esi + esi]
push eax
lea ecx, [edi + ecx*2]
push edx
push ecx
call fcn.100397b0
mov eax, dword [ebp - 0x6e4]
add esp, 0xc
add eax, esi
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x10022721
push esi
push edx
mov byte [ebp - 0x6e4], 0
mov ecx, ebx
push dword [ebp - 0x6e4]
push esi
call fcn.1000c990
push 2
mov edx, 0x10071c84
lea ecx, [ebp - 0x30]
call fcn.100206e0
add esp, 4
mov byte [ebp - 4], 0x1b
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x10022741
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebx + 0x14]
mov esi, dword [ebx + 0x10]
sub eax, esi
cmp ecx, eax
ja 0x10022785
cmp dword [ebx + 0x14], 7
lea eax, [esi + ecx]
mov dword [ebp - 0x6e4], eax
mov edi, ebx
mov dword [ebx + 0x10], eax
jbe 0x10022766
mov edi, dword [ebx]
lea eax, [ecx + ecx]
push eax
push edx
lea eax, [edi + esi*2]
push eax
call fcn.100397b0
mov eax, dword [ebp - 0x6e4]
add esp, 0xc
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x1002279c
push ecx
push edx
mov byte [ebp - 0x6e4], 0
push dword [ebp - 0x6e4]
push ecx
mov ecx, ebx
call fcn.1000c990
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x100227d6
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100227cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022870
push ecx
push edx
call fcn.10038149
add esp, 8
mov ecx, dword [ebp + 0x20]
cmp ecx, 7
jbe 0x1002280c
mov edx, dword [ebp + 0xc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10022802
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10022875
push ecx
push edx
call fcn.10038149
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1003813b
mov esp, ebp
pop ebp
ret
call fcn.1003cefa
call fcn.1003cefa
call fcn.1003cefa
call fcn.1003cefa
call fcn.1003cefa
call fcn.1003cefa
call fcn.1003cefa
call fcn.1003cefa
call fcn.1003cefa
call fcn.1003cefa
call fcn.1003cefa
call fcn.1003cefa
call fcn.1003cefa
call fcn.1003cefa
call fcn.1003cefa
call fcn.1003cefa
int3