joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4486c9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4c4108]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
mov dword [ebp - 4], eax
je 0x448741
push ebx
call fcn.00448692
test eax, eax
pop ecx
jne 0x448710
call fcn.00440682
mov dword [eax], 0xf
call fcn.00440679
mov dword [eax], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
pop ebx
call fcn.0043ee9b
leave
ret
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push 0x104
lea eax, [ebp + 8]
add bl, 0x40
push eax
mov byte [ebp + 8], bl
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x2e
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x448753
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x448703
inc eax
cmp eax, 0x104
ja 0x448703
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x44878b
cmp eax, dword [ebp + 0x10]
jg 0x44876e
mov eax, dword [ebp + 0x10]
push eax
call fcn.0043ca99
pop ecx
mov ecx, eax
test ecx, ecx
jne 0x4487a0
call fcn.00440679
mov dword [eax], 0xc
jmp 0x448703
cmp eax, dword [ebp + 0x10]
jle 0x4487a0
call fcn.00440679
mov dword [eax], 0x22
jmp 0x448703
lea eax, [ebp - 0x108]
push eax
push ecx
call fcn.0043d550
pop ecx
pop ecx
jmp 0x448705
Function at 0x44c482
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x4ca0b4], ebx
push esi
push edi
jne 0x44c502
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44c53d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a7644
push edi
call esi
test eax, eax
mov dword [0x4ca0b4], eax
je 0x44c53d
push 0x4a7634
push edi
call esi
push 0x4a7620
push edi
mov dword [0x4ca0b8], eax
call esi
cmp dword [0x4c9bdc], 2
mov dword [0x4ca0bc], eax
jne 0x44c502
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x4ca0c4], eax
je 0x44c502
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x4ca0c0], eax
mov eax, dword [0x4ca0c0]
test eax, eax
je 0x44c547
call eax
test eax, eax
je 0x44c52e
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x4ca0c4]
test eax, eax
je 0x44c52e
test byte [ebp - 8], 1
jne 0x44c547
cmp dword [0x4c9be8], 4
jb 0x44c541
or byte [ebp + 0x12], 0x20
jmp 0x44c566
xor eax, eax
jmp 0x44c576
or byte [ebp + 0x12], 4
jmp 0x44c566
mov eax, dword [0x4ca0b8]
test eax, eax
je 0x44c566
call eax
mov ebx, eax
test ebx, ebx
je 0x44c566
mov eax, dword [0x4ca0bc]
test eax, eax
je 0x44c566
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x4ca0b4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44d534
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0043ce30
mov eax, dword [0x4c4108]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.00443f2d
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 0x1008], eax
je 0x44d667
push 2
push esi
push dword [ebp + 8]
call fcn.00443f2d
add esp, 0xc
cmp eax, ebx
je 0x44d667
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x44d607
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.0043b730
push 0x8000
push dword [ebp + 8]
call fcn.0044e4b1
add esp, 0x14
mov dword [ebp - 0x100c], eax
cmp edi, ebx
mov eax, ebx
jge 0x44d5bd
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push dword [ebp + 8]
call fcn.00444618
add esp, 0xc
cmp eax, 0xffffffff
je 0x44d5dd
sub edi, eax
test edi, edi
jg 0x44d5b5
jmp 0x44d5f5
call fcn.00440682
cmp dword [eax], 5
jne 0x44d5f2
call fcn.00440679
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0x100c]
push dword [ebp + 8]
call fcn.0044e4b1
pop ecx
pop ecx
jmp 0x44d64f
jge 0x44d64f
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00443f2d
push dword [ebp + 8]
call fcn.0044b767
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x44d64f
call fcn.00440679
mov dword [eax], 0xd
call fcn.00440682
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 0x1008]
push dword [ebp + 8]
call fcn.00443f2d
add esp, 0xc
mov eax, esi
pop edi
jmp 0x44d669
mov eax, ebx
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0043ee9b
leave
ret
Function at 0x44e1d8
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x4a76c0
call fcn.0043fa40
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x4ca0e8], edi
jne 0x44e21c
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44e207
mov dword [0x4ca0e8], ebx
jmp 0x44e21c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x44e21c
mov dword [0x4ca0e8], 2
mov eax, dword [0x4ca0e8]
cmp eax, ebx
jne 0x44e23c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x44e2ff
cmp eax, 2
je 0x44e245
cmp eax, edi
jne 0x44e26d
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x24], edi
cmp dword [ebp + 0x18], edi
jne 0x44e258
mov eax, dword [0x4ca050]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x20], eax
cmp eax, edi
jne 0x44e274
xor eax, eax
jmp 0x44e2ff
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.0043ce30
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x44e2a7
cmp esi, edi
jne 0x44e2bd
push dword [ebp - 0x20]
call fcn.0043ca99
pop ecx
mov esi, eax
cmp esi, edi
je 0x44e26d
mov dword [ebp - 0x24], ebx
push dword [ebp - 0x20]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x44e2f0
cmp dword [ebp + 0x14], edi
jne 0x44e2da
push edi
push edi
jmp 0x44e2e0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x24], edi
je 0x44e2fc
push esi
call fcn.0043c7af
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.0043fa7b
ret
Function at 0x44e308
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x4a76d0
call fcn.0043fa40
xor esi, esi
cmp dword [0x4ca0ec], esi
jne 0x44e34c
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44e337
mov dword [0x4ca0ec], edi
jmp 0x44e34c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x44e34c
mov dword [0x4ca0ec], 2
mov eax, dword [0x4ca0ec]
cmp eax, 2
je 0x44e42d
cmp eax, esi
je 0x44e42d
cmp eax, 1
jne 0x44e391
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x44e37a
mov eax, dword [0x4ca050]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x44e398
xor eax, eax
jmp 0x44e43f
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.0043ce30
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x44e3ce
cmp edi, esi
jne 0x44e3e9
lea eax, [ebx + ebx]
push eax
call fcn.0043ca99
pop ecx
mov edi, eax
cmp edi, esi
je 0x44e391
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44e41c
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x44e406
push esi
push esi
jmp 0x44e40c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x44e428
push edi
call fcn.0043c7af
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x44e43f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.0043fa7b
ret
Function at 0x44ea02
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x44ea1b
or eax, 0xffffffff
jmp 0x44ea7c
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x44ea78
push 0x3d
push esi
call fcn.0043e824
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x44ea78
cmp esi, eax
je 0x44ea78
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x4c9bfc]
sete cl
cmp eax, dword [0x4c9c00]
mov dword [ebp - 8], ecx
jne 0x44ea5e
mov edi, eax
call fcn.0044e9a1
mov dword [0x4c9bfc], eax
cmp eax, ebx
jne 0x44eab7
cmp dword [ebp + 0xc], ebx
je 0x44ea80
cmp dword [0x4c9c04], ebx
je 0x44ea80
call fcn.0044d75a
test eax, eax
je 0x44eab7
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x44ea89
xor eax, eax
jmp 0x44ea7b
push 4
call fcn.0043ca99
cmp eax, ebx
pop ecx
mov dword [0x4c9bfc], eax
je 0x44ea78
mov dword [eax], ebx
cmp dword [0x4c9c04], ebx
jne 0x44eab7
push 4
call fcn.0043ca99
cmp eax, ebx
pop ecx
mov dword [0x4c9c04], eax
je 0x44ea78
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x4c9bfc]
call fcn.0044e954
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x44eb18
cmp dword [esi], ebx
je 0x44eb18
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0043c7af
cmp dword [ebp - 8], ebx
pop ecx
jne 0x44eafb
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x44eb59
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x44eaf2
mov eax, edi
shl eax, 2
push eax
push dword [0x4c9bfc]
call fcn.0043eecb
cmp eax, ebx
pop ecx
pop ecx
je 0x44eb59
jmp 0x44eb54
cmp dword [ebp - 8], ebx
jne 0x44ebc4
cmp edi, ebx
jge 0x44eb27
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4c9bfc]
call fcn.0043eecb
cmp eax, ebx
pop ecx
pop ecx
je 0x44ea78
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x4c9bfc], eax
cmp dword [ebp + 0xc], ebx
je 0x44ebae
push dword [ebp - 4]
call fcn.0043bad0
inc eax
inc eax
push eax
call fcn.0043ca99
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x44ebae
push dword [ebp - 4]
push esi
call fcn.0043d550
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x44eba7
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0043c7af
pop ecx
cmp dword [ebp - 8], ebx
je 0x44ebbc
push dword [ebp - 4]
call fcn.0043c7af
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x44ea7b
push dword [ebp - 4]
call fcn.0043c7af
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x44ea85
Function at 0x451080
Capabilities:
Read file on windows

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push 0
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4510a1
ret
mov eax, dword [esp + 0xc]
ret

Function at 0x4510b0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push 0
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4510d1
ret
mov eax, dword [esp + 0xc]
ret

Function at 0x452040
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [0x4cccd0]
mov edx, dword [esp + 4]
mov eax, ecx
and edx, 0xff
and eax, 0xff
xor eax, edx
shr ecx, 8
mov eax, dword [eax*4 + 0x4c52b8]
xor eax, ecx
mov ecx, dword [0x4cccd4]
mov dword [0x4cccd0], eax
and eax, 0xff
add eax, ecx
mov ecx, dword [0x4cccd8]
imul eax, eax, 0x8088405
inc eax
mov edx, ecx
mov dword [0x4cccd4], eax
and edx, 0xff
shr eax, 0x18
xor eax, edx
shr ecx, 8
mov eax, dword [eax*4 + 0x4c52b8]
xor eax, ecx
mov dword [0x4cccd8], eax
ret

Function at 0x452120
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0xc
lea eax, [esp]
push 0xc
push eax
push ecx
call fcn.00451080
add esp, 0xc
cmp eax, 0xc
jne 0x452173
push ebx
push esi
xor esi, esi
call fcn.004520b0
mov cl, byte [esp + esi + 8]
mov bl, al
xor bl, cl
mov byte [esp + 0x18], bl
mov edx, dword [esp + 0x18]
push edx
call fcn.00452040
add esp, 4
mov byte [esp + esi + 8], bl
inc esi
cmp esi, 0xc
jl 0x452140
pop esi
mov eax, 0xc
pop ebx
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret

Function at 0x452180
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, eax
dec eax
test ecx, ecx
jle 0x4521ba
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
lea edi, [eax + 1]
call fcn.004520b0
mov cl, byte [esi]
mov bl, al
xor bl, cl
mov byte [esp + 0x14], bl
mov edx, dword [esp + 0x14]
push edx
call fcn.00452040
add esp, 4
mov byte [esi], bl
inc esi
dec edi
jne 0x452195
pop edi
pop esi
pop ebx
ret
Function at 0x452de0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x20]
push esi
xor esi, esi
cmp eax, esi
mov word [esp + 0xc], si
mov word [esp + 0xe], si
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov word [esp + 0x18], si
jne 0x452e19
mov dword [esp + 4], 0x6054b50
mov word [esp + 8], si
mov word [esp + 0xa], si
jmp 0x452e46
mov dword [esp + 4], 0x605444f
mov dword [esp + 8], 1
mov ecx, 4
mov al, cl
mov dl, 3
imul dl
mov dl, byte [esp + ecx + 4]
sub al, 0x5b
xor dl, al
mov byte [esp + ecx + 4], dl
inc ecx
cmp ecx, 0x16
jb 0x452e2e
mov ecx, dword [esp + 0x20]
lea eax, [esp + 4]
push 0x16
push eax
push ecx
call fcn.004510b0
add esp, 0xc
cmp eax, 0x16
mov eax, 1
je 0x452e66
mov eax, esi
pop esi
add esp, 0x18
ret

Function at 0x453730
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
push ebx
push edi
mov edi, dword [esp + 0x14]
cmp edi, 8
not eax
jl 0x45383d
push esi
mov esi, edi
shr esi, 3
mov ecx, esi
neg ecx
lea edi, [edi + ecx*8]
mov ecx, dword [esp + 0x14]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x4c52b8]
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4c52b8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4c52b8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4c52b8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4c52b8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x4c52b8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x4c52b8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4c52b8]
xor eax, edx
inc ecx
dec esi
jne 0x453756
pop esi
jmp 0x453841
mov ecx, dword [esp + 0x10]
test edi, edi
je 0x453863
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4c52b8]
xor eax, edx
inc ecx
dec edi
jne 0x453845
pop edi
pop ebx
not eax
ret

Function at 0x4538c0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [0x4cce30]
mov edx, dword [esp + 4]
mov eax, ecx
and edx, 0xff
and eax, 0xff
xor eax, edx
shr ecx, 8
mov eax, dword [eax*4 + 0x4c52b8]
xor eax, ecx
mov ecx, dword [0x4cce34]
mov dword [0x4cce30], eax
and eax, 0xff
add eax, ecx
mov ecx, dword [0x4cce38]
imul eax, eax, 0x8088405
inc eax
mov edx, ecx
mov dword [0x4cce34], eax
and edx, 0xff
shr eax, 0x18
xor eax, edx
shr ecx, 8
mov eax, dword [eax*4 + 0x4c52b8]
xor eax, ecx
mov dword [0x4cce38], eax
ret
Function at 0x4539a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, eax
dec eax
test ecx, ecx
jle 0x4539de
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
lea edi, [eax + 1]
mov dl, byte [esi]
mov byte [esp + 0x14], dl
call fcn.00453930
mov bl, al
mov eax, dword [esp + 0x14]
push eax
call fcn.004538c0
mov dl, byte [esp + 0x18]
add esp, 4
xor bl, dl
mov byte [esi], bl
inc esi
dec edi
jne 0x4539b5
pop edi
pop esi
pop ebx
ret
Function at 0x454b50
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
Function at 0x45b1f9
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4973f8
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x68]
xor ebx, ebx
cmp al, bl
jne 0x45b246
push 0x43
push str.FileCrypt_ERROR:_in_CSHA::FinalDigest____No_data_Added_before_call_
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
call fcn.00402400
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], ebx
call fcn.0044ffba
push 0x4bce60
lea ecx, [esp + 0x28]
push ecx
call fcn.0043c41d
mov eax, dword [esi + 0x20]
shr eax, 3
and eax, 0x3f
push edi
lea edi, [eax + esi + 0x28]
mov ecx, 0x3f
sub ecx, eax
mov byte [edi], 0x80
inc edi
xor eax, eax
cmp ecx, 8
jae 0x45b289
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
call fcn.004586c0
mov ecx, 0xe
xor eax, eax
lea edi, [esi + 0x28]
rep stosd dword es:[edi], eax
jmp 0x45b29a
add ecx, 0xfffffff8
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov cl, byte [esi + 0x24]
mov byte [esi + 0x63], cl
mov dl, byte [esi + 0x25]
lea eax, [esi + 0x63]
mov byte [eax - 1], dl
mov cl, byte [esi + 0x26]
dec eax
mov byte [eax - 1], cl
mov dl, byte [esi + 0x27]
mov byte [eax - 2], dl
mov cl, byte [esi + 0x20]
dec eax
mov byte [esi + 0x67], cl
mov dl, byte [esi + 0x21]
lea eax, [esi + 0x67]
mov byte [eax - 1], dl
mov cl, byte [esi + 0x22]
dec eax
dec eax
mov byte [eax], cl
mov dl, byte [esi + 0x23]
mov ecx, esi
mov byte [eax - 1], dl
call fcn.004586c0
mov ecx, dword [esp + 0x60]
lea eax, [esi + 2]
inc ecx
mov edi, 8
mov dl, byte [eax - 2]
mov byte [ecx + 2], dl
mov dl, byte [eax - 1]
mov byte [ecx + 1], dl
mov dl, byte [eax]
mov byte [ecx], dl
mov dl, byte [eax + 1]
mov byte [ecx - 1], dl
add eax, 4
add ecx, 4
dec edi
jne 0x45b2e7
mov ecx, 0x4b1670
mov eax, esi
sub ecx, esi
mov edx, 8
mov edi, dword [ecx + eax]
mov dword [eax], edi
add eax, 4
dec edx
jne 0x45b314
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov byte [esi + 0x68], bl
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x463281
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x495768
call fcn.0043eeac
sub esp, 0x9c
mov eax, dword [0x4c4108]
push ebx
push esi
push edi
push dword [ebp + 0x1c]
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xa8], esi
call fcn.0046ee8a
lea ecx, [esi + 0x78]
mov dword [ebp - 4], ebx
mov dword [esi], vtable.CFileDialog.0
call fcn.00402a60
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
jne 0x463312
mov edi, 0x94
push edi
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.0043b730
add esp, 0xc
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 2
jne 0x46330b
cmp dword [ebp - 0xa0], 5
mov dword [ebp + 0x20], 0x58
jae 0x463312
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.0043ca99
cmp eax, ebx
pop ecx
mov dword [esi + 0x70], eax
jne 0x463327
call fcn.00462ed2
push dword [ebp + 0x20]
push ebx
push eax
call fcn.0043b730
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x20]
mov dword [esi + 0x74], eax
add esp, 0xc
neg eax
sbb eax, eax
add eax, 0x7005
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x70]
mov dword [esi + 0x1c0], ebx
lea ecx, [esi + 0x7c]
mov byte [ecx], bl
lea edi, [esi + 0xbc]
mov byte [edi], bl
mov dword [eax], edx
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x1c], edi
mov eax, dword [esi + 0x70]
mov dword [eax + 0x20], 0x104
mov eax, dword [esi + 0x70]
mov dword [eax + 0x3c], edx
mov eax, dword [esi + 0x70]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x24], ecx
mov eax, dword [esi + 0x70]
push 0x40
pop ecx
mov dword [eax + 0x28], ecx
mov eax, dword [esi + 0x70]
or edx, 0x80020
or dword [eax + 0x34], edx
test byte [ebp + 0x14], cl
je 0x4633a4
mov eax, dword [esi + 0x70]
and byte [eax + 0x36], 0x7f
call fcn.00489668
cmp dword [ebp + 0x10], ebx
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0x70]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x70]
mov dword [eax + 0x44], 0x46398f
je 0x4633d0
push 0x104
push dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp dword [ebp + 0x18], ebx
je 0x463406
push dword [ebp + 0x18]
lea edi, [esi + 0x78]
mov ecx, edi
call fcn.00405d80
push ebx
mov ecx, edi
call fcn.00402d80
jmp 0x4633ef
mov byte [eax], bl
inc eax
push 0x7c
push eax
call fcn.0043e824
cmp eax, ebx
pop ecx
pop ecx
jne 0x4633ec
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0043ee9b
leave
ret 0x1c