joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102da5c
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push dword [esi + 0x28]
call fcn.01027232
test eax, eax
je 0x102da75
xor eax, eax
jmp 0x102dac4
push edi
xor edi, edi
cmp dword [0x107445c], edi
jne 0x102daa7
push 0x107445c
push edi
push edi
push edi
push edi
push edi
push edi
push 0x222
push 0x20
push 2
push 0x1073330
call dword [fcn.01001660]
test eax, eax
jge 0x102daa7
xor eax, eax
jmp 0x102dac3
lea eax, [ebp + 8]
push eax
push dword [0x107445c]
push dword [esi + 0x28]
call sub.ADVAPI32.dll_CheckTokenMembership
test eax, eax
jne 0x102dac0
mov dword [ebp + 8], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebp
ret 4

Function at 0x102df8d
Capabilities:
Get domain information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
and dword [ebx], 0
push esi
mov esi, dword [ebp + 0xc]
and dword [esi], 0
lea eax, [ebp + 8]
push eax
push 1
push 0
call sub.NETAPI32.dll_DsRoleGetPrimaryDomainInformation
test eax, eax
jne 0x102dff2
mov edx, dword [ebp + 8]
mov eax, dword [edx]
test eax, eax
je 0x102dfe4
cmp eax, 2
je 0x102dfe4
cmp eax, 4
je 0x102dfea
cmp eax, 5
je 0x102dfea
test byte [edx + 7], 1
je 0x102dfdc
lea eax, [edx + 0x14]
push eax
call fcn.0102df40
test eax, eax
je 0x102dfea
mov dword [ebx], 1
jmp 0x102dfea
mov dword [esi], 1
push edx
call sub.NETAPI32.dll_DsRoleFreeMemory
xor eax, eax
pop esi
pop ebx
pop ebp
ret 8

Function at 0x102dff8
Capabilities:
Get session user name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
cmp dword [ebp + 8], 1
mov dword [ebp - 4], 0x4b
jne 0x102e017
mov dword [ebp - 4], 0xc8
mov eax, dword [ebp - 4]
push ebx
push esi
add eax, eax
push eax
push 0x40
call dword [fcn.01001418]
mov esi, eax
test esi, esi
jne 0x102e037
call dword [fcn.0100149c]
mov ebx, eax
jmp 0x102e0b6
push edi
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
call fcn.0103ee89
test al, al
jne 0x102e0a4
mov edi, dword [fcn.0100149c]
call edi
mov ebx, eax
cmp ebx, 0x7a
je 0x102e07e
cmp ebx, 0xea
je 0x102e07e
cmp ebx, 0x534
je 0x102e0ac
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
ja 0x102e0ac
push 0x3e8
call dword [0x1001414]
jmp 0x102e093
mov eax, dword [ebp - 4]
push 2
add eax, eax
push eax
push esi
call dword [fcn.010012e0]
test eax, eax
je 0x102e0a8
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
call fcn.0103ee89
test al, al
je 0x102e04f
xor ebx, ebx
jmp 0x102e0b5
call edi
mov ebx, eax
push esi
call dword [fcn.010014a0]
xor esi, esi
pop edi
push ebx
call dword [fcn.01001248]
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x102e11a
Capabilities:
Get domain controller name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x107342c]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebx], edi
mov dword [ebp - 0x214], eax
mov dword [ecx], edi
mov eax, dword [eax + 8]
push edi
add eax, 0x28
push eax
mov dword [ebp - 0x21c], ecx
call fcn.010270ab
mov esi, eax
cmp esi, edi
jne 0x102e169
call dword [fcn.0100149c]
jmp 0x102e28a
push 2
call fcn.0102dff8
cmp eax, edi
mov dword [ebp - 0x210], eax
jne 0x102e18d
call dword [fcn.0100149c]
push esi
mov edi, eax
call fcn.01027188
jmp 0x102e288
push esi
call fcn.01027188
mov esi, dword [ebp - 0x210]
mov eax, esi
cmp word [eax], di
je 0x102e1ad
cmp word [esi], 0x5c
je 0x102e1bb
inc esi
inc esi
cmp word [esi], di
jne 0x102e1a0
cmp word [esi], 0x5c
je 0x102e1bb
push 0xd
pop edi
jmp 0x102e27c
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x20c]
mov word [esi], di
push eax
mov dword [ebp - 0x220], 0x104
call dword [0x1001278]
test eax, eax
jne 0x102e1ed
call dword [fcn.0100149c]
mov edi, eax
jmp 0x102e27c
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push eax
call dword [0x1001400]
test eax, eax
jne 0x102e228
lea eax, [ebp - 0x218]
push eax
push edi
add esi, 2
push esi
push edi
call sub.NETAPI32.dll_NetUserGetInfo
test eax, eax
jne 0x102e228
push dword [ebp - 0x218]
mov dword [ebx], 1
jmp 0x102e270
push dword [ebp - 0x214]
call fcn.0102e0c5
test eax, eax
je 0x102e27c
lea eax, [ebp - 0x214]
push eax
push 0x20
push edi
push edi
push dword [ebp - 0x210]
push edi
call dword [sym.imp.NETAPI32.dll_DsGetDcNameW]
test eax, eax
jne 0x102e277
mov eax, dword [ebp - 0x214]
cmp eax, edi
je 0x102e277
test byte [eax + 0x24], 0x10
jne 0x102e26f
mov ecx, dword [ebp - 0x21c]
mov dword [ecx], 1
push eax
call sub.NETAPI32.dll_NetApiBufferFree
jmp 0x102e27c
mov edi, 0x54b
push dword [ebp - 0x210]
call dword [fcn.010014a0]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0103e4d8
leave
ret 0xc
Function at 0x102e2ee
Capabilities:
Impersonate user
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x107342c]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax + 8]
xor ebx, ebx
push eax
mov dword [ebp - 0x124], ebx
call fcn.0102e299
mov dword [esi + 0xb0], eax
lea eax, [ebp - 0x128]
push eax
push 0x20019
push ebx
push 0x1013748
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102e37b
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x150]
push eax
push ebx
push 0x1013724
push dword [ebp - 0x128]
mov dword [ebp - 0x12c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push 0x692
push ebx
push ebx
call fcn.0103c7a3
add esp, 0xc
push 8
pop ecx
xor eax, eax
cmp dword [ebp - 0x124], ebx
lea edi, [ebp - 0x14c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14c], 0x20
pop edi
je 0x102e3b2
or dword [ebp - 0x148], 1
mov eax, dword [esi + 0xc8]
mov dword [ebp - 0x144], eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x140], eax
mov eax, dword [esi + 0x94]
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0x14c]
push eax
push dword [esi + 0x28]
call dword [0x1001970]
test eax, eax
je 0x102e447
mov eax, dword [ebp - 0x130]
mov dword [esi + 0x8c], eax
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [fcn.0100133c]
test eax, eax
je 0x102e443
test byte [ebp - 7], 2
jne 0x102e443
mov eax, dword [esi + 0xb0]
cmp eax, ebx
je 0x102e443
push dword [esi + 0x98]
push dword [esi + 0x90]
push dword [esi + 0xc8]
push dword [ebp - 0x130]
push dword [esi + 0x28]
push eax
call dword [0x1001974]
xor eax, eax
jmp 0x102e453
mov dword [esi + 0x8c], ebx
call dword [fcn.0100149c]
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0103e4d8
leave
ret 4
Function at 0x102e9fa
Capabilities:
Persist via winlogon helper dll registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x107342c]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x218], eax
push 0x1010f48
lea eax, [ebp - 0x20c]
xor esi, esi
push eax
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x210], 0x258
mov dword [ebp - 0x228], esi
call dword [0x100140c]
cmp dword [ebp + 0x10], esi
je 0x102ebfb
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x214]
push eax
push 0x20019
push esi
push 0x1011308
mov ebx, 0x80000002
push ebx
call edi
test eax, eax
jne 0x102eabf
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
push 0x1013960
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x214]
push eax
push 0x20019
push esi
push 0x1013848
push ebx
call edi
test eax, eax
jne 0x102eb15
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
push 0x1013960
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x210]
cmp eax, esi
jne 0x102eb28
or dword [ebp - 0x210], 0xffffffff
jmp 0x102eb47
cmp eax, 0x7d00
jb 0x102eb3b
mov dword [ebp - 0x210], 0x1e84800
jmp 0x102eb47
imul eax, eax, 0x3e8
mov dword [ebp - 0x210], eax
call fcn.0103dac9
mov ebx, eax
cmp ebx, esi
je 0x102ec35
push 1
push ebx
call fcn.0103d664
push ebx
push esi
push 0x400
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x230]
xor eax, eax
cmp dword [ebp + 0xc], esi
push dword [ebp - 0x220]
sete al
push eax
push dword [ebp - 0x218]
call fcn.0103d393
cmp eax, esi
mov dword [ebp - 0x224], eax
je 0x102ec2b
cmp dword [ebp + 0xc], esi
je 0x102ebac
push 2
push dword [ebp - 0x218]
call fcn.01031e59
mov edi, dword [fcn.010012a4]
call edi
push dword [ebp - 0x210]
mov dword [ebp - 0x220], eax
push ebx
call fcn.0103d565
test eax, eax
jne 0x102ebd1
push esi
push ebx
call fcn.0103d5a4
call edi
sub eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x210]
jb 0x102ec2b
push esi
push esi
push esi
push 0x800004c1
push 2
push dword [ebp - 0x218]
call fcn.010200e4
add esp, 0x18
jmp 0x102ec2b
cmp dword [ebp + 0xc], esi
lea eax, [ebp - 0x20c]
je 0x102ec16
push eax
push ebx
push edi
push dword [ebp - 0x218]
call fcn.0103c6a9
jmp 0x102ec35
push esi
push esi
push esi
push ebx
push esi
push esi
push 4
push edi
push eax
call fcn.01029a08
mov ebx, dword [ebp - 0x228]
cmp ebx, esi
je 0x102ec35
push ebx
call fcn.0103db87
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x224]
pop edi
pop esi
pop ebx
call fcn.0103e4d8
leave
ret 0x14
Function at 0x102ec4a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
and dword [ebp - 0xc], 0
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
mov ebx, 0x20019
push ebx
push 0
push 0x1013a50
mov edi, 0x80000002
push edi
call esi
test eax, eax
jne 0x102eca8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1013a2c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push ebx
xor ebx, ebx
push ebx
push 0x10139b8
push edi
call esi
test eax, eax
jne 0x102ecf1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push 0x1013a2c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x102ece8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], ebx
je 0x102ed29
push 0x101399c
call dword [fcn.01001238]
mov esi, eax
cmp esi, ebx
je 0x102ed29
push 0x1013984
push esi
call dword [fcn.01001234]
cmp eax, ebx
je 0x102ed22
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
push esi
call dword [fcn.01001268]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x102fb45
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x107342c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0
push esi
mov esi, 0x258
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x124], esi
jne 0x102fd24
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [fcn.0100133c]
test eax, eax
je 0x102fd24
test byte [ebp - 7], 2
jne 0x102fd24
push ebx
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x128]
push eax
push 0x20019
push 0
push 0x1011308
mov ebx, 0x80000002
push ebx
call edi
test eax, eax
jne 0x102fc05
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x134]
push eax
push 0
push 0x1013960
push dword [ebp - 0x128]
mov dword [ebp - 0x12c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x128]
push eax
push 0x20019
push 0
push 0x1013848
push ebx
call edi
xor ebx, ebx
test eax, eax
jne 0x102fc5e
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x134]
push eax
push ebx
push 0x1013960
push dword [ebp - 0x128]
mov dword [ebp - 0x12c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x124]
cmp eax, ebx
jne 0x102fc71
or eax, 0xffffffff
mov dword [ebp - 0x124], eax
cmp dword [0x1074a18], ebx
mov edi, 0xe10
je 0x102fcc8
cmp eax, edi
ja 0x102fc84
mov eax, edi
push eax
push 0x1013cd4
push ebx
push dword [ebp - 0x130]
call fcn.0102e5e8
neg eax
sbb eax, eax
inc eax
push eax
push 2
push 0x102f24b
call fcn.01039b85
mov eax, dword [ebp - 0x124]
cmp eax, esi
ja 0x102fcb4
mov eax, esi
push eax
push 0x1013c9c
push ebx
push ebx
push 3
push 0x102f5d1
call fcn.01039b85
push edi
push 0x1013c6c
push ebx
mov edi, fcn.0102e5f5
push edi
push ebx
push 0x102e6f7
call fcn.01039c0a
mov eax, dword [ebp - 0x124]
cmp eax, esi
ja 0x102fcec
mov eax, esi
push eax
push 0x1013c38
push ebx
push ebx
push 1
push 0x102f732
call fcn.01039b85
cmp dword [ebp - 0x124], esi
jbe 0x102fd0e
mov esi, dword [ebp - 0x124]
push esi
push 0x1013bf8
push ebx
push edi
push 8
push 0x102f8a7
call fcn.01039c0a
pop edi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.0103e4d8
leave
ret 4

Function at 0x102fd31
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1011308
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x102fd5e
xor eax, eax
jmp 0x102fd94
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push 0x1013d0c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x102fd89
cmp dword [ebp - 0xc], esi
je 0x102fd89
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x1030cc3
Capabilities:
Check processdebugport
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x107342c]
push ebx
push edi
push dword [ebp + 8]
xor ebx, ebx
push ebx
push 0x1f0fff
mov dword [ebp - 4], eax
call dword [fcn.0100135c]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x218], edi
je 0x1030dca
push esi
lea eax, [ebp - 0x21c]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push 7
push edi
call dword [fcn.0100171c]
test eax, eax
mov esi, dword [fcn.01001454]
jl 0x1030dc1
cmp dword [ebp - 0x214], ebx
jne 0x1030dc1
lea eax, [ebp - 0x210]
push eax
push 0x2000000
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1030dc1
push 0x11
xor eax, eax
pop ecx
push dword [ebp + 8]
lea edi, [ebp - 0x270]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x22c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20c]
push 0x1013fb4
push eax
mov dword [ebp - 0x270], 0x44
call dword [fcn.010018ec]
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x270]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1030db9
push dword [ebp - 0x228]
call esi
push dword [ebp - 0x22c]
call esi
push dword [ebp - 0x210]
call esi
push dword [ebp - 0x218]
call esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.0103e4d8
leave
ret 4

Function at 0x103150e
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x20
push 0x10141f0
call fcn.0103e7b6
xor esi, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], esi
mov edi, dword [ebp + 8]
push dword [edi + 8]
call fcn.0102d3af
test eax, eax
je 0x103158b
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x1c]
push eax
push 0x2001b
push esi
push 0x1014180
mov eax, dword [edi + 8]
push dword [eax + 0x68]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x30], eax
cmp eax, esi
jne 0x103158b
mov dword [ebp - 0x20], 4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push esi
push 0x1014158
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x30], eax
or dword [ebp - 4], 0xffffffff
call fcn.010315a4
mov eax, dword [ebp - 0x28]
call fcn.0103e7f1
ret 4
Function at 0x103208c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
push 0x78
pop edi
push edi
push 0x40
call dword [fcn.01001418]
mov ebx, eax
test ebx, ebx
je 0x103210f
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 4]
push eax
push ebx
jmp 0x10320d5
cmp dword [ebp - 8], 0xea
jne 0x10320ef
push 0x42
add edi, edi
push edi
push ebx
call dword [fcn.010012e0]
test eax, eax
je 0x1032103
lea ecx, [ebp - 4]
push ecx
mov ebx, eax
push eax
push dword [ebp + 0x14]
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
mov dword [ebp - 8], eax
jne 0x10320b5
jmp 0x103210c
push ebx
call dword [fcn.010014a0]
push dword [ebp - 8]
xor ebx, ebx
call dword [fcn.01001248]
jmp 0x103210c
push ebx
call dword [fcn.010014a0]
xor ebx, ebx
mov eax, ebx
pop esi
pop edi
pop ebx
leave
ret 0x10

Function at 0x10321ca
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
mov edi, 0x20019
push edi
push 0
push 0x1011308
push 0x80000002
call esi
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jne 0x1032229
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1014324
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
jne 0x1032289
mov eax, dword [ebp + 8]
push dword [eax + 8]
call fcn.0102d3af
test eax, eax
je 0x1032289
lea eax, [ebp - 4]
push eax
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
push 0
push 0x1013848
push dword [eax + 0x68]
call esi
test eax, eax
jne 0x1032281
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1014324
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [edi + 8]
call fcn.0102d428
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x1032350
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
call fcn.01032320
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push 0x2001f
push 0
push 0x1011308
push 0x80000002
call ebx
test eax, eax
jne 0x103242c
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov edi, 0x1014354
push edi
push dword [ebp - 0x10]
mov dword [ebp - 4], 4
call esi
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0x1013848
push 0x80000002
call ebx
test eax, eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x1032425
jmp dword [0x107285c]
push dword [ebp - 0x10]
call ebx
pop edi
pop esi
jmp dword [0x1072308]
Function at 0x103964b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1014600
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10396c3
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x101464c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10396ba
push dword [ebp - 0xc]
call fcn.01039519
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push 0x1039641
push esi
push esi
call dword [fcn.01001258]
mov dword [0x10747a4], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
leave
ret
Function at 0x1039718
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x107342c]
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x1074780
mov dword [ebp - 4], eax
call dword [fcn.01001674]
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x103974a
xor esi, esi
inc esi
jmp 0x10398b0
push dword [esi + 8]
call dword [fcn.01001238]
cmp eax, ebx
mov dword [ebp - 0x11c], eax
jne 0x1039764
xor esi, esi
jmp 0x10398b0
push edi
mov dword [ebp - 0x10c], ebx
lea edi, [esi + 0x24]
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push dword [ebx*4 + 0x1073360]
mov dword [ebp - 0x114], 0x104
push dword [esi + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10397d6
cmp dword [ebp - 0x110], 1
jne 0x10397d6
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call dword [fcn.01001234]
test eax, eax
mov dword [edi], eax
je 0x1039899
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
or dword [ebp - 0x10c], eax
inc ebx
add edi, 4
cmp ebx, 0xc
jb 0x103976e
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 4
pop ebx
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0x1014704
push dword [esi + 0x14]
mov dword [ebp - 0x114], ebx
call edi
test eax, eax
jne 0x103982a
cmp dword [ebp - 0x110], ebx
jne 0x103982a
cmp dword [ebp - 0x118], eax
je 0x103982a
or byte [ebp - 0x10a], 2
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0x10146ec
push dword [esi + 0x14]
mov dword [ebp - 0x114], ebx
call edi
test eax, eax
jne 0x103986c
cmp dword [ebp - 0x110], ebx
jne 0x103986c
cmp dword [ebp - 0x118], eax
je 0x103986c
or byte [ebp - 0x10a], 1
mov eax, dword [ebp - 0x10c]
test eax, eax
je 0x1039899
test dword [ebp + 0xc], eax
je 0x1039899
push dword [esi + 0x14]
mov dword [esi + 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x11c]
and dword [esi + 0x14], 0
mov dword [esi + 0x10], eax
xor esi, esi
inc esi
jmp 0x10398af
push dword [esi + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
xor esi, esi
pop edi
push 0x1074780
call dword [fcn.01001678]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
call fcn.0103e4d8
leave
ret 8