joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d2cad80
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1010
call fcn.6d2d9470
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x100c], eax
push ebx
mov ebx, dword [esp + 0x1020]
push ebp
mov ebp, dword [esp + 0x1028]
push esi
mov esi, dword [esp + 0x1020]
mov eax, dword [esi]
push edi
xor edi, edi
push edi
push ebp
mov dword [esp + 0x18], 0x1000
mov ecx, dword [eax + 0x2e0]
push esi
call ecx
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
push edi
push eax
push ebx
mov dword [esp + 0x30], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d2cae2c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6d2cae2a
mov ecx, dword [esp + 0x14]
cmp ecx, 1
je 0x6d2cadfe
cmp ecx, 2
jne 0x6d2cae2c
mov ecx, dword [esi]
mov edx, dword [ecx + 0x2c0]
push eax
push esi
call edx
mov edi, eax
test edi, edi
je 0x6d2cae2c
mov edx, dword [esp + 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 0x340]
lea ecx, [esp + 0x1c]
push ecx
push edx
push 0
push edi
push esi
call eax
jmp 0x6d2cae2c
xor edi, edi
mov edx, dword [esp + 0x18]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x300]
push 0
push edx
push ebp
push esi
call eax
mov ecx, dword [esp + 0x101c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6d2d932c
add esp, 0x1010
ret 0x10

Function at 0x6d2cae60
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x1c]
push edi
test ebx, ebx
je 0x6d2caf5a
mov edi, dword [esp + 0x24]
test edi, edi
je 0x6d2caf5a
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x2ac]
push edi
push esi
call ecx
mov edx, dword [esi]
push 0
push edi
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x2e0]
push esi
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0x2e0]
push 0
push ebx
push esi
mov edi, eax
call edx
mov dword [esp + 0x1c], eax
mov eax, edi
or ebp, 0xffffffff
xor edx, edx
lea ebx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6d2caec0
sub eax, ebx
je 0x6d2caefe
jmp 0x6d2caed0
mov al, byte [edx + edi]
cmp al, 0x25
jne 0x6d2caee0
cmp ebp, 0xffffffff
jne 0x6d2caf50
mov ebp, edx
jmp 0x6d2caeeb
cmp al, 0x20
je 0x6d2caee8
cmp al, 9
jne 0x6d2caeeb
or ebp, 0xffffffff
mov eax, edi
inc edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6d2caef1
sub eax, ebx
cmp edx, eax
jb 0x6d2caed0
mov eax, dword [esp + 0x10]
push eax
push edi
push 1
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x2c]
push 0
push edi
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x300]
push ecx
push esi
call edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
mov eax, dword [eax + 0x300]
push 0
push ecx
push edx
push esi
call eax
pop esi
pop ebp
pop edi
mov eax, ebx
pop ebx
add esp, 8
ret 0x14
mov eax, dword [esp + 0x10]
push eax
push edi
push 2
jmp 0x6d2caf06
pop edi
or eax, 0xffffffff
pop ebx
add esp, 8
ret 0x14
Function at 0x6d2cafc0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x28
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
push edi
mov eax, dword [esp + 0x3c]
push 0
mov esi, dword [esp + 0x38]
push 0
or ecx, 0xffffffff
push 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x20], edx
mov edx, dword [esi]
push 5
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [edx + 0x2cc]
push esi
call eax
mov edi, eax
test edi, edi
je 0x6d2cb062
mov ecx, dword [esi]
mov eax, dword [ecx + 0x34c]
lea edx, [esp + 0x18]
push edx
push 5
push 0
push edi
push esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.6d2d932c
add esp, 0x28
ret 0xc

Function at 0x6d2cb080
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1008
call fcn.6d2d9470
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x1004], eax
mov ecx, dword [esp + 0x101c]
mov eax, dword [esp + 0x1014]
push esi
mov esi, dword [esp + 0x1010]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1030]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x6d2cb0f1
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1004]
xor ecx, esp
call fcn.6d2d932c
add esp, 0x1008
ret 0x14
mov eax, dword [esp + 4]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x2c0]
push edi
inc eax
push eax
push esi
call edx
mov edi, eax
test edi, edi
je 0x6d2cb124
mov edx, dword [esp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x340]
lea ecx, [esp + 0xc]
push ecx
inc edx
push edx
push 0
push edi
push esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
xor ecx, esp
call fcn.6d2d932c
add esp, 0x1008
ret 0x14
Function at 0x6d2cb140
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1008
call fcn.6d2d9470
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x1004], eax
mov ecx, dword [esp + 0x101c]
mov eax, dword [esp + 0x1014]
push esi
mov esi, dword [esp + 0x1010]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x1030]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x1c]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x6d2cb1b1
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1004]
xor ecx, esp
call fcn.6d2d932c
add esp, 0x1008
ret 0x14
mov eax, dword [esp + 4]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x2c0]
push edi
inc eax
push eax
push esi
call edx
mov edi, eax
test edi, edi
je 0x6d2cb1e4
mov edx, dword [esp + 8]
mov eax, dword [esi]
mov eax, dword [eax + 0x340]
lea ecx, [esp + 0xc]
push ecx
inc edx
push edx
push 0
push edi
push esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
xor ecx, esp
call fcn.6d2d932c
add esp, 0x1008
ret 0x14

Function at 0x6d2cb390
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1008
call fcn.6d2d9470
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x1004], eax
push ebx
push ebp
mov ebp, dword [esp + 0x101c]
push esi
mov esi, dword [esp + 0x1018]
mov eax, dword [esi]
mov ecx, dword [eax + 0x2e0]
push edi
push 0
push ebp
push esi
call ecx
push 0x1000
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsA]
mov ebx, eax
test ebx, ebx
jne 0x6d2cb3e7
xor edi, edi
jmp 0x6d2cb40d
mov eax, dword [esi]
mov ecx, dword [eax + 0x2c0]
push ebx
push esi
call ecx
mov edi, eax
test edi, edi
je 0x6d2cb40d
mov edx, dword [esi]
mov ecx, dword [edx + 0x340]
lea eax, [esp + 0x14]
push eax
push ebx
push 0
push edi
push esi
call ecx
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
mov ecx, dword [edx + 0x300]
push 0
push eax
push ebp
push esi
call ecx
mov ecx, dword [esp + 0x1014]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6d2d932c
add esp, 0x1008
ret 0xc
Function at 0x6d2cb440
Capabilities:
Create directory

Disassembly:
sub esp, 0x20c
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x210]
lea edx, [esp]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x6d2cb460
lea eax, [esp]
cmp byte [esp], cl
je 0x6d2cb480
cmp byte [eax], 0x5c
jne 0x6d2cb47a
mov byte [eax], 0x2f
inc eax
cmp byte [eax], 0
jne 0x6d2cb472
push ebp
mov ebp, dword [sym.imp.MSVCR100.dll_strchr]
push esi
lea eax, [esp + 8]
push 0x2f
push eax
call ebp
mov esi, eax
add esp, 8
test esi, esi
je 0x6d2cb4df
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_strncpy]
push edi
lea ecx, [esp + 0x10]
mov edi, esi
sub edi, ecx
push edi
mov edx, ecx
push edx
lea eax, [esp + 0x11c]
push eax
call ebx
lea ecx, [esp + 0x120]
push ecx
mov byte [esp + edi + 0x124], 0
call dword [sym.imp.MSVCR100.dll__mkdir]
push 0x2f
inc esi
push esi
call ebp
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x6d2cb4a2
pop edi
pop ebx
mov ecx, dword [esp + 0x210]
pop esi
pop ebp
xor ecx, esp
call fcn.6d2d932c
add esp, 0x20c
ret
Function at 0x6d2cb500
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x128
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x12c]
push esi
mov esi, dword [esp + 0x134]
push edi
push 0x6d2dc3e4
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x6d2cb679
push esi
call dword [sym.imp.MSVCR100.dll__chdir]
add esp, 4
test eax, eax
jne 0x6d2cb679
push ebx
mov ebx, dword [sym.imp.MSVCR100.dll_fread]
push edi
push 1
lea eax, [esp + 0x14]
push 0x1e
push eax
call ebx
add esp, 0x10
cmp eax, 1
jne 0x6d2cb66e
push ebp
nop
cmp dword [esp + 0x10], 0x4034b50
jne 0x6d2cb66d
cmp word [esp + 0x18], 0
jne 0x6d2cb66d
mov ax, word [esp + 0x2a]
movzx ecx, ax
push edi
push ecx
lea edx, [esp + 0x38]
push 1
push edx
movzx esi, ax
call ebx
add esp, 0x10
cmp eax, esi
jne 0x6d2cb66d
lea eax, [esp + 0x30]
push eax
mov byte [esp + esi + 0x34], 0
call fcn.6d2cb440
mov ax, word [esp + 0x30]
add esp, 4
test ax, ax
je 0x6d2cb5df
movzx ecx, ax
push 1
push ecx
push edi
call dword [sym.imp.MSVCR100.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x6d2cb66d
movzx edx, word [esp + 0x2a]
cmp byte [esp + edx + 0x2f], 0x2f
je 0x6d2cb64a
lea eax, [esp + 0x30]
push 0x6d2dc3e0
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6d2cb66d
mov ecx, dword [esp + 0x26]
push ecx
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
mov edx, dword [esp + 0x2a]
push edi
push edx
mov esi, eax
push 1
push esi
call ebx
mov ecx, dword [esp + 0x3a]
add esp, 0x14
cmp eax, ecx
jne 0x6d2cb664
push ebp
push ecx
push 1
push esi
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
push esi
cmp eax, dword [esp + 0x2a]
jne 0x6d2cb665
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push ebp
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 8
push edi
push 1
lea eax, [esp + 0x18]
push 0x1e
push eax
call ebx
add esp, 0x10
cmp eax, 1
je 0x6d2cb570
jmp 0x6d2cb66d
push esi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
pop ebp
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
pop ebx
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
xor ecx, esp
call fcn.6d2d932c
add esp, 0x128
ret
Function at 0x6d2cb690
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
mov eax, 0x114c
call fcn.6d2d9470
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x1148], eax
push ebp
mov ebp, dword [esp + 0x1154]
push esi
push edi
push 0x7ff
lea eax, [esp + 0x159]
push 0
push eax
mov dword [esp + 0x18], 0
call sub.MSVCR100.dll_memset
push 0x7ff
lea ecx, [esp + 0x965]
push 0
push ecx
mov byte [esp + 0x96c], 0
call sub.MSVCR100.dll_memset
mov ecx, 8
mov esi, str.SOFTWAREMozillaMozilla_Firefox
lea edi, [esp + 0x16c]
rep movsd dword es:[edi], dword [esi]
add esp, 0x18
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x158]
push eax
movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0x800
call esi
test eax, eax
je 0x6d2cb741
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1148]
xor ecx, esp
call fcn.6d2d932c
add esp, 0x114c
ret
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x95c]
push edx
push 0
push 0
push str.CurrentVersion
push eax
call ebx
test eax, eax
je 0x6d2cb77b
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x6d2cb88e
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call edi
lea eax, [esp + 0x958]
push eax
lea ecx, [esp + 0x15c]
push str.SOFTWAREMozillaMozilla_Firefox_sMain
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x15c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x6d2cb873
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push ebp
push eax
push eax
push str.Install_Directory
push edx
mov dword [esp + 0x2c], 0x800
call ebx
test eax, eax
je 0x6d2cb7f0
mov eax, dword [esp + 0x10]
push eax
call edi
xor eax, eax
jmp 0x6d2cb88e
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov eax, ebp
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6d2cb800
sub eax, edx
cmp byte [eax + ebp - 1], 0x5c
je 0x6d2cb825
lea edi, [ebp - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x6d2cb813
mov dx, word [0x6d2dbb50]
mov word [edi], dx
lea eax, [ebp - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x6d2cb828
mov ecx, dword [str.extensions]
mov dword [eax], ecx
mov edx, dword [0x6d2dc3ec]
mov dword [eax + 4], edx
mov cx, word [0x6d2dc3f0]
mov word [eax + 8], cx
mov dl, byte [0x6d2dc3f2]
mov byte [eax + 0xa], dl
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x6d2cb877
push 0
push ebp
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x6d2cb889
xor eax, eax
jmp 0x6d2cb88e
push eax
call dword [sym.imp.kernel32.dll_FindClose]
test byte [esp + 0x18], 0x10
je 0x6d2cb7e9
mov eax, 1
mov ecx, dword [esp + 0x1158]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.6d2d932c
add esp, 0x114c
ret
Function at 0x6d2cb9b0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov eax, 0x1144
call fcn.6d2d9470
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x1140], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1154]
push 0x140
lea eax, [esp + 0x10]
push 0
push eax
call sub.MSVCR100.dll_memset
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push esi
lea ecx, [esp + 0x95c]
push str._s.
push ecx
call ebp
add esp, 0x18
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x950]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x6d2cbafc
push edi
mov edi, dword [sym.imp.kernel32.dll_SetFileAttributesA]
push 0x6d2dc484
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.kernel32.dll_lstrcmpA]
test eax, eax
je 0x6d2cbaaf
push 0x6d2dc480
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.kernel32.dll_lstrcmpA]
test eax, eax
je 0x6d2cbaaf
lea eax, [esp + 0x3c]
push eax
push esi
lea ecx, [esp + 0x158]
push str._s_s
push ecx
call ebp
mov edx, dword [esp + 0x20]
add esp, 0x10
and edx, 0xfffffffe
push edx
lea eax, [esp + 0x154]
push eax
call edi
test byte [esp + 0x10], 0x10
jne 0x6d2cba9f
lea ecx, [esp + 0x150]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
jne 0x6d2cbaaf
push eax
lea edx, [esp + 0x154]
push edx
call fcn.6d2cf230
add esp, 8
jmp 0x6d2cbaaf
lea eax, [esp + 0x150]
push eax
call fcn.6d2cb9b0
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x6d2cba21
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
mov edi, eax
test edi, edi
jne 0x6d2cbae1
push eax
push esi
call fcn.6d2cf230
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1140]
xor ecx, esp
call fcn.6d2d932c
add esp, 0x1144
ret
mov ecx, dword [esp + 0x114c]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.6d2d932c
add esp, 0x1144
ret

Function at 0x6d2cbc60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x10]
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d2cbcb9
mov eax, dword [esp + 0x14]
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 4]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push str.JavaHome
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x6d2cbcbf
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0xc
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 0xc
ret
Function at 0x6d2cbce0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x6d2e54cc]
xor eax, ebp
mov dword [ebp + 0x2a4], eax
mov eax, dword [ebp + 0x2b8]
push ebx
mov ebx, dword [ebp + 0x2bc]
push esi
mov esi, dword [ebp + 0x2b0]
mov ecx, dword [esi]
mov edx, dword [ecx + 0x7c]
push edi
mov edi, dword [ebp + 0x2b4]
push ebx
push esi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], eax
call edx
mov ecx, dword [esi]
mov edx, dword [ecx + 0x84]
push str._Ljava_lang_Object__V
push str.addElement
push eax
push esi
call edx
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x70]
push eax
push 0x20019
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d2cbe90
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x70]
lea edx, [ebp + 0x9c]
push edx
push eax
push ecx
mov dword [ebp - 0x80], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x6d2cbe86
mov edx, dword [ebp - 0x78]
push edx
lea eax, [ebp + 0x9c]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpA]
test eax, eax
js 0x6d2cbe7e
lea ecx, [ebp + 0x9c]
push ecx
push edi
lea edx, [ebp - 0x68]
push str._s_s
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
push 0x104
lea eax, [ebp + 0x1a0]
push 0
push eax
call sub.MSVCR100.dll_memset
lea ecx, [ebp + 0x1a0]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.6d2cbc60
add esp, 0x24
test eax, eax
je 0x6d2cbe7e
lea eax, [ebp + 0x1a0]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d2cbe0a
xor edi, edi
jmp 0x6d2cbe26
lea eax, [edi + edi]
call fcn.6d2d9410
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0x1a0]
push ecx
push eax
call fcn.6d2c1d20
mov edi, eax
mov edx, dword [esi]
mov ecx, dword [edx + 0x29c]
lea eax, [ebp + 0x9c]
push eax
push esi
call ecx
mov edx, dword [ebp - 0x74]
push eax
push edx
push ebx
push esi
call fcn.6d2c9610
mov eax, edi
add esp, 0x10
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d2cbe50
mov ecx, dword [esi]
sub eax, edx
mov edx, dword [ecx + 0x28c]
sar eax, 1
push eax
push edi
push esi
call edx
push eax
mov eax, dword [ebp - 0x74]
push eax
push ebx
push esi
call fcn.6d2c9610
mov edi, dword [ebp - 0x7c]
add esp, 0x10
inc dword [ebp - 0x6c]
jmp 0x6d2cbd60
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2a4]
xor ecx, ebp
call fcn.6d2d932c
lea esp, [ebp + 0x2a8]
pop ebp
ret
Function at 0x6d2cc420
Capabilities:
Query service status

Disassembly:
sub esp, 0x2c
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push edi
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x6d2cc490
push ebp
push esi
push 0xf01ff
push str.JavaQuickStarterService
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebp, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x6d2cc48b
lea eax, [esp + 0x10]
push eax
push 0x24
lea ecx, [esp + 0x1c]
push ecx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x6d2cc488
cmp dword [esp + 0x18], 4
jne 0x6d2cc488
mov ebx, 1
push esi
call ebp
push edi
call ebp
pop esi
pop ebp
mov ecx, dword [esp + 0x30]
pop edi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.6d2d932c
add esp, 0x2c
ret
Function at 0x6d2cc860
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
sub esp, 0x834
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x830], eax
push ebx
push ebp
push esi
xor esi, esi
push 0x20019
push str.SOFTWARE
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x18], 1
call fcn.6d2c2d40
test eax, eax
mov eax, dword [esp + 0x10]
je 0x6d2cc8ee
cmp eax, esi
je 0x6d2cc8d4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x830]
xor ecx, esp
call fcn.6d2d932c
add esp, 0x834
ret
push edi
push 0x20019
push str.JavaSoft
push eax
lea ecx, [esp + 0x30]
call fcn.6d2c2d40
test eax, eax
je 0x6d2cc90f
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x6d2cc93c
mov ecx, dword [esp + 0x24]
push 0x20019
push str.Java_Plug_in
push ecx
lea ecx, [esp + 0x3c]
call fcn.6d2c2d40
test eax, eax
je 0x6d2cc959
mov eax, dword [esp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x6d2cc93c
push eax
call edi
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x6d2cc947
push eax
call edi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x6d2cc952
push eax
call edi
xor eax, eax
jmp 0x6d2cca3c
push 0x800
lea edx, [esp + 0x44]
push esi
push edx
call sub.MSVCR100.dll_memset
mov edi, dword [esp + 0x3c]
add esp, 0xc
push 0x400
lea eax, [esp + 0x44]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x6d2cca15
lea ebx, [ebx]
lea ecx, [esp + 0x20]
push ecx
push 0x20006
push esi
lea edx, [esp + 0x4c]
push edx
push edi
inc ebp
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x6d2cc9ec
xor eax, eax
cmp ebx, esi
je 0x6d2cc9bd
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov ebx, ecx
cmp eax, esi
jne 0x6d2cc9ec
mov eax, dword [esp + 0x848]
push 4
lea edx, [esp + 0x40]
push edx
push 4
push esi
push str.UseJava2IExplorer
push ecx
mov dword [esp + 0x54], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x6d2cc9f0
mov dword [esp + 0x10], esi
push 0x400
lea eax, [esp + 0x44]
push eax
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x6d2cc990
cmp ebx, esi
je 0x6d2cca15
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
jmp 0x6d2cca1b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
je 0x6d2cca22
push edi
call ebx
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x6d2cca2d
push eax
call ebx
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x6d2cca38
push eax
call ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x840]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6d2d932c
add esp, 0x834
ret