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

Disassembly:
sub esp, 0x824
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x820], eax
mov ecx, dword [esp + 0x830]
mov eax, dword [esp + 0x828]
push ebx
mov bl, byte [esp + 0x838]
push ebp
xor ebp, ebp
cmp ecx, ebp
je 0x6d2c55b8
mov edx, dword [eax]
push esi
push edi
push ebp
push ecx
push eax
mov eax, dword [edx + 0x294]
call eax
push 0x104
mov edi, eax
call dword [sym.imp.MSVCR100.dll_malloc]
push 0x104
mov esi, eax
push ebp
push esi
call sub.MSVCR100.dll_memset
add esp, 0x10
push ebp
push ebp
push 0x104
push esi
push 0xffffffffffffffff
push edi
push ebp
push ebp
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
xor ecx, ecx
cmp bl, 1
sete cl
push 0x2001f
push 0x6d2dba00
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
add ecx, 0x80000001
push ecx
lea ecx, [esp + 0x20]
call fcn.6d2c2d40
mov ebx, dword [esp + 0x14]
test eax, eax
jne 0x6d2c55ab
push ebp
push ebp
push 0x2001f
push ebp
push ebp
push esi
push ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call fcn.6d2c3d80
mov edi, dword [esp + 0x20]
test eax, eax
jne 0x6d2c5593
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x34]
push eax
push ebp
push ebp
push str.UninstallString
push edi
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x30]
push 0x6d2dbbf4
push ecx
call dword [sym.imp.MSVCR100.dll_strstr]
add esp, 8
test eax, eax
je 0x6d2c5572
mov dword [esp + 0x10], 1
cmp edi, ebp
je 0x6d2c557f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp dword [esp + 0x10], ebp
je 0x6d2c5593
push esi
lea ecx, [esp + 0x18]
call fcn.6d2c4e00
mov ebx, dword [esp + 0x14]
cmp ebx, ebp
je 0x6d2c55a0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
cmp edi, ebp
je 0x6d2c55ab
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
cmp ebx, ebp
je 0x6d2c55b8
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x828]
pop ebp
pop ebx
xor ecx, esp
call fcn.6d2d932c
add esp, 0x824
ret 0x10
Function at 0x6d2c55e0
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
sub esp, 0x150
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x154]
push esi
push str.msvcrt.dll
mov dword [esp + 0xc], eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x6d2c5629
pop esi
mov ecx, dword [esp + 0x14c]
xor ecx, esp
call fcn.6d2d932c
add esp, 0x150
ret 8
push ebx
push ebp
push edi
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x6d2dbc8c
push esi
call edi
push 0x6d2dbc84
push esi
mov ebx, eax
call edi
push 0x6d2dbc7c
push esi
mov dword [esp + 0x24], eax
call edi
push 0x6d2dbc74
push esi
mov ebp, eax
call edi
push str._fstat
push esi
mov dword [esp + 0x20], eax
call edi
push 0x6d2dbc64
push esi
mov dword [esp + 0x28], eax
call edi
push 0x6d2dbc5c
push esi
mov dword [esp + 0x18], eax
call edi
mov dword [esp + 0x24], eax
test ebx, ebx
je 0x6d2c578e
cmp dword [esp + 0x1c], 0
je 0x6d2c578e
test ebp, ebp
je 0x6d2c578e
cmp dword [esp + 0x18], 0
je 0x6d2c578e
cmp dword [esp + 0x20], 0
je 0x6d2c578e
cmp dword [esp + 0x10], 0
je 0x6d2c578e
test eax, eax
je 0x6d2c578e
lea ecx, [esp + 0x58]
push ecx
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
lea edx, [esp + 0x58]
push 0
push edx
call dword [sym.imp.MSVCR100.dll__tempnam]
push 0x1b6
push 0x102
push eax
call ebx
push 1
mov esi, eax
call dword [esp + 0x34]
push 1
push esi
mov ebx, eax
call ebp
add esp, 0x20
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
je 0x6d2c5726
push str._JVM_DumpAllStacks_8
push eax
call edi
test eax, eax
je 0x6d2c5726
mov ecx, dword [esp + 0x14]
push 0
push ecx
call eax
push 1
push ebx
call ebp
push 0
push 0
push esi
call dword [esp + 0x2c]
lea edx, [esp + 0x3c]
push edx
push esi
call dword [esp + 0x3c]
mov ebp, dword [esp + 0x58]
add esp, 0x1c
xor edi, edi
test ebp, ebp
jle 0x6d2c5763
lea eax, [ebp + 1]
push 1
push eax
call dword [sym.imp.MSVCR100.dll_calloc]
mov edi, eax
push ebp
push edi
push esi
call dword [esp + 0x24]
add esp, 0x14
xor ebx, ebx
test edi, edi
je 0x6d2c577b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push edi
push eax
call edx
mov ebx, eax
push edi
call dword [sym.imp.MSVCR100.dll_free]
push esi
call dword [esp + 0x2c]
add esp, 8
mov eax, ebx
jmp 0x6d2c5790
xor eax, eax
mov ecx, dword [esp + 0x15c]
pop edi
pop ebp
pop ebx
pop esi
xor ecx, esp
call fcn.6d2d932c
add esp, 0x150
ret 8
Function at 0x6d2c57b0
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 0x140
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x144]
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x48]
push ecx
xor edi, edi
push 0x104
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.kernel32.dll_GetTempPathA]
lea edx, [esp + 0x48]
push edi
push edx
call dword [sym.imp.MSVCR100.dll__tempnam]
push 0x1b6
push 0x102
push eax
call dword [sym.imp.MSVCR100.dll__open]
push 1
mov esi, eax
call dword [sym.imp.MSVCR100.dll__dup]
mov ebp, dword [sym.imp.MSVCR100.dll__dup2]
push 1
push esi
mov ebx, eax
call ebp
add esp, 0x20
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push str._JVM_DumpAllStacks_8
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x6d2c5843
mov ecx, dword [esp + 0x10]
push edi
push ecx
call eax
push 1
push ebx
call ebp
push 0
push 0
push esi
call dword [sym.imp.MSVCR100.dll__lseek]
lea edx, [esp + 0x2c]
push edx
push esi
call dword [sym.imp.MSVCR100.dll__fstat64i32]
mov ebx, dword [esp + 0x48]
add esp, 0x1c
test ebx, ebx
jle 0x6d2c589c
lea eax, [ebx + 1]
push 1
push eax
call dword [sym.imp.MSVCR100.dll_calloc]
mov edi, eax
push ebx
push edi
push esi
call dword [sym.imp.MSVCR100.dll__read]
add esp, 0x14
test edi, edi
je 0x6d2c589c
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x29c]
push edi
push eax
call edx
mov ebx, eax
jmp 0x6d2c58a0
mov ebx, dword [esp + 0x14]
push edi
call dword [sym.imp.MSVCR100.dll_free]
push esi
call dword [sym.imp.MSVCR100.dll__close]
mov ecx, dword [esp + 0x154]
add esp, 8
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.6d2d932c
add esp, 0x140
ret 8

Function at 0x6d2c5f70
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x6d2c5f84
pop edi
lea eax, [esi + 0xd]
pop esi
ret 0xc
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
mov ecx, dword [esp + 0xc]
mov edx, dword [edi]
inc eax
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
ret 0xc

Function at 0x6d2c5fb0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
mov dword [esp + 4], ecx
test ebp, ebp
jne 0x6d2c5fc6
lea eax, [ebp + 0xd]
pop ebp
pop ecx
ret 8
push ebx
mov ebx, dword [sym.imp.kernel32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d2c5fd3
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8
Function at 0x6d2c91e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x130]
push ebp
push esi
mov esi, dword [esp + 0x12c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x2a4]
push edi
mov edi, dword [esp + 0x138]
push 0
push ebx
push esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
call ecx
mov ebp, eax
test ebx, ebx
je 0x6d2c92df
lea edx, [esp + 0x10]
push edx
lea ebx, [esp + 0x28]
mov eax, ebx
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push ebp
push edi
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
cmp edi, 0xea
jne 0x6d2c92a4
mov eax, dword [esp + 0x10]
lea edx, [eax - 1]
cmp edx, 0x3ffff
ja 0x6d2c92df
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x6d2c92df
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push ebx
lea ecx, [esp + 0x20]
push ecx
push 0
push ebp
push edx
mov dword [esp + 0x2c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
mov edx, dword [eax + 0x2a8]
push ebp
push ecx
push esi
call edx
test edi, edi
jne 0x6d2c92df
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x2c0]
push ecx
push esi
call edx
mov edi, eax
test edi, edi
jne 0x6d2c92e3
cmp dword [esp + 0x14], eax
je 0x6d2c92df
push ebx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
xor eax, eax
jmp 0x6d2c9325
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 0x340]
push ebx
push ecx
push 0
push edi
push esi
call edx
cmp dword [esp + 0x14], 0
je 0x6d2c9308
push ebx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [0x6d2e56a4]
mov edx, dword [0x6d2e56a8]
push edi
push eax
push ecx
push edx
push esi
call fcn.6d2c1b20
add esp, 0x14
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.6d2d932c
add esp, 0x11c
ret 0x10

Function at 0x6d2c9340
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
mov esi, dword [esp + 0x110]
push 0x104
lea eax, [esp + 8]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x6d2c939f
cmp eax, 0x104
jae 0x6d2c939f
mov ecx, dword [esi]
mov eax, dword [ecx + 0x29c]
lea edx, [esp + 4]
push edx
push esi
call eax
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.6d2d932c
add esp, 0x108
ret 8
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
xor eax, eax
call fcn.6d2d932c
add esp, 0x108
ret 8
Function at 0x6d2c94f0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi]
mov ecx, dword [eax + 0x2a4]
push edi
push 0
push ebp
push esi
call ecx
mov edi, eax
test edi, edi
jne 0x6d2c9517
pop edi
pop esi
xor al, al
pop ebp
ret 0x10
mov edx, dword [esp + 0x18]
push ebx
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push edi
mov ebx, eax
mov eax, dword [esi]
mov ecx, dword [eax + 0x2a8]
push ebp
push esi
call ecx
xor eax, eax
test ebx, ebx
pop ebx
pop edi
pop esi
sete al
pop ebp
ret 0x10

Function at 0x6d2c9550
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x20
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
push 0x20
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x6d2c9593
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x78
je 0x6d2c95e5
xor al, al
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.6d2d932c
add esp, 0x20
ret 8
lea ecx, [esp + 4]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x6d2c9575
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
push 0
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x6d2c9575
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [esp + 0x1c]
test eax, eax
setns al
xor ecx, esp
call fcn.6d2d932c
add esp, 0x20
ret 8

Function at 0x6d2c9680
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x6d2dfa58
push 0x6d2d943c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6d2e54cc]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp + 0x10]
push edi
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov ebx, eax
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
push esi
push 1
push esi
push 0x6d2dc108
lea eax, [ebp - 0x1c]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
call esi
test eax, eax
jne 0x6d2c96f9
push 8
push 1
push eax
push 0x6d2dc108
lea ecx, [ebp - 0x1c]
push ecx
call esi
test eax, eax
je 0x6d2c9727
push ebx
push edi
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x6d2c9727
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
push esi
mov ecx, dword [eax + 0x2c0]
call ecx
mov dword [ebp - 0x20], eax
push ebx
push edi
push 0
push eax
mov ecx, esi
call fcn.6d2c1dd0
mov dword [ebp - 4], 0xfffffffe
call fcn.6d2c974d
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x6d2c9f50
Capabilities:
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x6d2dfad8
push 0x6d2d943c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6d2e54cc]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push 0x8008
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x6d2c9fc2
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.6d2c9ed0
add esp, 8
jmp 0x6d2ca0af
mov edi, dword [ebp + 0x14]
push edi
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov esi, eax
mov dword [ebp - 0x24], esi
push esi
push edi
push ebx
mov eax, dword [ebp + 0x10]
push eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.6d2c9650
push ebx
push esi
push 2
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptSetHashParam]
test eax, eax
jne 0x6d2ca00b
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push edi
call fcn.6d2c9ed0
add esp, 8
jmp 0x6d2ca0af
mov ebx, 2
mov dword [ebp - 0x2c], 4
push 0
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x30]
push eax
push 7
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetKeyParam]
test eax, eax
je 0x6d2c9ff6
cmp dword [ebp - 0x30], 0xa400
jne 0x6d2ca03f
mov ebx, 1
mov dword [ebp + 0x18], 0
lea edx, [ebp + 0x18]
push edx
push 0
push 0
push 0
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptSignHashA]
test eax, eax
je 0x6d2c9ff6
mov ecx, dword [ebp + 0x18]
push ecx
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov esi, eax
mov dword [ebp - 0x20], esi
lea edx, [ebp + 0x18]
push edx
push esi
push 0
push 0
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptSignHashA]
test eax, eax
je 0x6d2c9ff6
mov ecx, dword [edi]
mov edx, dword [ebp + 0x18]
push edx
push edi
mov eax, dword [ecx + 0x2c0]
call eax
mov ebx, eax
push esi
mov ecx, dword [ebp + 0x18]
push ecx
push 0
push ebx
mov ecx, edi
call fcn.6d2c1dd0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.6d2ca0d2
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x6d2ca110
Capabilities:
Hash data using sha1
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x6d2dfaf8
push 0x6d2d943c
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x6d2e54cc]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push 0x8004
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x6d2ca182
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.6d2c9ed0
add esp, 8
jmp 0x6d2ca241
mov edi, dword [ebp + 0x14]
push edi
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov esi, eax
mov dword [ebp - 0x24], esi
push esi
push edi
push ebx
mov eax, dword [ebp + 0x10]
push eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.6d2c9650
push ebx
push esi
push 2
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptSetHashParam]
test eax, eax
jne 0x6d2ca1c8
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push edi
call fcn.6d2c9ed0
add esp, 8
jmp 0x6d2ca241
mov dword [ebp + 0x18], ebx
lea edx, [ebp + 0x18]
push edx
push ebx
push ebx
push ebx
push 2
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptSignHashA]
call ebx
test eax, eax
jne 0x6d2ca1f6
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push edi
call fcn.6d2c9ed0
add esp, 8
jmp 0x6d2ca23f
mov ecx, dword [ebp + 0x18]
push ecx
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov esi, eax
mov dword [ebp - 0x20], esi
lea edx, [ebp + 0x18]
push edx
push esi
push 0
push 0
push 2
mov eax, dword [ebp - 0x1c]
push eax
call ebx
test eax, eax
je 0x6d2ca1e4
mov ecx, dword [edi]
mov edx, dword [ebp + 0x18]
push edx
push edi
mov eax, dword [ecx + 0x2c0]
call eax
mov ebx, eax
push esi
mov ecx, dword [ebp + 0x18]
push ecx
push 0
push ebx
mov ecx, edi
call fcn.6d2c1dd0
mov dword [ebp - 0x28], ebx
xor ebx, ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.6d2ca266
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x6d2ca540
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov edx, dword [eax + 0x2a4]
push edi
push 0
push ecx
push esi
call edx
mov ecx, dword [esp + 0x30]
push 0
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x2a4]
push ecx
push esi
call edx
xor bl, bl
mov ebp, eax
mov byte [esp + 0x24], bl
test edi, edi
je 0x6d2ca603
test ebp, ebp
je 0x6d2ca5ee
lea eax, [esp + 0x10]
push eax
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x6d2ca5af
lea ecx, [esp + 0x10]
push ecx
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x6d2ca5ee
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push ebp
push edx
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x6d2ca5ee
cmp dword [esp + 0x18], ebx
setne byte [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x2a8]
push edi
push edx
push esi
call eax
mov bl, byte [esp + 0x24]
test ebp, ebp
je 0x6d2ca618
mov edx, dword [esp + 0x30]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x2a8]
push ebp
push edx
push esi
call eax
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x10
ret 0x10

Function at 0x6d2ca630
Capabilities:
Set registry value

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
mov ecx, dword [eax + 0x2a4]
push edi
push 0
push ebp
push esi
call ecx
mov edx, dword [esi]
mov ecx, dword [edx + 0x2a4]
mov edi, eax
mov eax, dword [esp + 0x20]
push 0
push eax
push esi
call ecx
mov ebx, eax
test edi, edi
je 0x6d2ca6ca
test ebx, ebx
je 0x6d2ca6bd
lea edx, [esp + 0x14]
push edx
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x6d2ca692
lea eax, [esp + 0x14]
push eax
push edi
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x6d2ca6bd
movzx ecx, byte [esp + 0x24]
mov eax, dword [esp + 0x14]
push 4
lea edx, [esp + 0x28]
push edx
push 4
push 0
push ebx
push eax
mov dword [esp + 0x3c], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esi]
mov eax, dword [edx + 0x2a8]
push edi
push ebp
push esi
call eax
test ebx, ebx
je 0x6d2ca6df
mov edx, dword [esp + 0x20]
mov ecx, dword [esi]
mov eax, dword [ecx + 0x2a8]
push ebx
push edx
push esi
call eax
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
Function at 0x6d2ca870
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x1c
mov eax, dword [0x6d2e54cc]
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 0x6d2ca8ad
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 0x6d2ca8ed
cmp eax, dword [esp + 0x10]
jg 0x6d2ca8ed
mov eax, dword [esp + 4]
cmp eax, dword [esp + 0xc]
jl 0x6d2ca8ed
cmp eax, dword [esp + 0x14]
jg 0x6d2ca8ed
xor al, al
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.6d2d932c
add esp, 0x1c
ret 8
mov ecx, dword [esp + 0x18]
xor ecx, esp
mov al, 1
call fcn.6d2d932c
add esp, 0x1c
ret 8

Function at 0x6d2caa90
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xc40
mov eax, dword [0x6d2e54cc]
xor eax, esp
mov dword [esp + 0xc3c], eax
push ebx
push esi
push 0x6d2dc264
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 0x6d2caafa
mov cl, 0x5c
test bl, bl
jne 0x6d2caae3
mov dl, byte [esp + eax + 0x44]
mov byte [esp + eax + 0x444], dl
cmp byte [esp + eax + 0x44], cl
jne 0x6d2caaf7
test bl, bl
je 0x6d2caaf7
mov byte [esp + eax + 0x444], 0
xor bl, bl
dec eax
jns 0x6d2caad4
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], 0x6d2db9cb
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 0x6d2cab83
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.6d2d932c
add esp, 0xc40
ret 8