joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446290
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push esi
push edi
push 0xb
pop ecx
xor eax, eax
lea edi, [ebp - 0x30]
mov ebx, dword [ebp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x30], 0x2c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x30]
push eax
push 1
push ebx
mov dword [ebp - 8], 0x100
push dword [ebp + 0xc]
mov dword [ebp - 0x2c], 0x3f
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov edi, dword [ebp + 0x14]
mov ecx, dword [0x4b0550]
push edi
push ebx
mov dword [ebp - 4], eax
push eax
lea eax, [ebp + 0x10]
push str.GetMenuItemInfo_Ret:_d_n
push eax
mov dword [ebp + 0x10], ecx
call fcn.00403d66
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0x14
push dword [ebp + 0x10]
call esi
cmp dword [ebp - 4], 0
je 0x446367
push edi
push ebx
lea eax, [ebp + 0x10]
push str.From:_d___InsertAfter:_d__n
push eax
call fcn.00403d66
add esp, 0x10
push dword [ebp + 0x10]
call esi
lea eax, [ebp - 0x230]
mov esi, 0x400
push eax
push dword [ebp - 0x20]
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_InsertMenuW]
test eax, eax
je 0x446367
lea eax, [ebp - 0x30]
push eax
push 1
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 8], eax
jne 0x44635e
cmp ebx, edi
jbe 0x44635e
inc ebx
push esi
push ebx
push eax
call dword [sym.imp.USER32.dll_RemoveMenu]
lea ecx, [ebp + 0x10]
call fcn.004038fb
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x44a17b
Capabilities:
Create thread

Disassembly:
lea eax, [ecx + 0x28]
xor edx, edx
push eax
push edx
push ecx
push 0x44a193
push edx
push edx
mov dword [eax], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret
Function at 0x44a57f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xd7060
call fcn.0049c760
push ebx
push esi
push edi
lea ecx, [ebp - 0x6b830]
call fcn.0044a45c
lea ecx, [ebp - 0xd7060]
call fcn.0044a45c
mov esi, dword [0x4c7b64]
push 0x4b6290
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
mov esi, ebx
mov edx, ecx
lea edi, [ebp - 0xd704c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push dword [0x4b5eec]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0xd7054], eax
mov dword [ebp - 0x6b824], 0x6b800
call fcn.00446d1e
push 0
lea eax, [ebp - 0xd7060]
push dword [0x4b5ee8]
push eax
lea eax, [ebp - 0x6b830]
push eax
call fcn.00448305
call fcn.00446d01
mov eax, dword [ebp - 0x6b830]
push 0
lea ecx, [ebp - 0x6b830]
call dword [eax + 4]
push dword [ebp + 8]
lea ecx, [ebp - 0x6b830]
call fcn.0044a548
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
call fcn.00403cd2
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x6b848]
call fcn.004038fb
lea ecx, [ebp - 0x6b84c]
call fcn.004038fb
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0x1c]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44ad72
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [0x4c6680]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov eax, dword [0x4b0550]
push dword [ebp + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 0x4b1ab0
push eax
call fcn.00403d66
push dword [ebp - 4]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.0044ae7c
push dword [ebp - 8]
call fcn.0049c828
add esp, 0x20
cmp dword [ebp + 0x18], 0xffffffff
mov esi, eax
je 0x44ade1
cmp dword [ebp + 0x14], 0xffffffff
je 0x44ade1
cmp esi, dword [ebp + 0x18]
jle 0x44add9
mov esi, dword [ebp + 0x18]
cmp esi, dword [ebp + 0x14]
jge 0x44ade1
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
mov eax, esi
pop esi
leave
ret
Function at 0x44aef0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
cmp dword [0x4c6690], esi
jne 0x44af9f
lea eax, [ebp - 0xc]
push edi
push eax
mov dword [ebp - 8], esi
call fcn.0044b3d3
mov eax, dword [eax]
push 0x20019
push eax
push SHChangeNotifyRegister
lea ecx, [ebp - 8]
call fcn.00405cf0
lea ecx, [ebp - 0xc]
call fcn.004038fb
mov ecx, dword [0x4b0550]
mov edi, dword [ebp + 8]
mov eax, 0x400
mov dword [ebp - 4], ecx
push eax
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.00403c58
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], esi
push ecx
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
mov edi, eax
call fcn.00403cd2
mov eax, dword [ebp - 4]
cmp dword [eax - 8], esi
je 0x44af83
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.00403a8c
lea ecx, [ebp - 4]
call fcn.004038fb
cmp dword [ebp - 8], esi
je 0x44af9c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], esi
mov esi, edi
pop edi
lea ecx, [ebp + 8]
call fcn.004038fb
mov eax, esi
pop esi
leave
ret 8

Function at 0x44afae
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x4c6690], esi
jne 0x44b031
push ebx
lea eax, [ebp - 8]
push edi
push eax
xor ebx, ebx
call fcn.0044b3d3
lea ecx, [ebp - 0xc]
mov eax, dword [eax]
push ecx
lea ecx, [ebp - 4]
push ecx
push esi
push 0xf003f
push esi
push esi
push esi
push eax
push SHChangeNotifyRegister
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x44aff5
mov ebx, dword [ebp - 4]
lea ecx, [ebp - 8]
call fcn.004038fb
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 8]
push 1
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp ebx, esi
mov edi, eax
je 0x44b02d
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, edi
pop edi
pop ebx
lea ecx, [ebp + 8]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov eax, esi
pop esi
leave
ret 8
Function at 0x44b2e6
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4b0550]
push ebx
push esi
push edi
push 0x20004
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.00403c58
push dword [ebp + 0x10]
mov edi, eax
mov eax, dword [0x4b0550]
push 0x10000
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov esi, eax
mov eax, dword [0x4b0550]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
lea eax, [esi + esi + 4]
push eax
call fcn.00403c58
test esi, esi
mov ebx, eax
jle 0x44b397
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, 0x4b0cdc
mov ecx, dword [ebp - 8]
mov cx, word [ecx]
test cx, cx
je 0x44b360
mov word [eax], cx
inc eax
inc eax
jmp 0x44b38e
and word [eax], 0
test ebx, ebx
jne 0x44b36c
xor eax, eax
jmp 0x44b36f
push ebx
call esi
push ebx
push eax
lea ecx, [ebp - 4]
call fcn.00403bd8
mov eax, edi
test eax, eax
je 0x44b382
push edi
call esi
push edi
push eax
lea ecx, [ebp - 4]
call fcn.00403bd8
mov eax, ebx
add dword [ebp - 8], 2
dec dword [ebp - 0xc]
jne 0x44b34e
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.004038b5
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
lea ecx, [ebp + 0x10]
call fcn.004038fb
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44bb33
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x44bb61
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x24]
and dword [esi + 0x20], 0
test eax, eax
je 0x44bb5d
cmp eax, 0xffffffff
je 0x44bb5d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x24], 0
pop esi
ret

Function at 0x44bb83
Capabilities:
Check if file exists
Create thread
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [0x4c6694], ebx
push esi
mov esi, ecx
je 0x44bbed
mov eax, dword [ebp + 0x14]
push edi
mov dword [esi + 0x34], eax
lea edi, [esi + 0x3c]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.00403a8c
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x30], eax
call fcn.0044bb33
mov edi, dword [edi]
cmp dword [edi - 8], ebx
je 0x44bbe9
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44bbe9
test al, 0x10
je 0x44bbe9
lea eax, [esi + 0x28]
push eax
push ebx
push esi
push 0x44bbfd
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x20], eax
push 1
pop ebx
pop edi
lea ecx, [ebp + 8]
call fcn.004038fb
mov eax, ebx
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x44c092
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.0049c760
and dword [ebp - 8], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call ebx
lea edx, [esi + eax*2]
mov eax, dword [0x4bd5dc]
mov dword [ebp - 0x1218], eax
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1214]
cmp esi, edx
mov dword [ebp - 4], edx
rep stosd dword es:[edi], eax
jae 0x44c1ab
cmp word [esi], 0x25
jne 0x44c169
mov dword [ebp - 0x10], esi
inc esi
inc esi
cmp esi, edx
mov dword [ebp - 0xc], esi
jae 0x44c188
cmp word [esi], 0x25
jne 0x44c136
and word [esi], 0
mov eax, dword [0x4bd5dc]
mov dword [ebp - 0x218], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x214]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x218]
push 0x208
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x44c13f
mov word [esi], 0x25
inc esi
inc esi
cmp esi, dword [ebp - 4]
jb 0x44c0f4
jmp 0x44c188
mov eax, dword [ebp - 0x10]
mov word [eax], 0x25
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x1218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [ebp - 8], 1
mov word [esi], 0x25
jmp 0x44c188
lea eax, [ebp - 0x1218]
push eax
call ebx
mov cx, word [esi]
add eax, eax
mov word [ebp + eax - 0x1218], cx
and word [ebp + eax - 0x1216], 0
mov edx, dword [ebp - 4]
inc esi
inc esi
cmp esi, edx
jb 0x44c0da
cmp dword [ebp - 8], 0
je 0x44c1ab
lea eax, [ebp - 0x1218]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x44c1b2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44c1df
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x44c1db
call esi
cmp eax, 3
je 0x44c1db
or eax, 0xffffffff
pop esi
ret
xor eax, eax
pop esi
ret
push 0
test al, 0x10
pop eax
pop esi
setne al
inc eax
ret
Function at 0x44c226
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
push edi
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
mov edx, dword [ebp + 8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
mov ecx, 0x1ff
or ah, 2
lea edi, [ebp - 0x838]
mov dword [ebp - 0x38], eax
mov eax, dword [0x4bd5dc]
mov dword [ebp - 0x83c], eax
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x83c]
push edx
push eax
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], str._UserProfile_
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x83c]
push 0x2e
push eax
call fcn.0049d3b2
pop ecx
pop ecx
pop edi
test eax, eax
je 0x44c29d
lea eax, [ebp - 0x83c]
mov dword [ebp - 0x24], eax
mov eax, dword [0x4c669c]
cmp dword [eax - 8], 0
je 0x44c2b7
push 0
mov ecx, 0x4c669c
call fcn.00403c58
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x14], 0
and dword [ebp - 0x34], 0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
leave
ret
Function at 0x44f4c4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea edx, [ebp - 4]
xor eax, eax
push edx
push eax
push ecx
push 0x44f4e2
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
leave
ret
Function at 0x453f9c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
cmp dword [0x4c6770], ebx
push esi
push edi
mov esi, ecx
je 0x453fb8
xor eax, eax
jmp 0x4540fc
lea eax, [ebp + 8]
lea ecx, [esi + 0x1e8]
push eax
mov dword [0x4c6770], 1
call fcn.0045aa2c
mov edi, eax
neg eax
lea ecx, [edi + 4]
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x10]
push eax
call fcn.00404359
lea eax, [edi + 0x24]
mov dword [ebp - 0x14], 0x4aa998
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x170]
cmp eax, dword [edi + 0x1c]
mov dword [ebp - 8], ebx
jne 0x454076
mov eax, dword [esi + 0x164]
cmp eax, dword [edi + 0x10]
jne 0x454076
mov eax, dword [esi + 0x168]
cmp eax, dword [edi + 0x14]
jne 0x454076
mov eax, dword [esi + 0x16c]
cmp eax, dword [edi + 0x18]
jne 0x454076
push 0x4bd614
lea ecx, [ebp - 4]
call fcn.00403927
mov ebx, 0x800
lea ecx, [ebp - 4]
push ebx
call fcn.00403c58
push ebx
push eax
push dword [esi + 0xcc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00403cd2
push dword [edi + 0x20]
push dword [ebp - 4]
call fcn.0049cec5
pop ecx
test eax, eax
pop ecx
jne 0x45406c
mov dword [ebp - 8], 1
lea ecx, [ebp - 4]
call fcn.004038fb
xor ebx, ebx
mov eax, dword [ebp + 8]
mov dword [esi + 0x188], eax
cmp dword [0x4b82b4], ebx
je 0x454092
add edi, 0x2c
mov dword [esi + 0x18c], edi
jmp 0x454098
mov dword [esi + 0x18c], ebx
push ebx
push ebx
push 1
push ecx
mov dword [esi + 0xc8], eax
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
push eax
call fcn.004171b4
mov ecx, esi
call fcn.0045032f
mov eax, dword [ebp + 8]
or dword [esi + 0x188], 0xffffffff
mov dword [esi + 0x160], eax
mov dword [esi + 0x18c], ebx
cmp dword [0x4b82b0], ebx
je 0x4540e3
cmp dword [ebp - 8], ebx
je 0x4540e3
push dword [ebp - 0xc]
mov ecx, esi
call fcn.004542a0
push ebx
mov ecx, esi
call fcn.00451827
lea ecx, [ebp - 0x14]
mov dword [0x4c6770], ebx
call fcn.0048996a
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x454d99
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x144], 1
jne 0x454e38
lea eax, [ebp - 4]
lea ecx, [esi + 0x1d0]
push eax
mov dword [ebp - 8], ecx
call fcn.00489fbf
mov eax, dword [ebp - 4]
xor edi, edi
cmp dword [eax - 8], edi
je 0x454dd6
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x454dea
lea ecx, [ebp - 4]
mov dword [esi + 0x144], 0xfffffffe
call fcn.004038fb
jmp 0x454e38
push ebx
lea ebx, [esi + 0xf0]
mov ecx, ebx
mov dword [esi + 0x144], edi
call fcn.0047b423
test eax, eax
je 0x454e08
mov dword [esi + 0x10c], edi
push edi
push 0x4b27b4
push edi
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_FindWindowExW]
push ecx
mov ecx, dword [ebp - 8]
push esp
mov dword [esi + 0x158], eax
call fcn.00489fbf
mov ecx, ebx
call fcn.0047b1f5
lea ecx, [ebp - 4]
call fcn.004038fb
pop ebx
pop edi
pop esi
leave
ret
Function at 0x4553bb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4b0550]
push ebx
push esi
mov dword [ebp - 8], eax
xor esi, esi
lea eax, [ebp - 8]
push esi
push eax
mov ebx, ecx
push esi
call fcn.004539ef
test eax, eax
jne 0x455402
push esi
push 0x4bd5d8
push str.No_File
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 8]
call fcn.004038fb
jmp 0x455592
push edi
push esi
lea ecx, [ebp - 8]
mov dword [ebp - 0x18], esi
call fcn.00403c58
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
mov edi, dword [eax - 8]
mov eax, dword [0x4b0550]
mov dword [ebp - 4], eax
lea eax, [edi + edi]
push eax
call fcn.00403c58
push 0x4b6ac8
lea ecx, [ebp - 4]
call fcn.00403adc
push str._CertUtil__hashfile
lea ecx, [ebp - 0x10]
call fcn.00403927
push str._SHA256
lea ecx, [ebp - 0xc]
call fcn.00403927
cmp dword [ebp + 8], 2
jne 0x455473
push str._powershell_Get_FileHash
lea ecx, [ebp - 0x10]
call fcn.00403adc
push 0x4b697c
lea ecx, [ebp - 0xc]
call fcn.00403adc
push edi
lea eax, [ebp - 0x420]
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00455360
add esp, 0x10
test eax, eax
je 0x45551f
mov esi, 0x4b6a80
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea eax, [ebp - 0x420]
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.0040a4e8
push eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0040a961
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040a915
mov eax, dword [eax]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp + 8]
call fcn.004038fb
lea ecx, [ebp - 0x1c]
call fcn.004038fb
lea ecx, [ebp - 0x20]
call fcn.004038fb
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
push edi
lea eax, [ebp - 0x420]
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00455360
add esp, 0x10
test eax, eax
jne 0x455497
mov eax, dword [ebp - 4]
push 0
lea ecx, [ebp - 4]
mov esi, dword [eax - 8]
call fcn.00403c58
and word [eax + esi*2 - 2], 0
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00403cd2
lea eax, [ebp + 8]
lea ecx, [ebx + 0x1d0]
push eax
call fcn.00489fbf
mov eax, dword [eax]
push 1
push eax
push dword [ebp - 4]
push 0x4b6a78
push str.open
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4556f0
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
push 1
mov dword [esi + 0x20c], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x264], edi
lea eax, [esi + 0x264]
jne 0x45571d
push 0x64
mov ecx, esi
call fcn.00454d6a
jmp 0x455747
mov dword [eax], edi
lea eax, [esi + 0x244]
push eax
push edi
push esi
push 0x45574a
push edi
push edi
mov dword [eax], edi
mov dword [esi + 0x20c], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x24c], eax
pop edi
pop esi
ret
Function at 0x45614f
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe5c
mov edx, dword [0x4bd5dc]
push ebx
push esi
mov esi, ecx
mov ebx, 0xff
push edi
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0xa58]
mov dword [ebp - 0xa5c], edx
rep stosd dword es:[edi], eax
push dword [ebp + 8]
mov ecx, ebx
lea edi, [ebp - 0x658]
mov dword [ebp - 0x65c], edx
rep stosd dword es:[edi], eax
xor ebx, ebx
mov ecx, 0x93
lea edi, [ebp - 0x258]
mov dword [ebp - 0x25c], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x65c]
mov dword [ebp - 8], ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0049d3f2
lea eax, [ebp - 0x65c]
push 0x4b0efc
push eax
call fcn.0049d3f2
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0xa5c]
push eax
call fcn.0049d3f2
lea eax, [ebp - 0xa5c]
push 0x4b1480
push eax
call fcn.0049d3f2
add esp, 0x20
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0xa5c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp + 8], eax
mov edi, dword [ebp + 0x14]
cmp dword [edi], ebx
je 0x45631e
mov ecx, esi
call fcn.00456848
test byte [ebp - 0x25c], 0x10
je 0x4562ca
lea eax, [ebp - 0x230]
push 0x4b111c
push eax
call fcn.0049cec5
pop ecx
test eax, eax
pop ecx
je 0x4562d9
lea eax, [ebp - 0x230]
push 0x4b1120
push eax
call fcn.0049cec5
pop ecx
test eax, eax
pop ecx
je 0x4562d9
mov eax, dword [ebp - 0x25c]
mov ecx, eax
not ecx
shr ecx, 4
and ecx, 1
mov dword [ebp - 0xc], ecx
jne 0x4562d9
and eax, 0x400
mov dword [ebp - 0xc], eax
jne 0x4562d9
inc dword [esi + 0x25c]
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0xe5c]
push eax
call fcn.0049d41c
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0xe5c]
push eax
call fcn.0049d3f2
add esp, 0x10
lea eax, [ebp - 0xe5c]
mov ecx, esi
push edi
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
push eax
call fcn.0045614f
add dword [ebp - 8], eax
adc dword [ebp - 4], edx
cmp edi, ebx
je 0x4562d9
inc dword [edi]
jmp 0x4562d9
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4562d9
inc dword [eax]
inc dword [esi + 0x25c]
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x240]
xor eax, eax
xor edi, edi
or eax, edx
or ecx, edi
add dword [ebp - 8], eax
lea eax, [ebp - 0x25c]
push eax
mov dword [ebp - 0x240], ebx
push dword [ebp + 8]
mov dword [ebp - 0x23c], ebx
adc dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x456203
cmp dword [ebp + 8], ebx
pop edi
pop esi
pop ebx
je 0x45632f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
leave
ret 0x10
Function at 0x457cc1
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0xcc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x457d00
cmp eax, edi
jne 0x457d00
push edi
push edi
push ecx
mov ecx, esp
push str.1008
call fcn.00403927
push dword [esi + 4]
call fcn.0045fbda
add esp, 0x10
push edi
push 0x4b27b4
push edi
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ebx, dword [sym.imp.USER32.dll_SetFocus]
push eax
call ebx
mov eax, dword [0x4bd5dc]
mov ecx, 0x1ff
mov dword [ebp - 0x800], eax
xor eax, eax
lea edi, [ebp - 0x7fc]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x800]
push eax
push dword [esi + 0xcc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor edi, edi
cmp dword [esi + 0x170], edi
jne 0x457dac
mov eax, dword [esi + 0xcc]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, edi
je 0x457d69
push edi
push eax
call ebx
mov eax, dword [esi + 0xe4]
mov eax, dword [eax + 0x220]
cmp eax, edi
je 0x457d7d
push edi
push eax
call ebx
cmp dword [esi + 0x164], edi
je 0x457e22
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x457e22
cmp dword [ebp + 0x10], edi
jne 0x457e22
mov ecx, esi
call fcn.004538ab
jmp 0x457e22
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0xcc]
call edi
mov eax, dword [esi + 0xe4]
push 5
push dword [eax + 0x220]
call edi
mov eax, dword [esi + 0xe4]
push dword [eax + 0x264]
call ebx
mov eax, dword [esi + 0xe4]
mov dword [eax + 0x2c], 1
push dword [esi + 0x178]
push dword [esi + 0xcc]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esi + 0x164], 0
je 0x457e20
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x457e20
cmp dword [ebp + 0x10], 0
jne 0x457e20
mov ecx, esi
call fcn.004538ab
xor edi, edi
cmp dword [esi + 0x170], edi
je 0x457e72
lea eax, [ebp + 0x10]
push 0x28
push eax
lea ebx, [esi + 0x21c]
call fcn.00461770
pop ecx
pop ecx
push eax
mov ecx, ebx
call fcn.00403a8c
lea ecx, [ebp + 0x10]
call fcn.004038fb
push edi
mov ecx, ebx
call fcn.00403c58
push eax
mov eax, dword [esi + 0xe4]
push 0x100
push 0x40b
push dword [eax + 0x270]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0xe4]
push edi
call fcn.00472125
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc