joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7c3707a4
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x7c3707cb
lea eax, [ebp - 0x30]
push eax
call fcn.7c35e0ec
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
pop ecx
mov dword [ebp - 0x34], eax
lea edi, [ebp - 0x38]
lea eax, [edi + 8]
push eax
call fcn.7c35e0ec
test eax, eax
pop ecx
jne 0x7c3707ec
call sym.MSVCR71.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
jmp 0x7c3708ed
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x28], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x26], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x22], cx
mov cx, word [eax + 8]
mov word [ebp - 0x20], cx
mov cx, word [eax + 4]
mov word [ebp - 0x1e], cx
mov ax, word [eax]
and word [ebp - 0x1a], 0
push esi
mov esi, dword [sym.imp.kernel32.dll_SystemTimeToFileTime]
mov word [ebp - 0x1c], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x7c3708de
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c3708de
push edi
call fcn.7c35e0ec
test eax, eax
pop ecx
je 0x7c3708de
mov cx, word [eax + 0x14]
add cx, 0x76c
mov word [ebp - 0x28], cx
mov cx, word [eax + 0x10]
inc cx
mov word [ebp - 0x26], cx
mov cx, word [eax + 0xc]
mov word [ebp - 0x22], cx
mov cx, word [eax + 8]
mov word [ebp - 0x20], cx
mov cx, word [eax + 4]
mov word [ebp - 0x1e], cx
mov ax, word [eax]
and word [ebp - 0x1a], 0
mov word [ebp - 0x1c], ax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x7c3708de
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.kernel32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x7c3708de
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push dword [ebp + 8]
call sym.MSVCR71.dll__get_osfhandle
pop ecx
push eax
call dword [sym.imp.kernel32.dll_SetFileTime]
test eax, eax
je 0x7c3708de
xor eax, eax
jmp 0x7c3708ec
call sym.MSVCR71.dll__errno
mov dword [eax], 0x16
or eax, 0xffffffff
pop esi
pop edi
leave
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x1002aaee
pop dword [ebp - 0x24]
mov eax, 0xeca6a9c4
sub eax, 0xdca3fed6
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xb621a682
add dword [ebp - 0x34], 0x98309ec9
mov dword [ebp - 0x30], 0x74926fad
sub dword [ebp - 0x30], 0x425f2368
mov dword [ebp - 0x2c], 0xd1bf8f5a
add dword [ebp - 0x2c], 0x7a8cb4d4
mov dword [ebp - 0x28], 0x7cbc6bbe
add dword [ebp - 0x28], 0x83439442
lea eax, [ebp - 0x34]
push eax
mov eax, 0x1448073e
add eax, 0xfbbab8fa
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x1c94635b
add dword [ebp - 0x34], 0x57de05fb
mov dword [ebp - 0x30], 0xfda710a6
sub dword [ebp - 0x30], 0xbc3aaf31
mov dword [ebp - 0x2c], 0xa5cb20e9
sub dword [ebp - 0x2c], 0x425bb47d
mov dword [ebp - 0x28], 0xc196528
sub dword [ebp - 0x28], 0xc196528
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xdfcddcda
add eax, 0x3034e34e
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x38c70
push 0
call eax
mov ecx, 0xdc7af891
add ecx, 0x238558ac
mov edx, eax
mov ebx, 0x10039600
add ebx, dword [ebp - 0x24]
mov edi, 0x4baee8da
add edi, 0x2bd8d145
add dword [ebp - 0x14], edx
mov esi, dword [ebx]
sub dword [ebp - 0x20], 0xc848411
xor esi, edi
xor dword [ebp - 0x10], 0x6702cf1f
mov dword [edx], esi
sub dword [ebp - 0x20], 0x8e9a4a6e
add edx, 4
add ebx, 0xdafeb65
sub ebx, 0xdafeb61
loop 0x1002ac0a
add eax, 0x70c20288
sub eax, 0x70c0cac1
mov ebx, eax
add eax, 0x7a2d0506
add eax, 0x85d2faff
mov ecx, 0xfc58209a
sub ecx, 0xec58209a
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0xd9c104
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0xd9fd30
call fcn.00d9c3c8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0xd9c164
cmp eax, 0xffffffff
je 0xd9c164
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0xd9c15d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0xd9c15d
cmp edx, 0x10000000
jae 0xd9c15d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0xd9c15a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0xd9c1d0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0xd9c20e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0xd9c206
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0xd9c210
inc edx
add eax, 0x28
cmp edx, ebx
jb 0xd9c1f6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0xd9c2e0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0xd9c311
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0xd9c311
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0xd9c311
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
mov ecx, 0x1610034d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
mov ecx, 0x2fdd0111
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4011d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4011e7
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401218
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x401214
cmp esi, eax
jae 0x401218
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x401204
cmp esi, eax
jb 0x40121e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x401540
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x401550
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x401560
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x401590
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x4441f0]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push ebp
mov ebp, dword [esp + 0x234]
push esi
push edi
mov ebx, ecx
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea edx, [esp + 0x20]
push edx
xor edi, edi
or eax, 0x2001f
push eax
push edi
push ebp
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, edi
jne 0x401605
xor eax, eax
cmp ecx, edi
je 0x4015f3
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], edi
mov esi, eax
mov dword [esp + 0x14], ecx
cmp eax, edi
je 0x401613
cmp ecx, edi
je 0x4016b0
push ecx
jmp 0x4016aa
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x28]
push eax
push edi
push edi
push edi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push edi
push ecx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
jne 0x40167e
jmp 0x401640
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.00401590
mov ebp, eax
cmp ebp, edi
jne 0x4016cd
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push edi
push edi
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
push ecx
push edi
push edx
mov dword [esp + 0x3c], 0x100
call esi
test eax, eax
je 0x401640
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x401691
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
push ebp
push eax
mov dword [esp + 0x20], edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4016b0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00421fab
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4016dc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0x4016b2
Function at 0x401ba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x436de0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4441f0]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x401c1f
call fcn.004012b0
mov esi, eax
jmp 0x401d00
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x401c3b
call fcn.004012b0
jmp 0x401cf7
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x401c54
call fcn.004012b0
jmp 0x401cf7
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x401c88
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x401c76
lea eax, [ebp]
call fcn.0040b1e0
lea esi, [ebp - 0x1c]
call fcn.0040a8d0
mov eax, 0x8007000e
jmp 0x401d12
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.0040aa10
mov dword [ebp - 4], 1
jmp 0x401cb1
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x401cbf
mov esi, 0x8007000e
jmp 0x401cf9
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x401cdc
call fcn.004012b0
jmp 0x401cf7
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.00402a10
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x401d10
lea eax, [ebp]
call fcn.0040b1e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00421fab
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4038ec
Capabilities:
Get number of processors
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20bc
push ebx
push esi
push edi
push ecx
push eax
add esp, 4
jmp 0x403902
sub ecx, 0x944
pop ecx
push esi
jmp 0x403911
jmp 0x40391a
add esi, 0x14b6f
jmp 0x403929
pop esi
mov eax, 0x4d
mov word [ebp - 0x1ff8], ax
mov ecx, 0x42
mov word [ebp - 0x1ff6], cx
mov edx, 0x53
mov word [ebp - 0x1ff4], dx
mov eax, 0x65
mov word [ebp - 0x1ff2], ax
mov ecx, 0x72
mov word [ebp - 0x1ff0], cx
mov edx, 0x76
mov word [ebp - 0x1fee], dx
mov eax, 0x69
mov word [ebp - 0x1fec], ax
mov ecx, 0x63
mov word [ebp - 0x1fea], cx
mov edx, 0x65
mov word [ebp - 0x1fe8], dx
mov eax, 0x2e
mov word [ebp - 0x1fe6], ax
mov ecx, 0x65
mov word [ebp - 0x1fe4], cx
mov edx, 0x78
mov word [ebp - 0x1fe2], dx
mov eax, 0x65
mov word [ebp - 0x1fe0], ax
xor ecx, ecx
mov word [ebp - 0x1fde], cx
mov dword [ebp - 0x1060], 1
push ebx
or ebx, 0x5935
pop ebx
push esi
call fcn.004039ef
add byte [ebx + 0x3a], al
inc edx
dec esp
dec edi
inc ebx
aaa
Function at 0x430150
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004269de
and dword [ebp - 4], 0
cmp dword [0x447628], 0
mov ebx, eax
jne 0x430201
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4302b2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4302b2
push eax
call fcn.0042696c
mov dword [esp], 0x43baec
push edi
mov dword [0x447628], eax
call esi
push eax
call fcn.0042696c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44762c], eax
call esi
push eax
call fcn.0042696c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x447630], eax
call esi
push eax
call fcn.0042696c
pop ecx
mov dword [0x447638], eax
test eax, eax
je 0x430201
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042696c
pop ecx
mov dword [0x447634], eax
mov eax, dword [0x447634]
cmp eax, ebx
je 0x430259
cmp dword [0x447638], ebx
je 0x430259
push eax
call fcn.004269e7
push dword [0x447638]
mov esi, eax
call fcn.004269e7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x430259
test edi, edi
je 0x430259
call esi
test eax, eax
je 0x430250
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x430250
test byte [ebp - 0xc], 1
jne 0x430259
or dword [ebp + 0x10], 0x200000
jmp 0x430292
mov eax, dword [0x44762c]
cmp eax, ebx
je 0x430292
push eax
call fcn.004269e7
pop ecx
test eax, eax
je 0x430292
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x430292
mov eax, dword [0x447630]
cmp eax, ebx
je 0x430292
push eax
call fcn.004269e7
pop ecx
test eax, eax
je 0x430292
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x447628]
call fcn.004269e7
pop ecx
test eax, eax
je 0x4302b2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4302b4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001a040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1001a04f
pop dword [ebp - 0x48]
mov eax, 0x2d14e0f0
add eax, 0xe2ecbf5f
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xa8613995
sub dword [ebp - 0x58], 0x5a0ef44a
mov dword [ebp - 0x54], 0x63a25031
add dword [ebp - 0x54], 0xce90fc14
mov dword [ebp - 0x50], 0x1f2ca307
add dword [ebp - 0x50], 0x2d1fa127
mov dword [ebp - 0x4c], 0x9ce0f63f
add dword [ebp - 0x4c], 0x631f09c1
lea eax, [ebp - 0x58]
push eax
mov eax, 0x116fcfb2
sub eax, 0x16cde26
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x11568c89
sub dword [ebp - 0x58], 0x9ce42333
mov dword [ebp - 0x54], 0x7234835
add dword [ebp - 0x54], 0x3a491940
mov dword [ebp - 0x50], 0x28057963
add dword [ebp - 0x50], 0x3b69f309
mov dword [ebp - 0x4c], 0xa6ed0233
sub dword [ebp - 0x4c], 0xa6ed0233
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x5df20f44
add eax, 0xb210e1a8
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x431d0
push 0
call eax
mov ecx, 0x7cbabadf
add ecx, 0x83458795
xor edx, edx
add edx, eax
mov ebx, 0x7e671d35
sub ebx, 0x6e62b935
add ebx, dword [ebp - 0x48]
mov esi, 0xffcbbe91
sub esi, 0x4a81a3ec
sub dword [ebp - 8], edi
mov edi, dword [ebx]
xor dword [ebp - 4], 0xda6223c5
add edi, esi
mov dword [ebp - 0x20], 0x65fe718
mov dword [edx], edi
mov dword [ebp - 0x30], 0xaa17cb88
add edx, 0xa169050d
sub edx, 0xa1690509
add ebx, 0x66fe5f66
add ebx, 0x9901a09e
loop 0x1001a173
add eax, 0xc7de0b71
add eax, 0x3822f132
xor ebx, ebx
add ebx, eax
add eax, 0x582e557b
add eax, 0xa7d1aa8a
mov ecx, 0x9fc2150d
sub ecx, 0x8fc2150d
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x1001be64
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x1003d20c], 0
jne 0x1001bed3
push ebx
call fcn.1001a040
xor ebx, ebx
mov byte [0x1003d20d], al
inc ebx
test al, al
jne 0x1001becc
call fcn.100298d0
cmp eax, 0x6b
jl 0x1001becc
xor eax, eax
mov byte [ebp - 2], al
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 2]
push eax
call fcn.1001a040
add esp, 0x10
test al, al
je 0x1001becc
movzx eax, byte [0x1003d20d]
cmp byte [ebp - 1], 0
cmovne eax, ebx
mov byte [0x1003d20d], al
mov byte [0x1003d20c], bl
pop ebx
cmp byte [0x1003cdfb], 0
jne 0x1001bee5
cmp byte [0x1003cdfa], 0
je 0x1001bf1f
cmp byte [0x1003d20d], 0
mov ecx, str.FALSE
push esi
mov eax, str.TRUE
mov esi, 0x1003ce00
cmove eax, ecx
push eax
push str.IsRunningInAppContainer___s
push esi
call fcn.1001a040
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x1001bf1e
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
pop esi
mov al, byte [0x1003d20d]
leave
ret
Function at 0x1000aaa3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1000aab2
pop dword [ebp - 0x48]
mov eax, 0xfc63d071
add eax, 0x139cda41
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xfd977f89
sub dword [ebp - 0x58], 0xaf453a3e
mov dword [ebp - 0x54], 0x57b3874f
add dword [ebp - 0x54], 0xda7fc4f6
mov dword [ebp - 0x50], 0xde96799
sub dword [ebp - 0x50], 0xc19d236b
mov dword [ebp - 0x4c], 0xf88849f5
sub dword [ebp - 0x4c], 0xf88849f5
lea eax, [ebp - 0x58]
push eax
mov eax, 0x2c7ea07
sub eax, 0xf2c729e3
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xfee020ec
add dword [ebp - 0x58], 0x7592486a
mov dword [ebp - 0x54], 0x719909e2
add dword [ebp - 0x54], 0xcfd35793
mov dword [ebp - 0x50], 0x36564034
sub dword [ebp - 0x50], 0xd2e6d3c8
mov dword [ebp - 0x4c], 0x1f744927
sub dword [ebp - 0x4c], 0x1f744927
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x8fbc94f4
add eax, 0x80442b38
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x38943
push 0
call eax
mov ecx, 0x4a4e
xor esi, esi
add esi, eax
mov edi, 0x10047400
add edi, dword [ebp - 0x48]
mov edx, 0x7099ad
sub dword [ebp - 0x20], 0xdcc0cc05
mov ebx, dword [edi]
xor dword [ebp - 0x44], 0x7c4b88a9
add ebx, edx
sub dword [ebp - 0xc], ecx
mov dword [esi], ebx
xor dword [ebp - 0x3c], 0x2651f0d8
add esi, 0x78992688
sub esi, 0x78992684
add edi, 0xbfb2e0c
sub edi, 0xbfb2e08
loop 0x1000abc4
add eax, 0x490c3fbb
sub eax, 0x490b23b0
mov ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x6d5153aa
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x6d5153f8
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x6d515409
push 0xd
pop eax
jmp 0x6d515433
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x6d51540c
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x6d5158d1
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x6d51e944]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.6d5193f2
mov ebx, eax
cmp ebx, esi
je 0x6d515944
lea ecx, [ebp - 0x74]
call fcn.6d514b0c
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d5189ea
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x6d51595c
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.6d5158d1
cmp eax, esi
jne 0x6d51598e
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x6d51594c
lea ecx, [ebp - 0x74]
call fcn.6d514b0c
push dword [ebp - 0x78]
mov ecx, edi
call fcn.6d514a9d
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.6d514b0c
mov eax, esi
jmp 0x6d51592a