joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5307c8
Capabilities:
Allocate or change rwx memory
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x53096a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [esi + 5], eax
mov byte [esi], 0
xor ecx, ecx
mov edx, 6
mov eax, ebx
call fcn.005306f0
test al, al
je 0x530834
mov eax, dword [0x699cf4]
cmp byte [eax], 0
je 0x530825
mov ecx, 0x3ef8
mov edx, 0x530984
mov eax, 0x530a28
call fcn.00405a68
push 0x530a6c
call sub.kernel32.dll_OutputDebugStringW
jmp 0x53094f
mov eax, ebx
call fcn.00530368
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 5
push esi
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_ReadProcessMemory
test eax, eax
je 0x53094f
mov byte [ebp - 0xd], 0xe9
sub edi, ebx
sub edi, 5
mov dword [ebp - 0xc], edi
movzx eax, byte [esi]
cmp al, byte [ebp - 0xd]
jne 0x530904
push 0x530a94
call sub.kernel32.dll_OutputDebugStringW
movzx eax, byte [esi]
mov byte [ebp - 0xd], al
mov byte [esi], 0
xor edi, edi
xor eax, eax
mov dword [ebp - 0x14], eax
cmp byte [ebp - 0xd], 0xe9
jne 0x5308ae
mov edi, ebx
add edi, 5
add edi, dword [esi + 1]
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push edi
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_ReadProcessMemory
lea eax, [ebp - 0x1c]
push eax
movzx eax, byte [ebp - 0xd]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x34]
mov ecx, 2
mov eax, 0x530ad0
call fcn.004732a0
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x530b08
call fcn.00406f8c
mov eax, dword [ebp - 0x18]
mov ecx, 0x3f1f
mov edx, 0x530984
call fcn.00405a68
jmp 0x53094f
mov dword [esi + 5], ebx
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
lea eax, [ebp - 4]
push eax
push 5
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WriteProcessMemory
mov esi, eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
test esi, esi
je 0x53094f
push 5
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x530971
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00406ba0
ret
Function at 0x530b44
Capabilities:
Allocate or change rwx memory
Print debug messages

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
cmp byte [esi], 0
je 0x530bf0
test ebx, ebx
je 0x530bf0
xor ecx, ecx
mov edx, 6
mov eax, ebx
call fcn.005306f0
test al, al
je 0x530b9b
mov eax, dword [0x699cf4]
cmp byte [eax], 0
je 0x530b8f
mov ecx, 0x3f3e
mov edx, 0x530c04
mov eax, 0x530ca8
call fcn.00405a68
push 0x530cec
call sub.kernel32.dll_OutputDebugStringW
jmp 0x530bf0
mov eax, ebx
call fcn.00530368
mov ebx, eax
test ebx, ebx
je 0x530bf0
lea eax, [esp + 4]
push eax
push 0x40
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
push esp
push 5
push esi
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WriteProcessMemory
mov edi, eax
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 8]
push eax
push 5
push ebx
call sub.kernel32.dll_VirtualProtect
test edi, edi
je 0x530bed
push 5
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
mov byte [esi], 0
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x5364ec
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53655b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0x14]
mov ecx, 1
mov eax, 0x536574
call fcn.004732a0
mov eax, dword [ebp - 4]
call fcn.00406c34
push eax
call sub.kernel32.dll_OutputDebugStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x536562
lea eax, [ebp - 4]
call fcn.00406b98
ret

Function at 0x53667c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5366d9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x5366f0
call fcn.004732a0
mov eax, dword [ebp - 4]
call fcn.00406c34
push eax
call sub.kernel32.dll_OutputDebugStringW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5366e0
lea eax, [ebp - 4]
call fcn.00406b98
ret
Function at 0x5367a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x536a15
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6a1650], 0
je 0x5369fa
mov ebx, dword [0x6a1650]
call fcn.00404a2c
mov eax, ebx
call fcn.00404d4c
or edx, 0xffffffff
call fcn.00404ad8
xor eax, eax
push ebp
push 0x5369f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6a1650]
mov edx, dword [eax + 0x30]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x53690a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x6a1650]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [0x6a1650]
mov edx, dword [0x51bb78]
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], 0x52c370
mov eax, dword [0x6a1650]
call fcn.005354d4
mov eax, dword [0x6a1650]
mov edx, dword [ebp - 8]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x34], edx
mov eax, dword [0x6a1650]
mov ebx, dword [eax + 0x38]
cmp byte [0x6a168c], 0
je 0x5368aa
test ebx, ebx
je 0x5368aa
xor edi, edi
test ebx, ebx
je 0x5368aa
cmp dword [ebx + 4], 0xfffffffe
jne 0x5368a3
inc edi
push 0x536a30
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.004712c8
push dword [ebp - 0x14]
push 0x536a70
push dword [ebx]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040705c
mov eax, dword [ebp - 0x10]
call fcn.00406c34
push eax
call sub.kernel32.dll_OutputDebugStringW
mov ebx, dword [ebx + 0x10]
test ebx, ebx
jne 0x536868
mov eax, dword [0x6a1650]
mov ebx, dword [eax + 0x38]
test ebx, ebx
je 0x5368e1
mov esi, dword [ebx + 0x10]
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 4], 0xfffffffe
mov dword [ebx + 8], 0xe6
mov edx, dword [ebx + 0xc]
mov ecx, ebx
mov eax, dword [0x6a1650]
call fcn.00535790
mov ebx, esi
test ebx, ebx
jne 0x5368b6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x536911
mov eax, dword [0x6a1650]
xor edx, edx
mov dword [eax + 0x38], edx
mov eax, dword [0x6a1650]
mov edx, dword [ebp - 8]
mov dword [eax + 0x30], edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x34], edx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x536a1c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406ba0
ret
Function at 0x53d970
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
push ebx
xor eax, eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x248], eax
xor eax, eax
push ebp
push 0x53daf9
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov eax, 2
call fcn.005100a8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x53dadb
xor eax, eax
push ebp
push 0x53dad4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x240]
xor ecx, ecx
mov edx, 0x22c
call fcn.00403bd8
mov dword [ebp - 0x240], 0x22c
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 8]
call fcn.005100c8
mov ebx, eax
jmp 0x53dab5
lea eax, [ebp - 0x248]
lea edx, [ebp - 0x21c]
mov ecx, 0x104
call fcn.00406db8
mov eax, dword [ebp - 0x248]
lea edx, [ebp - 0x244]
call fcn.00472234
mov edx, dword [ebp - 0x244]
mov eax, 0x53db14
call fcn.00470778
test al, al
je 0x53daa5
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x238]
push eax
call sub.Kernel32.dll_ProcessIdToSessionId
test eax, eax
je 0x53daa5
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x69083c]
push eax
call sub.wtsapi32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x53daa5
xor eax, eax
push ebp
push 0x53da9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
cmp byte [eax], 0
jne 0x53da87
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
call fcn.0040541c
call fcn.0040541c
jmp 0x53dadb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53daa5
mov eax, dword [ebp - 0x10]
push eax
call sub.wtsapi32.dll_WTSFreeMemory
ret
lea edx, [ebp - 0x240]
mov eax, dword [ebp - 8]
call fcn.005100e8
mov ebx, eax
test ebx, ebx
jne 0x53d9f3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53dadb
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53db00
lea eax, [ebp - 0x248]
mov edx, 2
call fcn.00406ba0
ret

Function at 0x53db30
Capabilities:
Get session information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
cmp dword [0x690840], 0
je 0x53db4a
call dword [0x690840]
mov dword [ebp - 4], eax
jmp 0x53db4f
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x53dbbd
cmp dword [ebp - 4], 0xffffffff
je 0x53dbbd
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [0x69083c]
push eax
call sub.wtsapi32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x53dbb8
xor eax, eax
push ebp
push 0x53dbb1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
cmp byte [eax], 0
jne 0x53db95
call fcn.0040541c
jmp 0x53dbd1
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53dbbd
mov eax, dword [ebp - 8]
push eax
call sub.wtsapi32.dll_WTSFreeMemory
ret
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x53dbc9
cmp dword [ebp - 4], 0xffffffff
jne 0x53dbd1
call fcn.0053d970
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x53de2c
Capabilities:
Get session information
Get session user name

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov eax, ebx
xor edx, edx
call fcn.00406ba8
cmp byte [0x6e1698], 0
je 0x53de63
xor eax, eax
call fcn.0053ddb4
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jbe 0x53ded2
mov edx, ebx
mov eax, dword [esp + 4]
call fcn.0053def4
jmp 0x53ded2
lea eax, [esp + 4]
push eax
lea eax, [esp + 4]
push eax
push 5
call fcn.0053db30
push eax
mov eax, dword [0x69083c]
push eax
call sub.wtsapi32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x53deb0
mov eax, ebx
mov edx, dword [esp]
call fcn.00406d64
mov eax, dword [ebx]
mov edx, 0x53dee4
call fcn.00470778
test al, al
je 0x53dea7
mov eax, ebx
xor edx, edx
call fcn.00406ba8
mov eax, dword [esp]
push eax
call sub.wtsapi32.dll_WTSFreeMemory
cmp dword [ebx], 0
jne 0x53ded2
xor eax, eax
call fcn.0053ddb4
mov dword [esp + 4], eax
cmp dword [esp + 4], 0
jbe 0x53ded2
mov edx, ebx
mov eax, dword [esp + 4]
call fcn.0053def4
pop ecx
pop edx
pop ebx
ret

Function at 0x53ed08
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov byte [ebp - 1], 0
xor eax, eax
push ebp
push 0x53ed54
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x53ed68
call sub.user32.dll_FindWindowW
mov ebx, eax
test ebx, ebx
je 0x53ed46
push 0xffffffffffffffec
push ebx
call sub.user32.dll_GetWindowLongW
test eax, 0x400000
setne byte [ebp - 1]
jmp 0x53ed4a
mov byte [ebp - 1], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53ed5e
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x53ee44
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffebc
push ebx
xor edx, edx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x53efd9
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 4]
xor eax, eax
call fcn.00514888
mov edx, 0x53eff4
mov eax, dword [ebp - 4]
call fcn.00470778
test al, al
je 0x53ee85
mov bl, 2
jmp 0x53efc3
mov edx, 0x53f018
mov eax, dword [ebp - 4]
call fcn.00470778
test al, al
je 0x53ee9d
mov bl, 3
jmp 0x53efc3
mov edx, 0x53f040
mov eax, dword [ebp - 4]
call fcn.00470778
test al, al
je 0x53eeb5
mov bl, 5
jmp 0x53efc3
mov edx, 0x53f064
mov eax, dword [ebp - 4]
call fcn.00470778
test al, al
je 0x53eecd
mov bl, 4
jmp 0x53efc3
mov edx, 0x53f098
mov eax, dword [ebp - 4]
call fcn.00470778
test al, al
je 0x53eee5
mov bl, 6
jmp 0x53efc3
mov edx, 0x53f0c0
mov eax, dword [ebp - 4]
call fcn.00470778
test al, al
je 0x53eefd
mov bl, 7
jmp 0x53efc3
mov edx, 0x53f0e0
mov eax, dword [ebp - 4]
call fcn.00470778
test al, al
je 0x53ef9f
lea eax, [ebp - 0x120]
xor ecx, ecx
mov edx, 0x11c
call fcn.00403bd8
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call sub.kernel32.dll_GetVersionExW
lea eax, [ebp - 0x144]
xor ecx, ecx
mov edx, 0x24
call fcn.00403bd8
push 0x53f0f4
push 0x53f11c
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040a198
test eax, eax
je 0x53ef70
lea edx, [ebp - 0x144]
push edx
call eax
jmp 0x53ef7c
lea eax, [ebp - 0x144]
push eax
call sub.kernel32.dll_GetSystemInfo_1
cmp dword [ebp - 0x110], 2
jne 0x53efc3
cmp dword [ebp - 0x11c], 6
jne 0x53ef9b
cmp dword [ebp - 0x118], 3
jne 0x53ef9b
mov bl, 9
jmp 0x53efc3
mov bl, 8
jmp 0x53efc3
mov edx, 0x53f144
mov eax, dword [ebp - 4]
call fcn.00470778
test al, al
je 0x53efc3
mov eax, dword [0x699b04]
cmp dword [eax], 0x55f0
jl 0x53efc1
mov bl, 0xb
jmp 0x53efc3
mov bl, 0xa
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53efe0
lea eax, [ebp - 4]
call fcn.00406b98
ret
Function at 0x53f15c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x53f24b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00406ba8
mov dl, 1
mov eax, dword [0x48bccc]
call fcn.00492014
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x53f22e
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x53f204
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetCommandLineW_1
push eax
call sub.shell32.dll_CommandLineToArgvW
mov edi, eax
mov esi, edi
test edi, edi
je 0x53f1fa
mov ebx, dword [ebp - 8]
test ebx, ebx
jle 0x53f1e9
lea eax, [ebp - 0x10]
mov edx, dword [esi]
call fcn.00406d64
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
add esi, 4
dec ebx
jne 0x53f1ce
push edi
call sub.kernel32.dll_LocalFree
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53f218
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53f235
mov eax, dword [ebp - 0xc]
call fcn.00404490
ret
Function at 0x544350
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, ebx
xor edx, edx
call fcn.00406ba8
xor edx, edx
push ebp
push 0x5443a8
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push 0
push esi
lea edx, [ebp - 0x20e]
push edx
push eax
call sub.shell32.dll_SHGetSpecialFolderPathW
mov eax, ebx
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.00406db8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5443c6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54440c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x544514
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.00471f9c
cmp dword [ebp - 4], 0
je 0x544450
mov eax, dword [ebp - 4]
mov edx, 0x544530
call fcn.00407204
jne 0x544464
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov eax, dword [ebp - 0xc]
mov edx, 0x544540
call fcn.00406f8c
jmp 0x5444d3
xor eax, eax
push ebp
push 0x544498
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x65
mov eax, dword [ebp - 4]
call fcn.00471a8c
test al, al
jne 0x54448e
mov eax, dword [ebp - 4]
call fcn.00471ab0
dec ebx
jne 0x544477
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5444d3
mov ebx, dword [ebp - 0xc]
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
call fcn.00406c34
push eax
call sub.kernel32.dll_GetFileAttributesW
test al, 1
setne al
test al, al
je 0x5444fe
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
xor edx, edx
call fcn.00471bd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54451b
lea eax, [ebp - 4]
call fcn.00406b98
ret
Function at 0x5490a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x549217
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x94]
call fcn.00471a44
test al, al
je 0x5491f4
mov eax, ebx
call fcn.005489bc
lea eax, [ebp - 4]
mov edx, 0x549230
call fcn.00406bfc
cmp byte [ebx + 0x14], 0
je 0x5490ff
lea eax, [ebp - 4]
mov edx, 0x54925c
call fcn.00406f0c
cmp dword [ebx + 0x90], 0
je 0x549134
push 0x549278
push dword [ebx + 8]
push dword [ebp - 4]
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040705c
mov edx, dword [ebp - 0x44]
mov eax, dword [ebx + 0x94]
call dword [ebx + 0x90]
jmp 0x5491f4
cmp byte [ebx + 4], 3
jne 0x549179
push 0
push 0
push 0x549278
push dword [ebx + 8]
push dword [ebp - 4]
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.0040705c
mov eax, dword [ebp - 0x48]
call fcn.00406c34
push eax
mov eax, dword [ebx + 0x94]
call fcn.00406c34
push eax
push 0x54927c
push 0
call sub.shell32.dll_ShellExecuteW
jmp 0x5491f4
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403bd8
mov dword [ebp - 0x40], 0x3c
mov eax, dword [0x699f50]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x94]
call fcn.00406c34
mov dword [ebp - 0x30], eax
push 0x549278
push dword [ebx + 8]
push dword [ebp - 4]
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040705c
mov eax, dword [ebp - 0x4c]
call fcn.00406c34
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExW
cmp dword [ebx + 0x78], 0
je 0x5491f4
lea eax, [ebx + 0x78]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00404490
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54921e
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00406ba0
lea eax, [ebp - 4]
call fcn.00406b98
ret

Function at 0x54ef00
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0054fab8
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x54f9b4
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x40
jle 0x54f9f9
lea eax, [ebp - 0x60]
call fcn.0054ef00
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.0054ef28
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.0054effc
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x54f9fb
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x54fa24
movzx ebx, byte [esi]
xor bl, 0x36
mov byte [eax], bl
movzx ebx, byte [esi]
xor bl, 0x5c
mov byte [edx], bl
inc esi
jmp 0x54fa2a
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x54fa09
lea eax, [ebp - 0x60]
call fcn.0054ef00
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.0054ef28
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.0054f89c
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.0054effc
lea eax, [ebp - 0x60]
call fcn.0054ef00
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.0054ef28
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.0054ef28
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.0054effc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x55a0c8
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x55a0d1
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x55a297
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0055a42c
xor eax, eax
push ebp
push 0x55a268
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 8
je 0x55a121
call fcn.0040541c
jmp 0x55a26f
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 8
je 0x55a1f6
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x55a176
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x55a176
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0055a01c
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040705c
mov eax, dword [ebp - 0xc]
push eax
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x55a1b5
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0055a01c
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040705c
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
call fcn.00406c34
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x55a252
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0055a01c
push dword [ebp - 0x24]
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push ebx
push 0x55a2b4
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040705c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0055a03c
jmp 0x55a252
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 1
je 0x55a219
mov eax, dword [ebp - 4]
cmp word [eax + 0x3a], 0
je 0x55a219
push ebx
mov edi, dword [ebp - 4]
movzx ecx, byte [ebp - 5]
mov edx, esi
mov eax, dword [edi + 0x3c]
call dword [edi + 0x38]
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 4
je 0x55a22f
mov eax, ebx
call fcn.00406c34
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 4]
test byte [eax + 0x30], 2
je 0x55a252
lea eax, [ebp - 0x28]
mov ecx, 0x55a2b4
mov edx, ebx
call fcn.00406f8c
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0055a03c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55a26f
mov eax, dword [ebp - 4]
call fcn.0055a434
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55a29e
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00406ba0
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00406ba0
ret