joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457991
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x4579d7
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x14]
push 1
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push 0x5373
push dword [ebp - 0x20]
call fcn.00457b45
add esp, 0x18
jmp 0x457b41
lea eax, [ebp + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x40], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x457ae6
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x457a62
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x457a5d
push 0
push 0x4cd7
push 1
push 0x1541
push 1
push 0x491f
push 0x119e
push 0x6a15
push 0x706a
push 0x289
push 0x29ad
push 1
call fcn.00452dd2
add esp, 0x30
jmp 0x457ae4
mov dword [ebp - 0x10], 0xfffffffd
mov dword [ebp - 0xc], 0
jmp 0x457a79
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jge 0x457a8c
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x30], 0
jmp 0x457a72
mov dword [ebp - 0x10], 0
jmp 0x457a9c
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x457ace
mov dword [ebp - 8], 0xfffffffb
mov dword [ebp - 8], 0
jmp 0x457ab9
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x457acc
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x30], 1
jmp 0x457ab2
jmp 0x457a95
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x457ae4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x457b41
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x457b2f
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
jmp 0x457b41
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
and dword [eax], 0
mov esp, ebp
pop ebp
ret
Function at 0x45b79d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x45b889
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x45b862
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x45b83c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x3c]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx]
mov byte [ecx + eax], 0
jmp 0x45b860
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x45b860
push 1
push 0x4f89
push 1
push 0
push 0x7b20
call fcn.0045c28e
add esp, 0x14
jmp 0x45b887
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x45b887
push 0x13b7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
jmp 0x45b8a5
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x54], eax
push 1
push dword [ebp - 0x50]
push dword [ebp - 0x54]
call fcn.0045483d
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x45eee0
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x45efa0
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x45ef81
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x45ef63
mov byte [ebp - 1], 0
push 0xe83
push 1
push 0x23e1
push 0x3b4b
push 0x2e68
push 0x3290
push 0x5fcb
push 1
push 0
lea eax, [ebp - 1]
push eax
push 1
push 0xd27
push 1
call fcn.0045b44f
add esp, 0x34
jmp 0x45ef7f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x45ef7f
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x45ef9e
push 0x3d71
push 0x887
push 0x4b53
push 1
push 0
push 1
call fcn.004539b9
add esp, 0x18
jmp 0x45efd7
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x24]
push 1
push 0x1ff7
push 0x1185
push 0x639c
push 0x3741
push 0x64ca
push dword [ebp - 0x28]
push 0
call fcn.0045bb28
add esp, 0x24
mov esp, ebp
pop ebp
ret
Function at 0x4611d6
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x461296
lea eax, [ebp + 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x461220
push 1
push 0x3137
call fcn.004612fe
pop ecx
pop ecx
jmp 0x461294
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x46124c
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x461294
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
push 1
mov eax, dword [ebp - 0x34]
push dword [eax]
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.0046f779
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.0042defe
lea ecx, [ebp - 0x60]
call fcn.00402cd4
jmp 0x4612fa
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x4612c6
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
push 0x1ded
push 1
push dword [ebp - 0x48]
call fcn.004571b8
add esp, 0xc
jmp 0x4612fa
push 0xbc5
push 0x22af
push 0x5d5b
push 0x6972
push 0xed8
push 0x14f4
push 0x623e
push 0
push 0
push 0x3acf
call fcn.004614bd
add esp, 0x28
mov esp, ebp
pop ebp
ret
Function at 0x492aaa
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x4a7ad8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bb7f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00490977
mov dword [ebp - 0x14], eax
cmp dword [0xabbdb4], esi
jne 0x4a7bcb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4a7b58
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4a7cab
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4a7cab
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4a7cab
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xabbdb4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xabbdb8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xabbdbc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xabbdc4], eax
test eax, eax
je 0x4a7bc8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xabbdc0], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4a7bf0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4a7be3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x4a7c05
push 4
pop eax
jmp 0x4a7cad
cmp dword [ebp - 0x14], esi
je 0x4a7c05
push dword [0xabbdb4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4a7bea
mov eax, dword [0xabbdc0]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4a7c63
cmp dword [0xabbdc4], edi
je 0x4a7c63
push eax
call ebx
push dword [0xabbdc4]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4a7c63
test eax, eax
je 0x4a7c63
call ecx
test eax, eax
je 0x4a7c58
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4a7c58
test byte [ebp - 8], 1
jne 0x4a7c63
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4a7c93
mov eax, dword [0xabbdb8]
cmp eax, edi
je 0x4a7c90
push eax
call ebx
test eax, eax
je 0x4a7c90
call eax
mov esi, eax
test esi, esi
je 0x4a7c90
mov eax, dword [0xabbdbc]
cmp eax, edi
je 0x4a7c90
push eax
call ebx
test eax, eax
je 0x4a7c90
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xabbdb4]
call ebx
test eax, eax
je 0x4a7cab
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4a7cad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048d8ab
mov esp, ebp
pop ebp
ret
Function at 0x4014c0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446ac1
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x457040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, edi
cmp dword [edi + 0x14], 7
jbe 0x4014fb
mov eax, dword [edi]
push 0x44a5a0
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfopen]
mov ebx, eax
add esp, 8
mov dword [ebp - 0xcc], ebx
test ebx, ebx
je 0x4015d3
mov esi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push 2
push 0
push ebx
call esi
add esp, 0xc
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
add esp, 4
mov edi, eax
push 0
push 0
push ebx
call esi
add esp, 0xc
push edi
call fcn.00445aa9
add esp, 4
mov ebx, eax
mov dword [ebp - 0xc8], ebx
push dword [ebp - 0xcc]
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push dword [ebp - 0xcc]
mov esi, eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
cmp esi, edi
jne 0x401693
mov esi, dword [ebp - 0xc8]
or ebx, 0xffffffff
xor edx, edx
test edi, edi
jle 0x4015a8
nop dword [eax]
movzx ecx, byte [esi + edx]
inc edx
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x4670b8]
cmp edx, edi
jl 0x401590
push esi
call fcn.00445ab2
not ebx
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret 4
push ecx
lea ecx, [ebp - 0xc4]
call fcn.004014a0
push ecx
lea ecx, [ebp - 0xc4]
call fcn.004017e0
mov edx, str.Cannot_open_file:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.004019d0
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0xc8]
push eax
call fcn.00402120
mov ecx, edi
mov edx, dword [eax]
lea eax, [ebp - 0xcc]
push eax
call fcn.00402100
push ecx
push edx
lea ecx, [ebp - 0xe4]
push dword [eax]
call fcn.00401c10
mov edx, eax
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00401bf0
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0
call fcn.004028a0
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0xc4]
call fcn.004016f0
push eax
mov byte [ebp - 4], 2
call fcn.0043f7d0
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0
call fcn.004028a0
push 0x454014
lea eax, [ebp - 0xc8]
mov dword [ebp - 0xc8], 0
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push str.Error_reading_file
lea ecx, [ebp - 0xe4]
call fcn.004020c0
lea eax, [ebp - 0xe4]
mov dword [ebp - 4], 4
push eax
call fcn.0043f7d0
lea ecx, [ebp - 0xe4]
mov dword [ebp - 4], 0xffffffff
call fcn.004028a0
push ebx
call fcn.00445ab2
add esp, 4
mov dword [ebp - 0xc8], 2
lea eax, [ebp - 0xc8]
push 0x454014
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x410b00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447f1c
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x457040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea esi, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], esi
mov dword [esi + 0x24], 0
mov byte [ebp - 4], 4
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x410bb4
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x70]
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
push 9
mov byte [edi + 0x68], 9
call fcn.004126c0
mov byte [ebp - 4], 6
xor esi, esi
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x18], edx
test ecx, ecx
jns 0x410bff
mov eax, ecx
neg eax
cmp esi, eax
jae 0x410bff
add ecx, esi
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x410c09
add ecx, esi
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
and ecx, 0x1f
lea eax, [ebp - 0xd]
push ecx
push edx
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.004109b0
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x410c37
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x4152b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44837b
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x457040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x420]
push 0x410
push 0
push eax
mov dword [ebp - 0x454], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
jns 0x415411
push 0x28
push str.Failed_to_get_file_path_to_My_Documents.
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], 0
movups xmmword [ebp - 0x450], xmm0
mov dword [ebp - 0x43c], 0
call fcn.00401fd0
mov dword [ebp - 4], 0
cmp dword [0x4675b0], 0
je 0x41538c
cmp dword [ebp - 0x43c], 0xf
lea edx, [ebp - 0x450]
push dword [ebp - 0x440]
cmova edx, dword [ebp - 0x450]
mov ecx, 0x467560
call fcn.00401de0
add esp, 4
mov ecx, eax
push 0x4404c0
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x43c]
cmp ecx, 0xf
jbe 0x4153cf
mov edx, dword [ebp - 0x450]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4153c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4153c5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00445a9b
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x440], 0
push 0
movups xmmword [esi], xmm0
push 0x44fa70
mov ecx, esi
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004151b0
jmp 0x415499
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x428], 0
movups xmmword [ebp - 0x438], xmm0
mov dword [ebp - 0x424], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415435
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.004151b0
push str.ValidusBot_
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 1
call fcn.00415880
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x438]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00445a3a
mov esp, ebp
pop ebp
ret 4
Function at 0x4175a0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x417601
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x4175e4
cmp edi, 2
jb 0x4175e4
cmp byte [esi], cl
jne 0x4175e4
cmp byte [esi + 1], cl
jne 0x4175e4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x44a7a8]
jmp 0x4175b5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x44a7a8]
test edi, edi
jne 0x4175b5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x417630
cmp cl, 0x23
jne 0x417617
cmp byte [esi], cl
jne 0x417617
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x44a7a8]
test cl, cl
jne 0x417608
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x417740
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x417754
mov dword [ebx], 0
mov edx, 0x44fd40
call fcn.00417640
mov esi, eax
test esi, esi
je 0x417842
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x417838
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x417838
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x417838
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x417838
mov eax, dword [0x4674c0]
test eax, eax
je 0x4177cc
inc dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x417838
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x41781d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x4674c0]
add esp, 4
test eax, eax
je 0x41780a
dec dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x41782f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418cb0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x457040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x44a7a8]
sub esi, 1
jne 0x418ce3
mov eax, dword [0x4674c0]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x418d12
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x418d21
mov byte [eax + 0x1c20], 1
cmp dword [eax + 0x1bc8], ebx
jne 0x418d3a
push ecx
push edi
mov edx, 4
mov ecx, ebx
call fcn.00429130
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00445a3a
mov esp, ebp
pop ebp
ret 4