joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478733
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x478769
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x478777
push str.SetFileAttributesTransactedA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x478777
push dword [esi]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x478779
cmp dword [esi + 4], 0
je 0x478777
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
xor eax, eax
pop esi
pop ebp
ret 8

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64b137
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.005f03d0
mov eax, dword [0x76e440]
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 edx, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x101c], edx
mov dword [ebp - 0x1028], ebx
cmp dword [ecx + 0x58], ebx
je 0x47a685
push ebx
push eax
call fcn.0047a6d4
mov ebx, eax
test ebx, ebx
jne 0x47a5b9
push esi
jmp 0x47a6ad
call fcn.00455436
push eax
lea ecx, [ebp - 0x1014]
call fcn.0040a200
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x101c]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1024], eax
test eax, eax
jne 0x47a644
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.0040bc60
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x101c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x1024], eax
call fcn.00454b5c
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1024], 0
jne 0x47a672
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.004161e0
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.0040bd60
jmp 0x47a6b4
push esi
mov ecx, edi
call fcn.00452c17
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x47a66b
test esi, esi
jne 0x47a68e
mov esi, 0x6b2abf
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.00452c17
mov eax, edi
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.005ed4e7
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47e915
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.00455aba
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x47e94c
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.0047e96d
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 0x494b92
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x76e440]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x494be7
xor eax, eax
test esi, esi
sete al
or eax, 0x4000
push eax
push 0x160
lea eax, [ebp - 0x26c]
push eax
push 0
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005ed4e7
mov esp, ebp
pop ebp
ret 4
Function at 0x494d70
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x76e440]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test edx, edx
je 0x494f8f
test esi, esi
je 0x494f8f
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x320], ebx
sub eax, ebx
je 0x494f60
dec eax
je 0x494e02
dec eax
je 0x494ec8
dec eax
jne 0x494f7a
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x108]
push eax
push dword [edx + 4]
call edi
test eax, eax
je 0x494f5b
push ebx
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0047851c
test eax, eax
je 0x494f5b
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x494ec0
push ebx
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0047851c
test eax, eax
je 0x494ec0
cmp dword [ebp + 0x10], 1
jne 0x494f20
test byte [ebp - 0x43c], 0x10
jne 0x494f5b
test byte [ebp - 0x314], 0x10
jne 0x494ec0
mov ecx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x31c]
cmp dword [ebp - 0x440], ecx
ja 0x494ec0
jb 0x494f5b
cmp dword [ebp - 0x444], eax
jb 0x494f5b
cmp dword [ebp - 0x440], ecx
jb 0x494f7a
ja 0x494ec0
cmp dword [ebp - 0x444], eax
jbe 0x494f7a
xor ebx, ebx
inc ebx
jmp 0x494f7a
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [ebp - 0x71c]
push 0x408
push 0x160
push eax
push ebx
push dword [edx + 4]
call edi
test eax, eax
je 0x494f7a
push 0x408
push 0x160
lea eax, [ebp - 0x5bc]
push eax
push ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x494f7a
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, eax
jmp 0x494f7a
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.00494269
test al, al
jne 0x494f5b
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.00494288
xor ebx, ebx
test al, al
setne bl
jmp 0x494f7a
or ebx, 0xffffffff
jmp 0x494f7a
push dword [esi + 8]
mov eax, dword [edx]
push dword [edx + 8]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x494f77
xor eax, eax
jmp 0x494f7c
movsx ebx, ax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ed4e7
mov esp, ebp
pop ebp
ret 0xc
call fcn.004528f4
int3
Function at 0x4da856
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x4da8a4
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.005f2a00
xor edx, edx
mov dword [ebp + 8], 0xa
pop ecx
mov ecx, eax
div dword [ebp + 8]
inc eax
test ecx, ecx
je 0x4da899
mov edx, ecx
movsx ecx, byte [edi + esi]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x4da887
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004528f4
int3

Function at 0x545ac2
Capabilities:
Get file system object information

Disassembly:
push 0x270
mov eax, 0x65981b
call fcn.005f2958
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004161e0
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x278], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x278]
push 0
push 0x6bea10
call fcn.00473424
cmp eax, 0xffffffff
jne 0x545b76
push 0
push 0x6d491c
lea ecx, [ebp - 0x278]
call fcn.00473424
cmp eax, 0xffffffff
jne 0x545b76
push 0
push 0x6cf1c0
lea ecx, [ebp - 0x278]
call fcn.00473424
cmp eax, 0xffffffff
jne 0x545b76
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.004161e0
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x27c], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x114]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x545b52
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.0040bd60
jmp 0x545ba5
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x278]
call fcn.00417c10
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.0040bd60
mov esi, dword [ebp - 0x278]
push 0x105
push 0x160
lea eax, [ebp - 0x274]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x545b9c
mov ebx, dword [ebp - 0x274]
jmp 0x545ba5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.0040bd60
mov eax, ebx
call fcn.005f2907
ret
Function at 0x57ab9d
Capabilities:
Get common file path

Disassembly:
push 0x120
mov eax, 0x65d30e
call fcn.005f2958
mov ebx, ecx
mov dword [ebp - 0x12c], ebx
call fcn.005a0f6c
push 0x1c4
call fcn.00452705
pop ecx
mov dword [ebp - 0x128], eax
and dword [ebp - 4], 0
test eax, eax
je 0x57abe0
push 0
push dword [ebx + 0x60]
mov ecx, eax
call fcn.005a1a6a
jmp 0x57abe2
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.005a034f
call fcn.00455aba
mov esi, 0x104
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x8c]
lea eax, [ebp - 0x114]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call fcn.005f2a00
mov edi, eax
pop ecx
mov byte [ebp + edi - 0x114], 0x5c
inc edi
cmp edi, esi
jae 0x57adff
xor eax, eax
mov byte [ebp + edi - 0x114], 0
mov dword [ebp - 0x128], eax
test ebx, ebx
je 0x57adf9
xor esi, esi
mov dword [ebp - 0x120], esi
cmp dword [ebx + 4], eax
jle 0x57adf9
call fcn.00455436
push eax
lea ecx, [ebp - 0x118]
call fcn.0040a200
mov eax, dword [ebx]
xor ecx, ecx
inc ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x114]
push edi
push ecx
push esi
lea ecx, [ebp - 0x118]
push ecx
mov ecx, ebx
call dword [eax + 0xc]
test eax, eax
je 0x57add7
push 0x6de730
mov esi, 0x6de734
lea ecx, [ebp - 0x118]
push esi
call fcn.0049c81f
push esi
push 0x6d4840
lea ecx, [ebp - 0x118]
call fcn.0049c81f
push esi
push 0x6de730
lea ecx, [ebp - 0x118]
call fcn.0049c81f
call fcn.00455436
push eax
lea ecx, [ebp - 0x124]
call fcn.0040a200
mov eax, dword [ebp - 0x128]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x57ad03
push dword [ebp - 0x118]
lea eax, [ebp - 0x124]
push str.10__s
push eax
call fcn.0040b0f0
add esp, 0xc
jmp 0x57ad35
jge 0x57ad23
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x124]
push str._d__s
push eax
call fcn.0040b0f0
add esp, 0x10
jmp 0x57ad35
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x124]
call fcn.00455341
push 0x1c4
call fcn.00452705
pop ecx
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x57ad5f
mov ecx, eax
call fcn.005069f5
mov ecx, eax
mov dword [ebp - 0x11c], eax
jmp 0x57ad67
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov eax, dword [ecx]
mov esi, dword [ebp - 0x124]
push esi
mov byte [ebp - 4], 2
call dword [eax + 0xb4]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x120]
add eax, 0xe110
push eax
mov edx, dword [ecx]
call dword [edx + 0xb0]
push dword [ebp - 0x120]
mov ecx, ebx
call fcn.0047aa3f
mov ecx, dword [ebp - 0x11c]
push dword [eax]
mov edx, dword [ecx]
call dword [edx + 0xc8]
mov ecx, dword [ebp - 0x11c]
push ecx
mov ecx, dword [ebp - 0x12c]
call fcn.005a034f
inc dword [ebp - 0x128]
lea ecx, [esi - 0x10]
call fcn.0040bd60
mov esi, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.0040bd60
inc esi
mov dword [ebp - 0x120], esi
cmp esi, dword [ebx + 4]
jl 0x57ac58
call fcn.005f2907
ret
call fcn.005ee50f
int3
Function at 0x59ab04
Capabilities:
Get graphical window text

Disassembly:
push 0x164
mov eax, 0x65ed5f
call fcn.005f2958
mov edi, ecx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
push esi
push esi
push 0xb
push dword [edi + 0xb8]
call ebx
push esi
push esi
push 0x184
push dword [edi + 0xb8]
call ebx
lea eax, [edi + 0x98]
mov dword [ebp - 0x114], esi
push eax
lea ecx, [ebp - 0x138]
call fcn.00467937
mov ecx, edi
mov dword [ebp - 4], esi
call fcn.0048d745
push eax
lea ecx, [ebp - 0x138]
call fcn.0046985b
lea ecx, [edi + 0x118]
mov dword [ebp - 0x11c], eax
mov dword [edi + 0x114], 1
call fcn.004b269d
lea ecx, [edi + 0x134]
call fcn.004b269d
mov eax, dword [edi + 0x10c]
push 5
push dword [eax + 0x110]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x59ad29
push esi
call fcn.00460314
push eax
push 0x6dd574
call fcn.00456ebf
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x59ad10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1e4]
test eax, eax
je 0x59ad10
push 0x100
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x110]
push eax
push 0
push 0x180
push dword [edi + 0xb8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x118]
lea eax, [ebp - 0x110]
push eax
call fcn.00452c17
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x138]
call fcn.0046e5bf
mov ecx, dword [ebp - 0x118]
mov eax, dword [eax]
lea ecx, [ecx - 0x10]
mov dword [ebp - 0x124], eax
call fcn.0040bd60
mov eax, dword [ebp - 0x124]
cmp dword [ebp - 0x114], eax
jg 0x59ac61
mov dword [ebp - 0x114], eax
push esi
push dword [ebp - 0x120]
push 0x19a
push dword [edi + 0xb8]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1e8]
test eax, eax
je 0x59ac93
push esi
lea ecx, [edi + 0x134]
call fcn.004b2360
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
test eax, 0x80000
je 0x59acb2
push 0
push esi
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov ebx, eax
test ebx, ebx
jne 0x59acbb
and dword [edi + 0x114], 0
jmp 0x59ad10
push 0x30
lea eax, [ebp - 0x170]
push 0
push eax
call fcn.005ee030
add esp, 0xc
mov dword [ebp - 0x170], 0x30
lea eax, [ebp - 0x170]
mov dword [ebp - 0x16c], 1
push eax
push 0
push 0xf060
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemInfoA]
test eax, eax
je 0x59ad04
test byte [ebp - 0x164], 3
je 0x59ad10
push esi
lea ecx, [edi + 0x118]
call fcn.004b2360
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x59abaa
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x15
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x114]
add ecx, 0x1e
push 0
add eax, ecx
push eax
push 0x194
push dword [edi + 0xb8]
call ebx
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x138]
call fcn.0046985b
push 0
push 1
push 0xb
push dword [edi + 0xb8]
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x138]
call fcn.00467b88
call fcn.005f2907
ret
Function at 0x5cb02c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push edi
mov edi, ecx
jne 0x5cb03c
xor eax, eax
jmp 0x5cb0b1
cmp dword [ebp + 0xc], 0
je 0x5cb038
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x5cb055
call fcn.00455aba
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5cb038
push esi
push dword [ebp + 0xc]
mov dword [edi + 8], eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x5cb07d
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x5cb081
xor eax, eax
jmp 0x5cb0b0
push ebx
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x5cb0af
push dword [ebp + 0xc]
mov esi, dword [edi]
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, edi
call dword [esi + 4]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x5e1faa
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.005ee030
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_ShellExecuteExA]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x61ca7b
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x76e440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.005ffc92
mov dword [ebp - 0x14], eax
cmp dword [0x77d754], esi
jne 0x61cb6e
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x61cafb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x61cc4e
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x61cc4e
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x61cc4e
push eax
call ebx
push 0x70578c
push edi
mov dword [0x77d754], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x70579c
push edi
mov dword [0x77d758], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x77d75c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x77d764], eax
test eax, eax
je 0x61cb6b
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x77d760], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x61cb93
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x61cb86
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x61cba8
push 4
pop eax
jmp 0x61cc50
cmp dword [ebp - 0x14], esi
je 0x61cba8
push dword [0x77d754]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x61cb8d
mov eax, dword [0x77d760]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x61cc06
cmp dword [0x77d764], edi
je 0x61cc06
push eax
call ebx
push dword [0x77d764]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x61cc06
test eax, eax
je 0x61cc06
call ecx
test eax, eax
je 0x61cbfb
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x61cbfb
test byte [ebp - 8], 1
jne 0x61cc06
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x61cc36
mov eax, dword [0x77d758]
cmp eax, edi
je 0x61cc33
push eax
call ebx
test eax, eax
je 0x61cc33
call eax
mov esi, eax
test esi, esi
je 0x61cc33
mov eax, dword [0x77d75c]
cmp eax, edi
je 0x61cc33
push eax
call ebx
test eax, eax
je 0x61cc33
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x77d754]
call ebx
test eax, eax
je 0x61cc4e
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x61cc50
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005ed4e7
mov esp, ebp
pop ebp
ret
Function at 0x4193d4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x4193e3
pop dword [ebp - 0x2c]
mov eax, 0x2621775e
sub eax, 0x25dfe37b
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x50679
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0xcbe58671
add ecx, 0x341ac27e
xor esi, esi
add esi, eax
mov edx, 0x24b92ab0
sub edx, 0x24709cb0
add edx, dword [ebp - 0x2c]
mov edi, 0xc1e9fa36
sub edi, 0x5929c300
sub dword [ebp - 8], 0xc220d3cc
mov ebx, dword [edx]
mov dword [ebp - 0x14], 0x36308007
sub ebx, edi
xor dword [ebp - 0xc], edi
mov dword [esi], ebx
xor dword [ebp - 0x20], ecx
add esi, 0x4e4c39ab
add esi, 0xb1b3c659
add edx, 4
loop 0x41943f
add eax, 0x20e04a5
sub eax, 0x20cee16
mov ebx, eax
add eax, 0x674060a4
add eax, 0x98bf9f61
mov ecx, 0x4616b656
sub ecx, 0x45d6b656
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x43a85e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x43a86d
pop dword [ebp - 0x44]
mov eax, 0xf2bd7aac
add eax, 0xd862dc1
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x539fe
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x757a1331
add ecx, 0x8a863f89
xor edx, edx
add edx, eax
mov edi, 0x476e00
add edi, dword [ebp - 0x44]
mov esi, 0x26fe2ce4
sub dword [ebp - 0x20], esi
mov ebx, dword [edi]
xor dword [ebp - 0x28], 0x16b8af08
xor ebx, esi
xor dword [ebp - 0xc], 0x357b1188
mov dword [edx], ebx
add dword [ebp - 0x24], 0x63818278
add edx, 4
add edi, 0xadc8721d
add edi, 0x52378de7
loop 0x43a8bd
add eax, 0x13dbb
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xfc3a2fdd
add ecx, 0x405d023
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x43fbad
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5e8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fbf0
push str.SystemFunction040
push dword [0x46b5e8]
call edi
push str.SystemFunction041
push dword [0x46b5e8]
mov dword [0x46b5f0], eax
call edi
mov dword [0x46b5f4], eax
jmp 0x43fbf5
mov eax, dword [0x46b5f4]
cmp dword [0x46b5f0], 0
je 0x43fc06
test eax, eax
jne 0x43fcad
push 0x46b5ec
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fcb7
push str.CryptProtectMemory
push dword [0x46b5ec]
call edi
cmp dword [0x46b5f0], 0
mov dword [0x46b5f8], eax
jne 0x43fc6b
test eax, eax
jne 0x43fc6b
call dword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x28
push str.cryputil.cpp
call fcn.004037d3
jmp 0x43fcb7
push str.CryptUnprotectMemory
push dword [0x46b5ec]
call edi
cmp dword [0x46b5f4], 0
mov dword [0x46b5fc], eax
jne 0x43fcad
test eax, eax
jne 0x43fcad
call dword [sym.imp.kernel32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
push esi
push 0x2d
jmp 0x43fc5f
mov dword [0x46b600], 1
pop edi
mov eax, esi
pop esi
ret