joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d1ba870
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x1c
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
lea eax, [esp + 4]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
push 0
push str.Shell_TrayWnd
push 0
push 0
call esi
test eax, eax
je 0x6d1ba8ad
push 0
push str.TrayNotifyWnd
push 0
push eax
call esi
lea ecx, [esp + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 4]
pop esi
cmp eax, dword [esp + 8]
jl 0x6d1ba8ed
cmp eax, dword [esp + 0x10]
jg 0x6d1ba8ed
mov eax, dword [esp + 4]
cmp eax, dword [esp + 0xc]
jl 0x6d1ba8ed
cmp eax, dword [esp + 0x14]
jg 0x6d1ba8ed
xor al, al
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.6d1c932c
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x18]
xor ecx, esp
mov al, 1
call fcn.6d1c932c
add esp, 0x1c
ret 8

Function at 0x6d1baa90
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xc40
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0xc3c], eax
push ebx
push esi
push 0x6d1cc264
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0x400
lea ecx, [esp + 0x48]
push ecx
push eax
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea edx, [esp + 0x44]
push edx
mov bl, 1
call dword [sym.imp.kernel32.dll_lstrlenA]
dec eax
js 0x6d1baafa
mov cl, 0x5c
test bl, bl
jne 0x6d1baae3
mov dl, byte [esp + eax + 0x44]
mov byte [esp + eax + 0x444], dl
cmp byte [esp + eax + 0x44], cl
jne 0x6d1baaf7
test bl, bl
je 0x6d1baaf7
mov byte [esp + eax + 0x444], 0
xor bl, bl
dec eax
jns 0x6d1baad4
lea eax, [esp + 0x444]
push eax
lea ecx, [esp + 0x848]
push str._sjavacpl.exe
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x38
xor esi, esi
lea edx, [esp + 0x1c]
push esi
push edx
call sub.MSVCR100.dll_memset
add esp, 0x18
lea ecx, [esp + 8]
lea eax, [esp + 0x844]
push ecx
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x6d1cb9cb
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 5
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x6d1bab83
push 0x10
push str.Unable_to_Start_Java_TM__Plug_in_Control_Panel
lea edx, [esp + 0x84c]
push edx
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0xc44]
pop esi
pop ebx
xor ecx, esp
call fcn.6d1c932c
add esp, 0xc40
ret 8
Function at 0x6d1bad80
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1010
call fcn.6d1c9470
mov eax, dword [0x6d1d54cc]
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 0x6d1bae2c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6d1bae2a
mov ecx, dword [esp + 0x14]
cmp ecx, 1
je 0x6d1badfe
cmp ecx, 2
jne 0x6d1bae2c
mov ecx, dword [esi]
mov edx, dword [ecx + 0x2c0]
push eax
push esi
call edx
mov edi, eax
test edi, edi
je 0x6d1bae2c
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 0x6d1bae2c
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.6d1c932c
add esp, 0x1010
ret 0x10

Function at 0x6d1bae60
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x1c]
push edi
test ebx, ebx
je 0x6d1baf5a
mov edi, dword [esp + 0x24]
test edi, edi
je 0x6d1baf5a
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 0x6d1baec0
sub eax, ebx
je 0x6d1baefe
jmp 0x6d1baed0
mov al, byte [edx + edi]
cmp al, 0x25
jne 0x6d1baee0
cmp ebp, 0xffffffff
jne 0x6d1baf50
mov ebp, edx
jmp 0x6d1baeeb
cmp al, 0x20
je 0x6d1baee8
cmp al, 9
jne 0x6d1baeeb
or ebp, 0xffffffff
mov eax, edi
inc edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6d1baef1
sub eax, ebx
cmp edx, eax
jb 0x6d1baed0
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 0x6d1baf06
pop edi
or eax, 0xffffffff
pop ebx
add esp, 8
ret 0x14
Function at 0x6d1bafc0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x28
mov eax, dword [0x6d1d54cc]
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 0x6d1bb062
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.6d1c932c
add esp, 0x28
ret 0xc

Function at 0x6d1bb080
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1008
call fcn.6d1c9470
mov eax, dword [0x6d1d54cc]
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 0x6d1bb0f1
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1004]
xor ecx, esp
call fcn.6d1c932c
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 0x6d1bb124
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.6d1c932c
add esp, 0x1008
ret 0x14
Function at 0x6d1bb140
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1008
call fcn.6d1c9470
mov eax, dword [0x6d1d54cc]
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 0x6d1bb1b1
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1004]
xor ecx, esp
call fcn.6d1c932c
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 0x6d1bb1e4
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.6d1c932c
add esp, 0x1008
ret 0x14

Function at 0x6d1bb390
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x1008
call fcn.6d1c9470
mov eax, dword [0x6d1d54cc]
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 0x6d1bb3e7
xor edi, edi
jmp 0x6d1bb40d
mov eax, dword [esi]
mov ecx, dword [eax + 0x2c0]
push ebx
push esi
call ecx
mov edi, eax
test edi, edi
je 0x6d1bb40d
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.6d1c932c
add esp, 0x1008
ret 0xc
Function at 0x6d1bb440
Capabilities:
Create directory

Disassembly:
sub esp, 0x20c
mov eax, dword [0x6d1d54cc]
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 0x6d1bb460
lea eax, [esp]
cmp byte [esp], cl
je 0x6d1bb480
cmp byte [eax], 0x5c
jne 0x6d1bb47a
mov byte [eax], 0x2f
inc eax
cmp byte [eax], 0
jne 0x6d1bb472
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 0x6d1bb4df
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 0x6d1bb4a2
pop edi
pop ebx
mov ecx, dword [esp + 0x210]
pop esi
pop ebp
xor ecx, esp
call fcn.6d1c932c
add esp, 0x20c
ret
Function at 0x6d1bb500
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x128
mov eax, dword [0x6d1d54cc]
xor eax, esp
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x12c]
push esi
mov esi, dword [esp + 0x134]
push edi
push 0x6d1cc3e4
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x6d1bb679
push esi
call dword [sym.imp.MSVCR100.dll__chdir]
add esp, 4
test eax, eax
jne 0x6d1bb679
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 0x6d1bb66e
push ebp
nop
cmp dword [esp + 0x10], 0x4034b50
jne 0x6d1bb66d
cmp word [esp + 0x18], 0
jne 0x6d1bb66d
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 0x6d1bb66d
lea eax, [esp + 0x30]
push eax
mov byte [esp + esi + 0x34], 0
call fcn.6d1bb440
mov ax, word [esp + 0x30]
add esp, 4
test ax, ax
je 0x6d1bb5df
movzx ecx, ax
push 1
push ecx
push edi
call dword [sym.imp.MSVCR100.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x6d1bb66d
movzx edx, word [esp + 0x2a]
cmp byte [esp + edx + 0x2f], 0x2f
je 0x6d1bb64a
lea eax, [esp + 0x30]
push 0x6d1cc3e0
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x6d1bb66d
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 0x6d1bb664
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 0x6d1bb665
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 0x6d1bb570
jmp 0x6d1bb66d
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.6d1c932c
add esp, 0x128
ret
Function at 0x6d1bb690
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
mov eax, 0x114c
call fcn.6d1c9470
mov eax, dword [0x6d1d54cc]
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 0x6d1bb741
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1148]
xor ecx, esp
call fcn.6d1c932c
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 0x6d1bb77b
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x6d1bb88e
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 0x6d1bb873
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 0x6d1bb7f0
mov eax, dword [esp + 0x10]
push eax
call edi
xor eax, eax
jmp 0x6d1bb88e
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 0x6d1bb800
sub eax, edx
cmp byte [eax + ebp - 1], 0x5c
je 0x6d1bb825
lea edi, [ebp - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x6d1bb813
mov dx, word [0x6d1cbb50]
mov word [edi], dx
lea eax, [ebp - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x6d1bb828
mov ecx, dword [str.extensions]
mov dword [eax], ecx
mov edx, dword [0x6d1cc3ec]
mov dword [eax + 4], edx
mov cx, word [0x6d1cc3f0]
mov word [eax + 8], cx
mov dl, byte [0x6d1cc3f2]
mov byte [eax + 0xa], dl
lea eax, [esp + 0x18]
push eax
push ebp
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x6d1bb877
push 0
push ebp
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x6d1bb889
xor eax, eax
jmp 0x6d1bb88e
push eax
call dword [sym.imp.kernel32.dll_FindClose]
test byte [esp + 0x18], 0x10
je 0x6d1bb7e9
mov eax, 1
mov ecx, dword [esp + 0x1158]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.6d1c932c
add esp, 0x114c
ret
Function at 0x6d1bb9b0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov eax, 0x1144
call fcn.6d1c9470
mov eax, dword [0x6d1d54cc]
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 0x6d1bbafc
push edi
mov edi, dword [sym.imp.kernel32.dll_SetFileAttributesA]
push 0x6d1cc484
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.kernel32.dll_lstrcmpA]
test eax, eax
je 0x6d1bbaaf
push 0x6d1cc480
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.kernel32.dll_lstrcmpA]
test eax, eax
je 0x6d1bbaaf
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 0x6d1bba9f
lea ecx, [esp + 0x150]
push ecx
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
jne 0x6d1bbaaf
push eax
lea edx, [esp + 0x154]
push edx
call fcn.6d1bf230
add esp, 8
jmp 0x6d1bbaaf
lea eax, [esp + 0x150]
push eax
call fcn.6d1bb9b0
add esp, 4
lea ecx, [esp + 0x10]
push ecx
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x6d1bba21
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 0x6d1bbae1
push eax
push esi
call fcn.6d1bf230
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1140]
xor ecx, esp
call fcn.6d1c932c
add esp, 0x1144
ret
mov ecx, dword [esp + 0x114c]
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.6d1c932c
add esp, 0x1144
ret

Function at 0x6d1bbc60
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 0x6d1bbcb9
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 0x6d1bbcbf
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 0x6d1bbce0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x6d1d54cc]
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 0x6d1bbe90
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 0x6d1bbe86
mov edx, dword [ebp - 0x78]
push edx
lea eax, [ebp + 0x9c]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpA]
test eax, eax
js 0x6d1bbe7e
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.6d1bbc60
add esp, 0x24
test eax, eax
je 0x6d1bbe7e
lea eax, [ebp + 0x1a0]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x6d1bbe0a
xor edi, edi
jmp 0x6d1bbe26
lea eax, [edi + edi]
call fcn.6d1c9410
mov eax, esp
push 3
push edi
lea ecx, [ebp + 0x1a0]
push ecx
push eax
call fcn.6d1b1d20
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.6d1b9610
mov eax, edi
add esp, 0x10
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x6d1bbe50
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.6d1b9610
mov edi, dword [ebp - 0x7c]
add esp, 0x10
inc dword [ebp - 0x6c]
jmp 0x6d1bbd60
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.6d1c932c
lea esp, [ebp + 0x2a8]
pop ebp
ret
Function at 0x6d1bc420
Capabilities:
Query service status

Disassembly:
sub esp, 0x2c
mov eax, dword [0x6d1d54cc]
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 0x6d1bc490
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 0x6d1bc48b
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 0x6d1bc488
cmp dword [esp + 0x18], 4
jne 0x6d1bc488
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.6d1c932c
add esp, 0x2c
ret