joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4144d0
Capabilities:
Check mutex on windows
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b466
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x58bb30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x5923d8], 0
jne 0x4146c5
push str.WinRAR_DragDrop
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x414554
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x5b9
call fcn.004b68d0
push eax
call fcn.00502bd0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
push 8
mov byte [0x58c76e], al
call fcn.0052f4cd
mov ebx, eax
add esp, 4
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x41458f
mov dword [ebx], 0x558990
mov dword [ebx + 4], 1
jmp 0x414591
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
push 0x10658
call fcn.0052f4cd
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4145c6
push 0
push dword [ebp + 0xc]
mov ecx, eax
push dword [ebp + 8]
call fcn.00413770
mov esi, eax
jmp 0x4145c8
xor esi, esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x18]
push eax
push 3
push ebx
push esi
mov dword [0x58c770], esi
mov byte [0x58c76d], 0
mov byte [0x58c76c], 1
mov byte [0x58c76f], 0
call dword [sym.imp.ole32.dll_DoDragDrop]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [0x58c76c], 0
mov ecx, dword [esi]
push esi
mov dword [ebp - 0x14], eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55670c]
call esi
mov ecx, dword [ebx]
push ebx
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x55670c]
call esi
cmp byte [0x58c76e], 0
je 0x414677
cmp byte [0x5933f4], 0
je 0x414677
cmp dword [ebp - 0x10], 0x40100
jne 0x414677
call fcn.0050b810
mov ecx, 0x5c5810
call fcn.00461060
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
cmp eax, 0x40100
je 0x4146c5
cmp eax, 0x40101
je 0x4146c5
cmp byte [0x58c76f], 0
jne 0x4146c5
cmp dword [ebp - 0x14], 0x3f0
je 0x4146c5
push 0x53c
call fcn.004b68d0
push eax
call fcn.00502bd0
add esp, 4
mov ecx, 0x5d281c
call fcn.00487dd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4155f0
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
mov eax, 0x3008
call fcn.0052f720
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x3004], eax
push esi
mov esi, dword [esp + 0x3010]
call fcn.00495590
cmp eax, 0x600
jb 0x4157db
push esi
call fcn.004fc8b0
test al, al
jne 0x4157db
push 0x800
lea eax, [esp + 0xc]
mov ecx, 0x5c5810
push eax
push esi
call fcn.0045d540
push 0x800
lea eax, [esp + 0x100c]
push eax
lea eax, [esp + 0x10]
push eax
call fcn.004a1e60
lea eax, [esp + 0x1008]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4157db
push 0
push 0
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
lea eax, [esp + 0x1024]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4156a6
mov eax, dword [esp + 4]
and eax, 0x80008
cmp eax, 8
jne 0x4157db
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4156d5
test al, 0x10
jne 0x4156d5
lea eax, [esp + 8]
push eax
call fcn.00415410
and eax, 6
cmp al, 6
jne 0x415746
lea eax, [esp + 8]
push eax
call fcn.004a2e00
push ebx
lea eax, [esp + 0xc]
xor bl, bl
push eax
call fcn.00490c30
test al, al
jne 0x41577b
mov bl, 1
lea esp, [esp]
push 0x800
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2014]
push eax
call fcn.004bd090
lea eax, [esp + 0xc]
push eax
call fcn.004a2e00
lea eax, [esp + 0x200c]
lea ecx, [esp + 0xc]
lea esp, [esp]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x415760
test dx, dx
je 0x415742
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x415760
add ecx, 4
add eax, 4
test dx, dx
jne 0x415720
xor eax, eax
jmp 0x415765
mov al, 1
pop esi
mov ecx, dword [esp + 0x3004]
xor ecx, esp
call fcn.0052f708
add esp, 0x3008
ret 8
sbb eax, eax
or eax, 1
test eax, eax
je 0x41577b
lea eax, [esp + 0xc]
push eax
call fcn.00490c30
test al, al
je 0x4156f0
lea eax, [esp + 0xc]
push eax
call fcn.00415410
mov ecx, eax
shr eax, 2
shr ecx, 1
and cl, 1
test al, 1
je 0x4157c0
test bl, bl
je 0x4157a1
cmp byte [esp + 0x3018], 0
je 0x4157a5
test cl, cl
je 0x4157c0
pop ebx
xor al, al
pop esi
mov ecx, dword [esp + 0x3004]
xor ecx, esp
call fcn.0052f708
add esp, 0x3008
ret 8
pop ebx
mov al, 1
pop esi
mov ecx, dword [esp + 0x3004]
xor ecx, esp
call fcn.0052f708
add esp, 0x3008
ret 8
mov ecx, dword [esp + 0x3008]
xor al, al
pop esi
xor ecx, esp
call fcn.0052f708
add esp, 0x3008
ret 8
Function at 0x416f60
Capabilities:
Delete file
Log keystrokes via polling
Move file

Disassembly:
mov eax, 0x2050
call fcn.0052f720
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x204c], eax
push edi
push 0
mov edi, ecx
push 9
push 0x110a
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x417084
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push 0
push 0x113e
push dword [edi]
mov dword [esp + 0x34], 4
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x417084
mov eax, dword [esp + 0x48]
test eax, eax
je 0x417084
lea ecx, [esp + 0x4c]
push ecx
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x417084
push esi
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx esi, ax
lea eax, [esp + 0x50]
push 0x800
push eax
lea eax, [esp + 0x1058]
shr esi, 0xf
push eax
call fcn.004bd090
lea ecx, [esp + 0x1050]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417010
sub ecx, edx
sar ecx, 1
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1002
jae 0x41709a
xor eax, eax
mov dword [esp + 0xc], 3
mov word [esp + ecx + 0x1050], ax
not esi
mov dword [esp + 8], eax
and esi, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
lea eax, [esp + 0x1050]
mov dword [esp + 0x10], eax
lea eax, [esp + 8]
shl esi, 6
push eax
mov word [esp + 0x1c], si
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
movzx eax, byte [edi + 8]
mov ecx, edi
push eax
call fcn.00419030
pop esi
mov ecx, dword [esp + 0x2050]
pop edi
xor ecx, esp
call fcn.0052f708
add esp, 0x2050
ret
call fcn.0052f62d
int3
Function at 0x417ab0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b8
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x2b4], eax
push esi
mov esi, dword [esp + 0x2c0]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x2c8]
push 0x4009
push 0x2b4
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0xc]
push 0x400b
push 0x2b4
mov dword [edi + 0x18], eax
lea eax, [esp + 0x10]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2bc]
mov dword [edi + 0x1c], eax
pop edi
pop esi
xor ecx, esp
call fcn.0052f708
add esp, 0x2b8
ret 8
Function at 0x418c00
Capabilities:
Get file system object information

Disassembly:
mov eax, 0x12b8
call fcn.0052f720
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x12b4], eax
mov eax, dword [esp + 0x12bc]
push esi
mov esi, ecx
push 0x4001
push 0x2b4
mov dword [esi], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0x557b90
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x418c76
push eax
push 0x800
lea eax, [esp + 0x2c0]
push eax
call fcn.004fc5c0
push 0x4001
push 0x2b4
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [esp + 0x2c8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
push 0
push 0x1109
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x12b8]
pop esi
xor ecx, esp
call fcn.0052f708
add esp, 0x12b8
ret 4

Function at 0x41a720
Capabilities:
Get file size

Disassembly:
push ecx
cmp byte [ecx + 0x10], 0
push esi
je 0x41a773
mov esi, dword [esp + 0xc]
push ebx
xor ebx, ebx
mov dword [esi], 0
mov dword [esi + 4], 0
cmp dword [ecx + 0x18], ebx
jbe 0x41a76b
push ebp
push edi
xor edx, edx
xor ebp, ebp
xor edi, edi
lea esp, [esp]
mov eax, dword [ecx + 0x14]
add edx, dword [eax + edi + 8]
adc ebp, dword [eax + edi + 0xc]
inc ebx
mov dword [esi], edx
lea edi, [edi + 0x10]
mov dword [esi + 4], ebp
cmp ebx, dword [ecx + 0x18]
jb 0x41a750
pop edi
pop ebp
pop ebx
mov al, 1
pop esi
pop ecx
ret 4
lea eax, [esp + 4]
push eax
push dword [ecx + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41a799
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41a799
xor al, al
pop esi
pop ecx
ret 4
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, dword [esp + 4]
add ecx, esi
pop esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop ecx
ret 4
Function at 0x41c103
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
je 0x41c1e4
mov ecx, dword [esi + 0x18]
push ebx
push ebp
push edi
xor edi, edi
test ecx, ecx
je 0x41c12e
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x14]
cmp edx, dword [eax]
je 0x41c13a
inc edi
add eax, 0x10
cmp edi, ecx
jb 0x41c122
pop edi
pop ebp
pop ebx
xor al, al
pop esi
add esp, 0x18
ret 0xc
cmp edi, ecx
jae 0x41c12e
mov edx, dword [esp + 0x2c]
xor ecx, ecx
mov ebx, dword [esp + 0x30]
mov ebp, edi
mov dword [esp + 0x14], ecx
mov ecx, edi
shl ecx, 4
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
jmp 0x41c160
test ebx, ebx
je 0x41c1ce
mov eax, dword [esi + 0x14]
mov eax, dword [ecx + eax]
mov dword [esi + 8], eax
mov byte [esi + 0x10], 0
cmp ebp, edi
jbe 0x41c18b
lea eax, [esp + 0x20]
mov ecx, esi
push eax
push 0
push 0
push 0
call fcn.0041c530
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push ebx
push edx
mov ecx, esi
call fcn.0041c100
mov byte [esi + 0x10], 1
test al, al
je 0x41c12e
mov eax, dword [esp + 0x18]
inc ebp
mov edx, dword [esp + 0x10]
sub ebx, eax
mov ecx, dword [esp + 0x1c]
add edx, eax
add dword [esp + 0x14], eax
add ecx, 0x10
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
cmp ebp, dword [esi + 0x18]
jb 0x41c160
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
pop edi
pop ebp
pop ebx
mov dword [eax], ecx
mov al, 1
pop esi
add esp, 0x18
ret 0xc
push 0
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
pop esi
setne al
add esp, 0x18
ret 0xc

Function at 0x4222f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call fcn.004a2d90
push edi
push dword [esp + 0x1c]
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.004bd030
push esi
call fcn.00490c30
test al, al
je 0x422331
pop edi
mov al, 1
pop esi
add esp, 0xc
ret 0xc
xor eax, eax
mov word [esi], ax
lea eax, [esp + 8]
push eax
push 1
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Pathswinrar.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42237d
lea eax, [edi + edi]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
push esi
lea eax, [esp + 0x18]
push eax
push 0
push 0
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
call fcn.004a2d90
push edi
push dword [esp + 0x1c]
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.004bd030
push esi
call fcn.00490c30
pop edi
pop esi
add esp, 0xc
ret 0xc

Function at 0x422bc0
Capabilities:
Check if file exists

Disassembly:
mov dword [ecx + 0x1048], 0
mov dword [ecx + 0x1044], 0
jmp fcn.0048f200
Function at 0x42af30
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x42af74
push esi
mov esi, dword [esp + 0x10]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor eax, esi
shrd esi, edx, 8
movzx ecx, al
shr edx, 8
xor esi, dword [ecx*8 + 0x591bb8]
xor edx, dword [ecx*8 + 0x591bbc]
sub edi, 1
jne 0x42af47
mov eax, esi
pop esi
pop edi
pop ebx
ret 0x10
mov eax, dword [esp + 0xc]
pop edi
pop ebx
ret 0x10
Function at 0x43a9d0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x20]
and esi, 0x1f
push edi
mov edi, dword [esp + 0x18]
cmp esi, 8
jb 0x43aaed
mov eax, esi
shr eax, 3
cmp dword [esp + 0x28], 1
jne 0x43aa70
mov dword [esp + 0x10], eax
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [ebx + 4]
push dword [ebx]
call fcn.0052f920
mov ecx, eax
add ebx, 8
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.0052f920
mov ecx, eax
xor edx, ebp
xor ecx, edi
mov eax, ecx
push 0x9e3779b1
shld eax, edx, 0x1b
shld edx, ecx, 0x1b
push 0x85ebca87
push edx
push eax
call fcn.0052f920
mov edi, eax
mov ebp, edx
add edi, 0xc2b2ae63
adc ebp, 0x85ebca77
sub esi, 8
sub dword [esp + 0x10], 1
jne 0x43aa01
jmp 0x43aaed
mov dword [esp + 0x10], eax
jmp 0x43aa80
push 0xc2b2ae3d
push 0x27d4eb4f
push dword [ebx + 4]
push dword [ebx]
call fcn.0052f920
mov ecx, eax
add ebx, 8
push 0x9e3779b1
shld ecx, edx, 0x1f
shld edx, eax, 0x1f
push 0x85ebca87
push edx
push ecx
call fcn.0052f920
mov ecx, eax
xor edx, ebp
xor ecx, edi
mov eax, ecx
push 0x9e3779b1
shld eax, edx, 0x1b
shld edx, ecx, 0x1b
push 0x85ebca87
push edx
push eax
call fcn.0052f920
mov edi, eax
mov ebp, edx
add edi, 0xc2b2ae63
adc ebp, 0x85ebca77
sub esi, 8
sub dword [esp + 0x10], 1
jne 0x43aa80
mov dword [esp + 0x10], edi
mov ecx, ebx
cmp esi, 4
jb 0x43ab41
mov eax, 0x9e3779b1
add ebx, 4
mul dword [ecx]
push 0xc2b2ae3d
mov edi, eax
mov eax, 0x85ebca87
mul dword [ecx]
push 0x27d4eb4f
xor eax, dword [esp + 0x18]
add edi, edx
xor edi, ebp
mov ecx, eax
shld ecx, edi, 0x17
shld edi, eax, 0x17
push edi
push ecx
call fcn.0052f920
mov edi, eax
mov ebp, edx
add edi, 0x9e3779f9
adc ebp, 0x165667b1
sub esi, 4
test esi, esi
je 0x43ab87
movzx eax, byte [ebx]
push 0x27d4eb2f
cdq
push 0x165667c5
push edx
push eax
call fcn.0052f920
mov ecx, eax
lea ebx, [ebx + 1]
xor ecx, edi
xor edx, ebp
mov eax, ecx
push 0x9e3779b1
shld eax, edx, 0xb
shld edx, ecx, 0xb
push 0x85ebca87
push edx
push eax
call fcn.0052f920
mov edi, eax
mov ebp, edx
sub esi, 1
jne 0x43ab45
push 0xc2b2ae3d
xor ecx, ecx
mov esi, ebp
push 0x27d4eb4f
xor ecx, ebp
shr esi, 1
push ecx
xor esi, edi
push esi
call fcn.0052f920
mov esi, eax
mov ecx, edx
shrd esi, ecx, 0x1d
push 0x165667b1
shr ecx, 0x1d
xor esi, eax
push 0x9e3779f9
xor ecx, edx
push ecx
push esi
call fcn.0052f920
mov ecx, edx
xor esi, esi
pop edi
xor eax, ecx
xor edx, esi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14
Function at 0x43d720
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
xor edx, edx
add dword [ecx + 0x5710], eax
mov eax, dword [ecx + 0x3678]
adc edx, dword [ecx + 0x5714]
push ebx
mov ebx, dword [ecx + 0x366c]
push ebp
mov ebp, dword [ecx + 0x3668]
push esi
mov esi, dword [eax + 0x14]
push edi
lea edi, [ecx + 0x3678]
mov dword [esp + 0x10], ecx
mov dword [ecx + 0x5714], edx
mov ecx, esi
call dword [0x55670c]
mov ecx, edi
call esi
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push edx
push eax
push dword [ebx + 0x571c]
push dword [ebx + 0x5718]
push dword [ebx + 0x5714]
push dword [ebx + 0x5710]
call fcn.004c0840
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
push ebp
push edi
push dword [ebx + 4]
call fcn.00422530
mov eax, dword [ebx + 0x5708]
mov esi, ebp
test ebp, ebp
je 0x43d7cd
jmp 0x43d7b0
movzx edx, byte [edi]
lea edi, [edi + 1]
movzx ecx, al
xor edx, ecx
shr eax, 8
movzx ecx, word [ebx + edx*2 + 0x3438]
xor eax, ecx
sub esi, 1
jne 0x43d7b0
mov dword [ebx + 0x5708], eax
mov eax, dword [ebx + 4]
cmp byte [eax + 0x7309], 0
jne 0x43d80c
mov eax, dword [ebx + 0x46c8]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x55670c]
lea ecx, [ebx + 0x46c8]
call esi
test al, al
je 0x43d80c
push ebp
push dword [esp + 0x1c]
lea ecx, [ebx + 0x46c8]
call fcn.0048fd00
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8

Function at 0x443640
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, ecx
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x443658
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x18]
add eax, 0xfffffff0
cmp esi, eax
jb 0x443669
mov esi, eax
mov edi, dword [edi + 4]
xor edx, edx
add edi, 0x10
test esi, esi
je 0x443694
movzx eax, byte [edi]
lea edi, [edi + 1]
mov ecx, edx
shl edx, 8
shr ecx, 8
xor ecx, eax
movzx eax, cl
xor edx, dword [ebx + eax*4 + 0x1ab0]
sub esi, 1
jne 0x443675
pop edi
movzx eax, dx
cmp eax, dword [ebp + 0x10]
pop esi
pop ebp
sete al
pop ebx
ret 8
Function at 0x450260
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x54dc4d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x58bb30]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x218]
lea ecx, [ebp]
mov esi, dword [ebp + 0x214]
xor edi, edi
mov eax, ecx
mov dword [ebp - 0x14], edi
mov edx, 0x104
sub esi, eax
mov dword [ebx], 0
lea esp, [esp]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4502e7
movzx eax, word [esi + ecx]
test ax, ax
je 0x4502e0
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4502c0
jmp 0x4502e4
test edx, edx
jne 0x4502e7
sub ecx, 2
xor eax, eax
push 0x55a6a8
mov word [ecx], ax
lea eax, [ebp]
push 0x104
push eax
call fcn.00450010
lea eax, [ebp]
push eax
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreW]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4503c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x450356
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45041f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x45044f
jmp 0x45041f
mov eax, dword [ebp + 0x210]
push 0x55a678
push 0xc9
push eax
call fcn.0044f220
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x45038b
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x450465
xor edi, edi
test esi, esi
jns 0x45041f
mov eax, dword [ebp + 0x210]
push esi
push 0x55a678
push 0x62
push eax
call fcn.0044f270
mov eax, dword [ebp + 0x210]
push esi
push 0x55a678
push 0x6b
push eax
call fcn.0044f270
mov eax, esi
jmp 0x45042a
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push eax
call fcn.0044e500
mov esi, eax
test esi, esi
jns 0x45040a
mov eax, dword [ebp + 0x210]
push esi
push 0x55a678
push 0xcf
push eax
call fcn.0044f270
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x450395
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x45047b
jmp 0x450395
mov eax, dword [ebp - 0x14]
cdq
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044d250
lea eax, [edi*4]
mov dword [ebx], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0052f708
lea esp, [ebp + 0x20c]
pop ebp
ret 8
mov eax, dword [ebp + 0x210]
push str.D:ProjectsWinRARpackagesMicrosoft.Windows.ImplementationLibrary.1.0.220201.1includewil_resource.h
push 0x937
push eax
call fcn.00450630
mov eax, dword [ebp + 0x210]
push str.D:ProjectsWinRARpackagesMicrosoft.Windows.ImplementationLibrary.1.0.220201.1includewil_resource.h
push 0x937
push eax
call fcn.00450630
mov eax, dword [ebp + 0x210]
push str.D:ProjectsWinRARpackagesMicrosoft.Windows.ImplementationLibrary.1.0.220201.1includewil_resource.h
push 0x937
push eax
call fcn.00450630
int3
Function at 0x452c00
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1004
call fcn.0052f720
mov eax, dword [0x58bb30]
xor eax, esp
mov dword [esp + 0x1000], eax
mov eax, dword [esp + 0x1008]
push ebp
push 0x55a9fc
push eax
call fcn.00491f50
mov ebp, eax
test ebp, ebp
jne 0x452c4c
lea eax, [ebp + 0x32]
pop ebp
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.0052f708
add esp, 0x1004
ret 8
push esi
mov esi, dword [esp + 0x1014]
xor eax, eax
cmp esi, 0x8000
jbe 0x452d60
push ebx
push edi
push eax
mov eax, esi
shr eax, 3
add eax, 0x1000
push eax
push ebp
call fcn.0053c19b
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0053bd85
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004529a0
mov ecx, esi
mov ebx, eax
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push ebp
call fcn.0053c19b
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0053bd85
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004529a0
lea ecx, [esi + esi]
mov edi, eax
shr ecx, 2
push 0
add ecx, 0x1000
push ecx
push ebp
call fcn.0053c19b
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0053bd85
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004529a0
mov esi, eax
mov eax, dword [esp + 0x101c]
push 0
lea ecx, [eax + eax*2]
shr ecx, 2
add ecx, 0x1000
push ecx
push ebp
call fcn.0053c19b
push ebp
push 0x1000
lea eax, [esp + 0x24]
push 1
push eax
call fcn.0053bd85
add esp, 0x1c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004529a0
add eax, esi
add eax, edi
add eax, ebx
cdq
and edx, 3
push ebp
lea esi, [edx + eax]
sar esi, 2
call fcn.005386bd
add esp, 4
mov eax, esi
pop edi
pop ebx
jmp 0x452da1
cmp esi, 0x1000
jbe 0x452d70
lea eax, [esi - 0x1000]
shr eax, 1
push 0
push eax
push ebp
call fcn.0053c19b
push ebp
push 0x1000
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.0053bd85
push ebp
mov esi, eax
call fcn.005386bd
add esp, 0x20
lea eax, [esp + 8]
push esi
push eax
call fcn.004529a0
mov ecx, dword [esp + 0x1008]
pop esi
pop ebp
xor ecx, esp
call fcn.0052f708
add esp, 0x1004
ret 8