joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4226b9
Capabilities:
Hide graphical window

Disassembly:
push esi
lea esi, [eax + 0x31c]
cmp dword [esi], 0
je 0x4226db
push 1
push dword [eax + 0x2d4]
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi]
pop esi
jmp fcn.0041d316
pop esi
ret
Function at 0x42cd3b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x244], edi
jg 0x42cd58
xor eax, eax
jmp 0x42cf29
mov eax, esi
call fcn.0042c792
mov ebx, eax
cmp dword [esi + 0x254], edi
je 0x42cda6
cmp dword [esi + 0x268], edi
jl 0x42cda6
cmp dword [esi + 0x26c], edi
jl 0x42cda6
push 0xa0
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
mov edi, 0x10000
test edi, eax
jne 0x42cd9e
push 0xa1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test edi, eax
je 0x42cdab
mov ebx, dword [esi + 0x26c]
jmp 0x42cdab
mov edi, 0x10000
mov eax, dword [ebp + 8]
sub eax, 0x21
je 0x42ce5c
dec eax
je 0x42ce39
dec eax
je 0x42ce30
dec eax
je 0x42ce28
dec eax
dec eax
je 0x42ce11
dec eax
dec eax
je 0x42cdf4
sub eax, 0x19
jne 0x42cd51
cmp dword [esi + 0x254], eax
je 0x42cd51
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test edi, eax
je 0x42cd51
call fcn.0042c5de
jmp 0x42cd51
mov edi, ebx
inc edi
inc ebx
neg edi
sbb edi, edi
and edi, ebx
cmp dword [esi + 0x278], 0
je 0x42ce4d
cmp dword [esi + 0x244], edi
jg 0x42ce70
jmp 0x42ce6e
mov edi, ebx
inc edi
dec ebx
neg edi
sbb edi, edi
and edi, ebx
cmp dword [esi + 0x278], 0
jne 0x42ce2c
test edi, edi
jge 0x42ce78
xor edi, edi
jmp 0x42ce78
test edi, edi
jge 0x42ce78
mov edi, dword [esi + 0x244]
dec edi
jmp 0x42ce70
cmp ebx, 0xffffffff
jne 0x42ce42
xor edi, edi
jmp 0x42ce4d
mov eax, esi
call fcn.0042ccbf
mov edi, eax
add edi, ebx
mov eax, dword [esi + 0x244]
dec eax
cmp eax, edi
jge 0x42ce70
mov edi, eax
jmp 0x42ce70
cmp ebx, 0xffffffff
je 0x42ce28
mov eax, esi
call fcn.0042ccbf
sub ebx, eax
mov edi, ebx
jns 0x42ce78
xor edi, edi
test edi, edi
jl 0x42cd51
cmp dword [esi + 0x254], 0
je 0x42ced4
cmp dword [esi + 0x268], 0
jl 0x42ced4
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call ebx
cwde
test eax, 0x10000
jne 0x42ceae
push 0xa1
call ebx
cwde
test eax, 0x10000
je 0x42ced4
mov ebx, dword [esi + 0x268]
mov dword [esp + 0xc], ebx
call fcn.0042c8da
mov ecx, ebx
mov eax, edi
mov ebx, esi
call fcn.0042c9f1
mov eax, dword [esp + 0xc]
mov dword [esi + 0x268], eax
jmp 0x42ceea
call fcn.0042c8da
xor eax, eax
push edi
inc eax
mov ecx, esi
call fcn.0042c580
mov dword [esi + 0x268], edi
push 0
lea ebx, [esi + 0x118]
push dword [ebx]
mov eax, esi
push dword [0x488808]
mov dword [esi + 0x274], edi
mov dword [esi + 0x26c], edi
call fcn.00427749
mov ecx, dword [esi + 0x260]
test ecx, ecx
je 0x42cf1d
push dword [ebx]
mov eax, dword [ecx]
call dword [eax]
mov eax, edi
mov ecx, esi
call fcn.0042ccee
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43154b
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x20], ebx
jne 0x4315f9
cmp dword [esi + 0x24], ebx
jne 0x4315f9
push edi
push 0x478634
call fcn.00404c71
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
pop ecx
mov dword [esi + 0x20], eax
cmp eax, ebx
je 0x431593
push str.GetDpiForMonitor
push eax
call edi
push str.SetProcessDpiAwareness
push dword [esi + 0x20]
mov dword [esi + 4], eax
call edi
mov dword [esi + 0xc], eax
jmp 0x431599
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
push str.user32.dll
call fcn.00404c71
pop ecx
mov dword [esi + 0x24], eax
cmp eax, ebx
je 0x4315ec
push str.SetProcessDpiAwarenessContext
push eax
call edi
push str.SetDialogControlDpiChangeBehavior
push dword [esi + 0x24]
mov dword [esi + 8], eax
call edi
push str.GetDpiForWindow
push dword [esi + 0x24]
mov dword [esi + 0x10], eax
call edi
push str.SystemParametersInfoForDpi
push dword [esi + 0x24]
mov dword [esi + 0x14], eax
call edi
push str.EnableNonClientDpiScaling
push dword [esi + 0x24]
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
jmp 0x4315f8
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
pop edi
pop ebx
ret
Function at 0x4319ba
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
sub esp, 0x78
cmp dword [eax + 0x28], 2
push esi
push edi
jne 0x431afb
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [eax + 4]
call edi
mov esi, eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffec
push dword [eax + 4]
and esi, 0xff7fffff
or esi, 0x400000
call edi
xor edi, edi
push eax
push edi
push esi
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov eax, dword [esp + 0xc]
sub dword [ebx], eax
mov eax, dword [esp + 0x10]
sub dword [ebx + 4], eax
mov eax, dword [esp + 0x14]
sub dword [ebx + 8], eax
mov eax, dword [esp + 0x18]
sub dword [ebx + 0xc], eax
push edi
push 0x478720
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [esp + 8], eax
cmp eax, edi
je 0x431afb
mov esi, dword [sym.imp.USER32.dll_CopyRect]
push ebx
lea eax, [esp + 0x30]
push eax
call esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
call esi
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x40]
call fcn.0043196f
mov esi, dword [esp + 8]
push 8
pop ecx
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x5c]
push eax
push 4
mov dword [esp + 0x64], 0x24
mov dword [esp + 0x68], esi
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test al, 1
je 0x431afb
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_SubtractRect]
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x431afb
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x1c]
jne 0x431af1
mov ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x24]
jle 0x431ae6
inc dword [ebx]
jmp 0x431afb
jge 0x431aed
inc dword [ebx + 4]
jmp 0x431afb
cmp eax, dword [esp + 0x1c]
jle 0x431af8
dec dword [ebx + 0xc]
jmp 0x431afb
dec dword [ebx + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43592c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.00435e5a
xor edi, edi
push edi
push 0x8000000
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp + 0xc], esi
cmp esi, 0xffffffff
je 0x4359f1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, edi
jne 0x435983
inc edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x4359f3
cmp ebx, 0xf4240
jle 0x435996
push ebx
push esi
call fcn.00436686
test eax, eax
je 0x4359f1
lea eax, [ebx + 2]
push eax
push 1
call fcn.00447b89
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x435976
push edi
lea eax, [ebp - 4]
push eax
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4359e1
cmp dword [ebp - 4], ebx
jne 0x4359e1
mov edi, dword [ebp + 8]
mov eax, esi
call fcn.004359fa
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00447afb
xor eax, eax
pop ecx
inc eax
jmp 0x4359f3
push esi
call fcn.00447afb
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x436686
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x469eda
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x484060]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov ebx, 0x186a0
cmp dword [ebp + 0xc], ebx
jge 0x4366bf
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.0044902d
mov edi, eax
xor esi, esi
pop ecx
mov dword [esp + 0x18], edi
cmp edi, esi
jne 0x4366d6
xor eax, eax
jmp 0x43674d
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], esi
call fcn.00435896
push esi
lea eax, [esp + 0x18]
push eax
push ebx
push edi
push dword [ebp + 8]
mov dword [esp + 0x84], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
jne 0x436724
cmp dword [esp + 0x14], ebx
jne 0x436724
mov eax, edi
lea edi, [esp + 0x1c]
call fcn.004359fa
test eax, eax
je 0x436724
cmp dword [esp + 0x24], esi
je 0x436724
mov dword [esp + 0x10], 1
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push dword [esp + 0x18]
call fcn.00447afb
or dword [esp + 0x74], 0xffffffff
pop ecx
lea eax, [esp + 0x1c]
push eax
call fcn.00435905
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x438216
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
push edi
xor ebp, ebp
push ebp
mov eax, esi
call fcn.00438294
push ebp
mov edi, 0x80
push edi
push 2
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 1
push 0x40000000
push ebx
call ebp
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x438281
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x43827d
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
push 2
push 0
push 1
push 0x40000000
push ebx
call ebp
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x438281
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
jmp 0x438291
push ebx
call fcn.0044a94a
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop ecx
mov dword [esi + 0x18], eax
pop edi
pop ebp
ret

Function at 0x4384cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], eax
jmp 0x438520
and dword [ebp - 4], 0
mov esi, 0x1000000
cmp edi, 0x1000000
ja 0x4384ee
mov esi, edi
push 0
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43852b
cmp esi, dword [ebp - 4]
jb 0x43852f
cmp dword [ebp - 4], 0
jne 0x438518
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
sub edi, eax
add dword [ebp - 8], eax
test edi, edi
jne 0x4384db
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
xor eax, eax
jmp 0x438527
call dword [sym.imp.USER32.dll_GetDesktopWindow]
test eax, eax
je 0x43852b
and dword [ebp - 8], 0
push 0x47cd8c
lea eax, [ebp - 8]
push eax
call fcn.0045822a
int3
Function at 0x43854c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [esi], 0
push ebx
push edi
mov ebx, ecx
mov dword [ebp - 4], eax
jmp 0x438591
and dword [ebp - 8], 0
mov edi, 0x1000000
cmp ebx, edi
ja 0x43856c
mov edi, ebx
push 0
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43859c
mov eax, dword [ebp - 8]
add dword [esi], eax
cmp eax, edi
jb 0x438595
sub ebx, eax
add dword [ebp - 4], eax
test ebx, ebx
jne 0x43855d
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret
xor eax, eax
jmp 0x438598

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

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x4385ab
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x43865d
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4b8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4b8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4b8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4b8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4b8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4b8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4b8]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x46f4b8]
inc ecx
sub edi, 8
dec esi
jne 0x4385c2
pop ebx
test edi, edi
je 0x438676
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x46f4b8]
inc ecx
dec edi
jne 0x438661
pop esi
not eax
pop edi
ret
Function at 0x441e9c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor ecx, ecx
push 8
mov eax, ecx
pop edx
mov esi, eax
and esi, 1
dec esi
not esi
and esi, 0xedb88320
shr eax, 1
xor eax, esi
dec edx
jne 0x441ea4
mov dword [ecx*4 + 0x489c80], eax
inc ecx
cmp ecx, 0x100
jb 0x441e9f
mov edx, 0x800
jmp 0x441ef1
mov eax, dword [ecx*4 + 0x489880]
mov esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x489c80]
inc ecx
mov dword [ecx*4 + 0x489c7c], eax
cmp ecx, edx
jb 0x441ed0
mov eax, 0x4441fb
mov esi, 0x444297
mov dword [0x489c60], eax
mov dword [0x48bc80], eax
mov dword [0x489c5c], esi
call fcn.00444432
test eax, eax
jne 0x441f1e
mov dword [0x48bc80], esi
pop esi
ret

Function at 0x445623
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
push edi
xor edi, edi
and edx, 7
cmp ecx, 5
jae 0x445642
xor eax, eax
jmp 0x445745
sub ecx, 4
add ecx, eax
push ebx
mov dword [ebp - 4], ecx
push esi
lea esi, [edi + eax]
jmp 0x44565c
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x445661
inc esi
cmp esi, dword [ebp - 4]
jb 0x445651
mov ecx, esi
sub ecx, edi
mov edi, esi
sub ecx, eax
sub edi, eax
cmp esi, dword [ebp - 4]
jae 0x44572f
cmp ecx, 2
jbe 0x4456fd
xor edx, edx
movzx ecx, byte [esi + 4]
lea ebx, [ecx + 1]
test bl, 0xfe
jne 0x445724
movzx ebx, byte [esi + 3]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi + 2]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [esi + 1]
shl ecx, 8
or ecx, ebx
add edi, 5
mov ebx, ecx
sub ebx, edi
test edx, edx
je 0x4456da
and edx, 6
shl edx, 2
mov ecx, edx
mov eax, ebx
shr eax, cl
mov dword [ebp - 8], ecx
inc eax
test al, 0xfe
jne 0x4456d5
mov eax, 0x100
shl eax, cl
dec eax
xor ebx, eax
sub ebx, edi
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, ebx
shr ecx, 8
mov byte [esi + 1], bl
mov byte [esi + 2], cl
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0x10
and bl, 1
neg bl
mov byte [esi + 3], cl
mov byte [esi + 4], bl
jmp 0x44564c
shr edx, cl
test edx, edx
je 0x44567f
cmp edx, 4
ja 0x445724
cmp edx, 3
je 0x445724
mov ecx, edx
shr ecx, 1
movzx ecx, byte [ecx + esi + 1]
inc ecx
test cl, 0xfe
jne 0x44567f
or edx, 8
shr edx, 1
inc edi
jmp 0x44564c
push 2
pop eax
shr edx, cl
cmp eax, ecx
mov ecx, dword [ebp + 0xc]
sbb eax, eax
not eax
and eax, edx
pop esi
mov dword [ecx], eax
mov eax, edi
pop ebx
pop edi
leave
ret
Function at 0x4476cb
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x487368], 0
push esi
jne 0x44763e
call fcn.00447564
test eax, eax
je 0x447681
mov eax, dword [0x487368]
cmp eax, 1
jne 0x44765f
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x447681
pop esi
ret
push eax
call dword [0x487370]
test eax, eax
jne 0x4476c9
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x447685
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x487368]
call dword [0x487370]
mov edi, eax
test edi, edi
je 0x4476aa
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4476c6
mov edi, esi
add esi, 0xff0
push edi
push dword [0x487368]
call dword [0x48736c]
add edi, 0x10
cmp edi, esi
jb 0x4476b2
mov eax, edi
pop edi
pop esi
ret
jmp 0x44762b

Function at 0x447810
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x484060]
jne 0x44781a
repz ret
jmp fcn.0044c4ec

Function at 0x45dd02
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0045d943
push eax
push esi
push dword [ebp + 8]
call fcn.0045d8f8
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0045d943
push eax
push esi
push dword [ebp + 8]
call fcn.0045d8f8
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0045d933
jge 0x45de09
mov ecx, 0xff7c9d88
invalid
push ecx
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.0045d933
xchg byte [edi], ah
pop ss
out 0x8d, al
test dword [edi + edi*8 - 1], edi
call dword [eax - 0x18]
sbb al, 0xfb
invalid
jae 0x45ddd1
inc ebp
invalid
Function at 0x45e070
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x45e00a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x45e028
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x45e086
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x45e06d
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x45e076
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x45e080
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x45e062
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x45dfec
invalid
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x45e0d3
dec eax
je 0x45e0ca
sub eax, 3
je 0x45e0c1
mov dword [ebp - 4], 0x40
jmp 0x45e0f0
mov dword [ebp - 4], 4
jmp 0x45e0d6
mov dword [ebp - 4], 0x20
jmp 0x45e0d6
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x45e122
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x45e0a2
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0045d933
xchg ebp, eax
pop es
in ax, dx
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x45e12e
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45ed97
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0045d933
iretd
Function at 0x415f73
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x415fb2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x415fb2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x415fb2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x415fb2
cmp dword [ecx + 0x74], 0xe
jbe 0x415fb2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x428380
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4283ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4283ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40a9b5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40a9c4
pop dword [ebp - 0x50]
mov eax, 0xa5a75e4e
add eax, 0x5a994b76
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x4e199
push 0
mov eax, 0x51815a9
add eax, 0xfb2c9d07
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0xd02ad26a
add ecx, 0x2fd56ba4
xor ebx, ebx
add ebx, eax
mov esi, 0x488e00
add esi, dword [ebp - 0x50]
mov edi, 0x93a68ddb
add edi, 0x3d12b410
xor dword [ebp - 0x3c], ecx
mov edx, dword [esi]
xor dword [ebp - 0x20], esi
add edx, edi
xor dword [ebp - 0x2c], 0x3a54808c
mov dword [ebx], edx
xor dword [ebp - 0x24], 0x2cba80e9
add ebx, 0x10bf9180
sub ebx, 0x10bf917c
add esi, 0x9ff58f11
add esi, 0x600a70f3
loop 0x40aa1f
add eax, 0x7717f985
sub eax, 0x77170e7a
xor ebx, ebx
add ebx, eax
add eax, 0xfabc3d5b
add eax, 0x543c2aa
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret