joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c957
Capabilities:
Get graphical window text

Disassembly:
push 0xc
mov eax, 0x448ab4
call fcn.004288c3
mov esi, ecx
call fcn.00418dd7
mov ecx, eax
xor ebx, ebx
mov dword [ebp - 0x10], ecx
cmp ecx, ebx
je 0x41c996
push ebx
call fcn.00417fce
mov ecx, dword [ebp - 0x10]
push 1
mov edi, eax
call fcn.00417fce
push ebx
add edi, eax
pop eax
setne al
mov ecx, esi
push eax
call fcn.0041c704
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.0041b78a
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0041ab9f
mov eax, dword [0x45e024]
mov dword [ebp - 0x10], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x49b
push dword [esi + 4]
mov byte [ebp - 4], 1
call edi
push 0x64
push 0x64
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
call fcn.00409b50
push eax
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0040ab6a
mov ecx, dword [ebp - 0x14]
xor eax, eax
cmp dword [ecx - 8], ebx
push ebx
sete al
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.0041bfbc
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 8], ebx
jne 0x41ca19
push 0x476
push dword [esi + 4]
call edi
push ebx
jmp 0x41ca3a
cmp dword [esi + 0x2a0], ebx
jne 0x41ca25
cmp eax, ebx
je 0x41ca0c
cmp dword [ebp - 0x18], ebx
je 0x41ca2e
cmp eax, ebx
je 0x41ca0c
push 0x476
push dword [esi + 4]
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea ecx, [ebp - 0x10]
call fcn.0040869c
lea ecx, [ebp - 0x14]
call fcn.0040869c
call fcn.00428962
ret
Function at 0x41d7e8
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push 0x418
mov eax, 0x448cae
call fcn.0042892c
mov esi, ecx
mov dword [ebp - 0x424], esi
call fcn.0041a9be
lea ebx, [esi + 0x48]
xor edi, edi
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00411ea8
mov dword [ebx], vtable.CBaseUIImpl_class_CFeedInfoDlg_.0
mov dword [esi + 0x4c], vtable.WTL::CMessageFilter.0
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CFeedInfoDlg.2.0
mov dword [ebx], vtable.CFeedInfoDlg.1.0
mov dword [esi + 0x4c], vtable.CFeedInfoDlg.0
call fcn.00422564
lea ecx, [esi + 0x1bc]
mov byte [ebp - 4], 2
call fcn.00416a70
lea ecx, [esi + 0x224]
mov byte [ebp - 4], 3
call fcn.00411c54
mov eax, dword [0x45e024]
mov dword [esi + 0x280], eax
mov eax, dword [0x45e024]
lea ebx, [esi + 0x284]
mov dword [ebx], eax
push 0x455620
lea ecx, [esi + 0x288]
mov byte [ebp - 4], 6
call fcn.0040cb22
mov eax, dword [0x45e024]
mov dword [esi + 0x28c], eax
mov eax, dword [0x45e024]
mov dword [esi + 0x290], eax
push 0x455620
lea ecx, [esi + 0x294]
mov byte [ebp - 4], 9
call fcn.0040cb22
or dword [esi + 0x29c], 0xffffffff
mov dword [esi + 0x2a0], edi
mov dword [esi + 0x2a4], edi
mov dword [esi + 0x2ac], edi
lea ecx, [esi + 0x2b4]
mov byte [ebp - 4], 0xa
mov dword [esi + 0x2b0], edi
call fcn.00426185
xor eax, eax
inc eax
mov dword [esi + 0x314], eax
mov dword [esi + 0x318], eax
mov eax, dword [0x45e024]
mov dword [esi + 0x31c], eax
mov eax, dword [0x45e024]
mov dword [esi + 0x320], eax
lea ecx, [esi + 0x324]
mov byte [ebp - 4], 0xd
call fcn.0042031d
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
mov byte [ebp - 4], 0xe
call fcn.004270e0
xor eax, eax
push 0x206
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push edi
push eax
call fcn.004270e0
push 0x208
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.004270e0
push 0x208
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.004270e0
add esp, 0x30
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360ScreenCapture.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x280]
call fcn.0040b336
push edi
push 0x1a
lea eax, [ebp - 0x420]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x44cc9c
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push eax
mov ecx, ebx
call fcn.0040b336
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41da01
push edi
push dword [ebx]
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [esi + 0x298], edi
mov eax, esi
call fcn.00428976
ret
Function at 0x41e976
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x41e983
lea esi, [ecx - 0x20]
jmp 0x41e985
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x41e9b9
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x41e9aa
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41e9bf
cmp dword [ebp + 0xc], 0
jne 0x41e9b9
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x41e9d4
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x20]
call fcn.0041e6e3
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x4217d8
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.00421790
mov ecx, esi
call fcn.004215f5
mov eax, dword [0x4627a0]
cmp dword [eax - 8], 0
je 0x421809
push 0x46d
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
pop esi
ret 8

Function at 0x421a7c
Capabilities:
Delete file

Disassembly:
call fcn.00418dd7
test eax, eax
je 0x421a8c
mov ecx, eax
jmp fcn.004187e0
ret 8
Function at 0x42261e
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x44949f
call fcn.004288c3
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x10]
push edi
test eax, eax
jne 0x422646
push eax
jmp 0x42274a
call fcn.00422121
test eax, eax
jne 0x422751
call fcn.0040f081
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x42279a
mov eax, dword [edi]
mov edx, dword [esi]
push ebx
push eax
mov ecx, esi
call dword [edx + 0xc]
test eax, eax
je 0x4226c4
push 8
call fcn.00427fc3
pop ecx
cmp eax, ebx
je 0x42268b
mov ecx, dword [0x45e024]
mov dword [eax], ecx
mov edi, eax
jmp 0x42268d
xor edi, edi
push dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b2e6
mov dword [edi + 4], esi
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0xac]
call fcn.0041da0f
push 0x105
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x42279a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [edi]
cmp dword [eax - 8], ebx
je 0x42279a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42279a
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x422745
push 0x9c70
lea ecx, [ebp - 0x14]
call fcn.0040cb22
mov esi, eax
push 0x9c7e
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0040cb22
mov esi, dword [esi]
mov eax, dword [eax]
push ebx
push ebx
push 0x30
push esi
push eax
mov byte [ebp - 4], 1
call fcn.0040f572
add esp, 0x14
lea ecx, [ebp + 8]
call fcn.0040869c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040869c
mov ecx, dword [ebp - 0x10]
push edi
push ebx
call fcn.00421a7c
jmp 0x42279a
push 0x9c70
lea ecx, [ebp - 0x18]
call fcn.0040cb22
mov esi, eax
push 0x9c82
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.0040cb22
xor ebx, ebx
push ebx
push ebx
push 0x30
push dword [esi]
mov byte [ebp - 4], 3
push dword [eax]
call fcn.0040f572
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0040869c
lea ecx, [ebp - 0x18]
call fcn.0040869c
call fcn.00428962
ret 4

Function at 0x423300
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
xor edi, edi
mov dword [esi], edi
mov dword [eax], edi
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
push 0x44d0ec
push eax
call fcn.0042934b
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
jne 0x423332
xor eax, eax
pop edi
pop esi
pop ebx
ret 0xc
push 2
push edi
push ebx
call fcn.0042b5e5
push ebx
call fcn.0042b4ed
push 0
push 0
push ebx
mov edi, eax
call fcn.0042b5e5
push edi
call fcn.0042756b
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x42332a
push ebx
push edi
push 1
push eax
call fcn.0042b333
add esp, 0x10
cmp eax, edi
je 0x423382
push dword [esi]
call fcn.00427635
pop ecx
xor esi, esi
push ebx
call fcn.00429025
pop ecx
mov eax, esi
jmp 0x42332c
mov eax, dword [esp + 0x18]
xor esi, esi
mov dword [eax], edi
inc esi
jmp 0x423377
Function at 0x423413
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x45fe58]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x18], esi
cmp dword [esi], edi
je 0x42350b
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
cmp dword [eax - 8], edi
je 0x42350b
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42350b
push 0x24
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.004270e0
add esp, 0xc
push dword [ebx]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 8]
call fcn.0040cb22
cmp dword [ebp - 8], edi
je 0x42348e
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x423493
mov dword [ebp - 0xc], edi
jmp 0x4234b1
lea esi, [eax + eax]
mov eax, esi
call fcn.00429390
mov eax, esp
push 3
push esi
push dword [ebp - 8]
push eax
call fcn.00407873
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
mov ecx, esi
call fcn.00423300
mov ebx, dword [ebp - 0x10]
test eax, eax
je 0x4234f8
push 9
push 8
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0xc]
push dword [esi]
call fcn.00441b30
add esp, 0x28
test eax, eax
jne 0x4234f8
push dword [ebp - 0x14]
push ebx
push dword [esi]
call fcn.00441b70
add esp, 0xc
test eax, eax
je 0x423521
cmp ebx, edi
je 0x423503
push ebx
call fcn.00427635
pop ecx
lea ecx, [ebp - 8]
call fcn.0040869c
xor eax, eax
lea esp, [ebp - 0x48]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427096
leave
ret 4
cmp ebx, edi
je 0x42352c
push ebx
call fcn.00427635
pop ecx
lea ecx, [ebp - 8]
call fcn.0040869c
xor eax, eax
inc eax
jmp 0x42350d

Function at 0x423b8b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push edi
push 0x44d0ec
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.0042934b
mov ebx, eax
pop ecx
pop ecx
cmp ebx, edi
je 0x423c05
push esi
push 2
push edi
push ebx
call fcn.0042b5e5
push ebx
call fcn.0042b4ed
push edi
push edi
push ebx
mov esi, eax
call fcn.0042b5e5
push esi
call fcn.00427010
mov edi, dword [ebp + 0xc]
push ebx
push esi
push 1
push eax
mov dword [edi], eax
call fcn.0042b333
add esp, 0x30
cmp eax, esi
jne 0x423bf2
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov dword [ebp - 4], 1
jmp 0x423bfd
push dword [edi]
call fcn.0042708b
and dword [edi], 0
pop ecx
push ebx
call fcn.00429025
pop ecx
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x423ddb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x194]
sub esp, 0x214
mov eax, dword [0x45fe58]
xor eax, ebp
mov dword [ebp + 0x190], eax
and dword [ebp - 0x7c], 0
push esi
mov esi, dword [ebp + 0x19c]
push 0x208
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.004270e0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x44d16c
push str.SOFTWARE360SafeLiveUp
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x206
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.0040cb22
mov ecx, dword [ebp + 0x190]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00427096
add ebp, 0x194
leave
ret 4

Function at 0x4266c2
Capabilities:
Hide graphical window

Disassembly:
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x426c3b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x462ce8], 0
push esi
jne 0x426bae
call fcn.00426ad4
test eax, eax
je 0x426bf1
mov eax, dword [0x462ce8]
cmp eax, 1
jne 0x426bcf
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x426bf1
pop esi
ret
push eax
call dword [0x462cf0]
test eax, eax
jne 0x426c39
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x426bf5
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x462ce8]
call dword [0x462cf0]
mov edi, eax
test edi, edi
je 0x426c1a
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x426c36
mov edi, esi
add esi, 0xff0
push edi
push dword [0x462ce8]
call dword [0x462cec]
add edi, 0x10
cmp edi, esi
jb 0x426c22
mov eax, edi
pop edi
pop esi
ret
jmp 0x426b9b

Function at 0x427096
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45fe58]
jne 0x4270a0
repz ret
jmp fcn.0042c395
Function at 0x43989f
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.0042d0ba
and dword [ebp - 4], 0
cmp dword [0x4637c4], 0
mov ebx, eax
jne 0x439950
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x439a01
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x439a01
push eax
call fcn.0042d048
mov dword [esp], 0x452294
push edi
mov dword [0x4637c4], eax
call esi
push eax
call fcn.0042d048
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4637c8], eax
call esi
push eax
call fcn.0042d048
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4637cc], eax
call esi
push eax
call fcn.0042d048
pop ecx
mov dword [0x4637d4], eax
test eax, eax
je 0x439950
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042d048
pop ecx
mov dword [0x4637d0], eax
mov eax, dword [0x4637d0]
cmp eax, ebx
je 0x4399a8
cmp dword [0x4637d4], ebx
je 0x4399a8
push eax
call fcn.0042d0c3
push dword [0x4637d4]
mov esi, eax
call fcn.0042d0c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4399a8
test edi, edi
je 0x4399a8
call esi
test eax, eax
je 0x43999f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43999f
test byte [ebp - 0xc], 1
jne 0x4399a8
or dword [ebp + 0x10], 0x200000
jmp 0x4399e1
mov eax, dword [0x4637c8]
cmp eax, ebx
je 0x4399e1
push eax
call fcn.0042d0c3
pop ecx
test eax, eax
je 0x4399e1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4399e1
mov eax, dword [0x4637cc]
cmp eax, ebx
je 0x4399e1
push eax
call fcn.0042d0c3
pop ecx
test eax, eax
je 0x4399e1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4637c4]
call fcn.0042d0c3
pop ecx
test eax, eax
je 0x439a01
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x439a03
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4417d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0xc
cmp eax, 0xc
jge 0x4417e2
xor eax, eax
add esp, 0xc
ret
mov eax, dword [0x4638e4]
inc eax
cmp eax, 1
mov dword [0x4638e4], eax
jne 0x441807
push 0
call fcn.00445ff5
xor eax, 0xbb40e64e
push eax
call fcn.00445ee6
add esp, 8
mov eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov edi, dword [esp + 0x30]
push edi
push ebp
push eax
call fcn.004419a0
add esp, 0xc
xor esi, esi
call fcn.00445ef8
mov ebx, eax
push edi
sar ebx, 7
push ebp
and ebx, 0xff
call fcn.00441920
push ebx
push edi
push ebp
mov dword [esp + 0x3c], eax
call fcn.00441940
mov dl, byte [esp + 0x3c]
add esp, 0x14
xor bl, dl
mov byte [esp + esi + 0x10], bl
inc esi
cmp esi, 0xa
jl 0x441824
mov ecx, dword [esp + 0x20]
push edi
push ebp
push ecx
call fcn.004419a0
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x1c]
add esp, 0xc
xor esi, esi
sub eax, edx
mov dword [esp + 0x20], eax
push edi
push ebp
call fcn.00441920
mov bl, byte [esp + esi + 0x18]
mov dword [esp + 0x30], eax
mov eax, ebx
and eax, 0xff
push eax
push edi
push ebp
call fcn.00441940
mov dl, byte [esp + 0x3c]
mov ecx, dword [esp + 0x34]
add esp, 0x14
xor bl, dl
add ecx, esi
inc esi
cmp esi, 0xa
mov byte [esp + ecx + 0x10], bl
jl 0x441879
push edi
push ebp
call fcn.00441920
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
shr ebx, 0x10
mov edx, ebx
and edx, 0xff
push edx
push edi
push ebp
call fcn.00441940
mov al, byte [esp + 0x3c]
push edi
xor bl, al
mov eax, dword [esp + 0x3c]
push ebp
mov byte [esi + eax], bl
inc esi
call fcn.00441920
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x44], eax
shr ebx, 0x18
push ebx
push edi
push ebp
call fcn.00441940
mov al, byte [esp + 0x50]
mov ecx, dword [esp + 0x4c]
add esp, 0x28
xor bl, al
mov byte [esi + ecx], bl
lea eax, [esi + 1]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x441940
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [edx]
push edi
mov edi, dword [esp + 0x14]
mov ecx, esi
xor ecx, eax
and ecx, 0xff
shr esi, 8
mov ecx, dword [edi + ecx*4]
xor ecx, esi
mov esi, dword [edx + 4]
mov dword [edx], ecx
and ecx, 0xff
add ecx, esi
mov esi, dword [edx + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov ebx, esi
mov dword [edx + 4], ecx
and ebx, 0xff
shr ecx, 0x18
xor ecx, ebx
shr esi, 8
mov ecx, dword [edi + ecx*4]
pop edi
xor ecx, esi
pop esi
mov dword [edx + 8], ecx
pop ebx
ret
Function at 0x441c90
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x4090]
test eax, eax
je 0x441cfb
mov eax, dword [esi + 0x6c]
test eax, eax
jbe 0x441cfb
mov eax, 0xffffff78
push ebx
push ebp
sub eax, esi
push edi
lea ebp, [esi + 0x4094]
lea edi, [esi + 0x88]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x40a0]
push eax
push ebp
call fcn.00441920
mov edx, dword [esi + 0x40a0]
xor ecx, ecx
mov cl, byte [edi]
mov ebx, eax
push ecx
push edx
push ebp
call fcn.00441940
mov al, byte [edi]
add esp, 0x14
xor al, bl
mov byte [edi], al
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x6c]
inc edi
add eax, edi
cmp eax, ecx
jb 0x441cc0
pop edi
pop ebp
pop ebx
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0x20]
lea edx, [esi + 0x88]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
call dword [esi + 8]
mov ecx, dword [esi + 0x6c]
add esp, 0x10
cmp eax, ecx
je 0x441d27
mov dword [esi + 0x6c], 0
or eax, 0xffffffff
pop esi
ret
mov dword [esi + 0x6c], 0
xor eax, eax
pop esi
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x433072
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x5dc35aef
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x27245cef
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x40383e
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 8]
xor esi, esi
call main
test eax, eax
je 0x4038c7
test byte [ebp - 4], 7
push ebx
mov ebx, 0x80070000
je 0x403894
push 0x80
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
jne 0x403894
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x40388a
movzx esi, si
or esi, ebx
test esi, esi
jns 0x403894
push esi
push 0x5c4
jmp 0x4038bc
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
jne 0x4038c6
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4038b4
movzx esi, si
or esi, ebx
test esi, esi
jns 0x4038c6
push esi
push 0x5ca
push str.c:_agent_work35_swix_srclibsdutil_fileutil.cpp
call fcn.004013b3
pop ebx
mov eax, esi
pop esi
leave
ret 4

Function at 0x41aa11
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
mov eax, 0x20000004
push esi
push edi
mov edi, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], edi
cmp dword [ebp + 8], ebx
je 0x41aaa3
lea eax, [ebp - 4]
push eax
push 0x1a
call main
mov esi, eax
test esi, esi
jns 0x41aa54
push str.Failed_to_allocate_administrator_SID.
push esi
call main
mov edi, dword [ebp - 4]
pop ecx
pop ecx
jmp 0x41aacc
push 2
push 8
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.advapi32.dll_InitializeAcl]
test eax, eax
jne 0x41aa9b
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x41aa7d
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x41aa84
mov esi, 0x80004005
push esi
push 0x601
push str.c:_agent_work35_swix_src_burnenginecache.cpp
call fcn.004013b3
push str.Failed_to_initialize_ACL.
jmp 0x41aa47
mov edi, dword [ebp - 4]
mov eax, 0x20000005
push 0x7d0
push 3
push ebx
lea ecx, [ebp - 0xc]
push ecx
push ebx
push edi
push eax
push 1
push dword [ebp + 0xc]
call main
push 0x80
push dword [ebp + 0xc]
mov esi, eax
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test edi, edi
je 0x41aad6
push edi
call main
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8