joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447d10
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x447d43
push esi
call fcn.0044ae00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x447d3c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x447dc9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x447db2
mov eax, dword [esi + 8]
test eax, eax
je 0x447d67
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x447dae
cmp eax, 2
je 0x447db2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x447d5a
cmp eax, 3
je 0x447d8d
cmp eax, 1
jne 0x447d5a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x447d5a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x447d5a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00447df0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x447dd8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00447df0
add esp, 4
pop esi
ret

Function at 0x454680
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x454723
test eax, eax
jbe 0x454723
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x454723
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4546ce
xor esi, esi
jmp 0x4546d4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4546ff
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00455fd0
add esi, eax
push esi
mov ebx, esi
call fcn.00455fd0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4546e0
pop ebp
test edi, edi
pop edi
jne 0x454723
test ebx, ebx
je 0x454723
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00467220
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x454845
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45495d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45495d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00478e17
mov esi, eax
test esi, esi
je 0x45495d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45495d
mov ecx, esi
call fcn.004547d0
cmp edi, eax
jge 0x45495d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4548e3
mov dword [esp + 0x34], 1
jmp 0x45493e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45495d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00453050
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4577e0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x4b03b4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4577f3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x457834
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x4b045c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x457866
mov bl, byte [esp + ecx + 0x4c]
jmp 0x45786a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x45785b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x457888
mov bl, byte [esp + ecx + 0x4c]
jmp 0x45788c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x45787d
xor ecx, ecx
mov eax, 0x4b03c4
xor ebx, ebx
mov bl, byte [ecx + 0x4b046c]
cmp byte [esp + ebx + 0x14], 0
je 0x4578b7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x4b0484]
cmp byte [esp + ebx + 0x14], 0
je 0x4578ce
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x45789e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x457827
lea edx, [esp + 0x84]
push edx
call fcn.00457910
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x45afd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x45b036
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x45b036
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x45b017
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x45b3c0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x45b3f8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x45c070
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x45c0b9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x45c530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4881a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0045c0e0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0045c160
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0045c160
lea ecx, [esi + 0xc]
call fcn.0047732c
lea ecx, [esi + 0x10]
call fcn.0047732c
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045d6f0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045d6f0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045d6f0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004773a1
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004773a1
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4797bb
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4797f3
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.00477848
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00477820
jmp 0x4797ff
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47aeb0
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 0x47aef2
call fcn.00480e58
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47aef2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47aee9
xor eax, eax
jmp 0x47aefa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047af00
pop edi
pop esi
pop ebx
ret 4

Function at 0x481388
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4813b6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4813d4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004812ee
jmp 0x4813d4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4813d4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004812ee
test edi, edi
mov eax, edi
jne 0x4813be
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x414560
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x414582
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414589
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414578
mov eax, 1
add ebx, ebx
jne 0x41459b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x414590
jne 0x4145ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414590
xor ecx, ecx
sub eax, 3
jb 0x4145c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x414632
mov ebp, eax
add ebx, ebx
jne 0x4145cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4145d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4145fc
inc ecx
add ebx, ebx
jne 0x4145e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4145dd
jne 0x4145f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4145dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41461c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41460d
jmp 0x41457e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41461c
add edi, ecx
jmp 0x41457e
pop esi
mov edi, esi
mov ecx, 0x479
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41463a
cmp byte [edi], 2
jne 0x41463a
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 eax, ebx
loop 0x41463f
lea edi, [esi + 0x12000]
mov eax, dword [edi]
or eax, eax
je 0x4146b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14fd8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x150b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41466c
mov ecx, edi
jns 0x41469b
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 + 0x150b8]
or eax, eax
je 0x4146b1
mov dword [ebx], eax
add ebx, 4
jmp 0x414689
call dword [esi + 0x150bc]
popal
jmp 0x40b102
Function at 0x401710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x75344
call fcn.00413820
mov eax, dword [0x427004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0x75320], 0
push eax
push eax
push eax
mov word [ebp - 0x7530c], ax
lea eax, [ebp - 0x7531c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x75320]
mov dword [ebp - 0x7531c], 0x10001
push eax
mov dword [ebp - 0x75318], 0x3e80
mov dword [ebp - 0x75314], 0x3e80
mov dword [ebp - 0x75310], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x75300
lea eax, [ebp - 0x75308]
push 0
push eax
call fcn.00408770
add esp, 0xc
xor eax, eax
mov cl, al
mov ebx, eax
add cl, cl
shr ebx, 6
lea edx, [ecx + eax]
xor bl, dl
or bl, al
mov byte [ebp + eax - 0x75308], bl
inc eax
cmp eax, 0x75300
jb 0x401794
lea eax, [ebp - 0x75308]
mov dword [ebp - 0x7533c], 0x75300
mov dword [ebp - 0x75340], eax
lea eax, [ebp - 0x75340]
push 0x20
push eax
push dword [ebp - 0x75320]
mov dword [ebp - 0x75338], 0
mov dword [ebp - 0x75334], 0
mov dword [ebp - 0x75330], 0
mov dword [ebp - 0x7532c], 0
mov dword [ebp - 0x75328], 0
mov dword [ebp - 0x75324], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x75340]
push eax
push dword [ebp - 0x75320]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x75340]
push eax
push dword [ebp - 0x75320]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x75320]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004078a7
mov esp, ebp
pop ebp
ret
Function at 0x401860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3a9c4
call fcn.00413820
mov eax, dword [0x427004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
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 fcn.00408770
add esp, 0xc
mov ecx, 4
mov eax, ecx
mov esi, ecx
imul eax, ecx
xor edx, edx
shr esi, 7
xor esi, ecx
div esi
add al, cl
mov byte [ebp + ecx - 0x3a988], al
inc ecx
cmp ecx, 0x3a980
jb 0x4018e7
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
pop esi
call fcn.004078a7
mov esp, ebp
pop ebp
ret
Function at 0x401b60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa1844
call fcn.00413820
mov eax, dword [0x427004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
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 fcn.00408770
add esp, 0xc
mov ecx, 1
mov ebx, ecx
mov eax, ecx
shr eax, 1
or eax, ecx
shr ebx, 0xc
shr eax, 4
mov edx, ebx
and edx, ecx
imul eax, edx
xor edx, edx
div ecx
mov eax, ecx
shr eax, 9
shr edx, 6
and al, cl
xor dl, al
xor dl, bl
mov byte [ebp + ecx - 0xa1808], dl
inc ecx
cmp ecx, 0xa17fc
jb 0x401be7
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 ebx
call fcn.004078a7
mov esp, ebp
pop ebp
ret
Function at 0x401cd0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xea644
call fcn.00413820
mov eax, dword [0x427004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
mov dword [ebp - 0xea620], 0
push eax
push eax
push eax
mov word [ebp - 0xea60c], ax
lea eax, [ebp - 0xea61c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xea620]
mov dword [ebp - 0xea61c], 0x10001
push eax
mov dword [ebp - 0xea618], 0x7d00
mov dword [ebp - 0xea614], 0x7d00
mov dword [ebp - 0xea610], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0xea600
lea eax, [ebp - 0xea608]
push 0
push eax
call fcn.00408770
add esp, 0xc
xor ebx, ebx
mov eax, 0x4f8b588f
mov ecx, ebx
mul ebx
mov eax, ebx
shr ecx, 8
sub eax, edx
xor cl, bl
shr eax, 1
add eax, edx
movsx ecx, cl
shr eax, 0x11
movsx eax, al
imul ecx, eax
mov byte [ebp + ebx - 0xea608], cl
inc ebx
cmp ebx, 0xea600
jb 0x401d54
lea eax, [ebp - 0xea608]
mov dword [ebp - 0xea63c], 0xea600
mov dword [ebp - 0xea640], eax
lea eax, [ebp - 0xea640]
push 0x20
push eax
push dword [ebp - 0xea620]
mov dword [ebp - 0xea638], 0
mov dword [ebp - 0xea634], 0
mov dword [ebp - 0xea630], 0
mov dword [ebp - 0xea62c], 0
mov dword [ebp - 0xea628], 0
mov dword [ebp - 0xea624], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0xea640]
push eax
push dword [ebp - 0xea620]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0xea640]
push eax
push dword [ebp - 0xea620]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0xea620]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004078a7
mov esp, ebp
pop ebp
ret
Function at 0x401e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x75340
call fcn.00413820
mov eax, dword [0x427004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x75320], 0
push eax
push eax
push eax
mov word [ebp - 0x7530c], ax
lea eax, [ebp - 0x7531c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x75320]
mov dword [ebp - 0x7531c], 0x10001
push eax
mov dword [ebp - 0x75318], 0x3e80
mov dword [ebp - 0x75314], 0x3e80
mov dword [ebp - 0x75310], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x75300
lea eax, [ebp - 0x75308]
push 0
push eax
call fcn.00408770
add esp, 0xc
mov eax, 4
cmp dword [0x427b54], 2
jl 0x401fa0
movaps xmm2, xmmword [0x423510]
lea edx, [ebp - 0x75304]
movaps xmm3, xmmword [0x423540]
mov ecx, 6
movups xmm5, xmmword [0x423590]
movd xmm4, ecx
lea ecx, [eax + 4]
nop word [eax + eax]
movd xmm0, eax
add eax, 8
pshufd xmm1, xmm0, 0
paddd xmm1, xmm2
movaps xmm0, xmm1
pandn xmm0, xmm5
pxor xmm0, xmm3
pmulld xmm0, xmm1
psrld xmm0, xmm4
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm0, xmm0, 0xd8
pand xmm0, xmmword [0x423560]
packuswb xmm0, xmm0
movd dword [edx + ecx - 8], xmm0
movd xmm0, ecx
pshufd xmm1, xmm0, 0
paddd xmm1, xmm2
movaps xmm0, xmm1
pandn xmm0, xmm5
pxor xmm0, xmm3
pmulld xmm0, xmm1
psrld xmm0, xmm4
pshuflw xmm0, xmm0, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm0, xmm0, 0xd8
pand xmm0, xmmword [0x423560]
packuswb xmm0, xmm0
movd dword [ebp + ecx - 0x75308], xmm0
add ecx, 8
cmp ecx, 0x75300
jb 0x401f00
cmp eax, 0x75300
jae 0x401fba
mov ecx, eax
xor ecx, 0xffffffc5
imul ecx, eax
shr ecx, 6
mov byte [ebp + eax - 0x75308], cl
inc eax
cmp eax, 0x75300
jb 0x401fa0
lea eax, [ebp - 0x75308]
mov dword [ebp - 0x7533c], 0x75300
mov dword [ebp - 0x75340], eax
lea eax, [ebp - 0x75340]
push 0x20
push eax
push dword [ebp - 0x75320]
mov dword [ebp - 0x75338], 0
mov dword [ebp - 0x75334], 0
mov dword [ebp - 0x75330], 0
mov dword [ebp - 0x7532c], 0
mov dword [ebp - 0x75328], 0
mov dword [ebp - 0x75324], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x75340]
push eax
push dword [ebp - 0x75320]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x75340]
push eax
push dword [ebp - 0x75320]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x75320]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004078a7
mov esp, ebp
pop ebp
ret
Function at 0x402620
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x50c40
call fcn.00413820
mov eax, dword [0x427004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x50c20], 0
push eax
push eax
push eax
mov word [ebp - 0x50c0c], ax
lea eax, [ebp - 0x50c1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x50c20]
mov dword [ebp - 0x50c1c], 0x10001
push eax
mov dword [ebp - 0x50c18], 0x2b11
mov dword [ebp - 0x50c14], 0x2b11
mov dword [ebp - 0x50c10], 0x80001
call dword [sym.imp.WINMM.dll_waveOutOpen]
push 0x50bfe
lea eax, [ebp - 0x50c08]
push 0
push eax
call fcn.00408770
add esp, 0xc
xor edx, edx
mov eax, edx
shr eax, 7
xor al, dl
add al, dl
mov cl, al
shl al, 2
add cl, al
mov eax, edx
shr eax, 8
add cl, dl
and cl, al
movsx eax, cl
imul eax, eax, 0x7f
mov byte [ebp + edx - 0x50c08], al
inc edx
cmp edx, 0x50bfe
jb 0x4026a3
lea eax, [ebp - 0x50c08]
mov dword [ebp - 0x50c3c], 0x50bfe
mov dword [ebp - 0x50c40], eax
lea eax, [ebp - 0x50c40]
push 0x20
push eax
push dword [ebp - 0x50c20]
mov dword [ebp - 0x50c38], 0
mov dword [ebp - 0x50c34], 0
mov dword [ebp - 0x50c30], 0
mov dword [ebp - 0x50c2c], 0
mov dword [ebp - 0x50c28], 0
mov dword [ebp - 0x50c24], 0
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
push 0x20
lea eax, [ebp - 0x50c40]
push eax
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutWrite]
push 0x20
lea eax, [ebp - 0x50c40]
push eax
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
push dword [ebp - 0x50c20]
call dword [sym.imp.WINMM.dll_waveOutClose]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004078a7
mov esp, ebp
pop ebp
ret