joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100013a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10006245
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [0x1000937c]
cmp eax, ebx
jne 0x10001438
push 0x28
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], ebx
cmp esi, ebx
je 0x10001415
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
mov ebx, 1
push ecx
mov dword [esp + 0x10], ebx
call fcn.100032d9
jmp 0x10001417
xor eax, eax
mov dword [0x1000937c], eax
mov dword [esp + 0x38], 0xffffffff
test bl, 1
je 0x10001451
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [0x1000937c]
mov edx, dword [esp + 0x44]
mov dword [eax + 0x1c], edx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x100017bd
Capabilities:
Create pipe

Disassembly:
push ebp
push esi
mov esi, dword [0x10009374]
push edi
lea edi, [esi + 0xa0]
xor ebp, ebp
cmp dword [edi], ebp
je 0x100017d9
xor al, al
jmp 0x10001866
push ebx
push ebp
xor ebx, ebx
inc ebx
push ebx
push ebp
mov dword [edi], 2
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x5c], eax
cmp eax, ebp
je 0x1000185f
push ebp
push ebp
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0xb8], eax
cmp eax, ebp
je 0x1000185f
push 4
push 0xffffffffffffffff
push esi
push 0x10001f4f
push eax
lea eax, [esi + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x1000185f
cmp dword [esi + 0x4c], 8
jb 0x1000182b
mov eax, dword [esi + 0x38]
jmp 0x1000182e
lea eax, [esi + 0x38]
push dword [esi + 0x50]
push ebp
push 0x40
push 0x40
push ebx
push 6
push 0x40080003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x54], eax
cmp eax, 0xffffffff
je 0x1000185f
push dword [esi + 0xb8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x10001863
mov dword [edi], ebx
xor al, al
jmp 0x10001865
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x10001959
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push edi
push 0x2c
lea edi, [esi + 0xbc]
push 0
push edi
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esi + 0xa8]
push eax
lea eax, [ebp - 4]
push eax
push 0x2c
push edi
push dword [esi + 0x54]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
setne bl
test bl, bl
je 0x1000199a
xor eax, eax
jmp 0x100019a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
test bl, bl
pop ebx
jne 0x100019b9
cmp eax, 0x3e5
je 0x100019b9
push 0xa
pop ecx
mov eax, esi
call fcn.10001c12
leave
ret
mov dword [esi + 0xa0], 5
leave
ret
Function at 0x100057a8
Capabilities:
Read pipe
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push edi
lea eax, [esi + 0x44]
push eax
lea eax, [esi + 0x40]
push eax
lea eax, [esi + 0x3c]
push eax
push dword [esi + 0x28]
lea edi, [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, edi
lea eax, [ebp - 0x88]
call fcn.10005671
lea ecx, [ebp - 0x30]
call fcn.10001547
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push 0x2c
lea eax, [ebp - 0x30]
push eax
push 0x2c
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
jne 0x1000580b
xor al, al
jmp 0x10005866
cmp dword [ebp - 0x30], 2
jne 0x10005807
cmp dword [ebp - 0x2c], edi
je 0x10005807
cmp dword [ebp - 0x10], edi
je 0x10005807
cmp dword [ebp - 0xc], edi
je 0x10005807
cmp dword [ebp - 8], edi
je 0x10005807
lea ecx, [ebp - 0x5c]
call fcn.10001547
push edi
lea eax, [ebp - 4]
push eax
push 0x2c
lea eax, [ebp - 0x5c]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x5c], 3
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x10005807
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x38], eax
mov al, 1
pop edi
leave
ret 4

Function at 0x10005901
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x1000590b
repz ret
jmp fcn.10005cca
Function at 0x9f8058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9f81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9f807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9f806a
add dl, dl
jne 0x9f8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9f80dc
xor eax, eax
add dl, dl
jne 0x9f8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9f817d
add dl, dl
jne 0x9f80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9f80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9f8075
mov eax, 1
add dl, dl
jne 0x9f80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9f80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9f80e1
sub eax, ebx
mov ebx, 1
jne 0x9f8128
mov ecx, 1
add dl, dl
jne 0x9f810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9f8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9f8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9f8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9f813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9f814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9f8136
cmp eax, 0x7d00
jae 0x9f816d
cmp eax, 0x500
jb 0x9f8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9f8075
cmp eax, 0x7f
ja 0x9f8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9f8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9f819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9f8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x439529
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x40
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00439480
add esp, 0xc
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x439558
mov eax, 0xea61
jmp 0x4395d6
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x3c], 0
jne 0x439568
mov eax, 0xea62
jmp 0x4395d6
push 0xf8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push eax
call fcn.00439480
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0x4550
je 0x439595
mov eax, 0xea62
jmp 0x4395d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 4]
cmp ecx, 0x14c
je 0x4395ad
mov eax, 0xea65
jmp 0x4395d6
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov cx, word [eax + 0x16]
test ch, 0x10
je 0x4395c2
mov eax, 0xea66
jmp 0x4395d6
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x74], 0x10
jbe 0x4395d2
mov eax, 0xea67
jmp 0x4395d6
xor eax, eax
jmp 0x4395d6
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4016c9
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
push dword [esi + 0x1438]
xor ebp, ebp
call fcn.00402cac
pop ecx
push ebp
push dword [esi + 0x1430]
lea edi, [esi + 0x142c]
push dword [edi]
mov ebx, eax
call dword [0x408028]
push dword [esi + 0x1438]
push ebx
push dword [edi]
call dword [0x408024]
xor ecx, ecx
cmp eax, dword [esi + 0x1438]
jne 0x401764
cmp ecx, dword [esi + 0x143c]
jne 0x401764
push ecx
lea eax, [esi + 0x1224]
push eax
call dword [0x408034]
cmp eax, 0xffffffff
mov dword [esi + 0x1440], eax
jne 0x401741
push 0x4082e4
lea eax, [esi + 8]
push eax
call dword [0x408014]
push 0x37
jmp 0x401775
xor eax, eax
xor byte [eax + ebx], 7
inc eax
cmp eax, 0x7d0
jl 0x401743
push dword [esi + 0x1438]
push ebx
push dword [esi + 0x1440]
call dword [0x408030]
jmp 0x401776
push 0x4082c8
lea eax, [esi + 8]
push eax
call dword [0x408014]
push 0x36
pop ebp
push ebx
call fcn.00402bcf
mov esi, dword [esi + 0x1440]
cmp esi, 0xffffffff
pop ecx
je 0x40178f
push esi
call dword [0x40801c]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
ret
Function at 0xafe058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00afe1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xafe07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xafe06a
add dl, dl
jne 0xafe089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xafe0dc
xor eax, eax
add dl, dl
jne 0xafe096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xafe17d
add dl, dl
jne 0xafe0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xafe0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xafe0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xafe0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xafe0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xafe075
mov eax, 1
add dl, dl
jne 0xafe0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xafe0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xafe0e1
sub eax, ebx
mov ebx, 1
jne 0xafe128
mov ecx, 1
add dl, dl
jne 0xafe10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xafe119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xafe105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xafe075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xafe13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xafe14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xafe136
cmp eax, 0x7d00
jae 0xafe16d
cmp eax, 0x500
jb 0xafe168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xafe075
cmp eax, 0x7f
ja 0xafe170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xafe075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xafe19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xafe075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x6a6f6aa9
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x306e787c
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x6d461799
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 0x6d4617e7
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d4617f8
push 0xd
pop eax
jmp 0x6d461822
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 0x6d4617fb
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 0x6d461db8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d46c188]
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.6d468011
mov ebx, eax
cmp ebx, esi
je 0x6d461e2b
lea ecx, [ebp - 0x74]
call fcn.6d4616c7
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d46731e
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d461e43
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d461db8
cmp eax, esi
jne 0x6d461e75
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], pe_nt_image_headers32
call ebx
test eax, eax
je 0x6d461e33
lea ecx, [ebp - 0x74]
call fcn.6d4616c7
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d461658
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d4616c7
mov eax, esi
jmp 0x6d461e11
Function at 0x6d463f59
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8f4]
sub esp, 0x974
mov eax, dword [0x6d46c188]
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.6d468011
add esp, 0x10
test eax, eax
je 0x6d4640b4
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 0x6d4640b4
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 0x6d463ff5
push str.__new
jmp 0x6d463ffa
push str.__old
push edi
push eax
call esi
add esp, 0xc
cmp dword [ebp + 0x904], ebx
je 0x6d46401b
push str.__high
lea eax, [ebp + 0x7ec]
push edi
push eax
call esi
add esp, 0xc
cmp dword [ebp + 0x90c], ebx
je 0x6d464035
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 0x6d46406b
call fcn.6d468011
test eax, eax
je 0x6d46406b
mov dword [ebp - 0x74], str.runas
cmp dword [ebp + 0x908], ebx
je 0x6d46407a
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 0x6d4640b4
cmp dword [ebp - 0x48], ebx
je 0x6d4640b0
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 0x6d4640b6
xor eax, eax
mov ecx, dword [ebp + 0x8f0]
pop esi
xor ecx, ebp
pop ebx
call fcn.6d46731e
add ebp, 0x8f4
leave
ret
Function at 0x6d4649f5
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x6d46c188]
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 0x6d469aec
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.6d468011
lea ecx, [ebp - 0x74]
test eax, eax
je 0x6d464a6d
call fcn.6d4616c7
lea ecx, [ebp - 0x80]
call fcn.6d4616c7
jmp 0x6d464af9
push 0x2001f
push str.Classes
push dword [ebp - 0x80]
call fcn.6d468011
test eax, eax
je 0x6d464a88
lea ecx, [ebp - 0x74]
jmp 0x6d464a5b
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 0x6d464ade
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 0x6d464ac5
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d461db8
test eax, eax
je 0x6d464ac8
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 0x6d464a9d
lea ecx, [ebp - 0x74]
call fcn.6d4616c7
lea ecx, [ebp - 0x80]
call fcn.6d4616c7
pop edi
pop esi
mov ecx, dword [ebp + 0x39c]
xor ecx, ebp
pop ebx
call fcn.6d46731e
add ebp, 0x3a0
leave
ret
Function at 0x6d466733
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3b8]
sub esp, 0x438
mov eax, dword [0x6d46c188]
xor eax, ebp
mov dword [ebp + 0x3b4], eax
push ebx
xor ebx, ebx
push esi
mov esi, 0x20019
push esi
push 0x6d46a408
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.6d468011
test eax, eax
je 0x6d4667ce
lea ecx, [ebp - 0x74]
call fcn.6d4616c7
lea ecx, [ebp - 0x5c]
call fcn.6d4616c7
lea ecx, [ebp - 0x68]
call fcn.6d4616c7
lea ecx, [ebp - 0x80]
call fcn.6d4616c7
xor eax, eax
mov ecx, dword [ebp + 0x3b4]
pop esi
xor ecx, ebp
pop ebx
call fcn.6d46731e
add ebp, 0x3b8
leave
ret
push esi
push 0x6d46a414
push dword [ebp - 0x80]
lea ecx, [ebp - 0x68]
call fcn.6d468011
test eax, eax
jne 0x6d466795
push esi
push 0x6d46a420
push dword [ebp - 0x68]
lea ecx, [ebp - 0x5c]
call fcn.6d468011
test eax, eax
je 0x6d46681c
lea ecx, [ebp - 0x74]
call fcn.6d4616c7
lea ecx, [ebp - 0x5c]
call fcn.6d4616c7
lea ecx, [ebp - 0x68]
call fcn.6d4616c7
lea ecx, [ebp - 0x80]
call fcn.6d4616c7
mov eax, ebx
jmp 0x6d4667b7
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 0x6d4667f8
push edi
inc dword [ebp - 0x50]
mov edi, dword [ebp + 0x3c0]
lea eax, [ebp - 0x4c]
mov cl, byte [eax]
cmp cl, byte [edi]
jne 0x6d46686f
cmp cl, bl
je 0x6d46686b
mov cl, byte [eax + 1]
cmp cl, byte [edi + 1]
jne 0x6d46686f
add eax, 2
add edi, 2
cmp cl, bl
jne 0x6d46684f
xor eax, eax
jmp 0x6d466874
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
lea eax, [ebp - 0x4c]
je 0x6d46689d
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 0x6d466843
jmp 0x6d4668d3
push 0x20019
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x74]
call fcn.6d468011
test eax, eax
jne 0x6d4668d3
push str.UseNewJavaPlugin
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x50], ebx
call fcn.6d468011
test eax, eax
jne 0x6d4668d3
xor ebx, ebx
cmp dword [ebp - 0x50], 1
sete bl
pop edi
jmp 0x6d4667f8

Function at 0x6d46731e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d46c188]
jne 0x6d467328
repz ret
jmp fcn.6d4679b9
Function at 0x6d468011
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x6d468020
pop dword [ebp - 0x40]
mov eax, 0x6d468020
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x2cb3b5b6
add dword [ebp - 0x50], 0x219e8f95
mov dword [ebp - 0x4c], 0x5d9bcba2
add dword [ebp - 0x4c], 0xd49780a3
mov dword [ebp - 0x48], 0xcc86aaa6
add dword [ebp - 0x48], 0x7fc59988
mov dword [ebp - 0x44], 0x28b7c0df
add dword [ebp - 0x44], 0xd7483f21
lea eax, [ebp - 0x50]
push eax
mov eax, 0x3d3f34d3
add eax, 0x30075b59
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x4b6bac8a
add dword [ebp - 0x50], 0x2906bccc
mov dword [ebp - 0x4c], 0xf0ce6a15
add dword [ebp - 0x4c], 0x509df760
mov dword [ebp - 0x48], 0xec8a715d
add dword [ebp - 0x48], 0x76e4fb0f
mov dword [ebp - 0x44], 0x828f932d
sub dword [ebp - 0x44], 0x828f932d
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x356745b1
add eax, 0x37df4a77
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x36b04
push 0
call eax
mov ecx, 0xca2ecb7a
sub ecx, 0xca2e8617
xor edx, edx
add edx, eax
mov ebx, 0x6d46ee00
add ebx, dword [ebp - 0x40]
mov edi, 0xf5dc34bb
xor dword [ebp - 0x30], 0x9493738f
mov esi, dword [ebx]
add dword [ebp - 8], esi
add esi, edi
xor dword [ebp - 0x28], edx
mov dword [edx], esi
xor dword [ebp - 0x24], eax
add edx, 4
add ebx, 4
loop 0x6d468133
add eax, 0x316d570a
sub eax, 0x316c4eab
mov ebx, eax
add eax, 0x9d1f7681
add eax, 0x62e08984
mov ecx, 0x92272610
add ecx, 0xdb1ed9f0
add ecx, dword [ebp - 0x40]
call ebx
leave
ret