joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c198
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x4186ec
mov eax, esi
mov edx, 8
test al, 1
je 0x40c1b4
shr eax, 1
xor eax, 0xedb88320
jmp 0x40c1b6
shr eax, 1
dec edx
jne 0x40c1a7
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40c1a0
pop esi
ret

Function at 0x40c1cc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x4186e8], 0
jne 0x40c1f0
call fcn.0040c198
push 1
push 0x4186e8
call sub.kernel32.dll_InterlockedExchange
mov dword [esp], edi
test esi, esi
je 0x40c220
mov eax, ebx
and eax, 0xff
mov edx, dword [esp]
movzx edx, byte [edx]
xor ax, dx
movzx eax, ax
mov eax, dword [eax*4 + 0x4186ec]
shr ebx, 8
xor eax, ebx
mov ebx, eax
dec esi
inc dword [esp]
test esi, esi
jne 0x40c1f7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d550
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40d65a
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [0x417654]
mov eax, dword [eax]
call fcn.004057fc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.00409ec8
mov dword [ebp - 8], 0xff
mov eax, 0x1a
call fcn.00413d08
mov esi, eax
dec esi
test esi, esi
jl 0x40d5e6
inc esi
xor ebx, ebx
mov edi, ebx
shl edi, 2
mov eax, dword [0x41760c]
mov eax, dword [eax]
mov edx, dword [eax + edi*4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call fcn.0040a82c
mov eax, dword [0x41760c]
mov eax, dword [eax]
mov eax, dword [eax + edi*4 + 4]
call fcn.00408754
push eax
call sub.kernel32.dll_GetUserDefaultLangID
movzx eax, ax
pop edx
cmp edx, eax
jne 0x40d5e2
mov dword [ebp - 8], ebx
inc ebx
dec esi
jne 0x40d5a7
cmp dword [ebp - 8], 0xff
jne 0x40d628
mov eax, 0x1a
call fcn.00413d08
mov esi, eax
dec esi
test esi, esi
jl 0x40d628
inc esi
xor ebx, ebx
mov eax, ebx
shl eax, 2
mov edx, dword [0x41760c]
mov edx, dword [edx]
mov eax, dword [edx + eax*4]
mov edx, 0x40d670
call fcn.00401d34
jne 0x40d624
mov dword [ebp - 8], ebx
jmp 0x40d628
inc ebx
dec esi
jne 0x40d603
cmp dword [ebp - 8], 0xff
jne 0x40d636
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [ebp - 8]
call fcn.0040aad0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d661
lea eax, [ebp - 0xc]
call fcn.00401a64
ret

Function at 0x40eacc
Capabilities:
Get hostname
Get session user name

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, edx
mov dword [esp], pe_nt_image_headers32
test al, al
je 0x40eaed
push esp
lea eax, [esp + 8]
push eax
call sub.advapi32.dll_GetUserNameA
jmp 0x40eaf8
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00401bd8
add esp, 0x104
pop ebx
ret
Function at 0x40eb10
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffc10
mov ebx, edx
push esp
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [esp]
push eax
call sub.ole32.dll_CoTaskMemFree
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x3e9
call fcn.00401bd8
add esp, 0x3f0
pop ebx
ret

Function at 0x4106dc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x410876
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x41761c]
mov eax, dword [eax]
mov edx, dword [eax + 0xe4]
mov eax, dword [0x418b0c]
mov eax, dword [eax + 0x5c]
call fcn.00409ec8
mov eax, dword [0x417654]
mov eax, dword [eax]
call fcn.0040a460
mov eax, 0x28
call fcn.00413d08
mov edi, eax
dec edi
test edi, edi
jl 0x410853
inc edi
xor ebx, ebx
mov esi, ebx
add esi, esi
lea esi, [esi + esi*2]
mov eax, dword [0x417618]
mov eax, dword [eax]
mov eax, dword [eax + esi*4 + 0x10]
call fcn.00408754
xor edx, edx
mov dl, byte [ebp - 1]
cmp eax, edx
jne 0x41084b
mov eax, dword [0x417618]
mov eax, dword [eax]
mov eax, dword [eax + esi*4 + 4]
lea ecx, [ebp - 8]
xor edx, edx
call fcn.0040f01c
lea eax, [ebp - 0x44]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040134c
mov dword [ebp - 0x44], 0x3c
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 8]
call fcn.00401de8
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 8]
call fcn.00403ee8
mov eax, dword [ebp - 0x48]
call fcn.00401de8
mov dword [ebp - 0x2c], eax
mov eax, dword [0x417618]
mov eax, dword [eax]
mov eax, dword [eax + esi*4 + 8]
lea ecx, [ebp - 0x4c]
xor edx, edx
call fcn.0040f01c
mov eax, dword [ebp - 0x4c]
call fcn.00401de8
mov dword [ebp - 0x30], eax
mov eax, dword [0x417618]
mov eax, dword [eax]
mov eax, dword [eax + esi*4 + 0xc]
call fcn.00408754
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x40], 0x400
mov eax, dword [0x417618]
mov eax, dword [eax]
mov eax, dword [eax + esi*4 + 0x14]
call fcn.00408754
dec eax
jne 0x41080f
mov eax, dword [ebp - 0x40]
or eax, 0x40
or eax, 0x200
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
call sub.shell32.dll_ShellExecuteExA
jmp 0x410826
mov eax, dword [0x417654]
mov eax, dword [eax]
call fcn.0040a460
push 0x32
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x41081a
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [0x418b0c]
call fcn.0040f22c
inc ebx
dec edi
jne 0x41073f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41087d
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00401a88
lea eax, [ebp - 8]
call fcn.00401a64
ret
Function at 0x413dac
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x413e76
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00413d18
mov eax, dword [ebp - 4]
call fcn.00401de8
push eax
call sub.kernel32.dll_DeleteFileA
inc ebx
cmp ebx, 0x12
jne 0x413dc8
mov eax, 0x1a
call fcn.00413d08
mov esi, eax
add esi, 0x14
sub esi, 0x14
jl 0x413e35
inc esi
mov ebx, 0x14
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00413d18
mov eax, dword [ebp - 8]
call fcn.00401de8
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0xc]
lea eax, [ebx + 0x1e]
call fcn.00413d18
mov eax, dword [ebp - 0xc]
call fcn.00401de8
push eax
call sub.kernel32.dll_DeleteFileA
inc ebx
dec esi
jne 0x413e00
lea edx, [ebp - 0x14]
mov eax, 1
call fcn.00413d18
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00403ee8
mov eax, dword [ebp - 0x10]
call fcn.00401de8
push eax
call sub.kernel32.dll_RemoveDirectoryA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x413e7d
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00401a88
ret

Function at 0x414184
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x4141c8
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
jne 0x4141c8
lea eax, [esp + 4]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x41425f
mov eax, 0x400
call fcn.00401170
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x400
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle
test ebx, ebx
je 0x414258
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x4175f8
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x41424e
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x41424a
mov byte [esp], 1
jmp 0x41424e
inc edi
dec ebx
jne 0x414231
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00401188
mov al, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x269f256c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x7d485952
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4010d2
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4053c0
push ebx
push esi
mov esi, dword [esp + 0xc]
xor ebx, ebx
mov ecx, esi
mov dl, byte [esi]
test dl, dl
je 0x4053dd
xor dl, bl
inc ebx
mov byte [ecx], dl
mov dl, byte [ecx + 1]
inc ecx
test dl, dl
jne 0x4053d0
mov eax, esi
pop esi
pop ebx
ret

Function at 0x401122
Capabilities:
Create process on windows

Disassembly:
jmp 0x402480
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push str.open
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x402572
lea ecx, [esp + 0x10]
push ecx
push str..htm
push 0x80000000
mov ecx, edi
call fcn.0040120d
test eax, eax
jne 0x402572
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x80000000
mov ecx, edi
call fcn.0040120d
test eax, eax
jne 0x402572
lea edx, [esp + 0x10]
push 0x44b384
push edx
call fcn.00407850
mov esi, eax
add esp, 8
test esi, esi
jne 0x402543
lea eax, [esp + 0x10]
push 0x44b380
push eax
call fcn.004077d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x402543
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x402546
mov byte [esi], 0
push 0x44b37c
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x40117c
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x405bc0
sub esp, 0x104
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
push str.InstallW
push esi
call fcn.004077d0
add esp, 8
test eax, eax
jne 0x405c00
pop edi
pop esi
add esp, 0x104
ret
inc esi
push 0x5c
push esi
call fcn.0040110e
mov byte [eax], 0
push esi
lea eax, [esp + 0x14]
push str._sPlusExt.dll
push eax
call fcn.00407ac1
add esp, 0x14
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x405c45
push str.DllUnregisterServer
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
mov eax, 1
pop esi
add esp, 0x104
ret
Function at 0x4011b8
Capabilities:
Get common file path

Disassembly:
jmp 0x402080
push 0xffffffffffffffff
push 0x43e238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x64]
test eax, eax
jne 0x40212a
mov eax, dword [0x44b984]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00426933
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.00426982
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.004268df
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x402111
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x402111
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x64], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.00426503
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x40120d
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x402170
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4021d2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc

Function at 0x40122b
Capabilities:
Read file on windows

Disassembly:
jmp 0x405ab0
push ecx
mov eax, dword [0x450454]
push esi
push edi
push str.CreateFileA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x10]
xor esi, esi
push esi
push 0x80
push 3
push esi
push esi
push 0x80000000
push ecx
call eax
mov edi, eax
cmp edi, 0xffffffff
jne 0x405ae9
pop edi
xor eax, eax
pop esi
pop ecx
ret
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esp + 0x10], esi
push 0
push 0
push esi
push edi
call ebp
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esi + ebx]
push 0x1000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
add esi, eax
test eax, eax
ja 0x405af9
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop ebx
mov eax, esi
pop edi
pop esi
pop ecx
ret
Function at 0x406240
Capabilities:
Terminate process

Disassembly:
jmp 0x406140
push 0xffffffffffffffff
push 0x43e598
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [esp + 8], esi
call fcn.004399b6
mov dword [esp + 0x10], 0
mov dword [esi], method.CWinApp.virtual_0
call fcn.0040100a
test eax, eax
je 0x406183
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x450454]
test eax, eax
je 0x406194
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, 0x450290
jmp 0x401104

Function at 0x423008
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x423040
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004269aa
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00426982
jmp 0x42304c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x424e0a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x424e4c
call fcn.0043a421
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x424e4c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x424e43
xor eax, eax
jmp 0x424e54
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00424e5a
pop edi
pop esi
pop ebx
ret 4
Function at 0xdebbc0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xf0ddcff4
jmp 0xdebbe3
call fcn.00debb1b
invalid
mov dword [esp + 0x38], ebp
call 0xdebbc0
and ecx, ebp
sahf
add byte [eax], al
add byte [ecx - 0x7dd9ff3f], al
adc cl, ch
adc dword [edx], ebx
add byte [eax], al
jl 0xdebbb4
jo 0xdebbeb
loop 0xdebc2d
mov dword [reloc.WINMM.dll_waveOutRestart], eax
jne 0xdebbb6
mov dword [esp + 0x38], ebp
jmp 0xdebbba
jmp 0xdebc2b
sub esi, dword [ebp + reloc.WINMM.dll_waveOutRestart]
cmp esp, dword [esi + reloc.WINMM.dll_waveOutRestart]
push edi
mov esi, 0x9246c88
pop word [esp + 0x1b]
mov dword [esp + 0x50], edi
lea esp, [esp + 0x50]
pushfd
jmp 0xdebb07
bts dx, dx
jnp 0xdebc3c
mov edi, ebx
mov cl, byte [esp]
lea edx, [esi + ebp]
jmp 0xdebc4a
rdtsc
lea ebp, [ecx + edi]
cpuid
mov bp, word [esp]
mov ebp, dword [esp + 0x2c]
jmp 0xdebc10
mov edi, ebx
mov cl, byte [esp]
jmp 0xdebc47
lea edx, [esi + ebp]
lea esi, [esp]
push bp
mov byte [esp], dh
jmp 0xdebc8d
mov edi, esp
bsr ecx, ecx
jnp 0xdebd78
pushfd
jmp 0xdebcc9
lea esp, [esp + 2]
sub esp, 0xc0
jmp 0xdebc77
lea edx, reloc.WINMM.dll_waveOutRestart
pushfd
jmp 0xdebd36

Function at 0xdebe10
Capabilities:
Execute anti-debugging instructions

Disassembly:
call 0xdebcd2
test dword [edx], eax
nop
test dword [edx], reloc.WINMM.dll_waveOutRestart
xor al, cl
jg 0xdebcbf
invalid
aad 0x44
neg esi
lea edx, reloc.WINMM.dll_waveOutRestart
jmp fcn.00debd3d
mov ebx, ebp
xchg dx, cx
not ecx
dec ecx
jb 0xdebcb3
jae 0xdebe33
sub esp, 0x1c
push dx
mov word [esp], bx
lea esp, [esp + 2]
xchg dword [esp + 0x28], eax
neg al
jmp 0xdebf34
btc dx, si
jmp 0xdebdca
add ebp, 0x4c5bfc50
rcl ecx, cl
jbe 0xdebd7b
btc dx, si
mov ax, dx
jmp 0xdebdcd
lea edx, [edx + ebx]
jmp 0xdebd91
jmp 0xdebe04
mov ax, dx
ror ebp, 0
btc eax, edi
jl 0xdebdb3
dec ecx
not eax
sub esp, 0x1e
jmp 0xdebe54
lea esp, [esp + 0x1c]
add ebp, 0x69d21215
jmp 0xdebe81
dec ecx
not eax
sub esp, 0x1e
call 0xdebe10
out 0xf, eax
xor dword [eax - 0x3f], esp
ret 0x6602
bsf cx, ax
xchg cl, ah
lea edx, [ebx*4]
jmp 0xdebdae
neg eax
lea esp, [esp + 2]
jmp 0xdebde7
adc ax, dx
jge 0xdebeb2
not cl
mov eax, 0x3ec987f6
xchg dx, ax
pushal
xchg dh, al
jmp 0xdebf0e
not cl
mov eax, 0x3ec987f6
jmp 0xdebec0
xchg dx, ax
pushal
xchg dh, al
jmp 0xdebf0e
push bx
mov cl, byte [esp]
lea edx, [eax*4]
neg ax
jmp 0xdebf79
pop ax
lea esp, [esp + 2]
lea esp, [esp + 0x1c]
add ebp, 0x49190d88
mov cl, 0x84
jmp 0xdebef8
bswap edx
mov eax, 0x73747488
push dword [esp + 0x28]
ret 0x2c
add ebp, dword [esi]
sub esp, 0x1a
jae 0xdebf5e
mov dx, 0xcd69
call fcn.00dec03c
mov eax, dword [reloc.WINMM.dll_waveOutRestart]
movsb byte es:[edi], byte [esi]
lea esp, [esp + 2]
jmp 0xdebfb0
mov dx, 0xcd69
lea esp, [esp + 2]
jmp fcn.00dec023
jnp 0xdebfa7
neg ch
setp ch
jmp 0xdebf58
neg ch
setp ch
lea esp, [esp + 2]
not ebp
mov dh, 0xb5
lea ecx, [eax - 0x83]
jmp 0xdebf42
Function at 0xe0ee88
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 8]
imul ecx, esi
or byte [edi], cl
scasd eax, dword es:[edi]
into
call fcn.00e0eeb4
mov es, word [edx]
nop
test dword [edx], reloc.WINMM.dll_waveOutRestart
xor al, cl
jge 0xe0ee8b
add byte [eax], al
add byte [esi + 0x2f79002], cl
mov dl, 0x4c
invalid
js 0xe0ee91
mov dword [eax - 0x3a], edi
aad 0x44

Function at 0xed4225
Capabilities:
Access peb ldr_data

Disassembly:
lea esp, [esp + 1]
push esp
lea esp, [esp + 3]
mov dword [esp + 0x14], edi
lea esp, [esp + 0x14]
jmp 0xed4263
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0xed424d
Function at 0x406492
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push pe_overlay
call fcn.00407645
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 1
mov ecx, dword [ebp - 8]
and ecx, 0xff
test ecx, ecx
je 0x40652b
mov dword [ebp - 4], pe_overlay
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00406139
add esp, 0x10
and eax, 0xff
test eax, eax
je 0x40651b
cmp dword [ebp - 4], 0
jne 0x4064ef
jmp 0x40652b
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x406519
mov dword [0x40e0c4], 2
mov byte [ebp - 8], 0
jmp 0x406529
mov dword [0x40e0c4], 0
mov byte [ebp - 8], 0
jmp 0x4064b2
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0040763a
add esp, 4
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x406544
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [ebp + 0xc]
and eax, 0xff
test eax, eax
jne 0x40658d
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea edx, [ebp - 0x108]
push edx
call fcn.00408000
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40658d
mov eax, dword [ebp - 4]
mov byte [eax], 0
mov ecx, dword [ebp + 0xc]
and ecx, 0xff
test ecx, ecx
je 0x4065ac
lea edx, [ebp - 0x108]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov eax, dword [ebp + 8]
push eax
push 0
push 0x40d388
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x4065e3
mov edx, dword [ebp + 0xc]
and edx, 0xff
test edx, edx
jne 0x4065e3
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.00406544
add esp, 8
mov esp, ebp
pop ebp
ret