joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a960
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x68
mov eax, dword [0x10084ca0]
push ebx
mov dword [esp + 0x68], eax
push esi
push edi
mov ebx, ecx
xor eax, eax
mov byte [esp + 0xc], 0
mov ecx, 0x18
lea edi, [esp + 0xd]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
push str._0___x_u0_mf_____tzj__1_5:u07_
call fcn.1000a6a0
add esp, 8
lea ecx, [esp + 0xc]
push ecx
push 0x1000a830
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x1000a9e0
test eax, eax
jne 0x1000a9e0
mov eax, dword [0x100871dc]
test eax, eax
jne 0x1000a9e0
push esi
push esi
push esi
push esi
push esi
push 0x1000a8b0
mov dword [0x100871dc], 1
mov dword [ebx], 1
call fcn.1004134c
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebx
call fcn.10027973
add esp, 0x68
ret

Function at 0x1000abd0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x110
mov eax, dword [0x10084ca0]
push esi
push edi
mov dword [esp + 0x114], eax
xor eax, eax
mov byte [esp + 0x10], 0
mov ecx, 0x1f
lea edi, [esp + 0x11]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
xor esi, esi
mov dword [esp + 0x14], 0x80
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x1000ac67
xor eax, eax
mov byte [esp + 0x90], 0
mov ecx, 0x1f
lea edi, [esp + 0x91]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x90]
mov eax, str.r_5r02jr_
call fcn.1000aa70
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x94]
push eax
call fcn.1002f00a
add esp, 8
test eax, eax
mov eax, 1
je 0x1000ac69
mov eax, esi
mov ecx, dword [esp + 0x114]
call fcn.10027973
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000ac80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004fc66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [0x10084ca0]
push ebx
push esi
push edi
mov dword [esp + 0x19c], eax
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x90], bl
mov ecx, 0x40
lea edi, [esp + 0x91]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor eax, eax
mov byte [esp + 0x28], bl
mov ecx, 0x18
lea edi, [esp + 0x29]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x28]
mov eax, str.f02uj3wrvsrj_:f__:f_n_z__pry__
call fcn.1000aa70
call fcn.1003a62b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x14]
push 0x100527e8
push edx
mov dword [esp + 0x1bc], ebx
call fcn.10001660
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.1001efcf
mov esi, dword [esp + 0xc]
push ebx
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b4], 1
call fcn.1001f062
test eax, eax
lea ecx, [esp + 0x10]
jne 0x1000ada0
call fcn.1001ece0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac], bl
call fcn.1001eff3
lea eax, [esi - 0x10]
mov dword [esp + 0x1ac], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000ad9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x1000addc
call fcn.1001ece0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac], bl
call fcn.1001eff3
lea eax, [esi - 0x10]
mov dword [esp + 0x1ac], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000adda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x19c]
call fcn.10027973
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ae00
Capabilities:
Get common file path
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004fc86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x10084ca0]
push ebx
push esi
push edi
mov dword [esp + 0x21c], eax
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x40], bl
mov ecx, 0x18
lea edi, [esp + 0x41]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x18], 0x64
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor edx, edx
mov dword [esp + 0x2d], edx
mov dword [esp + 0x31], edx
mov dword [esp + 0x35], edx
mov dword [esp + 0x39], edx
lea eax, [esp + 0x2c]
mov word [esp + 0x3d], dx
push 0x2e
push eax
mov byte [esp + 0x34], bl
mov byte [esp + 0x47], dl
call fcn.10026cf0
add esp, 8
cmp eax, ebx
je 0x1000aeb9
inc eax
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000ae93
lea edi, [esp + 0x40]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x1000aea1
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x40]
push ecx
push str.TMainForm
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
jne 0x1000b005
mov byte [esp + 0x110], bl
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x111]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea edx, [esp + 0x114]
push edx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor eax, eax
mov byte [esp + 0xa8], bl
mov ecx, 0x18
lea edi, [esp + 0xa9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0xa8]
mov eax, str.f02uj3wrvs_3dclx_n_p_g__
call fcn.1000aa70
call fcn.1003a62b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0x14]
push 0x100527e8
push edx
mov dword [esp + 0x23c], ebx
call fcn.10001660
add esp, 0x10
lea ecx, [esp + 0x14]
call fcn.1001efcf
mov esi, dword [esp + 0xc]
push ebx
push esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 1
call fcn.1001f062
test eax, eax
lea ecx, [esp + 0x14]
jne 0x1000afcb
call fcn.1001ece0
lea ecx, [esp + 0x14]
mov byte [esp + 0x22c], bl
call fcn.1001eff3
lea eax, [esi - 0x10]
mov dword [esp + 0x22c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000afc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x1000b007
call fcn.1001ece0
lea ecx, [esp + 0x14]
mov byte [esp + 0x22c], bl
call fcn.1001eff3
lea eax, [esi - 0x10]
mov dword [esp + 0x22c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b005
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
mov ecx, dword [esp + 0x224]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x21c]
call fcn.10027973
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b030
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004fca6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x630
mov eax, dword [0x10084ca0]
push ebx
mov dword [esp + 0x62c], eax
push esi
push edi
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x230]
rep stosd dword es:[edi], eax
mov ecx, 0x7d
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
xor ebx, ebx
lea edx, [esp + 0x38]
mov eax, str.l__ju0u5rj3r_sf_p:g:x_ri_
mov dword [esp + 0x10], ebx
call fcn.1000aa70
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000b11c
mov ecx, 0x7d
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x38]
mov eax, str.__pud5ue_
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x400
call fcn.1000aa70
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x234]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
push ebx
lea edx, [esp + 0x48]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000b13f
lea eax, [esp + 0x230]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000b102
sub eax, edx
mov dword [esp + 0x14], eax
jne 0x1000b13f
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [esp + 0x63c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x634]
call fcn.10027973
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x230]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000b154
sub eax, edx
mov cl, byte [esp + eax + 0x22f]
cmp cl, 0x5c
lea eax, [esp + eax + 0x22f]
jne 0x1000b172
mov byte [eax], bl
xor eax, eax
mov ecx, 0x7d
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x38]
mov eax, str.__pucs_8py_
call fcn.1000aa70
call fcn.1003a62b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x234]
push ecx
lea edx, [esp + 0x1c]
push 0x100527e8
push edx
mov dword [esp + 0x654], ebx
call fcn.10001660
add esp, 0x10
lea ecx, [esp + 0x20]
call fcn.1001efcf
mov esi, dword [esp + 0x14]
push ebx
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x64c], 1
call fcn.1001f062
test eax, eax
lea ecx, [esp + 0x20]
jne 0x1000b231
call fcn.1001ece0
lea ecx, [esp + 0x20]
mov byte [esp + 0x644], bl
call fcn.1001eff3
lea eax, [esi - 0x10]
mov dword [esp + 0x644], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b11c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x1000b11c
call fcn.1001ece0
lea ecx, [esp + 0x20]
mov byte [esp + 0x644], bl
call fcn.1001eff3
lea eax, [esi - 0x10]
mov dword [esp + 0x644], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b26b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
jmp 0x1000b11e
Function at 0x1000b280
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004fc66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [0x10084ca0]
push ebx
push esi
push edi
mov dword [esp + 0x19c], eax
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x90], bl
mov ecx, 0x40
lea edi, [esp + 0x91]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor eax, eax
mov byte [esp + 0x28], bl
mov ecx, 0x18
lea edi, [esp + 0x29]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x28]
mov eax, str.f02uj3wrvs_3cf_3cn__wp_g__
call fcn.1000aa70
call fcn.1003a62b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x94]
push ecx
lea edx, [esp + 0x14]
push 0x100527e8
push edx
mov dword [esp + 0x1bc], ebx
call fcn.10001660
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.1001efcf
mov esi, dword [esp + 0xc]
push ebx
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x1b4], 1
call fcn.1001f062
test eax, eax
lea ecx, [esp + 0x10]
jne 0x1000b3a0
call fcn.1001ece0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac], bl
call fcn.1001eff3
lea eax, [esi - 0x10]
mov dword [esp + 0x1ac], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b39c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x1000b3dc
call fcn.1001ece0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac], bl
call fcn.1001eff3
lea eax, [esi - 0x10]
mov dword [esp + 0x1ac], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000b3da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x19c]
call fcn.10027973
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004fd16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6b0
mov eax, dword [0x10084ca0]
push ebx
push esi
push edi
mov dword [esp + 0x6b4], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x2b0]
rep stosd dword es:[edi], eax
xor ebx, ebx
mov ecx, 0x7d
lea edi, [esp + 0xb8]
mov dword [esp + 0xc], ebx
rep stosd dword es:[edi], eax
call fcn.1003a62b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
lea edx, [esp + 0xb8]
mov eax, str.l:_3udl3r__x.rj__f:gujnmui_ri3wrj3_ufxr___pr3_p__:__sog_n3_y__
mov dword [esp + 0x6c4], ebx
call fcn.1000aa70
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xbc]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x1000bb58
mov byte [esp + 0x38], bl
mov ecx, 0x1f
lea edi, [esp + 0x39]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x38]
mov eax, str.nxrs5_lx.___
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0x400
call fcn.1000aa70
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x2b4]
push eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push ebx
lea edx, [esp + 0x48]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000bb4d
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x2b0]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000ba90
sub eax, edx
mov dword [esp + 0x1c], eax
jne 0x1000babf
lea eax, [esi - 0x10]
mov dword [esp + 0x6c4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x1000bb73
lea eax, [esp + 0x2b0]
push eax
lea ecx, [esp + 0x14]
call fcn.100016a0
lea ecx, [esp + 0x20]
call fcn.1001efcf
mov esi, dword [esp + 0x10]
push ebx
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x6cc], 1
call fcn.1001f062
test eax, eax
lea ecx, [esp + 0x20]
jne 0x1000bb0f
call fcn.1001ece0
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c4], bl
call fcn.1001eff3
jmp 0x1000bb58
call fcn.1001ece0
lea ecx, [esp + 0x20]
mov byte [esp + 0x6c4], bl
call fcn.1001eff3
lea eax, [esi - 0x10]
mov dword [esp + 0x6c4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000bb49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
jmp 0x1000bb7f
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x6c4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000bb7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
mov ecx, dword [esp + 0x6bc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x6b4]
call fcn.10027973
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000c0a0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x210
mov eax, dword [0x10084ca0]
mov dword [esp + 0x20c], eax
mov eax, dword [0x100871e0]
test eax, eax
je 0x1000c0d3
mov eax, 1
mov ecx, dword [esp + 0x20c]
call fcn.10027973
add esp, 0x210
ret
push 0x104
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10c]
push str._sHintPop.cfg
push edx
call fcn.100285a6
add esp, 0xc
lea eax, [esp + 0x108]
push eax
lea ecx, [esp + 4]
call fcn.10002860
mov ecx, dword [esp]
push ecx
push 0xffffffffffffffff
push 0x10052a08
push 0x10064c00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0xffffffff
je 0x1000c133
mov dword [0x100871e0], 1
mov eax, dword [esp]
add eax, 0xfffffff0
push esi
mov esi, dword [0x100871e0]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000c157
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x210]
mov eax, esi
pop esi
call fcn.10027973
add esp, 0x210
ret
Function at 0x1000c170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x638
mov eax, dword [0x10084ca0]
push esi
push edi
mov dword [esp + 0x63c], eax
call fcn.1000c0a0
test eax, eax
je 0x1000c30c
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
test al, 0xfe
je 0x1000c30c
dec eax
cmp eax, 7
ja case.0x1000c1b5.3
jmp dword [eax*4 + 0x1000c320]
mov eax, dword [0x10064c48]
mov ecx, dword [0x10064c4c]
jmp 0x1000c1ff
mov edx, dword [0x10064c40]
mov eax, dword [0x10064c44]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
jmp case.0x1000c1b5.3
mov ecx, dword [0x10064c38]
mov edx, dword [0x10064c3c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jmp case.0x1000c1b5.3
mov eax, dword [0x10064c30]
mov ecx, dword [0x10064c34]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push eax
lea ecx, [esp + 0x37]
push 0x3f9
push ecx
call fcn.100288fd
add esp, 0x10
push 0x104
lea edx, [esp + 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x428]
push eax
lea ecx, [esp + 0x534]
push 0x10064c20
push ecx
call fcn.100285a6
call fcn.10029579
lea edx, [esp + 0x14]
push edx
call fcn.10028edf
lea edi, [esp + 0x18]
add esp, 0x10
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000c265
mov ax, word [0x10064c1c]
lea ecx, [esp + 0x11]
push ecx
mov word [edi], ax
call fcn.10028e6f
lea edi, [esp + 0xc]
add esp, 4
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000c288
mov dx, word [0x10064c18]
lea eax, [esp + 0x530]
push 0x10064c14
push eax
mov word [edi], dx
call fcn.100282e1
mov esi, eax
add esp, 8
test esi, esi
je 0x1000c30c
lea eax, [esp + 8]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000c2c0
push esi
sub eax, edx
push eax
lea ecx, [esp + 0x10]
push 1
push ecx
call fcn.10028239
lea eax, [esp + 0x38]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000c2e1
sub eax, edx
push esi
push eax
lea edx, [esp + 0x30]
push 1
push edx
call fcn.10028239
push esi
push 0x100527f0
call fcn.10028dfe
push esi
call fcn.100280e1
add esp, 0x1c
mov ecx, dword [esp + 0x63c]
call fcn.10027973
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000fdd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10050048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
push edi
mov dword [esp + 0xc], esi
mov byte [esi + 0x20], bl
lea edi, [esi + 0x38]
mov ecx, edi
mov dword [esp + 0x18], ebx
call fcn.1000d980
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov byte [eax + 0xad], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10013630
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x118
mov eax, dword [0x10084ca0]
mov edx, dword [esp + 0x11c]
push ebp
push esi
mov ebp, ecx
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x128], eax
mov eax, dword [ebp]
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10013752
lea ecx, [esp + 8]
call fcn.10013510
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jne 0x10013756
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x10013700
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call fcn.10013630
mov edi, eax
test edi, edi
jne 0x1001377a
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x100136c2
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x10013719
push eax
call edi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x128]
mov edx, dword [ebp]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10013738
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.10027973
add esp, 0x118
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x10013761
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.10027973
add esp, 0x118
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10013789
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x120]
mov eax, edi
pop edi
pop esi
pop ebp
call fcn.10027973
add esp, 0x118
ret 4
Function at 0x10013c90
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10013ca2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8