joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4026f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52468a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x56e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.0048f0a0
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x4027b0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.004934f0
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x56bd80
push eax
call fcn.00496820
push edi
push esi
call fcn.0048fb80
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret 4

Function at 0x403d40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403d59
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403d96
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x403d92
nop word [eax + eax]
cmp esi, edx
jae 0x403d96
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x403d80
cmp esi, edx
jb 0x403d9d
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x403ff0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x56e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x10], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [ebx], 0
mov edi, dword [ebp + 0x10]
jne 0x40403c
push str.m_hKey___0
push 0x556760
push 0
push 0x17a1
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VC_atlmfcinclude_atlbase.h
push 2
call fcn.004bb240
add esp, 0x18
cmp eax, 1
jne 0x40403c
int3
test edi, edi
jne 0x404065
push str.pnChars___0
push 0x556760
push edi
push 0x17a2
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VC_atlmfcinclude_atlbase.h
push 2
call fcn.004bb240
add esp, 0x18
cmp eax, 1
jne 0x404065
int3
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
mov dword [edi], 0
push eax
push 0
push dword [ebp - 0x10]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4040c8
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x404097
cmp eax, 2
jne 0x4040a9
mov eax, dword [ebp - 0xc]
test esi, esi
je 0x4040c4
test eax, eax
je 0x4040c1
cmp byte [esi + eax - 1], 0
je 0x4040c4
pop edi
pop esi
mov eax, 0xd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048cd50
mov esp, ebp
pop ebp
ret 0xc

Function at 0x404b30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, dword fs:[0x2c]
push esi
mov esi, ecx
mov ecx, dword [eax]
mov dword [esi], vtable.ATL::CImage.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov word [esi + 0x1c], 0
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0xffffffff
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov eax, dword [0x57d29c]
cmp eax, dword [ecx + 4]
jle 0x404bd3
push 0x57d29c
call fcn.0048cf50
add esp, 4
cmp dword [0x57d29c], 0xffffffff
jne 0x404bd3
call fcn.00404a50
push 0x52a630
call fcn.0048d9b0
push 0x57d29c
call fcn.0048cf00
add esp, 8
push 0x57d240
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [0x57d258]
push 0x57d240
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop esi
ret
Function at 0x406fe0
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
mov eax, dword [0x56e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
lea eax, [ebp - 0x354]
push 0
push eax
call fcn.004966c0
add esp, 0xc
lea eax, [ebp - 0x108]
xorps xmm0, xmm0
movups xmmword [ebp - 0x364], xmm0
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push str.cmd.exe__C_ping_1.1.1.1__n_1__w_3000___Nul__Del___s_
push eax
call fcn.00402360
add esp, 0xc
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x354]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x310]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x360]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x364]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret

Function at 0x407600
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
push 0
push esi
call fcn.004b5f60
add esp, 8
test eax, eax
jne 0x407629
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
pop esi
sbb eax, eax
neg eax
ret
xor eax, eax
pop esi
ret
Function at 0x407630
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524e88
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x56e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov eax, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x50], eax
call fcn.00410f40
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.00410f40
push 0
push 0x55660a
mov byte [ebp - 4], 1
push dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00414c80
test eax, eax
je 0x4076e3
push 1
push 0x558400
lea ecx, [ebp - 0x2c]
call fcn.00410ae0
test ebx, ebx
jne 0x4076c1
push 0x449
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCincludexstring
push str.invalid_null_pointer
call fcn.00490290
add esp, 0xc
cmp byte [ebx], 0
jne 0x4076ca
xor ecx, ecx
jmp 0x4076d9
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4076d0
sub ecx, edx
push ecx
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00410ae0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4077a2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 0x54], eax
call fcn.0048da00
add esp, 4
mov edi, eax
lea eax, [ebp - 0x4c]
push 0
push eax
push dword [ebp - 0x54]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x407792
push 0
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
mov dword [ebp - 0x50], eax
test eax, eax
je 0x407792
push dword [ebp - 0x54]
push edi
push 0x400
push ebx
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
cmp eax, 1
jne 0x407787
push 0
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
push edi
call fcn.0048d9e0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x4077a4
push 1
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
push edi
call fcn.0048d9e0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4077b9
inc eax
push eax
push dword [ebp - 0x44]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00416a30
lea ecx, [ebp - 0x48]
call fcn.00415cd0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4077fb
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.00416a30
lea ecx, [ebp - 0x2c]
call fcn.00415cd0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret
Function at 0x407910
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x56e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push ecx
mov esi, edx
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0x8000
push esi
mov dword [ebp - 0x1c], eax
call fcn.004c3650
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x4079de
push ebx
push edi
call fcn.004c2680
mov esi, eax
push esi
call fcn.004be140
mov ebx, eax
push esi
push ebx
push edi
call fcn.004c46f0
push edi
call fcn.004c5580
mov edi, dword [sym.imp.KERNEL32.dll_UpdateResourceA]
lea eax, [ebx + 0x16]
add esp, 0x18
add esi, 0xffffffea
push esi
push eax
push 0x409
push 1
push 3
push dword [ebp - 0x1c]
call edi
push 0x14
mov eax, 0x20
mov dword [ebp - 0xa], esi
mov esi, dword [ebp - 0x1c]
mov ecx, 1
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x18]
push eax
push 0x409
push str.MAINICON
push 0xe
push esi
mov dword [ebp - 0x18], 0x10000
mov dword [ebp - 0x14], 0x20200001
mov dword [ebp - 0x10], 0x20000
mov word [ebp - 6], cx
call edi
push 1
push ebx
call fcn.0048d9e0
add esp, 8
push 0
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0048cd50
mov esp, ebp
pop ebp
ret
Function at 0x407e50
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x56e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0xa
push edi
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x407f8e
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x407f8a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407f8a
cmp edi, str.config.txt
jne 0x407ef3
push 0x5589d8
push esi
call fcn.004a4040
add esp, 8
test eax, eax
je 0x407f8a
mov ecx, eax
call fcn.00407e50
push 0x5589d8
push 0
call fcn.004a4040
add esp, 8
test eax, eax
jne 0x407ed2
mov al, 1
jmp 0x407f90
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x573bf8
lea ecx, [ebp - 0x30]
mov ebx, eax
call fcn.00411180
push 0x558400
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.00410bd0
push edi
lea ecx, [ebp - 0x4c]
call fcn.00410f40
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004151a0
lea ecx, [ebp - 0x4c]
call fcn.00410cb0
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x407f82
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x30]
call fcn.00410cb0
mov al, 1
jmp 0x407f90
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret
Function at 0x4092d0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5253f0
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x56e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
push 1
lea ecx, [ebp - 0x48]
call fcn.00410e50
push 1
push 0x5589d8
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.00410ae0
push str.__.exe
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.00418690
push 0x140
lea eax, [ebp - 0x188]
push 0
push eax
call fcn.004966c0
add esp, 0x10
lea ecx, [ebp - 0x188]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
xor ebx, ebx
cmp edi, 0xffffffff
je 0x40937f
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
nop dword [eax]
lea eax, [ebp - 0x188]
inc ebx
push eax
push edi
call esi
test eax, eax
jne 0x409370
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x409394
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00416a30
lea ecx, [ebp - 0x2c]
call fcn.00415cd0
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4093d6
inc eax
push eax
push dword [ebp - 0x44]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00416a30
lea ecx, [ebp - 0x48]
call fcn.00415cd0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret
Function at 0x40aca0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525808
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x56e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
push 0
push 0x55660a
mov ecx, 0x573b2c
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x64], 0
call fcn.00414ff0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x12
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
cmp byte [ebp - 0x24], 0
jne 0x40ad0c
xor ecx, ecx
jmp 0x40ad1b
lea ecx, [ebp - 0x24]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40ad12
sub ecx, edx
push ecx
lea eax, [ebp - 0x24]
mov ecx, 0x573b2c
push eax
call fcn.00410ae0
lea ecx, [ebp - 0x60]
call fcn.0040a1a0
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 1
push eax
mov edx, 0x55840c
lea ecx, [ebp - 0x80]
call fcn.00418930
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x573b2c
mov byte [ebp - 4], 2
call fcn.004151a0
mov eax, dword [ebp - 0x68]
cmp eax, 0x10
jb 0x40ad75
inc eax
push eax
push dword [ebp - 0x7c]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.00416a30
lea ecx, [ebp - 0x80]
call fcn.00415cd0
sub esp, 0x1c
mov byte [ebp - 4], 1
mov ecx, esp
push 0x573b2c
call fcn.00411180
lea ecx, [ebp - 0x44]
call fcn.004067d0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
inc eax
push eax
call fcn.0048da00
add esp, 0x20
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
mov edi, eax
mov edx, edi
cmovae ecx, dword [ebp - 0x40]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x40add6
push edi
mov ecx, esi
mov dword [0x57379c], edi
call fcn.00410f40
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x40ae0e
inc eax
push eax
push dword [ebp - 0x40]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.00416a30
lea ecx, [ebp - 0x44]
call fcn.00415cd0
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x40ae50
inc eax
push eax
push dword [ebp - 0x5c]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 9
call fcn.00416a30
lea ecx, [ebp - 0x60]
call fcn.00415cd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret
Function at 0x40b270
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5258d5
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x56e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4e
call esi
push 0x4f
mov edi, eax
call esi
mov esi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
push edi
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x40cc0020
push 0
push 0
push dword [ebp - 0x10]
push esi
push edi
mov edi, dword [ebp - 0x14]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [ebp - 0x78]
call fcn.0040b100
mov esi, eax
push 0x558400
mov edx, 0x573bf8
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00418690
push esi
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00418770
push str..his
mov edx, eax
mov byte [ebp - 4], 3
mov ecx, ebx
call fcn.00418620
add esp, 0xc
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x28]
cmp eax, 0x10
jb 0x40b371
inc eax
push eax
push dword [ebp - 0x3c]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.00416a30
lea ecx, [ebp - 0x40]
call fcn.00415cd0
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x40b3ac
inc eax
push eax
push dword [ebp - 0x58]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.00416a30
lea ecx, [ebp - 0x5c]
call fcn.00415cd0
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x40b3ee
inc eax
push eax
push dword [ebp - 0x74]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 9
call fcn.00416a30
lea ecx, [ebp - 0x78]
call fcn.00415cd0
cmp dword [ebx + 0x18], 0x10
jb 0x40b41f
mov eax, dword [ebx + 4]
jmp 0x40b422
lea eax, [ebx + 4]
mov esi, dword [ebp - 0x1c]
push esi
push eax
call fcn.0040b1c0
add esp, 8
push dword [ebp - 0x10]
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416ee0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524836
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x56e00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x4a
push 0x5565c0
push 2
push 8
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004b4440
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x416f2a
call fcn.0048e260
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.0048f950
mov dword [edi + 4], eax
lea ecx, [esi + 8]
lea eax, [esi + 4]
mov dword [esi + 0x34], edi
mov dword [esi + 0xc], eax
add esp, 4
lea eax, [esi + 0x14]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esi + 0x24]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x28]
mov dword [esi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4282d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, edx
xor esi, esi
mov ebx, ecx
test edi, edi
jle 0x4282fd
nop dword [eax]
movzx eax, byte [ebx]
lea ecx, [esi*8]
dec edi
lea ebx, [ebx + 1]
movzx edx, byte [eax + 0x5543c8]
xor edx, ecx
xor esi, edx
test edi, edi
jg 0x4282e0
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x428380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov ebx, ecx
mov ecx, 0x80
mov dword [ebp - 4], ebx
push edi
lea eax, [esi*8]
cmp eax, 0x400
cmova esi, ecx
cmp esi, dword [ebx]
jne 0x4283b1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x573a10]
test eax, eax
je 0x4283bc
call eax
lea eax, [esi*8]
push eax
call fcn.00424350
mov ecx, dword [0x573a14]
add esp, 4
mov esi, eax
mov dword [ebp - 0xc], esi
test ecx, ecx
je 0x4283dd
call ecx
test esi, esi
je 0x4283a8
push dword [ebx + 0xc]
call fcn.00424650
add esp, 4
mov dword [ebx + 0xc], esi
push esi
call dword [0x56f9f8]
shr eax, 3
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebx], eax
lea ecx, [eax*8]
push ecx
push 0
push esi
call fcn.004966c0
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [ebx + 8], 0
test ecx, ecx
je 0x4284c0
mov esi, dword [ecx + 0x10]
xor edi, edi
mov ebx, dword [ecx + 0xc]
test esi, esi
jle 0x42844f
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
dec esi
movzx edx, byte [eax + 0x5543c8]
lea eax, [edi*8]
xor edx, eax
xor edi, edx
test esi, esi
jg 0x428432
xor edx, edx
mov ebx, dword [ecx]
mov eax, edi
div dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea esi, [eax + edx*8]
test esi, esi
je 0x42849a
mov eax, dword [esi]
test eax, eax
je 0x42846d
mov edx, dword [esi + 4]
jmp 0x42846f
xor edx, edx
inc eax
mov dword [esi + 4], ecx
mov dword [esi], eax
test edx, edx
je 0x42849a
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x42848f
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x4284b6
mov eax, dword [ebp - 4]
mov dword [eax + 8], ecx
mov dword [edx + 4], ecx
jmp 0x4284b6
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov eax, dword [edx + 8]
test eax, eax
je 0x4284ac
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edx + 8], ecx
mov ecx, ebx
test ebx, ebx
jne 0x428426
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret