joyce8/EMBER2024-capa huggingface dataset:
Function at 0x517a80
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
cmp eax, 0x13fa
je 0x517a9f
mov ecx, dword [esp + 0xc]
push ecx
push eax
mov ecx, esi
call fcn.0060a7b2
pop esi
ret 8
cmp dword [esi + 0x13ec], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push edi
mov edi, dword [esp + 0x14]
je 0x517bcb
cmp edi, 1
jne 0x517b02
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x517b02
call fcn.0041a8d0
test eax, eax
je 0x517b02
push 0
lea ecx, [esi + 0xb18]
call fcn.00405450
mov edx, dword [0x75f648]
mov eax, dword [esi + 0x20]
push 0x50040
push 0x678d88
push edx
push eax
call fcn.00473680
add esp, 0x10
mov eax, edi
pop edi
pop ebx
pop esi
ret 8
mov ecx, dword [0x75e284]
push 8
push 0x1436
push 0x111
push ecx
call ebx
mov ecx, dword [esi + 0x20]
mov dword [0x75e6b8], ecx
mov ecx, dword [esi + 0xc0]
cmp edi, 1
jne 0x517cbb
push edi
call fcn.0041e940
cmp dword [esi + 0x13ec], 0
je 0x517d0a
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 0xc0]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0
call fcn.00410660
test eax, eax
jne 0x517cc2
push eax
mov eax, dword [0x75e284]
push 0x1437
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [esi + 0xb1c]
push 0
push 0
push 0xf1
push ecx
call ebx
cmp dword [0x75dbac], 0
je 0x517c82
call fcn.00517300
test eax, eax
je 0x517c82
push 0x50041
push 0x678d88
cmp eax, edi
jne 0x517c35
mov edx, dword [0x75f600]
mov eax, dword [esi + 0x20]
push edx
push eax
jmp 0x517c40
mov edx, dword [0x75f06c]
mov eax, dword [esi + 0x20]
push 0x50004
push 0x678d88
push edx
push eax
call fcn.00473680
add esp, 0x10
cmp eax, 6
je 0x517b17
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x517d0a
cmp dword [eax + 0x1c], 0
je 0x517c1d
push 1
lea ecx, [esi + 0x910]
call fcn.00405450
pop edi
pop ebx
mov eax, 1
pop esi
ret 8
push 0
lea ecx, [esi + 0xb18]
call fcn.00405450
pop edi
pop ebx
mov eax, 1
pop esi
ret 8
mov ecx, dword [0x75f604]
mov edx, dword [esi + 0x20]
push ecx
push edx
call fcn.00473680
add esp, 0x10
cmp eax, 1
jne 0x517d0a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005f9a38
mov eax, dword [eax + 0x20]
push 1
push 0
push 0
push str.https:__www.internetdownloadmanager.com_register_new_faq_enableBFE.html
push 0x678dbc
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
pop edi
pop ebx
mov eax, 1
pop esi
ret 8
mov ecx, dword [esi + 0xc0]
push 0
call fcn.004118f0
test eax, eax
jne 0x517d0a
mov ecx, dword [0x75f5bc]
mov edx, dword [esi + 0x20]
push 0x50040
push 0x678d88
push ecx
push edx
call fcn.00473680
add esp, 0x10
pop edi
pop ebx
mov eax, 1
pop esi
ret 8
push 0
call fcn.0041e940
cmp dword [esi + 0x13ec], 0
je 0x517d0a
mov eax, dword [0x75e284]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0x1437
push 0x111
push eax
call edi
mov ecx, esi
call fcn.005176d0
push 0
mov ecx, esi
call fcn.0060a73a
mov ecx, dword [0x75e284]
push 0
push 0x146e
push 0x111
push ecx
call edi
pop edi
pop ebx
mov eax, 1
pop esi
ret 8
Function at 0x518b60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65a57b
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
xor eax, eax
mov word [ebp - 0x1c], ax
mov byte [ebp - 4], 1
mov eax, dword [0x75dc38]
cmp eax, ebx
jne 0x518bb6
mov eax, 0x75dc3c
push ebx
push eax
push str._sScheduler_
lea ecx, [ebp - 0x20]
call fcn.004021a0
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x518bcf
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x518c7b
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x518be9
lea eax, [ebp - 0x1c]
push 0x5c
add eax, 6
push eax
call fcn.00622700
add esp, 8
mov esi, eax
lea esp, [esp]
cmp esi, ebx
je 0x518c7b
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x518c0e
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402170
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
mov ecx, eax
jne 0x518c27
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x518c31
lea eax, [ebp - 0x1c]
mov edx, esi
sub edx, eax
sar edx, 1
xor eax, eax
mov word [ecx + edx*2], ax
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x518c47
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.004ab900
add esp, 8
test eax, eax
jne 0x518caa
mov eax, dword [ebp - 0x2c]
cmp eax, ebx
jne 0x518c60
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.004abae0
add esp, 8
test eax, eax
jne 0x518caa
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401210
mov eax, dword [ebp - 0x20]
cmp eax, ebx
jne 0x518c85
lea eax, [ebp - 0x1c]
push ebx
push eax
push 0x678ea8
lea ecx, [edi + 8]
call fcn.004021a0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.00401210
mov dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x518d0b
push 0x5c
add esi, 2
push esi
call fcn.00622700
add esp, 8
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401210
jmp 0x518c00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00620b8d
mov esp, ebp
pop ebp
ret 4
Function at 0x51c120
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x65e6c8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
call fcn.005f6b34
push 0x65b
mov ecx, esi
mov dword [esi + 0xe0], esi
mov dword [esi + 0xe4], 0x65b
call fcn.005f5a75
mov eax, dword [eax + 0x20]
mov dword [esi + 0xdc], eax
lea edi, [esi + 0xc8]
push 0x65c
mov ecx, esi
mov dword [edi + 8], esi
mov dword [edi + 0xc], 0x65c
call fcn.005f5a75
mov ecx, dword [eax + 0x20]
push esi
mov dword [edi + 4], ecx
call fcn.0045bf70
add esp, 4
cmp dword [0x75dd30], 0
je 0x51c1b4
push 0x124
push esi
mov ecx, 0x75dcf0
call fcn.004e6a60
mov eax, dword [0x75e6b8]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x51c1d9
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x51c1d9
mov edx, dword [0x75e6b8]
push 0
push edx
call ebx
push 0x6828e8
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x51c1ef
push 0
push eax
call ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.005f9a38
test eax, eax
je 0x51c202
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetParent]
push eax
call fcn.005f9a38
mov ecx, dword [esi + 0x94]
push 0x4000000
push 0
push 0x401
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
mov dword [esi + 0xe8], 0
call fcn.004024f0
mov dword [esp + 0x1c], 0
mov edx, dword [0x75f2e8]
push 0x14
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
mov ecx, edi
call fcn.00424420
mov edx, dword [0x75f2ec]
mov eax, dword [esi + 0x20]
push edx
push 1
push eax
call fcn.004245a0
mov ecx, dword [esi + 0x20]
add esp, 0xc
push 0
push 0xc8
push 2
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402560
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x51c520
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x65aa20
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerGrabberStsRecentProjects
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x51c634
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edi, [eax + 4]
lea ecx, [esp + 0x10]
call fcn.004024f0
mov dword [esp + 0x30], 0
push edi
lea edx, [esp + 0x14]
push 0x67942c
push edx
call fcn.00402f60
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push edx
push eax
mov dword [esp + 0x30], 4
call ebp
test eax, eax
jne 0x51c603
mov ecx, dword [0x75dc70]
test ecx, ecx
jle 0x51c603
mov edx, dword [0x75dc6c]
mov esi, dword [esp + 0x1c]
test eax, eax
jl 0x51c652
cmp eax, ecx
jge 0x51c652
cmp esi, dword [edx]
je 0x51c5f9
inc eax
add edx, 0xc
cmp eax, ecx
jl 0x51c5e3
jmp 0x51c603
mov ecx, dword [esp + 0x20]
push esi
call fcn.0051c460
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x51c62b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
dec edi
test edi, edi
jg 0x51c585
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x24
ret
call fcn.005f4f65
int3
Function at 0x51c660
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x65aa48
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerGrabberSts
push 0x80000001
call esi
test eax, eax
jne 0x51c76c
mov edx, dword [esp + 0x18]
push str.RecentProjects
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.RecentProjects
push edx
call esi
test eax, eax
jne 0x51c76c
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x51c758
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edi, [ebx + 4]
lea ecx, [esp + 0x14]
call fcn.004024f0
mov dword [esp + 0x2c], 0
inc esi
push esi
lea eax, [esp + 0x18]
push 0x67942c
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
add esp, 0xc
push 4
push edi
push 4
push 0
push ecx
push edx
call ebp
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402560
add edi, 4
cmp esi, dword [ebx + 0x14]
jl 0x51c707
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov dword [ecx], vtable.CRecentGrabberProjects.0
jmp 0x51c660
Function at 0x51c9f0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x65aa48
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareDownloadManagerGrabberSts
push 0x80000001
call esi
test eax, eax
jne 0x51c76c
mov edx, dword [esp + 0x18]
push str.RecentProjects
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.RecentProjects
push edx
call esi
test eax, eax
jne 0x51c76c
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x51c758
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edi, [ebx + 4]
lea ecx, [esp + 0x14]
call fcn.004024f0
mov dword [esp + 0x2c], 0
inc esi
push esi
lea eax, [esp + 0x18]
push 0x67942c
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
add esp, 0xc
push 4
push edi
push 4
push 0
push ecx
push edx
call ebp
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402560
add edi, 4
cmp esi, dword [ebx + 0x14]
jl 0x51c707
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov dword [ecx], vtable.CRecentGrabberProjects.0
jmp 0x51c660
Function at 0x51ca20
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x1c
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [0x75e6c8]
push edi
mov edi, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x10], edi
cmp ecx, ebx
jne 0x51ca64
push str.Advapi32.dll
call fcn.00447cb0
mov ecx, eax
add esp, 4
mov dword [0x75e6c8], ecx
cmp ecx, ebx
je 0x51cbbf
mov eax, dword [0x75e6cc]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x51ca87
push str.GetNamedSecurityInfoA
push ecx
call ebp
mov ecx, dword [0x75e6c8]
mov dword [0x75e6cc], eax
mov edx, dword [0x75e6d0]
cmp edx, ebx
jne 0x51caa6
push str.SetNamedSecurityInfoA
push ecx
call ebp
mov edx, eax
mov eax, dword [0x75e6cc]
mov dword [0x75e6d0], edx
cmp eax, ebx
je 0x51cbbe
cmp edx, ebx
je 0x51cbbe
lea ecx, [esi + 8]
add esi, 4
push esi
push ebx
push ecx
push ebx
push ebx
push 4
push 4
push edi
mov dword [esp + 0x38], ecx
call eax
test eax, eax
jne 0x51cbbe
mov eax, dword [0x75e6c8]
push str.AllocateAndInitializeSid
push eax
call ebp
mov edi, eax
cmp edi, ebx
je 0x51cbbe
mov ecx, dword [0x75e6c8]
push 0x6a4fe0
push ecx
call ebp
mov esi, eax
cmp esi, ebx
je 0x51cbbe
mov edx, dword [0x75e6c8]
push str.InitializeAcl
push edx
call ebp
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x51cbbe
mov eax, dword [0x75e6c8]
push str.AddAccessDeniedAce
push eax
call ebp
mov ebp, eax
cmp ebp, ebx
je 0x51cbbe
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], 1
call edi
mov eax, dword [esp + 0x10]
push eax
call esi
mov esi, eax
add esi, 0x10
push esi
call fcn.006231bf
add esp, 4
push 2
mov edi, eax
push esi
push edi
call dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push ecx
push 0x10000000
push 2
push edi
call ebp
mov edx, dword [esp + 0x14]
push ebx
push edi
push ebx
push ebx
push 4
push 4
push edx
call dword [0x75e6d0]
push edi
test eax, eax
je 0x51cbb0
call fcn.006220cc
jmp 0x51cbbb
call fcn.006220cc
mov eax, dword [esp + 0x1c]
mov dword [eax], ebx
add esp, 4
pop ebp
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00620b8d
add esp, 0x1c
ret 4
Function at 0x51cdf0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x1c
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebx
push eax
add ecx, 0xc
push 0x678ea8
push ecx
mov dword [esp + 0x18], eax
call fcn.00402f60
mov eax, dword [0x75e6c8]
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
jne 0x51ce4e
push str.Advapi32.dll
call fcn.00447cb0
add esp, 4
mov dword [0x75e6c8], eax
cmp eax, ebx
jne 0x51ce4e
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00620b8d
add esp, 0x1c
ret 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x75e6cc], ebx
jne 0x51ce6f
push str.GetNamedSecurityInfoA
push eax
call esi
mov dword [0x75e6cc], eax
mov eax, dword [0x75e6c8]
mov ecx, dword [0x75e6d0]
cmp ecx, ebx
jne 0x51ce8e
push str.SetNamedSecurityInfoA
push eax
call esi
mov ecx, eax
mov eax, dword [0x75e6c8]
mov dword [0x75e6d0], ecx
cmp dword [0x75e6cc], ebx
je 0x51cfb7
cmp ecx, ebx
je 0x51cfb7
push edi
push str.AllocateAndInitializeSid
push eax
call esi
mov edi, eax
cmp edi, ebx
je 0x51cedc
mov eax, dword [0x75e6c8]
push 0x6a4fe0
push eax
call esi
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x51cedc
mov ecx, dword [0x75e6c8]
push str.InitializeAcl
push ecx
call esi
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x51cef2
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00620b8d
add esp, 0x1c
ret 4
mov edx, dword [0x75e6c8]
push ebp
push str.AddAccessAllowedAce
push edx
call esi
mov ebp, eax
cmp ebp, ebx
jne 0x51cf1e
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00620b8d
add esp, 0x1c
ret 4
lea eax, [esp + 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 1
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], bl
mov byte [esp + 0x4f], bl
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], 1
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [esp + 0x20]
mov esi, eax
add esi, 0x10
push esi
call fcn.006231bf
add esp, 4
push 2
mov edi, eax
push esi
push edi
call dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push eax
push 0x10000000
push 2
push edi
call ebp
mov ecx, dword [esp + 0x18]
push ebx
push edi
push ebx
push ebx
push 4
push 4
push ecx
call dword [0x75e6d0]
mov esi, eax
neg esi
sbb esi, esi
push edi
inc esi
call fcn.006220cc
add esp, 4
pop ebp
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00620b8d
add esp, 0x1c
ret 4
mov ecx, dword [esp + 0x20]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00620b8d
add esp, 0x1c
ret 4

Function at 0x51d180
Capabilities:
Get hostname

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
lea esi, [ecx + 0x40c]
push eax
push esi
mov dword [esp + 0xc], 0x32
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x51d1b1
mov ecx, dword [str.default]
mov dword [esi], ecx
mov edx, dword [0x6842e0]
mov dword [esi + 4], edx
pop esi
pop ecx
ret
Function at 0x51d1c0
Capabilities:
Get session user name

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
lea esi, [ecx + 0x525]
push eax
push esi
mov dword [esp + 0xc], 0x32
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x51d202
mov ecx, dword [0x682f6c]
mov dword [esi], ecx
mov edx, dword [0x682f70]
mov dword [esi + 4], edx
mov eax, dword [0x682f74]
mov dword [esi + 8], eax
mov cl, byte [0x682f78]
mov byte [esi + 0xc], cl
pop esi
pop ecx
ret
Function at 0x521cd0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov dl, byte [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
add dl, 4
test esi, esi
je 0x521d0f
mov eax, dword [esp + 8]
push edi
mov di, word [eax]
mov cl, dl
and cl, 0xf
dec esi
rol di, cl
mov ecx, 0x2553
add eax, 2
inc dl
sub di, cx
mov ecx, 0xdaad
xor di, cx
mov word [eax - 2], di
test esi, esi
jne 0x521ce5
pop edi
pop esi
ret

Function at 0x521d20
Capabilities:
Encode data using xor

Disassembly:
mov dl, byte [esp + 0xc]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
add dl, 4
test esi, esi
je 0x521d50
push ebx
mov bl, byte [eax]
mov cl, dl
and cl, 7
dec esi
rol bl, cl
inc eax
inc dl
sub bl, 0x53
xor bl, 0xad
mov byte [eax - 1], bl
test esi, esi
jne 0x521d35
pop ebx
pop esi
ret

Function at 0x521d60
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov dl, 4
test esi, esi
je 0x521d8b
push ebx
mov bl, byte [eax]
xor bl, 0xad
mov cl, dl
and cl, 7
add bl, 0x53
dec esi
ror bl, cl
inc eax
inc dl
mov byte [eax - 1], bl
test esi, esi
jne 0x521d70
pop ebx
pop esi
ret

Function at 0x521d90
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push str..IDMWFP
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x521e8f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor eax, eax
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x14]
push eax
push 0x18
lea ecx, [esp + 0x4c]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
push 0x12c004
push edi
mov dword [esp + 0x2c], 0xffffffff
call esi
test eax, eax
je 0x521e87
cmp word [esp + 0x40], 0x59
jb 0x521e87
xor eax, eax
push eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x18]
push eax
push 0x10
lea ecx, [esp + 0x24]
push ecx
push 0x18
lea edx, [esp + 0x3c]
push edx
push 0x12c028
push edi
mov byte [esp + 0x48], 0x10
mov byte [esp + 0x49], 1
call esi
test eax, eax
je 0x521e87
mov esi, 0x10
lea eax, [esp + 0x18]
mov dl, 4
lea ecx, [ecx]
mov bl, byte [eax]
xor bl, 0xad
mov cl, dl
and cl, 7
add bl, 0x53
dec esi
ror bl, cl
inc eax
inc dl
mov byte [eax - 1], bl
test esi, esi
jne 0x521e60
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
lea ebx, [esi + 1]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov eax, ebx
pop ebx
add esp, 0x4c
ret
Function at 0x521ea0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x4c
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0xc0000000
push str..IDMWFP
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x521faf
push esi
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor eax, eax
push eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x14]
push eax
push 0x18
lea ecx, [esp + 0x4c]
push ecx
push 4
lea edx, [esp + 0x20]
push edx
push 0x12c004
push edi
mov dword [esp + 0x2c], 0xffffffff
call esi
test eax, eax
je 0x521fa7
cmp word [esp + 0x40], 0x59
jb 0x521fa7
push ebx
xor eax, eax
lea ecx, [esp + 0x18]
push ecx
push 0x10
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov al, byte [esp + 0x68]
lea edx, [esp + 0x24]
push edx
push 0x18
mov byte [esp + 0x44], al
lea eax, [esp + 0x3c]
push eax
push 0x12c028
push edi
mov byte [esp + 0x48], 0x10
mov byte [esp + 0x49], 1
call esi
test eax, eax
je 0x521fa7
mov esi, 0x10
lea eax, [esp + 0x18]
mov dl, 4
lea esp, [esp]
mov bl, byte [eax]
xor bl, 0xad
mov cl, dl
and cl, 7
add bl, 0x53
dec esi
ror bl, cl
inc eax
inc dl
mov byte [eax - 1], bl
test esi, esi
jne 0x521f80
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x20]
mov dword [ecx], edx
lea ebx, [esi + 1]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
mov eax, ebx
pop ebx
add esp, 0x4c
ret