joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428f9b
Capabilities:
Encode data using xor

Disassembly:
pop ebx
add al, 0x4d
or byte [eax], cl
call 0xc6a3624f
add esp, 0xc
cmp byte [ebp - 4], 0
or eax, 0xf04d8b0a
and dword [ecx - 0x7bf000b0], 0xfffffffd
mov esp, ebp
pop ebp
ror byte [ebx - 0x7c74aa01], 0xa1
call dword [ebp - 0x75]
and dword [ecx - 0x7c03f248], 0x25
push 0x56a0e74
push dword [ebp + 8]
call 0x8d688f84
push cs
mov ebx, dword [ebp - 0x3d]
mov ecx, dword [ebp + 8]
mov eax, dword [0xf445c118]
movzx eax, word [eax + ecx*2]
and eax, 4
pop ebp
ror byte [ebx - 0x7c74aa01], 0x8d
push ebp
mov eax, dword [ebx + 0x3308458d]
leave
mov edx, eax
cmp word [eax], cx
je 0x429002
add edx, 2
cmp word [edx], cx
jne 0x428ffa
add byte [edx + 4], ch
sbb ch, byte [ebx]
salc
test dword [edi + 0xc89660e], esi
xor cl, byte [ebp - 0x7499fd8a]
leave
jne 0x429008
pop esi
pop ebp
shl byte [ecx + 0x4d0b6c], 0x56
push 3
pop esi
ret

Function at 0x471ff2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4d2fe0], 0
push esi
push edi
mov esi, 0x4d2620
jne 0x472015
push 0
call 0x6942e506
pop ecx
mov ecx, eax
call 0xec011fb2
mov dword [0x4d06e0], 0xf7180270
mov edx, 0xbaba00e3
mov dword [0x4d2fe4], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, dword [esi]
shr ecx, 1
neg eax
rol byte [ebx + 0x8b0df25], 0x99
xor ecx, eax
xor ecx, dword [esi + 0x77180634]
mov dword [esi], ecx
add esi, 4
sub edx, 1
jne 0x47202a
mov eax, dword [esi]
mov dword [ebp - 4], 0x743b018c
mov edi, dword [esi + 4]
mov ecx, eax
xor ecx, edi
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
rol byte [ebx + 0x8b0df25], 0x99
xor ecx, eax
mov eax, edi
xor ecx, dword [esi - 0x38c]
call 0x89491d01
push cs
lea esi, [esi + 4]
jne 0x472064
mov eax, dword [0x4d2620]
mov ecx, edi
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, edi
shr ecx, 1
neg eax
pop edi
rol byte [ebx + 0x8b0df25], 0x99
xor ecx, eax
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
leave
ret

Function at 0x473548
Capabilities:
Encode data using xor

Disassembly:
add byte [ebp - 0x75], dl
in al, dx
mov eax, 0xf205c
call fcn.00441f7e
sub edx, ebp
cld
inc dword [eax + 0x4d13603d]
add byte [eax], al
push ebx
push esi
push edi
mov edi, ecx
jne 0x101fe5a
xor ebx, ebx
inc ebx
cmp dword [edi + 0xf18fc], ebx
je 0x101fe5a
fild dword [ebx + 0x39]
lahf
cld
sbb byte [edi], cl
add byte [edi], cl
test ah, ah
enter 0xba, 0xffffffffffffff8b
xor eax, 0x50004910
mov esi, dword [0x50004910]
lea eax, [ebp - 0x2058]
push 0xba0fff
push eax
push 0x66
push dword [0x4d1358]
je 0x473568
dec ebp
add byte [esi + edx*8 - 0x73], dh
test dword [eax + 0x50ffffdf], ebp
lea eax, [ebp - 0x2058]
push eax
dec ebp
aam 0xa8
call fcn.0040b694
push 0xba0fff
lea eax, [ebp - 0x2058]
push eax
push dword [ebp + 8]
push dword [0x4d1358]
je 0x47358e
lea eax, [ebp - 0x2058]
push eax
dec ebp
aam 0xb8
call 0x8c40b694
invalid
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x68356848
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x58256c8b
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401390
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable
Resume thread
Self delete

Disassembly:
sub esp, 0x360
lea eax, [esp + 0x54]
push ebx
push ebp
push esi
push edi
push 0x104
xor ebx, ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x4014fd
lea ecx, [esp + 0x64]
push 0x104
lea edx, [esp + 0x68]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x4014fd
lea eax, [esp + 0x26c]
push 0x104
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x4014fd
lea ecx, [esp + 0x168]
push str.__c__del
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x64]
lea eax, [esp + 0x168]
push edx
push eax
call esi
lea ecx, [esp + 0x168]
push str.___nul
push ecx
call esi
lea edx, [esp + 0x168]
lea eax, [esp + 0x26c]
push edx
push eax
call esi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x24]
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
xor ecx, ecx
mov word [esp + 0x50], bx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
push 0x100
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x50], 1
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0xf
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push eax
call edi
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push 0
push 0
push 0xc
push 0
push 0
lea ecx, [esp + 0x288]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4014ef
mov edx, dword [esp + 0x10]
push 0x40
push edx
call esi
mov eax, dword [esp + 0x14]
push 0xfffffffffffffff1
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x360
ret
push 0x20
call ebx
push eax
call esi
push 0
call ebp
push eax
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x360
ret

Function at 0x401900
Capabilities:
Create process on windows
Create process suspended
Read file on windows
Set registry value
Write and execute a file
Write file on windows

Disassembly:
sub esp, 0x368
push ebx
push ebp
push esi
push edi
call fcn.00401840
mov ebx, eax
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x170]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x274]
rep stosd dword es:[edi], eax
mov al, byte [0x404124]
lea ecx, [esp + 0x6c]
push eax
push ecx
mov dword [esp + 0x18], ebx
jmp loc.0040f4dc
Function at 0x4011c0
Capabilities:
Create directory
Get thread local storage value
Set file attributes

Disassembly:
sub esp, 0x21c
mov eax, dword [0x462408]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push ebx
xor ebx, ebx
sub eax, 2
push edi
mov edi, ecx
je 0x4012b9
sub eax, 1
jne 0x401349
add edi, 0x118
push edi
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.00435d5f
mov ecx, dword [esi + 4]
add esp, 0xc
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov eax, dword [0x464af8]
mov edi, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
push edi
call eax
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000100
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40129c
movzx eax, word [esi + 0x1a]
movzx ecx, word [esi + 0x18]
lea edx, [esp + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
cmp eax, 1
jne 0x401295
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, 1
jne 0x401295
lea ecx, [esp + 8]
push ecx
push ebx
mov edx, ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [esi + 0x1c]
and eax, 0x27
push eax
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, 1
jmp 0x40134b
cmp byte [edi + 0x21c], bl
jne 0x40133c
lea edx, [edi + 0x118]
push edx
lea eax, [esp + 0x1c]
push 0x104
push eax
call fcn.00435d5f
mov ecx, dword [esi + 4]
add esp, 0xc
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x120]
push 0x104
push ecx
call fcn.00435d5f
add esp, 0xc
lea edx, [esp + 0x11c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0
lea eax, [esp + 0x120]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
push 0x180
lea ecx, [esp + 0x1c]
push 0x8121
push ecx
call fcn.00434ce6
add esp, 0xc
mov ebx, eax
mov edx, dword [edi]
mov eax, dword [esi + 4]
mov edx, dword [edx + 0x14]
push eax
mov ecx, edi
call edx
mov eax, ebx
mov ecx, dword [esp + 0x220]
pop edi
pop ebx
xor ecx, esp
call fcn.00434b37
add esp, 0x21c
ret 4
Function at 0x403400
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x44cdbb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x462408]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0043405c
push 4
mov dword [esp + 0x20], 0
call fcn.0043675d
mov edi, eax
add esp, 4
test edi, edi
je 0x403480
call fcn.00434375
mov dword [edi], eax
call fcn.004341a9
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004345d5
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x403475
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.004345f6
jmp 0x403482
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40f650
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44d848
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x462408]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.00404120
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40f6a4
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00403cb0
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.00404120
cmp dword [esp + 0x24], 8
jb 0x40f6ea
mov eax, dword [esp + 0x10]
push eax
call fcn.0043642d
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x411930
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x44d880
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x462408]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
xor edi, edi
mov eax, edx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], edi
mov word [esp + 0x1c], di
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x411977
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x20]
call fcn.00403d80
mov ebx, esi
mov eax, ebp
mov dword [esp + 0x58], edi
call fcn.00421040
test ebp, ebp
mov esi, eax
jne 0x4119a9
call fcn.0043641d
lea ebx, [esp + 0x18]
mov eax, ebp
call fcn.004208e0
test ebp, ebp
mov edi, eax
jne 0x4119bf
call fcn.0043641d
mov eax, dword [esp + 0x64]
push eax
push esi
push ebp
push edi
push ebp
lea edi, [esp + 0x74]
mov dword [esp + 0x74], 0
call fcn.00422090
add esp, 0x14
cmp dword [esp + 0x60], 0
mov edi, 8
seta bl
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x30], edi
jb 0x411a04
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0043642d
add esp, 4
test bl, bl
je 0x411a64
mov esi, dword [esp + 0x64]
xor ebx, ebx
mov eax, esi
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411a24
sub eax, edx
sar eax, 1
push eax
push esi
lea esi, [esp + 0x3c]
call fcn.00403d80
push ebp
mov ecx, esi
mov dword [esp + 0x5c], 1
call fcn.0041e920
mov byte [eax], 0
cmp dword [esp + 0x4c], edi
jb 0x411a64
mov edx, dword [esp + 0x38]
push edx
call fcn.0043642d
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8
Function at 0x411d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44feee
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x462408]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
call fcn.0041fc20
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esp + 0x14], ebx
call fcn.00404030
mov dword [esi + 0x10], eax
mov byte [eax + 0x45], 1
mov eax, dword [esi + 0x10]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x10]
mov dword [eax], eax
mov eax, dword [esi + 0x10]
mov dword [eax + 8], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x30], 7
mov dword [esi + 0x2c], ebx
mov word [esi + 0x1c], bx
mov byte [esp + 0x14], 2
call fcn.00421090
mov dword [esi + 0x24c], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esi + 0x24c]
mov dword [eax + 4], eax
mov eax, dword [esi + 0x24c]
mov dword [eax], eax
mov eax, dword [esi + 0x24c]
mov dword [eax + 8], eax
mov dword [esi + 0x250], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x246], 1
mov byte [esi + 0x244], bl
mov dword [esi + 0x38], ebx
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x41a7c0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0x880
mov eax, dword [0x462408]
xor eax, esp
mov dword [esp + 0x87c], eax
mov eax, dword [esp + 0x888]
push ebx
mov ebx, dword [esp + 0x8a0]
push ebp
mov ebp, dword [esp + 0x8a0]
push esi
mov esi, dword [esp + 0x890]
push edi
push esi
mov edi, ecx
lea ecx, [esp + 0x684]
push 0x104
push ecx
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], eax
call fcn.004367c7
add esp, 0xc
push 0x453ab4
lea edx, [esp + 0x684]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x684]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
jne 0x41a870
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.__Error_0x_X_retrieving_folder_contents
push 0x463650
xor eax, eax
call fcn.0042a920
add esp, 0xc
jmp 0x41a9e7
mov ecx, 0x453ac0
lea eax, [esp + 0x4c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a8a6
test dx, dx
je 0x41a8a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a8a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a880
xor eax, eax
jmp 0x41a8ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41a9b5
mov ecx, 0x453ac4
lea eax, [esp + 0x4c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a8e6
test dx, dx
je 0x41a8e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a8e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a8c0
xor eax, eax
jmp 0x41a8eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41a9b5
push esi
lea edx, [esp + 0x47c]
push 0x104
push edx
call fcn.004367c7
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x47c]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x274]
push 0x104
push eax
call fcn.004367c7
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x274]
push edx
call esi
test byte [esp + 0x20], 0x10
je 0x41a981
mov eax, dword [esp + 0x8a4]
mov ecx, dword [esp + 0x8a0]
mov edx, dword [esp + 0x89c]
push ebx
push ebp
push eax
push ecx
push edx
lea eax, [esp + 0x284]
push eax
lea ecx, [esp + 0x490]
push ecx
mov ecx, edi
call fcn.0041a7c0
jmp 0x41a9ab
mov edx, dword [esp + 0x8a4]
mov eax, dword [esp + 0x89c]
push ebp
push edx
push eax
lea ecx, [esp + 0x27c]
push ecx
lea edx, [esp + 0x488]
push edx
mov edx, ebx
mov ecx, edi
call fcn.0041ab70
mov esi, eax
test esi, esi
jne 0x41a9dc
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41a870
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x12
jne 0x41a9dc
xor esi, esi
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x88c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00434b37
add esp, 0x880
ret 0x1c
Function at 0x41aa10
Capabilities:
Copy file
Get common file path
Move file

Disassembly:
sub esp, 0x41c
mov eax, dword [0x462408]
xor eax, esp
mov dword [esp + 0x418], eax
push ebp
mov ebp, dword [esp + 0x424]
push edi
lea eax, [esp + 0x218]
push eax
push 0x104
mov edi, ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x456860
lea edx, [esp + 0x224]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 0
push 3
push 0
push 1
push 0x20000
lea ecx, [esp + 0x28]
push ecx
mov dword [esi], 0
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41aabb
push esi
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [esp + 8]
push edx
push 0
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 4
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
jne 0x41ab18
push str.____Transfering_source_file_security
push 0x463650
call fcn.0042a920
mov ecx, dword [esp + 0x14]
add esp, 8
push 0
push ecx
push 0
push 0
push 0x80000004
push 1
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov eax, dword [esp + 8]
test eax, eax
je 0x41ab18
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 5
push ebp
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esp + 0x10]
push ecx
push str.____Source:__s
push 0x463650
xor eax, eax
call fcn.0042a920
push ebp
push str.____Destination:__s
push 0x463650
xor eax, eax
call fcn.0042a920
mov ecx, dword [esp + 0x438]
add esp, 0x18
pop edi
pop ebp
xor ecx, esp
call fcn.00434b37
add esp, 0x41c
ret 4
Function at 0x41b220
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x44e936
mov eax, dword fs:[0]
push eax
sub esp, 0xa54
mov eax, dword [0x462408]
xor eax, esp
mov dword [esp + 0xa50], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x462408]
xor eax, esp
push eax
lea eax, [esp + 0xa68]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa78]
mov ebp, dword [esp + 0xa7c]
mov dword [esp + 0x20], ecx
xor ecx, ecx
or edi, 0xffffffff
mov dword [esp + 0x1c], 0x400
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ecx
mov word [esp + 0x44], cx
mov dword [esp + 0xa70], ecx
cmp byte [eax + 0x246], cl
je 0x41b3c6
add eax, 0x18
push eax
mov ebx, str.Uninstall
lea esi, [esp + 0x28]
call fcn.0040f650
add esp, 4
push edi
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0xa78], 1
call fcn.00404120
mov esi, 8
mov byte [esp + 0xa70], 0
cmp dword [esp + 0x3c], esi
jb 0x41b2e7
mov edx, dword [esp + 0x28]
push edx
call fcn.0043642d
add esp, 4
cmp dword [esp + 0x58], esi
mov eax, dword [esp + 0x44]
jae 0x41b2f5
lea eax, [esp + 0x44]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add edi, 1
push edi
push ebp
lea edx, [esp + 0x64]
push str._s_d
push edx
call esi
mov ecx, dword [esp + 0x28]
add esp, 0x10
push 0
push 0
push 0
push 0
lea eax, [esp + 0x6c]
push eax
push ecx
call ebx
cmp eax, 2
jne 0x41b321
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x268]
push eax
mov eax, dword [esp + 0x28]
call fcn.00432f10
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [ecx + ecx]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x268]
push eax
push 7
push 0
lea ecx, [esp + 0x6c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x41b3a7
push eax
push str.Error_creating_uninstall_key_0x_X
push 0x463650
mov eax, 2
call fcn.0042a920
add esp, 0xc
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x58], 8
jb 0x41b3c6
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0043642d
add esp, 4
mov ecx, dword [esp + 0xa68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa50]
xor ecx, esp
call fcn.00434b37
add esp, 0xa60
ret 8