Function at 0x100130c0
Capabilities:
Get hostname
Get session user name
Get user security identifier
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100be0c1
mov eax, dword fs:[0]
push eax
sub esp, 0x6b4
mov eax, dword [0x1010001c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov edi, ecx
mov dword [ebp - 0x690], edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x6bc], edi
mov dword [ebp - 0x6b8], 0
mov dword [ebp - 4], 2
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 1
xor esi, esi
mov dword [ebp - 0x6b8], 1
mov dword [ebp - 0x6b4], esi
xor bh, bh
mov dword [ebp - 0x6a8], esi
mov dword [ebp - 0x69c], esi
call dword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x10014060
lea ecx, [ebp - 0x6ac]
mov dword [ebp - 0x6ac], esi
push ecx
push eax
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x10014060
push dword [ebp - 0x6ac]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x10014060
push 0x100
lea eax, [ebp - 0x210]
mov bh, 1
push esi
push eax
call fcn.1008c730
add esp, 0xc
mov dword [ebp - 0x694], 0x7f
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x10014060
push 0x100
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1008c730
add esp, 0xc
mov dword [ebp - 0x698], 0x7f
lea eax, [ebp - 0x698]
push eax
lea eax, [ebp - 0x110]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x10014060
xor eax, eax
mov dword [ebp - 0x618], esi
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x614], esi
mov dword [ebp - 0x618], esi
lea edx, [ecx + 2]
mov dword [ebp - 0x614], 7
mov word [ebp - 0x628], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013234
sub ecx, edx
lea eax, [ebp - 0x110]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x628]
call fcn.10003a30
lea ecx, [ebp - 0x628]
mov byte [ebp - 4], 3
call fcn.10004080
test eax, eax
je 0x1001327b
push 1
push 0x100e1b24
lea ecx, [ebp - 0x628]
call fcn.10004120
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013284
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x628]
call fcn.10004120
cmp dword [ebp - 0x614], 8
lea ecx, [ebp - 0x690]
mov esi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [ebp - 0x628]
cmovae eax, dword [ebp - 0x628]
push ecx
lea ecx, [ebp - 0x6a0]
mov dword [ebp - 0x6a4], 0
push ecx
push 0
lea ecx, [ebp - 0x6a4]
mov dword [ebp - 0x6a0], 0
push ecx
push 0
push eax
push 0
call esi
push dword [ebp - 0x6a4]
call fcn.100923bc
mov dword [ebp - 0x6b0], eax
xor ecx, ecx
mov eax, dword [ebp - 0x6a0]
add esp, 4
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100923bc
mov ecx, dword [ebp - 0x6b0]
add esp, 4
mov edx, eax
mov dword [ebp - 0x6b4], edx
test ecx, ecx
je 0x10013ff5
test edx, edx
je 0x10013ff5
cmp dword [ebp - 0x614], 8
lea esi, [ebp - 0x690]
push esi
lea esi, [ebp - 0x6a0]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [ebp - 0x628]
cmovae eax, dword [ebp - 0x628]
push edx
lea edx, [ebp - 0x6a4]
push edx
push ecx
push eax
push 0
call esi
test eax, eax
jne 0x100133e3
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x614]
cmp edx, 8
jb 0x100133c1
mov ecx, dword [ebp - 0x628]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100133b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014122
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 7
mov word [ebp - 0x628], ax
jmp 0x10014056
mov esi, dword [ebp - 0x6b0]
lea eax, [ebp - 0x6a8]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
test eax, eax
jne 0x10013461
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x614]
cmp edx, 8
jb 0x1001343f
mov ecx, dword [ebp - 0x628]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013435
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014127
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 7
mov word [ebp - 0x628], ax
jmp 0x1001405c
mov edx, dword [ebp - 0x6a8]
test edx, edx
jne 0x100134d1
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x614]
cmp edx, 8
jb 0x100134af
mov ecx, dword [ebp - 0x628]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100134a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001412c
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 7
mov word [ebp - 0x628], ax
jmp 0x1001405c
mov ecx, edx
mov dword [ebp - 0x630], 0
xor eax, eax
mov dword [ebp - 0x62c], 0
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013507
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x640]
call fcn.10003a30
push 0x100e2078
lea eax, [ebp - 0x640]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.10003d00
add esp, 0xc
lea ecx, [ebp - 0x69c]
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x65c], 8
lea eax, [ebp - 0x670]
push ecx
cmovae eax, dword [ebp - 0x670]
push 0x20019
push 0
push eax
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100136a4
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x65c]
cmp edx, 8
jb 0x100135c0
mov ecx, dword [ebp - 0x670]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100135b6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014131
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x660], 0
mov dword [ebp - 0x65c], 7
mov word [ebp - 0x670], ax
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x62c]
cmp edx, 8
jb 0x10013621
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013617
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014136
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x614]
cmp edx, 8
jb 0x10013682
mov ecx, dword [ebp - 0x628]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013678
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001413b
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 7
mov word [ebp - 0x628], ax
jmp 0x10014056
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x688]
call fcn.10006780
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x658]
push 4
xor eax, eax
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 0
push str.UUID
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 7
mov word [ebp - 0x658], ax
call fcn.10003a30
mov byte [ebp - 4], 0x23
test bl, bl
je 0x1001372e
push 4
push str.UUID
lea ecx, [ebp - 0x688]
call fcn.10003a30
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x658]
push eax
call fcn.10003a30
push 0x200
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.1008c730
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x68c]
add esp, 0xc
mov dword [ebp - 0x68c], 0xff
cmp dword [ebp - 0x674], 8
lea eax, [ebp - 0x688]
cmovae eax, dword [ebp - 0x688]
push ecx
lea ecx, [ebp - 0x410]
push ecx
push 0
push 0
push eax
push dword [ebp - 0x69c]
call esi
test eax, eax
je 0x100139bf
lea ecx, [ebp - 0x68c]
mov dword [ebp - 0x68c], 0xff
push ecx
xor eax, eax
lea ecx, [ebp - 0x410]
cmp dword [ebp - 0x644], 8
push ecx
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x658]
cmovae eax, dword [ebp - 0x658]
push 0
push 0
push eax
push dword [ebp - 0x69c]
call esi
test eax, eax
je 0x100139bf
mov byte [ebp - 4], 0x24
mov edx, dword [ebp - 0x644]
cmp edx, 8
jb 0x10013819
mov ecx, dword [ebp - 0x658]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001380f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014140
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 7
mov word [ebp - 0x658], ax
mov byte [ebp - 4], 0x28
mov edx, dword [ebp - 0x674]
cmp edx, 8
jb 0x1001387a
mov ecx, dword [ebp - 0x688]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013870
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014145
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x678], 0
mov dword [ebp - 0x674], 7
mov word [ebp - 0x688], ax
mov byte [ebp - 4], 0x2c
mov edx, dword [ebp - 0x65c]
cmp edx, 8
jb 0x100138db
mov ecx, dword [ebp - 0x670]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100138d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001414a
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x660], 0
mov dword [ebp - 0x65c], 7
mov word [ebp - 0x670], ax
mov byte [ebp - 4], 0x30
mov edx, dword [ebp - 0x62c]
cmp edx, 8
jb 0x1001393c
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013932
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001414f
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
mov byte [ebp - 4], 0x34
mov edx, dword [ebp - 0x614]
cmp edx, 8
jb 0x1001399d
mov ecx, dword [ebp - 0x628]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013993
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014154
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 7
mov word [ebp - 0x628], ax
jmp 0x10014056
cmp word [ebp - 0x410], 0
jne 0x10013bb7
mov byte [ebp - 4], 0x38
mov edx, dword [ebp - 0x644]
cmp edx, 8
jb 0x10013a11
mov ecx, dword [ebp - 0x658]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013a07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014159
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 7
mov word [ebp - 0x658], ax
mov byte [ebp - 4], 0x3c
mov edx, dword [ebp - 0x674]
cmp edx, 8
jb 0x10013a72
mov ecx, dword [ebp - 0x688]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013a68
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001415e
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x678], 0
mov dword [ebp - 0x674], 7
mov word [ebp - 0x688], ax
mov byte [ebp - 4], 0x40
mov edx, dword [ebp - 0x65c]
cmp edx, 8
jb 0x10013ad3
mov ecx, dword [ebp - 0x670]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013ac9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014163
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x660], 0
mov dword [ebp - 0x65c], 7
mov word [ebp - 0x670], ax
mov byte [ebp - 4], 0x44
mov edx, dword [ebp - 0x62c]
cmp edx, 8
jb 0x10013b34
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013b2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014168
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
mov byte [ebp - 4], 0x48
mov edx, dword [ebp - 0x614]
cmp edx, 8
jb 0x10013b95
mov ecx, dword [ebp - 0x628]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013b8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001416d
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 7
mov word [ebp - 0x628], ax
jmp 0x10014056
push 0x200
lea eax, [ebp - 0x610]
push 0
push eax
call fcn.1008c730
add esp, 0xc
lea eax, [ebp - 0x610]
push 0x100
push eax
lea eax, [ebp - 0x410]
push str.__0_9a_zA_Z_
push eax
call fcn.10012660
add esp, 0x10
test eax, eax
jg 0x10013ddf
mov byte [ebp - 4], 0x4c
mov edx, dword [ebp - 0x644]
cmp edx, 8
jb 0x10013c39
mov ecx, dword [ebp - 0x658]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013c2f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014172
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 7
mov word [ebp - 0x658], ax
mov byte [ebp - 4], 0x50
mov edx, dword [ebp - 0x674]
cmp edx, 8
jb 0x10013c9a
mov ecx, dword [ebp - 0x688]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013c90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014177
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x678], 0
mov dword [ebp - 0x674], 7
mov word [ebp - 0x688], ax
mov byte [ebp - 4], 0x54
mov edx, dword [ebp - 0x65c]
cmp edx, 8
jb 0x10013cfb
mov ecx, dword [ebp - 0x670]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013cf1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001417c
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x660], 0
mov dword [ebp - 0x65c], 7
mov word [ebp - 0x670], ax
mov byte [ebp - 4], 0x58
mov edx, dword [ebp - 0x62c]
cmp edx, 8
jb 0x10013d5c
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013d52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014181
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
mov byte [ebp - 4], 0x5c
mov edx, dword [ebp - 0x614]
cmp edx, 8
jb 0x10013dbd
mov ecx, dword [ebp - 0x628]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013db3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014186
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 7
mov word [ebp - 0x628], ax
jmp 0x10014056
lea ecx, [ebp - 0x610]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013df0
sub ecx, edx
lea eax, [ebp - 0x610]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.10003a30
mov byte [ebp - 4], 0x60
mov edx, dword [ebp - 0x644]
cmp edx, 8
jb 0x10013e52
mov ecx, dword [ebp - 0x658]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013e48
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001418b
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x644], 7
mov word [ebp - 0x658], ax
mov byte [ebp - 4], 0x64
mov edx, dword [ebp - 0x674]
cmp edx, 8
jb 0x10013eb3
mov ecx, dword [ebp - 0x688]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013ea9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014190
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x678], 0
mov dword [ebp - 0x674], 7
mov word [ebp - 0x688], ax
mov byte [ebp - 4], 0x68
mov edx, dword [ebp - 0x65c]
cmp edx, 8
jb 0x10013f14
mov ecx, dword [ebp - 0x670]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013f0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014195
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x660], 0
mov dword [ebp - 0x65c], 7
mov word [ebp - 0x670], ax
mov byte [ebp - 4], 0x6c
mov edx, dword [ebp - 0x62c]
cmp edx, 8
jb 0x10013f75
mov ecx, dword [ebp - 0x640]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013f6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001419a
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 7
mov word [ebp - 0x640], ax
mov byte [ebp - 4], 0x70
mov edx, dword [ebp - 0x614]
cmp edx, 8
jb 0x10013fd6
mov ecx, dword [ebp - 0x628]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10013fcc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001419f
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 7
mov word [ebp - 0x628], ax
jmp 0x10014056
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x614]
cmp edx, 8
jb 0x10014039
mov ecx, dword [ebp - 0x628]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001402f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100141a4
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp - 0x618], 0
mov dword [ebp - 0x614], 7
mov word [ebp - 0x628], ax
mov esi, dword [ebp - 0x6b0]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x69c]
test eax, eax
je 0x10014071
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1001407e
push esi
call fcn.10092162
add esp, 4
mov eax, dword [ebp - 0x6b4]
test eax, eax
je 0x10014091
push eax
call fcn.10092162
add esp, 4
mov eax, dword [ebp - 0x6a8]
test eax, eax
je 0x100140a2
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
test bh, bh
je 0x100140ac
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov dword [ebp - 4], 0x74
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x100140ed
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100140e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100141a9
push edx
push ecx
call fcn.1008a52b
add esp, 8
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov byte [ebp - 4], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008a187
mov esp, ebp
pop ebp
ret
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
call fcn.1008e2b2
int3