joyce8/EMBER2024-capa huggingface dataset:
Function at 0xd461b0
Capabilities:
Hash data using sha1
Read file on windows

Disassembly:
mov eax, 0x1068
call fcn.00d59170
mov eax, dword [0xd72c20]
xor eax, esp
mov dword [esp + 0x1064], eax
mov eax, dword [esp + 0x106c]
push ebx
push ebp
push 0xd6c8b0
push eax
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov dword [esp + 0x14], ebx
xor ebp, ebp
call fcn.00d54e3b
mov eax, dword [esp + 0x14]
add esp, 0xc
cmp eax, ebx
jne 0xd4621b
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
pop ebp
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
pop ebx
mov ecx, dword [esp + 0x1064]
xor ecx, esp
call fcn.00d548db
add esp, 0x1068
ret
push esi
push 2
push ebx
push eax
call fcn.00d5550d
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00d5572f
mov edx, dword [esp + 0x1c]
push ebx
push ebx
push edx
mov dword [esp + 0x2c], eax
call fcn.00d5550d
mov eax, dword [esp + 0x28]
push eax
push 0x1000
lea ecx, [esp + 0x94]
push 1
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], 0x67452301
mov dword [esp + 0x4c], 0xefcdab89
mov dword [esp + 0x50], 0x98badcfe
mov dword [esp + 0x54], 0x10325476
mov dword [esp + 0x58], 0xc3d2e1f0
call fcn.00d5512e
mov esi, eax
add esp, 0x2c
cmp esi, ebx
jbe 0xd462c6
lea edx, [esp + 0x70]
push esi
push edx
lea ebx, [esp + 0x1c]
call fcn.00d46020
mov eax, dword [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x80]
push 1
push ecx
add ebp, esi
call fcn.00d5512e
mov esi, eax
add esp, 0x18
test esi, esi
ja 0xd46291
xor ebx, ebx
push edi
lea esi, [esp + 0x18]
call fcn.00d460c0
mov edx, dword [esp + 0x10]
push edx
call fcn.00d551c2
add esp, 8
pop esi
cmp ebp, dword [esp + 0xc]
jb 0xd461f4
mov ecx, dword [esp + 0x106c]
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00d548db
add esp, 0x1068
ret
Function at 0xd48080
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0xd48087
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0xd48164
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xd6de80]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0xd6de80]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0xd6de80]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xd6de80]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xd6de80]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xd6de80]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xd6de80]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xd6de80]
inc ecx
sub edx, 8
sub esi, 1
jne 0xd480a0
pop edi
test edx, edx
je 0xd4818b
jmp 0xd48170
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0xd6de80]
inc ecx
sub edx, 1
jne 0xd48170
not eax
pop esi
ret

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

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0xd6de80]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0xd6de80]
mov dword [edx + 8], ecx
ret

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

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0xd6de80]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0xd6de80]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0xd495e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0xd495fe
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0xd495f2
cmp dword [edi + 0x7c], ebx
je 0xd4960d
call fcn.00d499c0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00d49350
add esp, 0xc
test eax, eax
je 0xd49634
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x7e
call fcn.00d557ec
mov esi, eax
add esp, 4
cmp esi, ebx
je 0xd49672
push 0x4000
call fcn.00d557ec
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0xd4967f
push esi
call fcn.00d55d47
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0xd496c7
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00d484a0
test eax, eax
jne 0xd496c7
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0xd496ee
mov cl, byte [edi + 0x39]
mov byte [esi + 0x7d], cl
jmp 0xd496f4
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x7d], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x6d]
mov dword [esi + 0x79], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x71], 0x23456789
mov dword [esi + 0x75], 0x34567890
cmp ebp, ebx
je 0xd49731
lea ecx, [ecx]
mov cl, byte [ebp]
cmp cl, bl
je 0xd49731
call fcn.00d48190
add ebp, 1
jne 0xd49720
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x1000d470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1000d49a
cmp dword [0x10016860], 0xffffffff
jne 0x1000d49a
push 0x10016860
push 0
push 0
push 0x1000d4b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x1000d900
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000e419
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x10016014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 3
lea eax, [ebp - 0xc0]
push str.user32.dll
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], eax
call fcn.10001320
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xc4]
mov eax, edx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000d975
sub eax, esi
lea ecx, [ebp - 0x40]
push eax
push edx
call fcn.100014e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc0]
mov eax, dword [ebp - 0xc4]
cmp eax, ecx
je 0x1000d9a5
push eax
call fcn.10004f13
add esp, 4
mov dword [ebp - 0x28], 0
push 0x20
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10001e76
movups xmm0, xmmword [0x10013e48]
mov dword [ebp - 0x18], 0x15
add esp, 4
mov dword [ebp - 0x14], 0x1f
movups xmmword [eax], xmm0
mov ecx, dword [0x10013e58]
mov dword [eax + 0x10], ecx
mov cl, byte [0x10013e5c]
mov byte [eax + 0x14], cl
mov byte [eax + 0x15], 0
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.1000e230
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100a5034
push 0x40
mov esi, 0x1000d6c0
mov dword [0x100a5028], eax
push 6
sub esi, eax
mov dword [0x100a5038], 0x909090e9
push eax
mov word [0x100a503c], 0xc390
sub esi, 5
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [0x100a5028]
push 0
mov eax, dword [ecx]
mov dword [0x100a502c], eax
movzx eax, word [ecx + 4]
mov word [0x100a5030], ax
mov dword [0x100a5039], esi
mov eax, dword [0x100a5038]
mov dword [ecx], eax
movzx eax, word [0x100a503c]
mov word [ecx + 4], ax
push dword [0x100a5034]
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000dacc
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000dac2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000db28
push edx
push ecx
call fcn.100021c0
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x1000db0e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000db04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000db28
push edx
push ecx
call fcn.100021c0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10001da3
mov esp, ebp
pop ebp
ret
call fcn.100050ea
int3
Function at 0x1000e110
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 0x100], eax
xor eax, eax
mov dword [esi + 0x104], 0
mov dword [esi + 0x108], 0
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x1000e137
mov dword [ebp + 0xc], 0
xor edi, edi
nop dword [eax + eax]
mov eax, edi
mov bl, byte [edi + esi]
cdq
idiv dword [esi + 0x100]
mov eax, dword [ebp + 8]
movzx ecx, bl
movzx eax, byte [edx + eax]
add eax, dword [ebp + 0xc]
add ecx, eax
and ecx, 0x800000ff
jns 0x1000e17b
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [ecx + esi]
mov byte [edi + esi], al
inc edi
mov dword [ebp + 0xc], ecx
mov byte [ecx + esi], bl
cmp edi, 0x100
jl 0x1000e150
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1000e230
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 1
mov eax, dword [esi + 0x10]
cmp eax, edi
jbe 0x1000e280
cmp eax, edi
jb 0x1000e300
mov ecx, eax
mov edx, 1
sub ecx, edi
cmp ecx, edx
cmovb edx, ecx
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x1000e260
mov ecx, dword [esi]
sub eax, edx
add ecx, edi
mov dword [esi + 0x10], eax
sub eax, edi
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call fcn.100034f0
mov eax, dword [esi + 0x10]
inc edi
add esp, 0xc
cmp eax, edi
ja 0x1000e248
cmp dword [esi + 0x14], 0x10
jb 0x1000e288
mov esi, dword [esi]
xor edx, edx
test eax, eax
jle 0x1000e2fd
cmp eax, 0x40
jb 0x1000e2f4
mov ecx, eax
and ecx, 0x8000003f
jns 0x1000e2a2
dec ecx
or ecx, 0xffffffc0
inc ecx
movaps xmm2, xmmword [0x10013f20]
mov edi, eax
sub edi, ecx
lea ecx, [esi + 0x20]
movups xmm0, xmmword [ecx - 0x20]
lea ecx, [ecx + 0x40]
add edx, 0x40
movaps xmm1, xmm2
pxor xmm0, xmm2
movups xmmword [ecx - 0x60], xmm0
movups xmm0, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x30]
pxor xmm0, xmm2
movups xmmword [ecx - 0x30], xmm0
cmp edx, edi
jl 0x1000e2b0
cmp edx, eax
jge 0x1000e2fd
xor byte [esi + edx], 0xe4
inc edx
cmp edx, eax
jl 0x1000e2f4
pop edi
pop esi
ret
call fcn.10001a30
int3
Function at 0x4751f1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4bcad4]
jne 0x4751fb
repz ret
jmp fcn.0047ecf2

Function at 0x48aff7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4bcad4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0047f928
and dword [ebp - 0x14], 0
cmp dword [0x4c038c], 0
mov dword [ebp - 0x18], eax
jne 0x48b0aa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x48b152
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x48b152
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4c038c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4c0390], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c0394], eax
call edi
push eax
call esi
mov dword [0x4c039c], eax
test eax, eax
je 0x48b0aa
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c0398], eax
mov eax, dword [0x4c0398]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x48b103
cmp dword [0x4c039c], ecx
je 0x48b103
push eax
call esi
push dword [0x4c039c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x48b103
test ebx, ebx
je 0x48b103
call edi
test eax, eax
je 0x48b0fa
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x48b0fa
test byte [ebp - 8], 1
jne 0x48b103
or dword [ebp + 0x10], 0x200000
jmp 0x48b136
mov eax, dword [0x4c0390]
cmp eax, dword [ebp - 0x18]
je 0x48b136
push eax
call esi
test eax, eax
je 0x48b136
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x48b136
mov eax, dword [0x4c0394]
cmp eax, dword [ebp - 0x18]
je 0x48b136
push eax
call esi
test eax, eax
je 0x48b136
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c038c]
call esi
test eax, eax
je 0x48b152
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x48b154
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004751f1
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x7a3370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x7a338e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x7cc074
push ecx
mov edi, eax
call fcn.007b7198
mov esi, eax
add esp, 8
test esi, esi
jne 0x7a33cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.007b702e
push esi
call fcn.007b6fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x7a6850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x7a68ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x7d1720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7a68ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.007b71e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x7a68ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x7d1720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7a692a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.007b8082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x7a6957
mov word [eax], si
add eax, 2
push eax
call fcn.007b8030
add esp, 4
jmp 0x7a6959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x7a68ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x7a68b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x7a6ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x7a7080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x7a70c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x7cc458
push ecx
call fcn.007b71e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.007b71e1
add esp, 0x10
jmp 0x7a70d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.007b720b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.007b6dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.007a7050
mov eax, dword [0x7d1728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x7a713b
push esi
call fcn.007a6fb0
add esp, 4
mov dword [0x7d1728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x7a714c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.007a6ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x7aa440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x7aa4b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x7aa48e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x7aa471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x7aa47e
add edx, ecx
cmp ebx, edx
jb 0x7aa48a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x7aa467
xor ecx, ecx
jmp 0x7aa4a2
test eax, eax
jne 0x7aa492
xor ecx, ecx
jmp 0x7aa4a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.007aa3c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x7aa8f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x7aa921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x7aa946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x7aa96e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x7aa993
push ecx
push esi
call fcn.007aa4c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret
Function at 0x7abc00
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
xor ecx, ecx
mov cx, word [eax + 0x14]
xor esi, esi
mov si, word [eax + 6]
push edi
xor edi, edi
lea ecx, [ecx + eax + 0x18]
test esi, esi
jbe 0x7abc4a
mov ebx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x7abc2b
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
cmp ebx, edx
jb 0x7abc38
add edx, eax
cmp ebx, edx
jb 0x7abc46
inc edi
add ecx, 0x28
cmp edi, esi
jb 0x7abc21
pop edi
pop esi
xor eax, eax
pop ebx
ret
test ecx, ecx
jne 0x7abc50
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [ecx + 0x14]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
sub eax, esi
add eax, ebx
pop edi
pop esi
add eax, ecx
pop ebx
ret

Function at 0x7abc70
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x7abcb0
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x7abc9b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x7abca8
add edx, ecx
cmp ebx, edx
jb 0x7abcb2
inc edi
add eax, 0x28
cmp edi, esi
jb 0x7abc91
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x7abf60
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebp
push esi
push edi
mov edi, dword [esp + 0x224]
push 0
push 0
mov ebp, dword [esp + 0x228]
push 0
push 0
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [edi]
shl eax, 2
push eax
call fcn.007b8145
mov ecx, dword [edi]
add esp, 4
xor esi, esi
mov dword [esp + 0xc], eax
test ecx, ecx
jbe 0x7abffb
push ebx
mov ebx, eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x28]
push ecx
push edx
push esi
push ebp
mov dword [esp + 0x34], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x7abfdd
lea eax, [esp + 0x18]
push eax
jmp 0x7abfe2
push 0x7d1720
call fcn.007b7fd9
add esp, 4
mov dword [ebx], eax
mov eax, dword [edi]
inc esi
add ebx, 4
cmp esi, eax
jb 0x7abfb0
mov eax, dword [esp + 0x10]
pop ebx
mov ecx, dword [edi]
push 0x7abf40
push 4
push ecx
push eax
call fcn.007b843f
mov eax, dword [esp + 0x1c]
add esp, 0x10
pop edi
pop esi
pop ebp
add esp, 0x210
ret