joyce8/EMBER2024-capa huggingface dataset:
Function at 0xd541b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00d54140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00d54140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00d54140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00d54140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xd54bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xd54c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xd6687c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xd54c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xd54c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x135a1786
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x7de31932
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x7826040b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x24fa2f21
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x104db058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.104db1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x104db07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104db06a
add dl, dl
jne 0x104db089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104db0dc
xor eax, eax
add dl, dl
jne 0x104db096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104db17d
add dl, dl
jne 0x104db0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104db0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104db0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104db0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x104db0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x104db075
mov eax, 1
add dl, dl
jne 0x104db0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104db0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104db0e1
sub eax, ebx
mov ebx, 1
jne 0x104db128
mov ecx, 1
add dl, dl
jne 0x104db10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104db119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104db105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104db075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x104db13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104db14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104db136
cmp eax, 0x7d00
jae 0x104db16d
cmp eax, 0x500
jb 0x104db168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104db075
cmp eax, 0x7f
ja 0x104db170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104db075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x104db19e
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 0x104db075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x60e6476c
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6bc254a8
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401791
Capabilities:
Create pipe
Get thread local storage value
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2004
call fcn.00410d00
mov eax, dword [0x245f5dc]
mov ecx, dword [0x245f068]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x401884
mov edi, ecx
mov ebx, eax
cmp dword [0x245f5dc], 0x959
jne 0x401874
push esi
lea eax, [ebp - 0x800]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push str.zamuloguwatisofobus
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
lea eax, [ebp - 0xc00]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [ebp - 0x1400]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push esi
lea eax, [ebp - 0x1800]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.bukogohupalovezowafuroyedi_jur_wizexasecefabumupanufigiyojorutu_mit_xamev
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push esi
lea eax, [ebp - 0x2000]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call fcn.00401543
add edi, 8
dec ebx
jne 0x4017bd
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402c2d
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x41384c
call fcn.004136d0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0040390d
xor edi, edi
push 4
mov dword [ebp - 4], edi
call fcn.00404bd8
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x402c75
call fcn.004036c1
mov dword [ebx], eax
call fcn.00403480
mov ecx, eax
call fcn.00401181
mov eax, ebx
jmp 0x402c77
xor eax, eax
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x24], ecx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x2c]
mov dword [esi + 0x34], ecx
mov dword [eax], edi
mov eax, dword [esi + 0x24]
mov dword [eax], edi
mov eax, dword [esi + 0x34]
mov dword [eax], edi
mov eax, dword [esi + 0x10]
mov dword [eax], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov eax, dword [esi + 0x30]
mov dword [eax], edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
pop edi
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x405260
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4463f8]
jne 0x40526a
repz ret
jmp fcn.0040a1ec
Function at 0x4102ea
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4463f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00408d5f
and dword [ebp - 0x14], 0
cmp dword [0x44ced0], 0
mov dword [ebp - 0x18], eax
jne 0x41039d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x410445
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x410445
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x44ced0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44ced4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44ced8], eax
call edi
push eax
call esi
mov dword [0x44cee0], eax
test eax, eax
je 0x41039d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44cedc], eax
mov eax, dword [0x44cedc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4103f6
cmp dword [0x44cee0], ecx
je 0x4103f6
push eax
call esi
push dword [0x44cee0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4103f6
test ebx, ebx
je 0x4103f6
call edi
test eax, eax
je 0x4103ed
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4103ed
test byte [ebp - 8], 1
jne 0x4103f6
or dword [ebp + 0x10], 0x200000
jmp 0x410429
mov eax, dword [0x44ced4]
cmp eax, dword [ebp - 0x18]
je 0x410429
push eax
call esi
test eax, eax
je 0x410429
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x410429
mov eax, dword [0x44ced8]
cmp eax, dword [ebp - 0x18]
je 0x410429
push eax
call esi
test eax, eax
je 0x410429
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44ced0]
call esi
test eax, eax
je 0x410445
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x410447
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405260
leave
ret
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x14bc77e4
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x11fb2a9b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0xed0186d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push edi
push esi
call fcn.0ed0154d
test eax, eax
je 0xed0ce26
cmp edi, 1
je 0xed0ce2d
cmp edi, 2
jne 0xed01951
push 0
jmp 0xed0ce60
call fcn.0ed020a1
mov ecx, 0xed3e058
call fcn.0ed0213f
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0xc
cmp edi, 3
jne 0xed021b9
call fcn.0ed01970
push 0
call fcn.0ed0cc82
jmp 0xed0ce6a
test edi, edi
jne 0xed018b4
mov esi, 0xed3f1bc
mov ecx, dword [esi]
test ecx, ecx
jne 0xed0ce74
add esi, 4
cmp esi, 0xed3f1c8
jl 0xed021c6
push 1
call fcn.0ed0cc82
call fcn.0ed01970
call fcn.0ed12371
jmp 0xed0ce98
call fcn.0ed02f27
jmp 0xed0ce3c
call fcn.0ed02fb1
push 0
push esi
push 0xed3f1f8
mov ecx, 0xed3e058
call fcn.0ed03307
mov dword [0xed3e014], esi
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push 0xed032c8
call esi
push 0xed03258
mov dword [0xed3e018], eax
call esi
push 0xed0327c
mov dword [0xed3e01c], eax
call esi
push 0xed03298
mov dword [0xed3e020], eax
call esi
mov dword [0xed3ef54], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
jmp 0xed0ce5a
xor eax, eax
jmp 0xed018b7
call fcn.0ed10d5b
test al, al
je 0xed031eb
jmp 0xed0ce26
push 0xed3fa40
push 0xed3fa48
push 0xed10c30
push 0xed0cec0
call fcn.0ed10c87
jmp 0xed031f5
mov dword [0xed3f928], eax
push edi
call fcn.0ed018f7
jmp 0xed018b4
call fcn.0ed12371
jmp 0xed018b4
call fcn.0ed173c5
test al, al
je 0xed0ce84
mov ecx, dword [esi]
call fcn.0ed0ad8c
mov ecx, dword [esi]
test ecx, ecx
je 0xed0ce90
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [esi], 0
jmp 0xed021d0
mov eax, dword [0xed3f928]
cmp eax, 0xffffffff
je 0xed0ceb0
push eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
or dword [0xed3f928], 0xffffffff
push 0xed3fa40
call fcn.0ed10cb3
jmp 0xed018a5
Function at 0xed01d9e
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0xed3f1a8]
cmp eax, 1
jne 0xed0397b
mov eax, dword [0xed3f1ac]
cmp dword [eax], 0
jne 0xed0acce
mov eax, dword [ebp + 8]
and dword [eax], 0
xor eax, eax
inc eax
pop ebp
ret 4
cmp dword [0xed3f354], 1
jne 0xed0f14e
mov ecx, dword [0xed3f350]
test ecx, ecx
jne 0xed0f16b
test eax, eax
jne 0xed0f167
cmp dword [0xed3f340], 5
jb 0xed0f15d
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xa0]
push 1
add eax, 0xc
push 0xed3f1a8
mov dword [0xed3f1ac], eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0xed01db1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [0xed3f1ac]
xor ecx, ecx
cmp dword [edx], eax
mov eax, dword [ebp + 8]
sete cl
mov dword [eax], ecx
jmp 0xed01dc5
push 1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0xed01dc8
mov dword [0xed3f1a8], 2
push 0x32
jmp 0xed0f150
pop ebp
jmp ecx
Function at 0xed0366e
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0xed3e248]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0ed03741
mov eax, 0xed00000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0xed03710
cmp dword [ebp - 0x94], 5
jb 0xed036e3
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0xed0372c
call fcn.0ed02055
test eax, eax
jl 0xed0e400
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0ed01b36
leave
ret
cmp dword [ebp - 0x88], 1
je 0xed0e3e8
jmp 0xed036e3
cmp dword [ebp - 0x90], 0
jbe 0xed036e3
jmp 0xed036df
cmp dword [ebp - 0x94], 4
ja 0xed036df
je 0xed0371f
jmp 0xed036e3
mov byte [0xed3fa1c], 1
jmp 0xed03701

Function at 0xed0a331
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0xed0a345
sub eax, ecx
sar eax, 1
lea edi, [eax + 0xe]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0ed01ed9
mov esi, eax
pop ecx
cmp esi, ebx
je 0xed0a3af
push dword [ebp + 0xc]
xor eax, eax
push edi
push esi
mov word [esi], ax
call fcn.0ed0a3e1
cmp eax, ebx
jl 0xed0a3af
push 0xed0a3c0
push edi
push esi
call fcn.0ed0a3e1
cmp eax, ebx
jl 0xed0a3af
push esi
cmp byte [ebp + 8], bl
jne 0xed0f120
push ebx
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 4], eax
push esi
call fcn.0ed01911
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 8
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0xed0a3af
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
jmp 0xed0a3af
Function at 0xed0ac01
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov esi, ecx
mov dword [ebp - 8], ebx
call fcn.0ed0ab41
push dword [ebp - 8]
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
call edi
cmp eax, ebx
jg 0xed0d4ce
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
cmp eax, ebx
je 0xed0ac5a
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
call edi
jmp 0xed0d4dd
cmp dword [esi + 8], ebx
je 0xed0d503
push dword [ebp - 8]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
and eax, 0xffff
or eax, 0x80070000
jmp 0xed0ac3a
cmp eax, ebx
jle 0xed0d4eb
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 4], eax
cmp dword [esi + 8], ebx
jne 0xed0ac63
mov ecx, esi
call fcn.0ed17772
jmp 0xed0ac5a
cmp dword [ebp - 4], ebx
mov ebx, 0x80004005
jge 0xed0ac63
mov ebx, dword [ebp - 4]
jmp 0xed0ac63

Function at 0xed0b15a
Capabilities:
Set global application hook

Disassembly:
cmp dword [0xed3ef58], 0
jne 0xed0b1be
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExW]
push 0
push dword [0xed3e014]
push 0xed02414
push 0xa
call esi
push 0
push dword [0xed3e014]
mov dword [0xed3f8f0], eax
push 0xed01480
push 3
call esi
push 0
push dword [0xed3e014]
mov dword [0xed3f8f4], eax
push 0xed10e91
push 4
call esi
mov dword [0xed3f8f8], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0xed3ef58], eax
xor eax, eax
inc eax
pop esi
ret 4
xor eax, eax
jmp 0xed0b1bb

Function at 0xed13352
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ebx, ecx
test esi, esi
jne 0xed1336d
push 0x80004005
call fcn.0ed10bab
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0xed1336f
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0xed13a0e
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0xed3e248]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, ecx
mov ecx, dword [ebp + 8]
push 0x2001f
push ecx
push dword [eax]
xor esi, esi
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.0ed02855
mov edi, eax
cmp edi, esi
je 0xed13a80
lea ecx, [ebp - 0x214]
call fcn.0ed02891
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0ed01b36
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0xed13a9e
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.0ed13a0e
cmp eax, esi
jne 0xed13ae9
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call edi
test eax, eax
je 0xed13a88
lea ecx, [ebp - 0x214]
call fcn.0ed02891
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
call fcn.0ed1317c
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.0ed02891
mov eax, esi
jmp 0xed13a70
Function at 0xed16a6e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0xed38003
call fcn.0ed18fac
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0xed16ac7
call fcn.0ed1308b
mov esi, eax
jmp 0xed16bd0
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0xed16ae0
call fcn.0ed1308b
jmp 0xed16bc2
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
cmp eax, esi
je 0xed16ad6
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x420], edi
cmp eax, edi
jae 0xed16b46
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0xed16b2c
lea ecx, [ebp - 0x418]
call fcn.0ed139ad
mov esi, 0x8007000e
lea ecx, [ebp - 0x424]
call fcn.0ed112c0
mov eax, esi
call fcn.0ed18fec
ret 0x10
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0ed1408c
mov dword [ebp - 4], 1
jmp 0xed16b74
cmp dword [ebp - 0x418], esi
jne 0xed16b83
mov esi, 0x8007000e
jmp 0xed16bc4
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0xed16ad6
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.0ed1626a
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0xed16b31
lea ecx, [ebp - 0x418]
call fcn.0ed139ad
jmp 0xed16b31