joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c93c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c974]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c955
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c964
or bl, 4
test esi, 0x20000000
je 0x44c96f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x453038
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45304a
add esp, 0xfffffff0
call fcn.004038e8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d880
mov eax, dword [0x4665f0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4533dc
mov eax, dword [0x4665fc]
mov dword [eax + 4], ebx
mov dword [eax], 0x4533e8
mov eax, ebx
call fcn.004533f4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415a98]
call fcn.00403580
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415a98]
call fcn.00403580
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415a98]
call fcn.00403580
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415a98]
call fcn.00403580
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415a98]
call fcn.00403580
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44f80c
push eax
push 0
push 0
mov eax, dword [0x46674c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41f454]
call fcn.00420bec
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41f454]
call fcn.00420bec
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41f454]
call fcn.00420bec
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00453844
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45370c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45370c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45370c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453187
call fcn.00403940
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4534f0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45369b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45367c
mov dl, 1
mov eax, dword [0x415eb4]
call fcn.00403580
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040433c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45366b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00441458
test al, al
je 0x45365e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4536ac
lea eax, [ebp - 0x254]
call fcn.004092ac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45365e
xor eax, eax
push ebp
push 0x453657
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4536e4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453640
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045ac
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x453640
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004045ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45365e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x453561
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419a18
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4536a2
lea eax, [ebp - 0x260]
call fcn.0040433c
ret

Function at 0x453fe4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x467bf8]
cmp byte [eax + 0xa5], 0
jne 0x454055
cmp dword [0x467c10], 0
jne 0x454016
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453fa0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x467c10], eax
cmp dword [0x467c0c], 0
jne 0x454031
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x467c0c], eax
cmp dword [0x467c14], 0
jne 0x454055
push esp
push 0
push 0
push 0x453f44
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x467c14], eax
pop edx
ret
Function at 0x4546e8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x467bf8]
cmp dword [eax + 0x30], 0
je 0x454792
cmp dword [ebx + 0x94], 0
jne 0x45478c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454678
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45478c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x454752
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45478c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417e14
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454761
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4552f0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x455325
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040442c
jmp 0x455332
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404390
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4562d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x456319
mov eax, esi
call fcn.0043cac4
test al, al
je 0x456319
mov eax, dword [ebx + 0x84]
call fcn.0043c7ec
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x456319
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c7ec
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45dd74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor eax, eax
xor edx, edx
mov dword [esi + 0x98], eax
mov dword [esi + 0x94], edx
xor dword [esi], edi
mov ebx, 1
mov ecx, 1
mov eax, ebx
push ecx
shl eax, 3
mov ecx, 0x25
sub eax, ebx
inc ebx
add eax, eax
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
sub edi, ecx
xor dword [esi + eax*4], ecx
mov eax, ecx
mov ecx, edi
mov edi, eax
cmp ebx, 0x25
jl 0x45dd9d
xor ebx, ebx
push esi
call fcn.0045dcf8
pop ecx
inc ebx
cmp ebx, 0x2710
jl 0x45ddc9
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45e290
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ecx, dword [ebp + 8]
xor edx, edx
lea eax, [ecx + 0x28]
xor ebx, ebx
inc edx
mov dword [eax], ebx
add eax, 4
cmp edx, 0x50
jl 0x45e29c
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
mov dword [ecx + 0x18], 0xc3d2e1f0
pop ebx
pop ebp
ret

Function at 0x45e43c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0045e3d4
add esp, 8
xor ecx, ecx
mov cl, byte [ebp - 4]
mov al, byte [ecx + 0x4640b0]
mov byte [ebp - 4], al
xor edx, edx
mov dl, byte [ebp - 3]
mov cl, byte [edx + 0x4640b0]
mov byte [ebp - 3], cl
xor eax, eax
mov al, byte [ebp - 2]
mov dl, byte [eax + 0x4640b0]
mov byte [ebp - 2], dl
xor ecx, ecx
mov cl, byte [ebp - 1]
mov al, byte [ecx + 0x4640b0]
mov byte [ebp - 1], al
lea edx, [ebp - 4]
push edx
call fcn.0045e3a8
pop ecx
pop ecx
pop ebp
ret
Function at 0x461838
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
test dl, dl
je 0x461855
add esp, 0xfffffff0
call fcn.004038e8
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x461973
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x8000
mov eax, 0x4619a4
call fcn.0040d95c
mov esi, eax
mov dword [ebx + 4], esi
test esi, esi
jne 0x461896
mov ecx, 0x4619b8
mov dl, 1
mov eax, dword [0x40757c]
call fcn.0040bc48
call fcn.00403d50
push 0x4619cc
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov esi, eax
test esi, esi
jne 0x4618c0
mov ecx, 0x4619d8
mov dl, 1
mov eax, dword [0x40757c]
call fcn.0040bc48
call fcn.00403d50
lea eax, [ebp - 0xc]
push eax
call esi
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 8]
call fcn.00405d30
lea eax, [ebp - 0x2c]
call fcn.00461810
lea esi, [ebp - 0x2c]
lea edi, [ebx + 0xc]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
push 0
lea eax, [ebp - 8]
push eax
mov edx, 0x4619e8
lea eax, [ebx + 0xc]
mov ecx, 0x20
call fcn.004616c4
mov eax, dword [ebp - 8]
call fcn.004045fc
push eax
mov eax, dword [ebp - 8]
call fcn.004047fc
mov edx, eax
mov eax, dword [ebx + 8]
pop ecx
mov esi, dword [eax]
call dword [esi + 0xc]
mov dl, 1
mov eax, dword [0x4161a4]
call fcn.00403580
mov dword [ebx + 0x2c], eax
push 0x20
push 1
lea ecx, [ebx + 0xc]
mov dl, 1
mov eax, dword [0x456bb4]
call fcn.00456c30
mov dword [ebx + 0x30], eax
push 0x20
push 1
lea ecx, [ebx + 0xc]
mov dl, 1
mov eax, dword [0x456bb4]
call fcn.00456c30
mov dword [ebx + 0x34], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46197a
lea eax, [ebp - 0xc]
call fcn.00405d18
lea eax, [ebp - 8]
call fcn.0040433c
ret
Function at 0x404570
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x3a9d0
call fcn.00407a80
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
cmp dword [0x40a3c8], 6
jl 0x404711
movaps xmm0, xmmword [str.8888888888888888________________________________]
xor ecx, ecx
movaps xmm6, xmmword [0x408690]
movups xmm5, xmmword [0x408660]
movaps xmmword [ebp - 0x3a9d0], xmm0
lea eax, [ecx + 4]
mov edx, dword [ebp - 0x3a9d0]
nop word [eax + eax]
movd xmm0, ecx
add ecx, 8
pshufd xmm4, xmm0, 0
paddd xmm4, xmm6
movd xmm0, edx
movaps xmm3, xmm4
movaps xmm1, xmm4
psrld xmm1, 7
pshufb xmm3, xmm5
pshufb xmm1, xmm5
psrld xmm4, 8
movaps xmm2, xmm3
andps xmm2, xmm0
vpmovzxbw ymm1, xmm1
pshufb xmm4, xmm5
vpmovzxbw ymm0, xmm2
vpmullw ymm0, ymm1, ymm0
vpmovzxwd zmm0, ymm0
vpmovdb xmm0, zmm0
andps xmm4, xmm3
xorps xmm0, xmm4
movd dword [ebp + eax - 0x3a98c], xmm0
movd xmm0, eax
pshufd xmm4, xmm0, 0
paddd xmm4, xmm6
movd xmm0, edx
movaps xmm3, xmm4
movaps xmm1, xmm4
pshufb xmm3, xmm5
psrld xmm1, 7
movaps xmm2, xmm3
psrld xmm4, 8
andps xmm2, xmm0
pshufb xmm1, xmm5
vpmovzxbw ymm0, xmm2
vpmovzxbw ymm1, xmm1
vpmullw ymm0, ymm1, ymm0
pshufb xmm4, xmm5
vpmovzxwd zmm0, ymm0
vpmovdb xmm0, zmm0
andps xmm4, xmm3
xorps xmm0, xmm4
movd dword [ebp + eax - 0x3a988], xmm0
add eax, 8
cmp eax, 0x3a984
jb 0x404640
jmp 0x40473c
mov cl, al
mov edx, eax
and cl, 0x38
shr edx, 7
movsx ecx, cl
movsx edx, dl
imul edx, ecx
mov ecx, eax
shr ecx, 8
and cl, al
xor dl, cl
mov byte [ebp + eax - 0x3a988], dl
inc eax
cmp eax, 0x3a980
jb 0x404711
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9bc], 0x3a980
mov dword [ebp - 0x3a9c0], eax
lea eax, [ebp - 0x3a9c0]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
mov dword [ebp - 0x3a9a4], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406c74
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4047f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c0
call fcn.00407a80
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x3a9a0], 0
push eax
push eax
push eax
mov word [ebp - 0x3a98c], ax
lea eax, [ebp - 0x3a99c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x3a9a0]
mov dword [ebp - 0x3a99c], 0x10001
push eax
mov dword [ebp - 0x3a998], 0x1f40
mov dword [ebp - 0x3a994], 0x1f40
mov dword [ebp - 0x3a990], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x3a980
lea eax, [ebp - 0x3a988]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
movaps xmm5, xmmword [0x408690]
add esp, 0xc
movups xmm4, xmmword [0x4087f0]
xor ecx, ecx
lea eax, [ecx + 4]
movd xmm0, ecx
add ecx, 8
pshufd xmm3, xmm0, 0
paddd xmm3, xmm5
movaps xmm1, xmm3
movaps xmm2, xmm3
psrld xmm2, 7
andps xmm1, xmm4
packuswb xmm1, xmm1
andps xmm2, xmm4
packuswb xmm1, xmm1
packuswb xmm2, xmm2
movaps xmm0, xmm1
paddb xmm0, xmm1
packuswb xmm2, xmm2
andps xmm2, xmm0
movaps xmm0, xmm3
psrld xmm0, 8
psrld xmm3, 3
andps xmm0, xmm4
packuswb xmm0, xmm0
andps xmm3, xmm4
packuswb xmm0, xmm0
andps xmm0, xmm1
packuswb xmm3, xmm3
xorps xmm2, xmm0
packuswb xmm3, xmm3
orps xmm2, xmm3
movd xmm0, eax
pshufd xmm3, xmm0, 0
movd dword [ebp + eax - 0x3a98c], xmm2
paddd xmm3, xmm5
movaps xmm1, xmm3
movaps xmm2, xmm3
psrld xmm2, 7
andps xmm1, xmm4
packuswb xmm1, xmm1
andps xmm2, xmm4
packuswb xmm1, xmm1
packuswb xmm2, xmm2
movaps xmm0, xmm1
paddb xmm0, xmm1
packuswb xmm2, xmm2
andps xmm2, xmm0
movaps xmm0, xmm3
psrld xmm0, 8
psrld xmm3, 3
andps xmm0, xmm4
packuswb xmm0, xmm0
andps xmm3, xmm4
packuswb xmm0, xmm0
andps xmm0, xmm1
packuswb xmm3, xmm3
xorps xmm2, xmm0
packuswb xmm3, xmm3
orps xmm2, xmm3
movd dword [ebp + eax - 0x3a988], xmm2
add eax, 8
cmp eax, 0x3a984
jb 0x404884
lea eax, [ebp - 0x3a988]
mov dword [ebp - 0x3a9bc], 0x3a980
mov dword [ebp - 0x3a9c0], eax
lea eax, [ebp - 0x3a9c0]
push 0x20
push eax
push dword [ebp - 0x3a9a0]
mov dword [ebp - 0x3a9b8], 0
mov dword [ebp - 0x3a9b4], 0
mov dword [ebp - 0x3a9b0], 0
mov dword [ebp - 0x3a9ac], 0
mov dword [ebp - 0x3a9a8], 0
mov dword [ebp - 0x3a9a4], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x3a9c0]
push eax
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x3a9a0]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00406c74
mov esp, ebp
pop ebp
ret
Function at 0x4063a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa1844
call fcn.00407a80
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov dword [ebp - 0xa1820], 0
push eax
push eax
push eax
mov word [ebp - 0xa180c], ax
lea eax, [ebp - 0xa181c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xa1820]
mov dword [ebp - 0xa181c], 0x10001
push eax
mov dword [ebp - 0xa1818], 0x5622
mov dword [ebp - 0xa1814], 0x5622
mov dword [ebp - 0xa1810], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0xa17fc
lea eax, [ebp - 0xa1808]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor esi, esi
mov ecx, esi
mov eax, esi
shl ecx, 0xa
and ecx, esi
shr eax, 3
xor ecx, eax
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x4088e0]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
mulsd xmm0, qword [0x408618]
addsd xmm0, qword [0x408630]
cvttsd2si eax, xmm0
mov byte [ebp + esi - 0xa1808], al
inc esi
cmp esi, 0xa17fc
jb 0x406424
lea eax, [ebp - 0xa1808]
mov dword [ebp - 0xa183c], 0xa17fc
mov dword [ebp - 0xa1840], eax
lea eax, [ebp - 0xa1840]
push 0x20
push eax
push dword [ebp - 0xa1820]
mov dword [ebp - 0xa1838], 0
mov dword [ebp - 0xa1834], 0
mov dword [ebp - 0xa1830], 0
mov dword [ebp - 0xa182c], 0
mov dword [ebp - 0xa1828], 0
mov dword [ebp - 0xa1824], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0xa1840]
push eax
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0xa1840]
push eax
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0xa1820]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00406c74
mov esp, ebp
pop ebp
ret
Function at 0x4074a5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4074e4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4074e4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4074e4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4074e4
cmp dword [ecx + 0x74], 0xe
jbe 0x4074e4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0xada058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00ada1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x49092042
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..text_1
nop
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x3e450893
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219