joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4521b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4521e3
push esi
call fcn.00460520
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4521dc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x452269
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x452252
mov eax, dword [esi + 8]
test eax, eax
je 0x452207
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45224e
cmp eax, 2
je 0x452252
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4521fa
cmp eax, 3
je 0x45222d
cmp eax, 1
jne 0x4521fa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4521fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4521fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00452290
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x452278
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00452290
add esp, 4
pop esi
ret

Function at 0x452af0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x452b11
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x452b11
mov eax, dword [eax + 0x44]
test eax, eax
je 0x452b11
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x46d800
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x46d8a3
test eax, eax
jbe 0x46d8a3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x46d8a3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46d84e
xor esi, esi
jmp 0x46d854
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46d87f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0040e570
add esi, eax
push esi
mov ebx, esi
call fcn.0040e570
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x46d860
pop ebp
test edi, edi
pop edi
jne 0x46d8a3
test ebx, ebx
je 0x46d8a3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00472480
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x46d9c5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46dadd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46dadd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048b210
mov esi, eax
test esi, esi
je 0x46dadd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46dadd
mov ecx, esi
call fcn.0046d950
cmp edi, eax
jge 0x46dadd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x46da63
mov dword [esp + 0x34], 1
jmp 0x46dabe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46dadd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0046cf40
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x47cf58
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0xab2e90]
jne 0x47cf62
repz ret
jmp fcn.00484890
Function at 0x483899
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004775c3
xor ebx, ebx
cmp dword [0xacea30], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x48396e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x4838d9
xor eax, eax
jmp 0x483a32
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xa98f04
push edi
call esi
cmp eax, ebx
je 0x4838d2
push eax
call fcn.00477560
mov dword [esp], 0xa98ef4
push edi
mov dword [0xacea30], eax
call esi
push eax
call fcn.00477560
mov dword [esp], 0xa98ee0
push edi
mov dword [0xacea34], eax
call esi
push eax
call fcn.00477560
mov dword [0xacea38], eax
lea eax, [ebp - 8]
push eax
call fcn.00475dee
test eax, eax
pop ecx
pop ecx
je 0x48393c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0047b9dc
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x48396e
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00477560
cmp eax, ebx
pop ecx
mov dword [0xacea40], eax
je 0x48396e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00477560
pop ecx
mov dword [0xacea3c], eax
mov eax, dword [0xacea3c]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x4839e7
cmp dword [0xacea40], esi
je 0x4839e7
push eax
call fcn.004775cc
pop ecx
call eax
cmp eax, ebx
je 0x4839b4
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0xacea40]
call fcn.004775cc
pop ecx
call eax
test eax, eax
je 0x4839b4
test byte [ebp - 0x18], 1
jne 0x4839e7
lea eax, [ebp - 0xc]
push eax
call fcn.00475e25
test eax, eax
pop ecx
je 0x4839cf
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0047b9dc
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4839de
or dword [ebp + 0x10], 0x200000
jmp 0x483a18
or dword [ebp + 0x10], 0x40000
jmp 0x483a18
mov eax, dword [0xacea34]
cmp eax, esi
je 0x483a18
push eax
call fcn.004775cc
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x483a18
mov eax, dword [0xacea38]
cmp eax, esi
je 0x483a18
push dword [ebp - 4]
push eax
call fcn.004775cc
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0xacea30]
call fcn.004775cc
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x48bbb4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48bbec
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00489c6b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00489c43
jmp 0x48bbf8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x48d2a9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48d2eb
call fcn.00492d7d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48d2eb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48d2e2
xor eax, eax
jmp 0x48d2f3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048d2f9
pop edi
pop esi
pop ebx
ret 4

Function at 0x4932ad
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4932db
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4932f9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00493213
jmp 0x4932f9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4932f9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00493213
test edi, edi
mov eax, edi
jne 0x4932e3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x431da8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x47a8a0], 0
push esi
jne 0x431d16
call fcn.00431c2a
test eax, eax
je 0x431d59
mov eax, dword [0x47a8a0]
cmp eax, 1
jne 0x431d37
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x431d59
pop esi
ret
push eax
call dword [0x47a8a8]
test eax, eax
jne 0x431da1
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 0x431d5d
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x47a8a0]
call dword [0x47a8a8]
mov edi, eax
test edi, edi
je 0x431d82
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x431d9e
mov edi, esi
add esi, 0xff0
push edi
push dword [0x47a8a0]
call dword [0x47a8a4]
add edi, 0x10
cmp edi, esi
jb 0x431d8a
mov eax, edi
pop edi
pop esi
ret
jmp 0x431d03

Function at 0x432039
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x470ff0]
jne 0x432043
repz ret
jmp fcn.0043aca7

Function at 0x437350
Capabilities:
Encode data using xor

Disassembly:
inc eax
lds eax, [ebx + 5]
shl byte [esi + 0x5da82300], cl
adc eax, 0x86fff40
les ebx, [eax + eax*8 + 0x2f1137e2]
adc dword [edi], ebp
and ebp, dword [eax - 0xbfeaa3]
outsd dx, dword [esi]
or ah, al
pushfd
shl dl, 0x37
xchg ecx, eax
mov ch, 0x59
movsb byte es:[edi], byte [esi]
js 0x4373b9
sub dword [edx], esi
jb 0x437395
mov esp, 0xa882f026
cmpsb byte [esi], byte es:[edi]
add dh, byte [ebx - 0x57]
jae 0x43730c
lea ecx, [ebx + 0x74]
xor byte [ebx], al
mov ebp, 0x5c67103
add ebx, ebp
cmp byte [ebp + 0x71286555], ah
cmovs esp, dword [eax - 0x7418d43f]
mov dword [0x8f5f0110], eax
aam 0x6d
rol dword [ebx + 0x3b7629d7], 1
jno 0x437313
cli
xchg ebx, eax
jo 0x4373d3
xchg esi, eax
pop es
jnp 0x437361
dec edi
movsd dword es:[edi], dword [esi]
xchg ebx, eax
jmp 0x45c978cd
jg 0x43741f
int1
sbb eax, 0xd685313d
cmpsd dword [esi], dword es:[edi]
std
mov ecx, 0x59f1f364
jb 0x7a92b9e5
push ss
invalid
ret 0x517b
aaa
mov cl, byte [esi - 0x3e]
stc
mov dh, dh
invalid

Function at 0x4576e3
Capabilities:
Encode data using xor

Disassembly:
dec esp
mov eax, dword [0x60659df0]
pop ss
cli
inc ebp
or bl, byte [ebp + 0x31581bd5]
test al, 0x58
ljmp 0x33ff
stc
ja 0x4576f9
sbb eax, 0xdfdeb6d1
enter 0x37bb, 0x7d
jp 0x45767f
aam 0xbd
cmp ecx, dword [ecx + 0x1bda334c]
jecxz 0x4576c2
sbb esp, ebx
invalid
sbb al, 0x84
dec ecx
dec edi
mov ebx, 0xa392bb5f
dec edi
invalid
Function at 0x7aaa92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x7aab67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x7aab31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x7aab5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.007aab71
test eax, eax
je 0x7aab67
add ebx, 0x14
jmp 0x7aab3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x7aab71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x7aaddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x7aaddd
mov eax, 1
test eax, eax
je 0x7aaddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x7aaddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x7aadd3
mov ebx, eax
and eax, 0x80000000
jne 0x7aad4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x7aaddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x7aaddd
mov eax, 1
test eax, eax
je 0x7aaddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x7aaddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x7aaca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x7aaddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x7aab67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x7aaddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x7aaca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x7aae9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x7aafee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x7aafee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.007aaff8
test eax, eax
je 0x7aafee
add ebx, 0x28
dec ecx
jne 0x7aafc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x7ab09e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x7ab0c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x7ab12e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x7ab0e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x7ab12e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x7ab105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x7ab12e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x7ab123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x7ab12e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x7ab16b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x7ab172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x7ab1a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x7ab1a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x7abdff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.007abf04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.007abf20
push edx
push dword [ebp + 0x10]
push eax
call fcn.007abeec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.007abf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.007abecb
push ecx
push dword [ebp + 8]
call fcn.007abf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.007abf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.007abecb
push ecx
push dword [ebp + 8]
call fcn.007abf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.007abf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.007abecb
push ecx
push dword [ebp + 8]
call fcn.007abf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.007abf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.007abecb
cmp ecx, 0x2b
jne 0x7abe0f
leave
ret 0xc

Function at 0x7ad4b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x7ad544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x1bd010
push 0
call dword [eax + 0x20]
test eax, eax
je 0x7ad5d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x1bd010
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x1bd010
call fcn.007ad3fa
push 0x1bd010
push dword [ebp + 0xc]
call fcn.007ab1a8
test eax, eax
jne 0x7ad5b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x1bd010
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.007ad5dd
test eax, eax
je 0x7ad5d6
jmp 0x7ad574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x7ad5d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x7ad60b
Capabilities:
Terminate process

Disassembly:
call fcn.007ad618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x4011ad
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
shr eax, 4
not eax
and eax, 1
ret

Function at 0x4011c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x414004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
add esi, 0x20
sub dword [ebp + 0x14], 0x20
jmp 0x4011fa
push dword [ebp + 0x14]
push esi
push edi
call fcn.00401d57
add esp, 0xc
test eax, eax
je 0x401202
inc edi
dec dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x14]
jge 0x4011e5
xor esi, esi
cmp dword [ebp + 0xc], esi
jge 0x401213
push str.Could_not_set_new_icon.
call fcn.00401009
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401209
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x28]
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push ebx
call esi
push 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x14]
push edi
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401d48
leave
ret