joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4434e0
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
lea esi, [ecx + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi]
push edi
lea edx, [ecx - 0x10]
lea edi, [eax - 0x10]
cmp edx, edi
je 0x443544
cmp dword [edi + 0xc], 0
push ebx
lea ebx, [edi + 0xc]
jl 0x443536
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x443536
push edx
call fcn.00408620
add esp, 4
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x44352f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
jmp 0x443543
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.004098e0
mov eax, dword [esi]
pop ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4435aa
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
cmp dword [eax - 0xc], 0
je 0x4435aa
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x443591
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jl 0x4435aa
jg 0x4435a2
cmp dword [ebp - 8], 0x40000000
jbe 0x4435aa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x443cc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7ac0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x67f4f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x50]
mov dword [esi], vtable.CFileManager.0
mov dword [esi + 4], vtable.CFileManager.1.0
mov dword [esi + 0x68], 1
test eax, eax
je 0x443d1a
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x50], 0
push dword [esi + 0x40]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x443d32
push dword [esi + 0x40]
call fcn.00408bd0
add esp, 4
lea ecx, [esi + 0x44]
call fcn.00412cf0
mov edx, dword [esi + 0x40]
or edi, 0xffffffff
sub edx, 0x10
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443d57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0x28]
mov dword [esi + 0x24], vtable._BaseModule::CCriticalSection.0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edx, dword [esi + 0x20]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x443d80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x443e80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7b10
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x67f4f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x50]
mov dword [ebp - 4], 0
mov dword [esi], vtable.CFileManager.0
mov dword [esi + 4], vtable.CFileManager.1.0
mov dword [esi + 0x68], 1
test eax, eax
je 0x443ee1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x50], 0
push dword [esi + 0x40]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x443ef9
push dword [esi + 0x40]
call fcn.00408bd0
add esp, 4
lea ecx, [esi + 0x44]
call fcn.00412cf0
mov edx, dword [esi + 0x40]
or edi, 0xffffffff
sub edx, 0x10
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x443f1e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0x28]
mov dword [esi + 0x24], vtable._BaseModule::CCriticalSection.0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edx, dword [esi + 0x20]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x443f47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test byte [ebp + 8], 1
je 0x443f58
push 0x6c
push esi
call fcn.00478a99
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x444770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1318
call fcn.00478eb0
mov eax, dword [0x67f4f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [eax]
mov dword [ebp - 0x1318], ecx
cmp dword [edi - 0xc], 0x104
jg 0x444938
push 0x800
lea eax, [ebp - 0x1304]
push 0
push eax
call fcn.0053dd00
push 0x800
lea eax, [ebp - 0xb04]
push 0
push eax
call fcn.0053dd00
push edi
lea eax, [ebp - 0x1304]
push 0x400
push eax
call fcn.00561957
add esp, 0x24
test esi, esi
je 0x4447fb
cmp word [esi], 0
je 0x4447fb
push esi
lea eax, [ebp - 0x1304]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0xfe
lea eax, [ebp - 0x102]
push 0
push eax
call fcn.0053dd00
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
nop
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x104], ax
lea eax, [ebp - 0x1314]
push eax
movups xmmword [ebp - 0x1314], xmm0
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x200
lea eax, [ebp - 0x304]
push 0
push eax
call fcn.0053dd00
movzx eax, byte [ebp - 0x1305]
push eax
movzx eax, byte [ebp - 0x1306]
push eax
movzx eax, byte [ebp - 0x1307]
push eax
movzx eax, byte [ebp - 0x1308]
push eax
movzx eax, byte [ebp - 0x1309]
push eax
movzx eax, byte [ebp - 0x130a]
push eax
movzx eax, byte [ebp - 0x130b]
push eax
movzx eax, byte [ebp - 0x130c]
push eax
movzx eax, word [ebp - 0x130e]
push eax
movzx eax, word [ebp - 0x1310]
push eax
push dword [ebp - 0x1314]
lea eax, [ebp - 0x304]
push str._08X__04X__04x__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.00407ee0
lea eax, [ebp - 0x304]
add esp, 0x40
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4448c6
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.00561a89
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x1304]
push eax
lea eax, [ebp - 0xb04]
push eax
call edi
push str..tmp
lea eax, [ebp - 0xb04]
push 0x400
push eax
call fcn.00561884
add esp, 0xc
lea eax, [ebp - 0xb04]
push eax
call ebx
test eax, eax
je 0x44494b
inc esi
cmp esi, 0xa
jl 0x444820
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478a88
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0xb04]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x444954
mov ecx, dword [ebp - 0x1318]
lea eax, [ebp - 0xb04]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.004098e0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00478a88
mov esp, ebp
pop ebp
ret
Function at 0x447030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x67f4f4]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x60], 0x4c0043
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x60]
mov eax, 0x68a598
mov dword [ebp - 0x5c], 0x490053
push edi
mov dword [ebp - 0x58], 0x5c0044
mov edx, 0x2d
mov dword [ebp - 0x54], 0x37007b
sub esi, eax
mov dword [ebp - 0x50], 0x300044
mov dword [ebp - 0x4c], 0x310030
mov dword [ebp - 0x48], 0x420038
mov dword [ebp - 0x44], 0x2d0037
mov dword [ebp - 0x40], 0x370041
mov dword [ebp - 0x3c], 0x380038
mov dword [ebp - 0x38], 0x39002d
mov dword [ebp - 0x34], 0x450041
mov dword [ebp - 0x30], 0x2d0046
mov dword [ebp - 0x2c], 0x390031
mov dword [ebp - 0x28], 0x430034
mov dword [ebp - 0x24], 0x42002d
mov dword [ebp - 0x20], 0x360046
mov dword [ebp - 0x1c], 0x350032
mov dword [ebp - 0x18], 0x340036
mov dword [ebp - 0x14], 0x430038
mov dword [ebp - 0x10], 0x310036
mov dword [ebp - 0xc], 0x7d0030
lea ecx, [edx + 0x7fffffd1]
test ecx, ecx
je 0x447110
movzx ecx, word [esi + eax]
test cx, cx
je 0x447110
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4470f2
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478a88
mov esp, ebp
pop ebp
ret

Function at 0x447910
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x67f4f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x68a600
mov dword [ebp - 0x7c], 0x4c0043
lea esi, [ebp - 0x7c]
mov dword [ebp - 0x78], 0x490053
push edi
mov dword [ebp - 0x74], 0x5c0044
mov edx, 0x3c
mov dword [ebp - 0x70], 0x37007b
sub esi, eax
mov dword [ebp - 0x6c], 0x300044
mov dword [ebp - 0x68], 0x310030
mov dword [ebp - 0x64], 0x420038
mov dword [ebp - 0x60], 0x2d0037
mov dword [ebp - 0x5c], 0x370041
mov dword [ebp - 0x58], 0x380038
mov dword [ebp - 0x54], 0x39002d
mov dword [ebp - 0x50], 0x450041
mov dword [ebp - 0x4c], 0x2d0046
mov dword [ebp - 0x48], 0x390031
mov dword [ebp - 0x44], 0x430034
mov dword [ebp - 0x40], 0x42002d
mov dword [ebp - 0x3c], 0x360046
mov dword [ebp - 0x38], 0x350032
mov dword [ebp - 0x34], 0x340036
mov dword [ebp - 0x30], 0x430038
mov dword [ebp - 0x2c], 0x310036
mov dword [ebp - 0x28], 0x7d0030
mov dword [ebp - 0x24], 0x49005c
mov dword [ebp - 0x20], 0x70006e
mov dword [ebp - 0x1c], 0x6f0072
mov dword [ebp - 0x18], 0x530063
mov dword [ebp - 0x14], 0x720065
mov dword [ebp - 0x10], 0x650076
mov dword [ebp - 0xc], 0x330072
mov dword [ebp - 8], 0x32
lea ecx, [edx + 0x7fffffc2]
test ecx, ecx
je 0x447a22
movzx ecx, word [esi + eax]
test cx, cx
je 0x447a22
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x447a04
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478a88
mov esp, ebp
pop ebp
ret
Function at 0x447ea0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x67f4f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 0x68a3d0
mov dword [ebp - 0x8c], 0x6f0053
lea esi, [ebp - 0x8c]
mov dword [ebp - 0x88], 0x740066
push edi
mov dword [ebp - 0x84], 0x610077
mov edx, 0x44
mov dword [ebp - 0x80], 0x650072
sub esi, eax
mov dword [ebp - 0x7c], 0x4d005c
mov dword [ebp - 0x78], 0x630069
mov dword [ebp - 0x74], 0x6f0072
mov dword [ebp - 0x70], 0x6f0073
mov dword [ebp - 0x6c], 0x740066
mov dword [ebp - 0x68], 0x57005c
mov dword [ebp - 0x64], 0x6e0069
mov dword [ebp - 0x60], 0x6f0064
mov dword [ebp - 0x5c], 0x730077
mov dword [ebp - 0x58], 0x43005c
mov dword [ebp - 0x54], 0x720075
mov dword [ebp - 0x50], 0x650072
mov dword [ebp - 0x4c], 0x74006e
mov dword [ebp - 0x48], 0x650056
mov dword [ebp - 0x44], 0x730072
mov dword [ebp - 0x40], 0x6f0069
mov dword [ebp - 0x3c], 0x5c006e
mov dword [ebp - 0x38], 0x680053
mov dword [ebp - 0x34], 0x6c0065
mov dword [ebp - 0x30], 0x20006c
mov dword [ebp - 0x2c], 0x780045
mov dword [ebp - 0x28], 0x650074
mov dword [ebp - 0x24], 0x73006e
mov dword [ebp - 0x20], 0x6f0069
mov dword [ebp - 0x1c], 0x73006e
mov dword [ebp - 0x18], 0x41005c
mov dword [ebp - 0x14], 0x700070
mov dword [ebp - 0x10], 0x6f0072
mov dword [ebp - 0xc], 0x650076
mov dword [ebp - 8], 0x64
nop
lea ecx, [edx + 0x7fffffba]
test ecx, ecx
je 0x447fde
movzx ecx, word [esi + eax]
test cx, cx
je 0x447fde
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x447fc0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478a88
mov esp, ebp
pop ebp
ret
Function at 0x448f70
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f88d0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x67f4f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
push esi
push edi
push str.delet_key:__s___s
call fcn.00443920
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x10], 0
or eax, 0x1000b
push ecx
push eax
push 0
push edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test ebx, ebx
jne 0x449024
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0041af50
mov ecx, eax
test ecx, ecx
je 0x449090
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
push esi
push edi
lea eax, [ebp + 0x14]
mov dword [ebp - 4], ebx
push str.delet_key:__s___s_ok
push eax
call fcn.0040d7f0
mov esi, dword [ebp + 0x14]
push esi
push 0x617e20
call fcn.00443920
add esp, 0x18
jmp 0x449063
call fcn.0041af50
mov ecx, eax
test ecx, ecx
je 0x44909a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
push ebx
push esi
push edi
lea eax, [ebp + 0x14]
mov dword [ebp - 4], 1
push str.delet_key:__s___s__d
push eax
call fcn.0040d7f0
mov esi, dword [ebp + 0x14]
push esi
push 0x617e20
call fcn.00443920
add esp, 0x1c
or eax, 0xffffffff
add esi, 0xfffffff0
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44907e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004084c0
push 0x80004005
call fcn.004084c0
int3
Function at 0x449440
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f897b
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x67f4f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x428], esi
call fcn.0053dd00
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x421]
call fcn.00447670
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4494d7
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0053dd00
add esp, 0xc
lea eax, [ebp - 0x218]
push str.config.ini
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.0041af50
mov ecx, eax
test ecx, ecx
je 0x44957c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.004084e0
test al, al
jne 0x44955e
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449540
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004098e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00478a88
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004084c0
int3
Function at 0x449a40
Capabilities:
Get session user name
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8a1b
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x67f4f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x449a8e
mov eax, 1
jmp 0x449bc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x449aa0
xor eax, eax
jmp 0x449bc3
lea ecx, [ebp - 0x220]
call fcn.00458240
push 0x1a
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.00458410
mov dword [ebp - 0x224], eax
test eax, eax
je 0x449af0
push 0xf003f
push eax
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x220]
call fcn.00458550
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea eax, [ebp - 0x228]
mov dword [ebp - 0x228], 0x105
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.004582b0
mov dword [ebp - 0x224], eax
test eax, eax
je 0x449b51
push 0xf003f
push eax
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x220]
call fcn.00458550
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x449b65
mov esi, 1
jmp 0x449bb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x449b74
xor esi, esi
jmp 0x449bb6
push 1
lea ecx, [ebp - 0x220]
call fcn.00458410
mov esi, eax
test esi, esi
je 0x449ba9
push 0xf003f
push esi
push str.SYSTEMCurrentControlSetControlSession_Manager
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x220]
call fcn.00458550
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp + 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, eax
lea ecx, [ebp - 0x220]
call fcn.00458250
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 - 0x10]
xor ecx, ebp
call fcn.00478a88
mov esp, ebp
pop ebp
ret 0xc

Function at 0x449f30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push dword [ebp + 0x18]
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x449f97
mov edx, dword [ebp + 0x14]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x449f65
sub eax, esi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44be40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x67f4f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.004411c0
test al, al
je 0x44bf51
push 0xf013f
push dword [0x68a6c4]
push 0
push dword [0x68a6d0]
push SysReAllocString
call fcn.00449f30
add esp, 0x14
lea eax, [ebp - 0x264]
push 0
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push dword [0x68a6d4]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44c074
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x25c]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x44bec0
push dword [0x68a6cc]
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44bef0
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x25c]
push eax
push 1
push 0
push 0
push dword [ebp - 0x264]
call esi
lea ecx, [ebp - 0x25d]
call fcn.004480e0
lea ecx, [ebp - 0x25d]
mov edi, eax
call fcn.00448460
mov edx, eax
mov eax, edi
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44bf41
jmp 0x44c03d
push 0xf003f
push dword [0x68a6c4]
push 0
push dword [0x68a6d0]
push SysReAllocString
call fcn.00449f30
add esp, 0x14
mov dword [ebp - 0x264], 0
lea eax, [ebp - 0x264]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [0x68a6d4]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44c074
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x25c]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x44bfb5
push dword [0x68a6c8]
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44bfe1
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x25c]
push eax
push 1
push 0
push 0
push dword [ebp - 0x264]
call esi
lea ecx, [ebp - 0x25d]
call fcn.004474b0
lea ecx, [ebp - 0x25d]
mov edi, eax
call fcn.00447dc0
mov edx, eax
mov eax, edi
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44c032
sub eax, ebx
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push 0
push edx
push dword [ebp - 0x264]
call esi
push dword [ebp - 0x264]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478a88
mov esp, ebp
pop ebp
ret
push eax
push str.reg_shell_ex_err:__d
call fcn.00443920
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00478a88
mov esp, ebp
pop ebp
ret
Function at 0x44c8a0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x67f4f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x84]
mov dword [ebp - 0x7c], 0x6f0053
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x78], 0x740066
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x74], 0x610077
push eax
push str.SecureProtocols
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x70], 0x650072
push eax
push SysReAllocString
mov dword [ebp - 0x6c], 0x4d005c
mov dword [ebp - 0x68], 0x630069
mov dword [ebp - 0x64], 0x6f0072
mov dword [ebp - 0x60], 0x6f0073
mov dword [ebp - 0x5c], 0x740066
mov dword [ebp - 0x58], 0x57005c
mov dword [ebp - 0x54], 0x6e0069
mov dword [ebp - 0x50], 0x6f0064
mov dword [ebp - 0x4c], 0x730077
mov dword [ebp - 0x48], 0x43005c
mov dword [ebp - 0x44], 0x720075
mov dword [ebp - 0x40], 0x650072
mov dword [ebp - 0x3c], 0x74006e
mov dword [ebp - 0x38], 0x650056
mov dword [ebp - 0x34], 0x730072
mov dword [ebp - 0x30], 0x6f0069
mov dword [ebp - 0x2c], 0x5c006e
mov dword [ebp - 0x28], 0x6e0049
mov dword [ebp - 0x24], 0x650074
mov dword [ebp - 0x20], 0x6e0072
mov dword [ebp - 0x1c], 0x740065
mov dword [ebp - 0x18], 0x530020
mov dword [ebp - 0x14], 0x740065
mov dword [ebp - 0x10], 0x690074
mov dword [ebp - 0xc], 0x67006e
mov dword [ebp - 8], 0x73
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 4
mov dword [ebp - 0x88], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
pop edi
pop esi
pop ebx
test eax, eax
je 0x44c9d8
push eax
push str.get_reg_tls_version_failed__u
jmp 0x44ca05
or dword [ebp - 0x80], 0x800
lea eax, [ebp - 0x80]
push 4
push eax
push 4
push str.SecureProtocols
lea eax, [ebp - 0x7c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x44ca0d
push eax
push str.set_reg_tls_version_failed__u
call fcn.00443920
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00478a88
mov esp, ebp
pop ebp
ret