joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409880
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6cdff0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 1
imul ecx, eax, 0xb
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0xc
jae 0x4098a3
jmp 0x4098a8
call fcn.005d86f3
mov edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x10], 0
mov eax, 1
imul ecx, eax, 5
mov byte [ebp + ecx - 0x10], 0x72
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x10], 0x45
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0x10], 0x50
mov edx, 1
imul eax, edx, 7
mov byte [ebp + eax - 0x10], 0x63
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0x10], 0x78
mov edx, 1
imul eax, edx, 0xa
mov byte [ebp + eax - 0x10], 0x73
mov ecx, 1
imul edx, ecx, 6
mov byte [ebp + edx - 0x10], 0x6f
mov eax, 1
imul ecx, eax, 3
mov byte [ebp + ecx - 0x10], 0x74
mov edx, 1
shl edx, 3
mov byte [ebp + edx - 0x10], 0x65
mov eax, 1
imul ecx, eax, 9
mov byte [ebp + ecx - 0x10], 0x73
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x10], 0x69
lea eax, [ebp - 0x10]
push eax
call fcn.00405f60
mov ecx, eax
call fcn.00406130
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x409965
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005d81d9
mov esp, ebp
pop ebp
ret

Function at 0x409980
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6cdff0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], 0
call fcn.00405f60
mov ecx, eax
call fcn.004065e0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x409aaa
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x14], 0x64
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0x14], 0x65
mov eax, 1
imul ecx, eax, 0xb
mov byte [ebp + ecx - 0x14], 0x78
mov edx, 1
shl edx, 2
mov byte [ebp + edx - 0x14], 0x69
mov eax, 1
imul ecx, eax, 0xc
mov byte [ebp + ecx - 0x14], 0x74
mov edx, 1
imul eax, edx, 9
mov byte [ebp + eax - 0x14], 0x54
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0x14], 0x6e
mov eax, 1
imul ecx, eax, 0xa
mov byte [ebp + ecx - 0x14], 0x65
mov edx, 1
imul eax, edx, 0
mov byte [ebp + eax - 0x14], 0x53
mov ecx, 1
imul edx, ecx, 0xd
mov byte [ebp + edx - 0x14], 0x57
mov eax, 1
imul ecx, eax, 0xe
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0xf
jae 0x409a45
jmp 0x409a4a
call fcn.005d86f3
mov edx, dword [ebp - 0x18]
mov byte [ebp + edx - 0x14], 0
mov eax, 1
shl eax, 1
mov byte [ebp + eax - 0x14], 0x74
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x14], 0x77
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x14], 0x57
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0x14], 0x6f
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x409aaa
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005d81d9
mov esp, ebp
pop ebp
ret
Function at 0x418b26
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x418b51
cmp dword [ebx + 0x80], 0
jne 0x418b51
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.00428f97
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.00418de4
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x418b8b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00428f97
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x418bc2
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00418be3
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41afcd
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x62f1c5
call fcn.005d8bca
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [ecx], edi
cmp dword [eax + 0x58], edi
je 0x41b077
push dword [ebp + 8]
mov ecx, eax
call fcn.0041b305
mov esi, eax
test esi, esi
je 0x41b10a
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
test eax, eax
jne 0x41b060
push edx
call fcn.00409afc
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41b060
xor edi, edi
inc edi
jmp 0x41b06a
push dword [ebx]
call fcn.00409b05
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.0041adf0
jmp 0x41b108
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [esi + 0x84]
mov ecx, esi
push eax
call fcn.005d8b8d
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x41b100
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 1
push eax
mov dword [ecx], eax
call fcn.00409afc
mov dword [ebx], eax
pop ecx
test esi, esi
jle 0x41b0fa
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041adcc
push edi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.0041adcc
add al, bl
mov edx, edi
test edx, edx
jns 0x41b0eb
add edx, 1
sar edx, 1
mov ecx, dword [esi]
add edi, 2
mov byte [edx + ecx], al
cmp edi, dword [ebp - 0x18]
jl 0x41b0c2
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.0040bde7
mov eax, edi
call fcn.005d8b93
ret 0x10

Function at 0x41b112
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x41b165
push esi
push dword [ebp + 8]
call fcn.0041b305
mov edi, eax
test edi, edi
jne 0x41b135
mov eax, dword [ebp + 0x10]
jmp 0x41b177
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x41b130
mov eax, dword [ebp - 8]
jmp 0x41b177
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41ec92
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x41ecd7
call fcn.00428f97
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41ecd7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x41ecf3
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004b4af9
mov ebx, eax
test edi, edi
je 0x41ecf1
test esi, esi
je 0x41ecf1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41fe66
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x41ff24
cmp dword [esi + 0x20], 0
je 0x41ff24
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ff24
cmp dword [ebp + 8], 0
je 0x41ff24
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00428f97
push 0x64f468
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x41fef5
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41ff24
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.004bb08e
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x41ff15
test edi, edi
je 0x41ff15
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x41ff20
mov ecx, esi
call fcn.0041fb07
mov eax, ebx
jmp 0x41ff26
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x424f9f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x62fb2c
call fcn.005d8bca
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x424fc5
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x425024
call fcn.00427e57
push eax
lea ecx, [ebp - 0x10]
call fcn.00409b80
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.005d8b8d
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.005fc07e
push eax
call fcn.0040a4dd
add esp, 0x14
test esi, esi
je 0x425017
push esi
call fcn.005e88b0
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040bde7
mov eax, ebx
call fcn.005d8b93
ret 8
Function at 0x4400d1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x4400ea
call fcn.00428f97
mov esi, dword [eax + 0xc]
push 0x6529ac
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x440140
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44013f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x440120
xor esi, esi
jmp 0x440136
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.00440148
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4b8dba
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
je 0x4b8e00
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4b8e0f
push 0x65d244
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4b8e0f
push dword [esi]
mov ecx, edi
push 2
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005d8b8d
call edi
jmp 0x4b8e11
cmp dword [esi + 4], ebx
je 0x4b8e0f
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileW]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4bd4a3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x4bd4bd
mov edi, dword [esi + 0xc]
jmp 0x4bd4fd
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4bd4d6
call fcn.004346bb
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4bd4eb
call fcn.004346bb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4bd4fd
call fcn.004346bb
call fcn.00428f97
cmp dword [eax + 0x3c], 0
je 0x4bd512
push edi
mov ecx, ebx
call fcn.004bcadf
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004bd7dc
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x4bd53b
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x4bd547
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4bec4f
Capabilities:
Delete registry key

Disassembly:
push 8
mov eax, 0x6372af
call fcn.005d8bca
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00409cd6
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x4becb1
call fcn.00428fe5
cmp eax, 1
jne 0x4becb1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.00415b52
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040a295
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.0040bde7
inc esi
push dword [ebp - 0x10]
mov ecx, dword [ebp + 0x10]
push esi
test ecx, ecx
je 0x4becc3
call fcn.0041be04
jmp 0x4becc9
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.0040bde7
mov eax, esi
call fcn.005d8b93
ret 0xc

Function at 0x4bee14
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x637330
call fcn.005d8bca
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00409cd6
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x4bee72
call fcn.00428fe5
cmp eax, 1
jne 0x4bee72
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.00415b52
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040a295
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040bde7
inc esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0040bde7
mov eax, esi
call fcn.005d8b93
ret 0x10

Function at 0x4bee99
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x63735b
call fcn.005d8bca
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00409cd6
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x4beef7
call fcn.00428fe5
cmp eax, 1
jne 0x4beef7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.00415b52
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040a295
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040bde7
inc esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0040bde7
mov eax, esi
call fcn.005d8b93
ret 0x14

Function at 0x4c3854
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x4c3894
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4c38a3
push str.SetFileAttributesTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4c38a3
push dword [esi]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005d8b8d
call edi
jmp 0x4c38a5
cmp dword [esi + 4], 0
je 0x4c38a3
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x5bde5c
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.004218f8
call fcn.00428feb
cmp dword [eax + 0x14], 0
jne 0x5bde77
mov ecx, esi
pop esi
jmp fcn.005bd661
pop esi
ret

Function at 0x5cca0a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.005dcff0
mov eax, dword [ebp + 8]
add esp, 0xc
and dword [ebp - 0x34], 0
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret 0x14

Function at 0x61f755
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0061f356

Function at 0x61f760
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0061f4d9

Function at 0x6200f3
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0061ffc9

Function at 0x622168
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006218f7

Function at 0x622173
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00621b36
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x75ed7d6a
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x2edf7341
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x10009f80
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
push ebx
sub esp, 0x1c
mov dword [ebp - 0x14], edx
mov dword [esp], eax
call fcn.10002ef0
mov dword [ebp - 0x10], eax
test edi, edi
je 0x10009fa3
mov dword [edi], 0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10009fb3
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [esp + 8], 0
mov esi, dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call esi
sub esp, 0xc
mov edx, eax
test eax, eax
jne 0x10009fe8
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [eax + eax]
mov dword [ebp - 0x18], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
test eax, eax
je 0x10009fda
mov edx, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call esi
mov esi, dword [sym.imp.ucrtbase.dll_wcsstr]
sub esp, 0xc
mov dword [esp + 4], 0x1001479c
mov dword [esp], ebx
call esi
test eax, eax
je 0x1000a047
mov edx, dword [ebp + 8]
xor ecx, ecx
mov word [eax], cx
test edx, edx
je 0x1000a047
add eax, 2
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [esp + 4], 0x10014794
mov dword [esp], ebx
call esi
test eax, eax
je 0x1000a06f
xor edx, edx
mov word [eax], dx
test edi, edi
je 0x1000a06f
add eax, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsdup]
mov dword [edi], eax
mov dword [esp + 0xc], 0
mov esi, dword [ebp - 0x14]
mov dword [esp + 4], 0x104
mov dword [esp], ebx
mov dword [esp + 8], esi
call dword [sym.imp.kernel32.dll_GetFullPathNameW]
sub esp, 0x10
mov dword [esp], esi
mov esi, dword [sym.imp.kernel32.dll_GetFileAttributesW]
call esi
sub esp, 4
cmp eax, 0xffffffff
je 0x1000a0f0
mov dword [esp], ebx
mov ebx, dword [sym.imp.ucrtbase.dll_free]
call ebx
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call esi
mov edx, eax
sub esp, 4
mov eax, 1
cmp edx, 0xffffffff
jne 0x10009fdc
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000a0dc
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [esp], eax
call ebx
test edi, edi
je 0x10009fda
mov eax, dword [edi]
mov dword [esp], eax
call ebx
jmp 0x10009fda
mov dword [esp + 4], 0x104
mov edx, dword [ebp - 0x14]
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
mov edx, dword [ebp - 0x14]
sub esp, 8
cmp word [edx], 0
je 0x1000a168
add edx, 2
cmp word [edx], 0
jne 0x1000a110
xor eax, eax
lea esi, cs:[esi]
movzx ecx, word [eax + 0x10014784]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000a120
mov edx, dword [ebp - 0x14]
cmp word [edx], 0
je 0x1000a170
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x1000a140
xor eax, eax
lea esi, cs:[esi]
movzx ecx, word [ebx + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000a150
jmp 0x1000a0a5
mov edx, dword [ebp - 0x14]
jmp 0x1000a119
mov edx, dword [ebp - 0x14]
jmp 0x1000a149
Function at 0x100102c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x214
mov eax, dword [0x100220c0]
test eax, eax
je 0x10010378
mov dword [esp], ebx
call eax
sub esp, 4
test eax, eax
mov dword [ebx + 8], eax
jns 0x10010300
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x214]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x100102ec
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x100103ad
mov dword [esp + 4], str.AtlCreateRegistrar
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
sub esp, 8
mov dword [0x100220c0], eax
test eax, eax
jne 0x100102dd
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x100102ee