joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a9f4
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.00401f04
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x41aa2c
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41aa4a
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.00401f09
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41aa5b
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.00401f04
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x41aa96
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41aae7
lea eax, [ebp - 0x1c]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x41aab7
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov bl, 2
jmp 0x41aae7
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x18], 1
jne 0x41aab7
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.00401f09
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41aaf8
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.00401f04
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x41ab30
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41ab4e
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.00401f09
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ab5f
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.00401f04
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x41ab97
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41abb5
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.00401f09
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41abc6
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.00401f04
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x41abff
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x41ac43
movzx eax, byte [ebp - 1]
or ecx, 0xffffffff
sub eax, ebx
je 0x41ac1c
sub eax, 1
je 0x41ac18
sub eax, 1
jne 0x41ac1f
push 3
jmp 0x41ac1e
push 2
jmp 0x41ac1e
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.00401f09
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ac65
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
lea ecx, [esp + 4]
mov dl, 0x30
push esi
push str.alarm.wav
call fcn.0040d936
pop ecx
lea ecx, [esp + 8]
call fcn.00401f04
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41acf0
mov esi, 0x475968
mov edx, 0x4660a4
mov ecx, esi
call fcn.00405b05
test al, al
je 0x41acde
sub esp, 0x18
cmp byte [0x474ad2], 0
mov ecx, esp
push 0x46c92c
je 0x41acc8
call fcn.00402093
mov ecx, 0x475980
jmp 0x41acd2
call fcn.00402093
mov ecx, 0x475598
push 0xa1
call fcn.00404aa1
jmp 0x41ad00
lea ecx, [esp + 8]
call fcn.00401f04
mov edx, eax
mov ecx, esi
call fcn.0041c440
lea ecx, [esp + 8]
call fcn.00401f04
mov ecx, eax
call fcn.0041ad0e
lea ecx, [esp + 8]
call fcn.00401f09
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41ad63
Capabilities:
Check if file exists

Disassembly:
push ebx
push ecx
mov ecx, 0x475968
mov bl, dl
call fcn.00401fc0
test bl, bl
je 0x41ad7b
pop ebx
jmp fcn.0041ac65
mov byte [0x474ad3], 1
pop ebx
ret
Function at 0x41af95
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
push ecx
lea ecx, [esp + 0x98]
call fcn.0041b1ea
cmp eax, 0xffffffff
jne 0x41afe2
lea ecx, [esp + 0x90]
call fcn.00401f04
push eax
mov dl, 0x30
lea ecx, [esp + 0x14]
call fcn.0040d982
pop ecx
push eax
lea ecx, [esp + 0x94]
call fcn.00401f13
lea ecx, [esp + 0x10]
call fcn.00401f09
mov ecx, esi
call fcn.0040247c
lea ecx, [esp + 0x90]
test eax, eax
je 0x41b0d6
call fcn.00401f04
mov edx, eax
mov ecx, esi
call fcn.0041c440
push str._alias_audio
mov edx, edi
lea ecx, [esp + 0x74]
call fcn.0041bbac
push eax
lea eax, [esp + 0x98]
mov edx, str.open__
push str.__type
push eax
lea ecx, [esp + 0x68]
call fcn.0040b8ca
pop ecx
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.00403014
pop ecx
mov edx, eax
lea ecx, [esp + 0x18]
call fcn.00402fa5
pop ecx
mov edx, eax
lea ecx, [esp + 0x2c]
call fcn.00403014
pop ecx
lea ecx, [esp + 0x10]
call fcn.00401f09
lea ecx, [esp + 0x40]
call fcn.00401f09
lea ecx, [esp + 0x58]
call fcn.00401f09
lea ecx, [esp + 0x70]
call fcn.00401f09
xor ebx, ebx
lea ecx, [esp + 0x28]
push ebx
push ebx
push ebx
call fcn.00401f04
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 edi, 0x4660a4
mov ecx, esp
push edi
call fcn.00402093
mov ebp, 0x475980
push 0xa9
mov ecx, ebp
call fcn.00404aa1
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x474ad4], eax
jmp 0x41b19a
call fcn.00401f04
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b006
sub esp, 0x18
mov ecx, esp
push 0x4660a4
call fcn.00402093
push 0xa8
mov ecx, 0x475980
call fcn.00404aa1
jmp 0x41b1d6
cmp byte [0x474ad1], bl
je 0x41b125
push ebx
push ebx
push ebx
push str.pause_audio
call esi
mov byte [0x474ad1], bl
cmp byte [0x474ad0], bl
je 0x41b13d
push ebx
push ebx
push ebx
push str.resume_audio
call esi
mov byte [0x474ad0], bl
push ebx
push 0x14
lea eax, [esp + 0x18]
push eax
push str.status_audio_mode
call esi
lea eax, [esp + 0x10]
push str.stopped
push eax
call fcn.0043fc40
pop ecx
pop ecx
test eax, eax
jne 0x41b16d
push dword [0x474ad4]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f4
push dword [0x474ad4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41b195
push dword [0x474ad4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x41b0cc
mov eax, dword [0x474ad4]
test eax, eax
jne 0x41b10d
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 edi
call fcn.00402093
push 0xaa
mov ecx, ebp
call fcn.00404aa1
lea ecx, [esp + 0x28]
call fcn.00401f09
lea ecx, [esp + 0x90]
call fcn.00401f09
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
Function at 0x41b2ce
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.004020df
xor esi, esi
push 0xffff
mov dword [esp + 0x14], esi
call fcn.0043bc91
pop ecx
push esi
push esi
push esi
push 1
push esi
mov edi, eax
call dword [sym.imp.WININET.dll_InternetOpenW]
push esi
push closesocket
push esi
push esi
mov ebp, eax
push str.http:__geoplugin.net_json.gp
push ebp
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
push 0xffff
push edi
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x41b35a
push ecx
push edi
lea ecx, [esp + 0x20]
call fcn.004020b7
push eax
mov ecx, ebx
call fcn.00403376
lea ecx, [esp + 0x18]
call fcn.00401fd8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, 1
jne 0x41b363
test ecx, ecx
jne 0x41b313
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebp
call esi
push edi
call fcn.0043bc8c
pop ecx
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x24
ret

Function at 0x41b944
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
test ecx, ecx
je 0x41b9db
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 0x41b9db
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x5c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
test eax, eax
js 0x41b9d2
mov esi, dword [ebp - 0x54]
inc esi
push esi
mov dword [ebp - 0x54], esi
call fcn.0043bc91
mov dword [ebx], eax
pop ecx
test eax, eax
je 0x41b9d2
push 8
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00436dd0
push esi
push edi
push dword [ebx]
call fcn.00436dd0
add esp, 0x18
lea eax, [esi - 1]
mov esi, dword [ebp + 8]
push edi
push edi
push dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [ebp - 8]
push dword [ebp - 0x14]
push eax
mov ecx, dword [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 0x41b9e4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
lea eax, [ebp - 0x200]
push esi
push 0x200
push 0
push eax
mov esi, ecx
call fcn.00436dd0
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x200]
mov ecx, esi
push eax
call fcn.0040417e
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41baaf
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 0x41bad7
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 0x41bf69
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
sub esp, 0x828
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], 0x105
xor esi, esi
push edi
mov ebx, esi
mov ebp, esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x41bfc7
mov eax, edi
mov dword [esp + 0x10], eax
push 2
push 0x466608
push eax
call fcn.00436f2a
add esp, 0xc
test eax, eax
jne 0x41bfae
inc ebx
cmp ebx, 3
je 0x41bfc5
add dword [esp + 0x10], 2
inc ebp
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp ebp, eax
jge 0x41bfc7
mov eax, dword [esp + 0x10]
jmp 0x41bf94
mov ebx, ebp
xor eax, eax
mov word [edi + ebx*2], ax
lea eax, [ebx*2 + 2]
push eax
lea eax, [esp + 0x634]
push edi
push eax
call fcn.00436850
add esp, 0xc
lea eax, [esp + 0x18]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x41c084
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x41c0b6
cmp word [esp + 0x1a], ax
jne 0x41c0a0
cmp word [esp + 0x1c], 0x3f
jne 0x41c0a0
cmp word [esp + 0x1e], ax
jne 0x41c0a0
cmp word [esp + ebp*2 + 0x18], ax
jne 0x41c0a0
xor eax, eax
mov word [esp + ebp*2 + 0x18], ax
lea eax, [esp + 0x428]
push 0x64
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [esp + 0x14], eax
test eax, eax
je 0x41c11e
push edi
lea eax, [esp + 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41c0d0
push 0x104
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x41c0c1
lea eax, [esp + 0x18]
push eax
call fcn.0043ba16
pop ecx
push 0x5c
lea ebp, [eax - 1]
pop eax
cmp word [esp + 0x18], ax
je 0x41c010
mov esi, 0xa1
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
xor eax, eax
test esi, esi
sete al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x828
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x12
jne 0x41c0a5
jmp 0x41c0a0
push 0x5c
pop eax
mov word [esp + ebp*2 + 0x18], ax
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x228]
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x41c11e
lea eax, [edi + 2]
lea eax, [eax + ebx*2]
push eax
lea eax, [esp + 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x220]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x41c0a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x41c0a5
Function at 0x41c1df
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
lea eax, [ebp - 0x410]
push ebx
push esi
push edi
mov edi, ecx
push edi
push eax
call fcn.0043f749
lea eax, [ebp - 0x410]
push 0x46c880
push eax
call fcn.0043f76b
lea eax, [ebp - 0x208]
push edi
push eax
call fcn.0043f749
lea eax, [ebp - 0x208]
push 0x466608
push eax
call fcn.0043f76b
add esp, 0x20
lea eax, [ebp - 0x660]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41c336
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0043f749
pop ecx
pop ecx
mov bl, 1
lea eax, [ebp - 0x660]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41c30a
lea ecx, [ebp - 0x634]
call fcn.0041c1b1
test eax, eax
jne 0x41c317
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0043f76b
test byte [ebp - 0x660], 0x10
pop ecx
pop ecx
je 0x41c2c7
lea ecx, [ebp - 0x208]
call fcn.0041c1df
test eax, eax
je 0x41c32f
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x41c2f3
test byte [ebp - 0x660], 1
je 0x41c2e2
push 0x80
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41c32f
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0043f749
pop ecx
pop ecx
jmp 0x41c317
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x41c32f
xor bl, bl
test bl, bl
jne 0x41c262
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x41c338
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41c33f
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
xor ebx, ebx
mov ebp, ecx
push edi
mov edi, edx
sub eax, ebx
je 0x41c368
sub eax, 1
jne 0x41c35e
push 4
pop eax
mov ecx, eax
jmp 0x41c370
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
jmp 0x41c370
push 2
mov eax, 0x40000000
pop ecx
push ebx
push 0x80
push ecx
push ebx
push ebx
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41c38f
xor al, al
jmp 0x41c3cd
cmp dword [esp + 0x1c], 1
jne 0x41c3af
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x41c3af
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41c38b
push ebx
lea eax, [esp + 0x14]
push eax
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41c3c4
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x41c3d3
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push edi
xor ebx, ebx
mov ebp, edx
push ebx
push 0x80
push 3
push ebx
push 3
push closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41c3fd
xor al, al
jmp 0x41c43b
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov ecx, ebp
push ebx
push esi
call fcn.0040244e
push ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push esi
mov ecx, ebp
call fcn.00401fab
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x41c432
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop ebp
pop ebx
pop ecx
ret

Function at 0x41c463
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push closesocket
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41c489
xor eax, eax
jmp 0x41c49c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
ret

Function at 0x41c49f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x41c59c
push ebx
inc esi
lea ecx, [esp + 0x34]
push esi
call fcn.0040b852
push esi
lea ecx, [esp + 0x34]
call fcn.00401f04
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.00402305
mov edi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x18]
push eax
call fcn.004022ca
mov esi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
call fcn.00402305
push dword [edi]
lea ecx, [esp + 0x24]
push dword [esi]
push dword [eax]
call fcn.00409bdb
sub esp, 0xc
mov ecx, esp
push 0x46cadc
call fcn.0040417e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0040905c
lea ecx, [esp + 0x54]
call fcn.0041be37
add esp, 0x30
lea ecx, [esp + 0x24]
mov edi, ebx
call fcn.004021fa
test eax, eax
je 0x41c58a
mov esi, ebx
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.00401e65
push eax
lea ecx, [esp + 0x38]
call fcn.00409a5e
cmp eax, 0xffffffff
jne 0x41c5ad
inc edi
lea ecx, [esp + 0x24]
movzx esi, di
call fcn.004021fa
cmp esi, eax
jb 0x41c55f
lea ecx, [esp + 0x24]
call fcn.00406adc
lea ecx, [esp + 0x30]
call fcn.00401f09
lea ecx, [ebp + 8]
call fcn.00401f09
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x10]
test esi, esi
je 0x41c5c7
lea ecx, [esp + 0x30]
call fcn.00401f04
push eax
push esi
call fcn.0043f749
pop ecx
pop ecx
lea ecx, [esp + 0x24]
call fcn.00406adc
lea ecx, [esp + 0x30]
call fcn.00401f09
mov bl, 1
jmp 0x41c59c
Function at 0x41c930
Capabilities:
Change the wallpaper

Disassembly:
push ebx
push esi
push edi
mov edi, edx
sub ecx, 0
je 0x41c9dc
sub ecx, 1
je 0x41c9ce
sub ecx, 1
je 0x41c9c0
sub ecx, 1
je 0x41c98d
sub ecx, 1
jne 0x41ca1e
push 1
sub esp, 0x18
mov ecx, esp
push 0x46611c
call fcn.00402093
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.004136bd
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x466118
jmp 0x41ca0a
push 1
sub esp, 0x18
mov ecx, esp
push 0x46c5f0
call fcn.00402093
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.004136bd
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x46611c
jmp 0x41ca0a
push 1
sub esp, 0x18
mov ecx, esp
push 0x46c9f8
jmp 0x41c999
push 1
sub esp, 0x18
mov ecx, esp
push 0x466104
jmp 0x41c999
push 1
sub esp, 0x18
mov ebx, 0x46611c
mov ecx, esp
push ebx
call fcn.00402093
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.004136bd
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.00402093
push str.TileWallpaper
mov edx, esi
call fcn.004136bd
add esp, 0x20
push 3
push edi
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
pop edi
pop esi
pop ebx
ret

Function at 0x41cce9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
mov bl, cl
call dword [sym.imp.KERNEL32.dll_AllocConsole]
call dword [0x474b18]
test bl, bl
mov dword [0x474b34], eax
pop ebx
jne 0x41cd11
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call fcn.0043c0f8
push eax
push 0x46ce14
push str.CONOUT_
call fcn.00441b62
add esp, 0x10
push 0x4e4
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
call fcn.0041cca6
push 0x64
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.00436dd0
lea eax, [ebp - 0x64]
push str._n_tRemcos_v
push eax
call fcn.00441ea0
lea eax, [ebp - 0x64]
push str.4.9.2_Pro
push eax
call fcn.00441ea0
lea eax, [ebp - 0x64]
push 0x46cf18
push eax
call fcn.00441ea0
lea eax, [ebp - 0x64]
push eax
call fcn.00407200
add esp, 0x28
mov esp, ebp
pop ebp
ret
Function at 0x421f71
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [ecx + 4]
xor eax, eax
xor edx, edx
movzx ecx, word [esi]
cmp ax, cx
jae 0x421f9c
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x421f9c
cmp al, 0xc0
je 0x421f9c
cmp al, 0xcc
je 0x421f9c
add edx, 2
cmp dx, cx
jb 0x421f81
pop esi
ret

Function at 0x424a4b
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, edx
mov edx, dword [esp + 0x10]
lea esi, [edi + 4]
push esi
call fcn.004249e8
mov edx, dword [esp + 0x10]
pop ecx
push 4
sub edx, edi
pop ecx
mov al, byte [edx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x424a66
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x424a74
pop edi
pop esi
ret

Function at 0x426ccf
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x426ce7
sub edx, ecx
mov eax, dword [edx + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub esi, 1
jne 0x426cda
pop esi
ret

Function at 0x426ce9
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
or eax, edx
push esi
mov esi, dword [esp + 8]
or eax, esi
test al, 3
jne 0x426d04
shr esi, 2
push esi
call fcn.00426ccf
pop ecx
pop esi
ret
test esi, esi
je 0x426d15
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x426d0a
pop esi
ret

Function at 0x426d17
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
xor eax, eax
mov esi, edx
mov ebx, ecx
test edi, edi
jle 0x426d3b
sub ebx, esi
movzx edx, byte [ebx + esi]
movzx ecx, byte [esi]
xor edx, ecx
or eax, edx
inc esi
sub edi, 1
jne 0x426d2a
pop edi
pop esi
pop ebx
ret

Function at 0x426d3f
Capabilities:
Encrypt data using aes

Disassembly:
xor eax, eax
mov ecx, 0x468718
push 0x20
pop edx
and eax, dword [ecx]
add ecx, 0x20
sub edx, 1
jne 0x426d49
cmp ecx, str.SHA256wECDSA
jl 0x426d46
ret