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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push edi
xor ebx, ebx
or edi, 0xffffffff
cmp dword [ebp + 8], ebx
jne 0x442100
or eax, edi
jmp 0x4421b8
lea eax, [ebp - 0x54]
push esi
push eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], bx
call fcn.00441d02
test eax, eax
pop ecx
je 0x4421aa
mov edi, 0x4b6ec0
mov eax, edi
lea ecx, [ebp - 0x1c]
call fcn.00401000
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x54]
lea esi, [ebp - 0x1c]
call fcn.004012ff
push edi
mov eax, esi
push eax
call fcn.0040103b
mov eax, str._aurl:
lea ecx, [ebp - 0x38]
call fcn.00401000
push dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.0040103b
cmp dword [ebp - 0x20], 8
mov ecx, dword [ebp - 0x34]
jae 0x44216c
lea ecx, [ebp - 0x34]
cmp dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
jae 0x442178
lea eax, [ebp - 0x18]
push 1
push ebx
push ecx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
push ebx
push 1
lea esi, [ebp - 0x38]
dec ecx
mov edi, ecx
call fcn.0040114b
push ebx
push 1
lea esi, [ebp - 0x1c]
call fcn.0040114b
push ebx
push 1
lea esi, [ebp - 0x54]
call fcn.0040114b
mov eax, edi
pop esi
pop edi
pop ebx
leave
ret

Function at 0x4421bc
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4421d2
or eax, 0xffffffff
jmp 0x442236
push dword [ebp + 8]
call fcn.004420e7
cmp eax, esi
pop ecx
je 0x442236
push 0x206
lea eax, [ebp - 0x20a]
push esi
push eax
mov word [ebp - 0x20c], si
call fcn.004883c0
add esp, 0xc
push esi
push 0x26
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x442233
push str.Internet_Exploreriexplore.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
call fcn.00442239
pop ecx
jmp 0x442236
push 0xfffffffffffffffa
pop eax
pop esi
leave
ret
Function at 0x442722
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x44279d
push ebx
push edi
push 2
push str.seclogon
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
cmp edi, esi
je 0x442796
lea eax, [ebp - 8]
push eax
push 0x24
lea eax, [ebp - 0x30]
push eax
push edi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceConfigW]
test eax, eax
je 0x44277c
cmp dword [ebp - 0x2c], 3
je 0x442793
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push 3
push 0xffffffffffffffff
push edi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
mov dword [ebp - 4], eax
push edi
call ebx
push dword [ebp - 0xc]
call ebx
pop edi
pop ebx
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x4427d7
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4db494]
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
push esi
push edi
mov ecx, 0x4db494
call dword [eax + 0xc]
and word [ebp - 0x218], 0
add eax, 0x10
push 0x206
mov dword [ebp - 4], eax
lea eax, [ebp - 0x216]
push 0
push eax
call fcn.004883c0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00401aed
lea eax, [ebp - 4]
push eax
call fcn.00484dd7
lea eax, [ebp - 4]
lea ecx, [ebp - 0x10]
mov dword [esp], str.ntoskrnl.exe
call fcn.0041dccb
push dword [eax]
lea esi, [ebp - 0xc]
lea edi, [ebp - 8]
call fcn.00424080
mov esi, eax
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.0040151c
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040151c
pop edi
test esi, esi
pop esi
je 0x4428b4
mov eax, dword [ebp - 8]
movzx ecx, word [ebp - 8]
shr eax, 0x10
cmp eax, 6
jne 0x4428ab
cmp ecx, 2
je 0x4428b4
cmp ecx, 3
jne 0x4428a2
push 0xb
jmp 0x4428b6
cmp ecx, 4
jne 0x4428b4
push 0xc
jmp 0x4428b6
cmp eax, 0xa
jne 0x4428b4
test ecx, ecx
jmp 0x4428a5
push 0xa
pop eax
leave
ret
Function at 0x4428b9
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x11c
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.004883c0
add esp, 0xc
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x442912
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x114
call esi
cmp eax, edi
je 0x4429c3
mov eax, dword [ebp - 0x94]
dec eax
je 0x4429af
dec eax
jne 0x4429c3
mov eax, dword [ebp - 0xa0]
xor ecx, ecx
inc ecx
cmp eax, 6
jne 0x44295f
cmp dword [ebp - 0x9c], ecx
jne 0x442949
xor eax, eax
cmp byte [ebp + 0x76], cl
setne al
add eax, 8
jmp 0x4429ab
cmp dword [ebp - 0x9c], edi
jne 0x442998
xor eax, eax
cmp byte [ebp + 0x76], cl
setne al
lea eax, [eax + eax + 7]
jmp 0x4429ab
cmp eax, 5
jne 0x442989
cmp dword [ebp - 0x9c], 2
jne 0x442970
push eax
jmp 0x442990
cmp dword [ebp - 0x9c], 1
jne 0x44297d
push 6
jmp 0x442990
cmp dword [ebp - 0x9c], edi
jne 0x4429c3
push 3
jmp 0x442990
cmp eax, 4
ja 0x442993
push 4
pop edi
jmp 0x4429c3
cmp eax, 6
jb 0x4429c3
cmp dword [ebp - 0x9c], 2
jb 0x4429c3
cmp byte [ebp + 0x76], cl
jne 0x4429c3
call fcn.004427d7
mov edi, eax
jmp 0x4429c3
mov eax, dword [ebp - 0x98]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov eax, edi
pop edi
pop esi
add ebp, 0x78
leave
ret

Function at 0x442a3e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebx]
xor ecx, ecx
cmp eax, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
je 0x442acc
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 4]
push edx
push ecx
lea edx, [ebp - 8]
push edx
push ecx
push dword [ebp + 8]
push eax
call edi
cmp dword [ebp - 8], 1
je 0x442a75
cmp dword [ebp - 8], 2
jne 0x442acb
push esi
mov esi, dword [ebp + 0xc]
call fcn.004015cc
mov eax, dword [ebp - 4]
shr eax, 1
inc eax
push eax
call fcn.00401866
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call edi
test eax, eax
jne 0x442ab3
mov eax, dword [ebp - 4]
shr eax, 1
and word [esi + eax*2], 0
mov dword [ebp - 0xc], 1
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x442ac3
push eax
call fcn.004886c1
pop ecx
mov edx, esi
call fcn.0040160c
pop esi
pop edi
mov eax, dword [ebp - 0xc]
leave
ret 8
Function at 0x442ff3
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x10], ebx
call fcn.00401e62
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x4430a0
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, 0x200000
ja 0x44309f
lea eax, [edi + 1]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp + 8], edi
call fcn.00401ec1
mov esi, eax
mov dword [ebp - 4], esi
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x44309f
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x44309f
sub dword [ebp + 8], eax
add dword [ebp - 4], eax
cmp dword [ebp + 8], ebx
jne 0x443050
mov byte [esi + edi], bl
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
cmp eax, ebx
jne 0x44308a
xor eax, eax
jmp 0x443091
push eax
call fcn.0048a3c0
pop ecx
mov edx, esi
call fcn.00401ea1
mov dword [ebp - 0x10], 1
pop edi
cmp dword [ebp - 8], ebx
pop esi
pop ebx
je 0x4430b0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8

Function at 0x44355e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x443577
mov eax, dword [ebp - 4]
jmp 0x443651
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x44362c
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4ba290]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4ba290]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4ba290]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4ba290]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4ba290]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x4ba290]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x4ba290]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4ba290]
dec ebp
jne 0x443596
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x443648
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x4ba290]
dec ecx
jne 0x443636
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443fb6
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebx, eax
xor ebp, ebp
cmp ebx, ebp
push edi
mov edi, esi
jne 0x443fd3
push ebp
push ebp
push 2
xor ecx, ecx
pop eax
call fcn.00445271
xor al, al
jmp 0x44404c
call fcn.00443a03
or dword [esi + 8], 0xffffffff
or dword [esi + 4], 0xffffffff
push 2
push ebp
push ebx
call fcn.0048f7fd
push ebx
call fcn.0048fa1a
push ebp
push ebp
push ebx
mov edi, eax
call fcn.0048f7fd
add esp, 0x1c
cmp edi, ebp
jne 0x444008
push ebp
push ebp
push 0xd
mov edi, esi
jmp 0x443fc7
lea eax, [edi + 1]
push eax
call fcn.0048732f
push ebx
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call fcn.0048f264
add esp, 0x14
cmp eax, 1
je 0x444038
push ebp
call fcn.0048843a
pop ecx
push 0
push 0
push 2
jmp 0x444004
mov eax, ebp
mov ecx, esi
call fcn.00444050
push ebp
mov bl, al
call fcn.0048843a
pop ecx
mov al, bl
pop edi
pop ebp
pop ebx
ret

Function at 0x4465fa
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor eax, eax
mov esi, str.Administrators
cmp eax, esi
je 0x4466bd
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x4466bd
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
push ebx
jmp 0x446697
cmp dword [ebp - 4], ebx
je 0x446650
push dword [ebp - 4]
call fcn.00488d99
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x446661
push dword [ebp - 8]
call fcn.00488d99
pop ecx
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x7a
jne 0x4466a2
push dword [ebp - 0x10]
call fcn.0048972f
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
add eax, eax
push eax
call fcn.0048972f
pop ecx
pop ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push esi
push ebx
call edi
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x44663f
push dword [ebp - 8]
call fcn.00488d99
mov eax, dword [ebp - 0x14]
cmp eax, ebx
pop ecx
pop edi
je 0x4466bf
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
jmp 0x4466bf
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x44675f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push edi
xor edi, edi
push 0x228
lea eax, [ebp - 0x244]
push edi
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x248], edi
call fcn.004883c0
add esp, 0xc
push edi
push 2
mov dword [ebp - 0x14], edi
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
jne 0x4467a9
xor eax, eax
jmp 0x4468cf
push esi
lea ecx, [ebp - 0x248]
push ecx
push eax
mov dword [ebp - 0x248], 0x22c
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
je 0x4468b9
push ebx
cmp dword [ebp - 8], edi
je 0x4467dd
push dword [ebp - 8]
call esi
mov dword [ebp - 8], edi
cmp dword [ebp - 4], edi
je 0x4467ea
push dword [ebp - 4]
call esi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x224]
push str.explorer.exe
push eax
call fcn.004892cf
test eax, eax
pop ecx
pop ecx
jne 0x44687d
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.DLL_ProcessIdToSessionId]
test eax, eax
je 0x44687d
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x44687d
push dword [ebp - 0x240]
push edi
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
cmp eax, edi
mov dword [ebp - 8], eax
je 0x44687d
lea eax, [ebp - 4]
push eax
push 0xf01ff
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x44687d
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
lea ebx, [ebp - 0xc]
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x1c], edi
call fcn.0044657d
test eax, eax
pop ecx
pop ecx
je 0x44687d
mov ebx, dword [ebp - 0xc]
push dword [ebx]
call fcn.00446455
test eax, eax
pop ecx
push ebx
je 0x446896
call fcn.00488d99
pop ecx
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x18]
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x4467d0
jmp 0x4468ae
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ebp - 0x10], 1
call fcn.00488d99
pop ecx
cmp dword [ebp - 8], edi
pop ebx
je 0x4468b9
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], edi
je 0x4468c6
push dword [ebp - 4]
call esi
mov dword [ebp - 4], edi
push dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
pop esi
pop edi
leave
ret
Function at 0x446dfd
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x43e]
push ebx
push eax
mov word [ebp - 0x440], bx
call fcn.004883c0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x440]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 8], ebx
je 0x446f1c
mov dword [ebp - 4], ebx
jbe 0x446f1c
push 0x1fe
lea eax, [ebp - 0x238]
push ebx
push eax
call fcn.004883c0
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x238]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x14], 0xff
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x446f0d
lea eax, [ebp - 0x238]
push eax
push str._tcsicmp_begin__ws
mov esi, 0x4dc90c
call fcn.0044866c
lea eax, [ebp - 0x238]
push str.dda3f824_d8cb_441b_834d_be2efd2c1a33
push eax
call fcn.004892cf
add esp, 0x10
test eax, eax
je 0x446f0d
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0xc]
call fcn.00401989
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
add edi, 0x48
call fcn.004473a9
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040151c
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x446e78
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x447de4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2f4
push ebx
push esi
push edi
xor ebx, ebx
push 0xd2
lea eax, [esp + 0x1e]
push ebx
push eax
mov word [esp + 0x24], bx
call fcn.004883c0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x69
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
cmp eax, ebx
jne 0x447e25
xor eax, eax
jmp 0x447edf
cdq
and edx, 3
add eax, edx
mov edi, eax
push 0x208
lea eax, [esp + 0xf6]
push ebx
push eax
sar edi, 2
mov word [esp + 0xfc], bx
call fcn.004883c0
mov word [esp + 0x304], bx
mov ebx, dword [ebp + 8]
add esp, 0xc
add ebx, 4
lea esi, [esp + 0x18]
call fcn.00405391
test edi, edi
jle 0x447edc
mov dword [esp + 0xc], edi
and word [esi + 4], 0
push 0x104
lea eax, [esp + 0xf4]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
test eax, eax
je 0x447ed3
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x14]
call fcn.00401989
lea eax, [esp + 0x10]
push eax
mov edi, ebx
call fcn.00405336
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0040151c
push esi
lea eax, [esp + 0x18]
call fcn.00401989
lea eax, [esp + 0x14]
push eax
call fcn.00405336
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0040151c
add esi, 8
dec dword [esp + 0xc]
jne 0x447e6d
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x447f0e
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jne 0x447f8f
push 0x4c09e0
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x18], eax
je 0x447f8f
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.EnumProcessModules
push eax
call edi
push str.EnumProcesses
push dword [esi + 0x18]
mov dword [esi + 8], eax
call edi
push str.GetModuleBaseNameW
push dword [esi + 0x18]
mov dword [esi], eax
call edi
push 0x4bad8c
push dword [esi + 0x18]
mov dword [esi + 4], eax
call edi
push 0x4bada4
push dword [esi + 0x18]
mov dword [esi + 0xc], eax
call edi
cmp dword [esi], ebx
mov dword [esi + 0x10], eax
pop edi
je 0x447f8a
cmp dword [esi + 4], ebx
je 0x447f8a
cmp dword [esi + 8], ebx
je 0x447f8a
cmp dword [esi + 0xc], ebx
je 0x447f8a
cmp eax, ebx
je 0x447f8a
xor eax, eax
inc eax
jmp 0x447f8c
xor eax, eax
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x14]
pop ebx
ret

Function at 0x4481a8
Capabilities:
Acquire debug privileges

Disassembly:
push 0x28
push 0x4cf058
call fcn.004b0200
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], esi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
mov dword [ebp - 0x38], esi
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1c]
push eax
push 0x28
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
cmp eax, esi
je 0x44822d
lea eax, [ebp - 0x28]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
cmp eax, esi
je 0x44822d
xor edi, edi
inc edi
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 2
push esi
push esi
push esi
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
cmp eax, esi
je 0x44822d
mov dword [ebp - 0x20], edi
or dword [ebp - 4], 0xffffffff
call fcn.00448241
mov eax, dword [ebp - 0x20]
call fcn.004b023b
ret

Function at 0x448487
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
mov esi, eax
mov ecx, 0x4db494
call fcn.004016a0
xor edi, edi
push 0x206
lea eax, [ebp - 0x20a]
push edi
push eax
mov word [ebp - 0x20c], di
call fcn.004883c0
add esp, 0xc
push edi
push 0x23
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4484e7
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.00401aed
push esi
call fcn.00484dd7
pop ecx
jmp 0x44850c
lea eax, [ebp - 4]
call fcn.00484d56
mov edi, esi
call fcn.0040206d
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040151c
push str.appdata_
push esi
call fcn.00405235
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x448512
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xe8
push ebx
xor eax, eax
push esi
push edi
xor ebx, ebx
mov byte [ebp + 0x54], bl
lea edi, [ebp + 0x55]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [ebp + 0x68], ebx
lea edi, [ebp + 0x6c]
stosd dword es:[edi], eax
push 0xc6
stosd dword es:[edi], eax
lea eax, [ebp - 0x72]
push ebx
push eax
mov word [ebp - 0x74], bx
call fcn.004883c0
add esp, 0xc
push dword [ebp + 0x7c]
push 0x4dc920
call fcn.00401aed
call fcn.004488e8
xor edi, edi
inc edi
push edi
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push edi
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp + 0x54]
push 0x4dc924
mov dword [ebp + 0x68], 0xc
mov dword [ebp + 0x6c], eax
call dword [sym.imp.KERNEL32.DLL_InitializeCriticalSection]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x74]
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
push eax
call fcn.0041ea28
mov esi, dword [sym.imp.KERNEL32.DLL_CreateEventW]
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
call esi
push ebx
push ebx
push edi
push ebx
mov dword [0x4dc914], eax
call esi
cmp dword [0x4dc914], ebx
mov dword [0x4dc918], eax
je 0x448600
cmp eax, ebx
je 0x448600
push ebx
push ebx
push 0x4dc90c
push 0x44877c
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateThread]
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [0x4dc91c], eax
mov eax, ecx
jmp 0x448602
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4
Function at 0x448788
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov esi, eax
call fcn.0046117f
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
jmp 0x4488b9
lea ebx, [esi + 0x18]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x38], eax
push dword [esi + 0xc]
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.DLL_ResetEvent]
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
cmp dword [esp + 0x20], edi
je 0x4488b5
cmp dword [esi + 4], edi
jne 0x44880a
mov eax, dword [esi + 0x14]
push 0x4c0ac0
push eax
call fcn.0048efb5
cmp eax, edi
pop ecx
pop ecx
mov dword [esi + 4], eax
je 0x4488b5
push edi
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
call fcn.0040c72e
jmp 0x44888d
mov eax, dword [esp + 0x1c]
mov ebx, dword [eax]
cmp ebx, eax
jne 0x44882d
call fcn.0048a6a6
push 0xffffffffffffffff
push edi
add ebx, 8
push ebx
lea ecx, [esp + 0x30]
call fcn.0040a409
mov eax, dword [esp + 0x1c]
push dword [eax]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
lea ebx, [esp + 0x24]
call fcn.00448a10
cmp dword [esp + 0x3c], 0x10
mov ecx, dword [esp + 0x28]
jae 0x448865
lea ecx, [esp + 0x28]
mov eax, dword [esi + 4]
cmp eax, edi
je 0x44888d
push eax
push dword [esp + 0x3c]
push 1
push ecx
call fcn.00490454
push dword [esi + 4]
push 2
push 1
push 0x4c0ac8
call fcn.00490454
add esp, 0x20
cmp dword [esp + 0x20], edi
jne 0x44881e
mov eax, dword [esi + 4]
cmp eax, edi
je 0x4488a4
push eax
call fcn.0048f2f1
pop ecx
mov dword [esi + 4], edi
push edi
push 1
lea ecx, [esp + 0x2c]
call fcn.0040a3be
jmp 0x4487aa
cmp dword [esi], edi
jne 0x4488cc
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x4487aa
lea esi, [esp + 0x18]
call fcn.00448a66
push dword [esp + 0x1c]
call fcn.00488d99
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret