joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6361411f
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0x130
mov eax, dword [0x6363a530]
push ebx
push esi
mov esi, dword [ebp + 0xb8]
xor ebx, ebx
xor eax, ebp
push ebx
lea ecx, [ebp - 0x74]
mov dword [ebp + 0xac], eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x5c], 0xf
call fcn.63603692
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x636141cb
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push str.Startup
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x103
mov byte [ebp - 0x58], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x74]
call fcn.6360c36e
cmp byte [ebp + 0xbc], bl
je 0x636141c2
push str..lnk
lea ecx, [ebp - 0x74]
call fcn.6360bd11
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
call fcn.6360c348
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.636044f0
mov ecx, dword [ebp + 0xac]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.6361d41e
add ebp, 0xb0
leave
ret

Function at 0x636141fa
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xb0]
sub esp, 0x130
mov eax, dword [0x6363a530]
push ebx
push esi
mov esi, dword [ebp + 0xb8]
xor ebx, ebx
xor eax, ebp
push ebx
lea ecx, [ebp - 0x74]
mov dword [ebp + 0xac], eax
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x5c], 0xf
call fcn.63603692
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x636142a6
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push str.Common_Startup
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 0x103
mov byte [ebp - 0x58], bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x74]
call fcn.6360c36e
cmp byte [ebp + 0xbc], bl
je 0x6361429d
push str..lnk
lea ecx, [ebp - 0x74]
call fcn.6360bd11
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
call fcn.6360c348
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.636044f0
mov ecx, dword [ebp + 0xac]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.6361d41e
add ebp, 0xb0
leave
ret
Function at 0x636142d5
Capabilities:
Enumerate processes
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xcf0]
sub esp, 0xd70
mov eax, dword [0x6363a530]
push ebx
xor eax, ebp
mov dword [ebp + 0xcec], eax
mov eax, dword [ebp + 0xd14]
push esi
xor ebx, ebx
push ebx
lea ecx, [ebp + 0xd0]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp + 0xe8], 0xf
call fcn.63603692
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, ebx
jne 0x6361432b
xor esi, esi
jmp 0x6361443e
push 0x400
lea eax, [ebp + 0x8ec]
push eax
mov byte [ebp + 0x8ec], bl
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp + 0x8ec]
push eax
lea eax, [ebp + 0xec]
push str._spsapi.dll
push eax
call fcn.6361dd0b
add esp, 0xc
lea eax, [ebp + 0xec]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x5c], eax
je 0x63614381
push str.GetModuleFileNameExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x60], eax
push edi
lea eax, [ebp - 0x58]
push eax
push esi
mov dword [ebp - 0x58], 0x128
call sub.KERNEL32.dll_Process32First
mov edi, eax
lea eax, [ebp + 0xcf8]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.6361aa82
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0xcf8]
call fcn.6360b8e3
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.636044f0
cmp edi, ebx
je 0x63614426
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0xd0]
call fcn.6360c36e
lea eax, [ebp + 0xd0]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.6361aa82
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0xd0]
call fcn.6360b8e3
push ebx
push 1
lea ecx, [ebp - 0x80]
call fcn.636044f0
push ebx
lea eax, [ebp + 0xcf8]
push eax
lea ecx, [ebp + 0xd0]
call fcn.63612888
cmp eax, 0xffffffff
jne 0x63614473
lea eax, [ebp - 0x58]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x636143c5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x5c], ebx
je 0x6361443b
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
pop edi
push ebx
push 1
lea ecx, [ebp + 0xd0]
call fcn.636044f0
push ebx
push 1
lea ecx, [ebp + 0xcf8]
call fcn.636044f0
mov ecx, dword [ebp + 0xcec]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.6361d41e
add ebp, 0xcf0
leave
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp dword [ebp - 0x60], ebx
je 0x636144c0
push dword [ebp - 0x50]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x636144c0
push 0x400
lea eax, [ebp + 0x4ec]
push eax
push ebx
push edi
call dword [ebp - 0x60]
test eax, eax
je 0x636144bd
lea eax, [ebp + 0x4ec]
push eax
lea ecx, [ebp + 0xd0]
call fcn.6360c36e
push edi
call esi
mov ecx, dword [ebp - 0x64]
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0xd0]
push eax
call fcn.6360b8e3
cmp dword [ebp - 0x5c], ebx
je 0x636144e0
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
inc esi
jmp 0x6361443d
Function at 0x636144e8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x6363a530]
push esi
mov esi, dword [ebp + 0x3a8]
xor eax, ebp
push 0
lea ecx, [ebp - 0x80]
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x68], 0xf
call fcn.63603692
push 0x6363cef0
lea eax, [ebp - 0x64]
push str._sjfCacheMgr.exe
push eax
call fcn.6361dd0b
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6361454c
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x80]
call fcn.6360c36e
lea eax, [ebp - 0x80]
push eax
mov ecx, esi
call fcn.6360c348
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.636044f0
mov ecx, dword [ebp + 0x39c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.6361d41e
add ebp, 0x3a0
leave
ret

Function at 0x6361588f
Capabilities:
Get graphical window text

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x6363a530]
and dword [ebp - 0x78], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetClassNameA]
xor eax, ebp
mov esi, 0x104
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp + 0x90], eax
mov eax, dword [ebp + 0x9c]
push ecx
push eax
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x74], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.ToolbarWindow32
lea eax, [ebp - 0x74]
push eax
call ebx
test eax, eax
jne 0x63615991
push dword [ebp - 0x7c]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
mov dword [ebp - 0x80], eax
je 0x63615991
push esi
lea ecx, [ebp - 0x74]
push ecx
push eax
call edi
test eax, eax
je 0x63615991
push str.Address_Band_Root
lea eax, [ebp - 0x74]
push eax
call ebx
test eax, eax
jne 0x6361594c
cmp dword [0x6363e5f4], 8
jne 0x63615943
push esi
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x63631a08
lea eax, [ebp - 0x74]
push eax
call ebx
test eax, eax
jne 0x63615991
mov dword [ebp - 0x78], 1
jmp 0x63615991
push str.ComboBoxEx32
lea eax, [ebp - 0x74]
push eax
call ebx
test eax, eax
jne 0x6361597b
push dword [ebp - 0x80]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x63615991
push esi
lea ecx, [ebp - 0x74]
push ecx
push eax
call edi
test eax, eax
je 0x63615991
push str.ReBarWindow32
jmp 0x63615939
push str.Search_Control
lea eax, [ebp - 0x74]
push eax
call ebx
test eax, eax
jne 0x63615991
mov dword [ebp - 0x78], 2
mov ecx, dword [ebp + 0x90]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6361d41e
add ebp, 0x94
leave
ret
Function at 0x6361698e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x6363a530]
push esi
mov esi, ecx
xor eax, ebp
xor ecx, ecx
cmp dword [0x6363e5f8], ecx
mov dword [ebp - 4], eax
je 0x63616a25
cmp dword [0x6363e5f4], 8
jl 0x63616a25
mov eax, dword [0x6363d108]
cmp eax, ecx
je 0x63616a9c
mov ecx, dword [esi + 0x30]
mov dword [eax + 8], ecx
cmp dword [esi + 0x90], 0x10
jb 0x636169d8
mov eax, dword [esi + 0x7c]
jmp 0x636169db
lea eax, [esi + 0x7c]
push eax
mov eax, dword [0x6363d108]
add eax, 0xc
push eax
call fcn.6361dd70
cmp dword [esi + 0x74], 0x10
pop ecx
pop ecx
jb 0x636169f7
mov esi, dword [esi + 0x60]
jmp 0x636169fa
add esi, 0x60
mov eax, dword [0x6363d108]
add eax, 0x40c
push esi
push eax
call fcn.6361dd70
mov eax, dword [0x6363d108]
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov eax, dword [0x6363d108]
mov dword [eax], 1
jmp 0x63616a9c
cmp dword [ebp + 8], ecx
je 0x63616a84
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x30]
mov byte [ebp - 0x404], cl
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x404]
push eax
lea ecx, [esi + 0x78]
call fcn.636128ab
test eax, eax
jne 0x63616a9c
cmp dword [esi + 0x74], 0x10
jb 0x63616a63
mov eax, dword [esi + 0x60]
jmp 0x63616a66
lea eax, [esi + 0x60]
push eax
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [0x6363e5f4], 8
jl 0x63616a9c
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x63616a9c
cmp dword [esi + 0x74], 0x10
jb 0x63616a8f
mov eax, dword [esi + 0x60]
jmp 0x63616a92
lea eax, [esi + 0x60]
push eax
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.6361d41e
leave
ret 4
Function at 0x63619ba1
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x6363e188
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
xor ebx, ebx
cmp dword [0x6363a318], ebx
je 0x63619c17
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
mov esi, 0x6363ee14
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.63616630
mov eax, dword [eax]
cmp eax, dword [0x6363ee18]
je 0x63619beb
inc dword [eax + 0x14]
jmp 0x63619c17
push ebx
push dword [0x6363f390]
push 0x63618429
push 0xd
call edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.63619a4f
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
xor ecx, ecx
inc ecx
mov dword [eax + 4], ecx
cmp dword [0x6363a320], ebx
je 0x63619ce2
cmp dword [0x6363d10c], ebx
jne 0x63619ce2
cmp dword [0x6363e5f8], ebx
je 0x63619c4c
cmp dword [0x6363e5f4], 8
jl 0x63619c4c
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], ebx
lea eax, [ebp - 8]
jmp 0x63619c53
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
mov esi, 0x6363ee2c
mov ecx, esi
push eax
call fcn.63616630
mov eax, dword [eax]
cmp eax, dword [0x6363ee30]
je 0x63619c6f
inc dword [eax + 0x14]
jmp 0x63619ce2
cmp dword [0x6363e5f8], ebx
je 0x63619cbc
cmp dword [0x6363e5f4], 8
jl 0x63619cbc
push ebx
push dword [0x6363f390]
push 0x63618bab
push 2
call edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.63619a4f
mov ecx, dword [ebp - 0x10]
push ebx
mov dword [eax], ecx
push ebx
xor ecx, ecx
push ebx
inc ecx
push 0x85
mov dword [eax + 4], ecx
call dword [sym.imp.USER32.dll_keybd_event]
jmp 0x63619ce2
push dword [ebp + 8]
push ebx
push 0x63618bab
push 2
call edi
mov dword [ebp - 0x10], eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.63619a4f
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
xor ecx, ecx
inc ecx
mov dword [eax + 4], ecx
cmp dword [0x6363a31c], ebx
je 0x63619da3
cmp dword [0x6363e5f8], ebx
je 0x63619d57
cmp dword [0x6363e5f4], 8
jl 0x63619d57
cmp dword [0x6363d10c], ebx
jne 0x63619d57
mov eax, dword [0x6363d108]
cmp eax, ebx
je 0x63619da3
push 0x32
pop esi
jmp 0x63619d2d
mov ecx, esi
dec esi
test ecx, ecx
jle 0x63619d35
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x6363d108]
cmp dword [eax + 0x1048], ebx
jne 0x63619d19
cmp dword [eax + 0x1048], ebx
jne 0x63619da3
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x104c], ecx
mov eax, dword [0x6363d108]
mov dword [eax + 0x1048], 1
jmp 0x63619da3
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
mov esi, 0x6363ee20
push eax
mov ecx, esi
call fcn.63616630
mov eax, dword [eax]
cmp eax, dword [0x6363ee24]
je 0x63619d7a
inc dword [eax + 0x14]
jmp 0x63619da3
push dword [ebp + 8]
mov dword [ebp - 0xc], 1
push ebx
push 0x63618860
push 7
call edi
mov edi, eax
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.63619a4f
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
mov dword [eax + 4], ecx
push 0x6363e188
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x6361a8f2
Capabilities:
Query service configuration

Disassembly:
push ebp
mov eax, 0x20b4
lea ebp, [esp - 0x2034]
call fcn.6361d3b0
mov eax, dword [0x6363a530]
push ebx
mov ebx, dword [ebp + 0x203c]
push esi
mov esi, dword [ebp + 0x2040]
push edi
mov edi, VariantClear
push edi
push 0
xor eax, ebp
push 0
mov dword [ebp + 0x2030], eax
mov dword [ebp - 0x74], 1
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
mov dword [ebp - 0x7c], eax
je 0x6361a9fa
push edi
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
test eax, eax
mov dword [ebp - 0x78], eax
je 0x6361a9d0
push dword [esi]
push ebx
push str.Change_Service_Config__s____d.
call fcn.6361fdce
mov edi, 0x1fa0
push edi
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.6361d770
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
test eax, eax
je 0x6361a9a3
mov eax, dword [ebp - 0x6c]
and dword [ebp - 0x74], 0
push eax
push ebx
push str._n_s____d_change_service_succeed._n
mov dword [esi], eax
call fcn.6361fdce
add esp, 0xc
jmp 0x6361a9c5
lea eax, [ebp + 0x1f30]
push pe_nt_image_headers32
push eax
call fcn.6361a88a
push eax
push dword [esi]
push ebx
push str._n_s____d_failed_to_change_service:__s_n
call fcn.6361fdce
add esp, 0x18
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x6361a9ef
lea eax, [ebp + 0x1f30]
push pe_nt_image_headers32
push eax
call fcn.6361a88a
push eax
push str.OpenService_failed____s_n
call fcn.6361fdce
add esp, 0x10
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x6361aa19
lea eax, [ebp + 0x1f30]
push pe_nt_image_headers32
push eax
call fcn.6361a88a
push eax
push str.OpenSCManager_failed____s_n
call fcn.6361fdce
add esp, 0x10
mov ecx, dword [ebp + 0x2030]
mov eax, dword [ebp - 0x74]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6361d41e
add ebp, 0x2034
leave
ret

Function at 0x6361adf0
Capabilities:
Hash data with md5

Disassembly:
mov eax, ecx
xor ecx, ecx
mov dword [eax], 0x63631c24
mov dword [eax + 8], ecx
mov dword [eax + 4], ecx
mov dword [eax + 0xc], 0x67452301
mov dword [eax + 0x10], 0xefcdab89
mov dword [eax + 0x14], 0x98badcfe
mov dword [eax + 0x18], 0x10325476
ret
Function at 0x6361ae40
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6362e8bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
mov eax, dword [0x6363a530]
mov edx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
mov dword [esp + 0xf8], eax
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
xor eax, eax
mov ecx, 0x32
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
movzx eax, byte [edx + 0xf]
movzx ecx, byte [edx + 0xe]
push eax
movzx eax, byte [edx + 0xd]
push ecx
movzx ecx, byte [edx + 0xc]
push eax
movzx eax, byte [edx + 0xb]
push ecx
movzx ecx, byte [edx + 0xa]
push eax
movzx eax, byte [edx + 9]
push ecx
movzx ecx, byte [edx + 8]
push eax
movzx eax, byte [edx + 7]
push ecx
movzx ecx, byte [edx + 6]
push eax
movzx eax, byte [edx + 5]
push ecx
movzx ecx, byte [edx + 4]
push eax
movzx eax, byte [edx + 3]
push ecx
movzx ecx, byte [edx + 2]
push eax
movzx eax, byte [edx + 1]
push ecx
movzx ecx, byte [edx]
push eax
push ecx
lea edx, [esp + 0x70]
push 0x63631c28
push edx
mov dword [esp + 0x154], ebx
call fcn.6361dd0b
mov al, byte [ebp + 0x10]
add esp, 0x48
cmp al, bl
lea eax, [esp + 0x30]
je 0x6361af2d
push eax
call fcn.636201b6
mov ecx, eax
add esp, 4
lea edi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x6361af20
sub ecx, edi
push ecx
push eax
jmp 0x6361af3f
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x6361af30
sub eax, edx
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call fcn.6360b972
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x1c]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.6360b8e3
cmp dword [esp + 0x2c], 0x10
jb 0x6361af78
mov eax, dword [esp + 0x18]
push eax
call fcn.6361d7d0
add esp, 4
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xfc]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.6361d41e
mov esp, ebp
pop ebp
ret
Function at 0x6361afe0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, 0x6363a3ea
mov edi, 0x6363a3ee
mov ebp, 0x6363a3f2
sub esi, ecx
sub edi, ecx
mov edx, 0x6363a3e8
lea eax, [ecx + 2]
sub ebp, ecx
mov cl, byte [edx + 3]
xor byte [eax - 2], cl
mov cl, byte [edx + 2]
xor byte [eax - 1], cl
mov ecx, dword [edx]
mov bl, byte [eax]
sar ecx, 8
xor bl, cl
mov byte [eax], bl
mov cl, byte [edx]
xor byte [eax + 1], cl
mov cl, byte [esi + eax + 3]
xor byte [eax + 2], cl
mov cl, byte [esi + eax + 2]
xor byte [eax + 3], cl
mov ecx, dword [esi + eax]
mov bl, byte [eax + 4]
sar ecx, 8
xor bl, cl
mov byte [eax + 4], bl
mov cl, byte [esi + eax]
xor byte [eax + 5], cl
mov cl, byte [edi + eax + 3]
xor byte [eax + 6], cl
mov cl, byte [edi + eax + 2]
xor byte [eax + 7], cl
mov ecx, dword [edi + eax]
mov bl, byte [eax + 8]
sar ecx, 8
xor bl, cl
mov byte [eax + 8], bl
mov cl, byte [edi + eax]
xor byte [eax + 9], cl
mov cl, byte [eax + ebp + 3]
xor byte [eax + 0xa], cl
mov cl, byte [eax + ebp + 2]
xor byte [eax + 0xb], cl
mov ecx, dword [eax + ebp]
mov bl, byte [eax + 0xc]
sar ecx, 8
xor bl, cl
mov byte [eax + 0xc], bl
mov cl, byte [eax + ebp]
xor byte [eax + 0xd], cl
add edx, 0x10
add eax, 0x10
cmp edx, 0x6363a428
jl 0x6361b001
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x6361bcc0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x18]
xor eax, eax
test edi, edi
mov dword [esi], eax
jbe 0x6361bdbc
mov ebx, dword [esp + 0x14]
lea esp, [esp]
movsx ecx, byte [eax + ebx]
mov cl, byte [ecx + 0x63631c70]
inc eax
cmp eax, edi
jae 0x6361bcf6
cmp cl, 0xff
je 0x6361bce0
jmp 0x6361bd00
cmp cl, 0xff
je 0x6361bdbc
nop
movsx edx, byte [eax + ebx]
mov dl, byte [edx + 0x63631c70]
inc eax
cmp eax, edi
jae 0x6361bd16
cmp dl, 0xff
je 0x6361bd00
jmp 0x6361bd1f
cmp dl, 0xff
je 0x6361bdbc
mov ebp, dword [esp + 0x1c]
mov bl, dl
sar bl, 4
shl cl, 2
and bl, 3
or bl, cl
mov ecx, dword [esi]
mov byte [ecx + ebp], bl
mov ecx, dword [esi]
mov ebx, dword [esp + 0x14]
inc ecx
mov dword [esi], ecx
mov ebp, ecx
mov cl, byte [eax + ebx]
inc eax
cmp cl, 0x3d
je 0x6361bdbc
cmp eax, edi
movsx ecx, cl
mov cl, byte [ecx + 0x63631c70]
jae 0x6361bd5d
cmp cl, 0xff
je 0x6361bd40
jmp 0x6361bd62
cmp cl, 0xff
je 0x6361bdbc
mov bl, cl
sar bl, 2
shl dl, 4
and bl, 0xf
or bl, dl
mov edx, dword [esp + 0x1c]
mov byte [edx + ebp], bl
mov edx, dword [esi]
mov ebx, dword [esp + 0x14]
inc edx
mov dword [esi], edx
mov ebp, edx
mov dl, byte [eax + ebx]
inc eax
cmp dl, 0x3d
je 0x6361bdbc
cmp eax, edi
movsx edx, dl
mov dl, byte [edx + 0x63631c70]
jae 0x6361bd9e
cmp dl, 0xff
je 0x6361bd81
jmp 0x6361bda3
cmp dl, 0xff
je 0x6361bdbc
shl cl, 6
or cl, dl
mov edx, dword [esp + 0x1c]
mov byte [edx + ebp], cl
mov edx, dword [esi]
inc edx
cmp eax, edi
mov dword [esi], edx
jb 0x6361bce0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret
Function at 0x6361d169
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.6361d3b0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x6361d204
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x6363f00c]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x6361d204
cmp eax, 1
je 0x6361d225
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x6361d204
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x6361d1d1
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x6361d200
xor eax, eax
inc eax
jmp 0x6361d244
cmp edi, eax
jae 0x6361d208
xor eax, eax
jmp 0x6361d244
cmp eax, esi
jae 0x6361d20f
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x6363f00c]
jmp 0x6361d228
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret