joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4695b0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x59686c]
test eax, eax
jne 0x469632
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [ebp + 8]
cmp edi, eax
jne 0x4695d1
xor eax, eax
pop edi
pop ebp
ret 4
push esi
push 8
call fcn.004d2477
mov esi, eax
add esp, 4
test esi, esi
jne 0x4695e7
lea edi, [eax + 8]
jmp 0x469606
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x46961e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push 8
push esi
call fcn.004d24a7
add esp, 8
pop esi
mov dword [0x59686c], edi
mov eax, edi
mov dword [0x596870], 0
pop edi
pop ebp
ret 4
mov eax, dword [0x596874]
mov dword [esi + 4], edi
mov dword [esi], eax
xor eax, eax
mov dword [0x596874], esi
pop esi
pop edi
pop ebp
ret 4

Function at 0x46f410
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x94]
mov ecx, dword [edi + 0x90]
dec eax
mov dword [ebp - 4], edx
lea esi, [edx + eax]
not eax
and esi, eax
mov eax, dword [edi + 0x14]
dec eax
mov dword [edi + 0x10], esi
add eax, ecx
neg ecx
and eax, ecx
mov dword [edi + 0x14], eax
cmp ebx, 0xffffffff
je 0x46f4e7
cmp esi, edx
jbe 0x46f4e7
push 0
push 0
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x46f473
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [edi + 0x10]
mov ecx, edi
sub esi, dword [ebp - 4]
push 0x1000
call fcn.00470c60
test eax, eax
je 0x46f468
push 0x1000
push 0
push dword [edi + 0x3f8]
call fcn.004d52d0
add esp, 0xc
test esi, esi
je 0x46f4e7
mov ecx, 4
nop word [eax + eax]
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
cmp esi, 4
mov eax, esi
cmova eax, ecx
push eax
push dword [edi + 0x3f8]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x46f468
mov eax, dword [ebp + 8]
test eax, eax
je 0x46f4e7
mov ecx, 4
sub esi, eax
jne 0x46f4b0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x46f7a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0xc]
lea ecx, [ebp - 4]
add eax, dword [ebp + 0xc]
push 0
push ecx
push dword [ebp + 0x10]
mov dword [ebp - 4], 0
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x472240
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x57ae40
push 0x4d5590
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x58e5a4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x472283
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, eax
mov dword [ebp - 4], 0
mov eax, 0x5a4d
cmp word [ebx], ax
je 0x47229e
push 0xc1
jmp 0x47238e
mov ecx, dword [ebx + 0x3c]
add ecx, ebx
mov dword [ebp + 8], ecx
cmp dword [ecx], 0x4550
je 0x4722b8
push 0xbf
jmp 0x47238e
movzx eax, word [ecx + 0x14]
test ax, ax
je 0x472389
lea edx, [ecx + 0x18]
add edx, eax
mov dword [ebp - 0x20], edx
xor esi, esi
mov dword [ebp - 0x1c], esi
movzx eax, word [ecx + 6]
cmp esi, eax
jae 0x472389
lea eax, [esi + esi*4]
lea edi, [edx + eax*8]
mov ecx, str..detour
mov eax, edi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x472310
test dl, dl
je 0x47230c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x472310
add eax, 2
add ecx, 2
test dl, dl
jne 0x4722f0
xor eax, eax
jmp 0x472315
sbb eax, eax
or eax, 1
test eax, eax
jne 0x472367
mov eax, dword [edi + 0xc]
test eax, eax
je 0x472389
cmp dword [edi + 0x10], 0
je 0x472389
lea esi, [eax + ebx]
mov eax, dword [esi]
cmp eax, 0x40
jb 0x472389
cmp dword [esi + 4], 0x727444
jne 0x472389
cmp dword [esi + 8], 0
jne 0x472342
mov dword [esi + 8], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc esi
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
jmp 0x4722cf
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x472650
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x57ade0
push 0x4d5590
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x58e5a4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edx, dword [ebp + 8]
test edx, edx
jne 0x472696
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, eax
mov dword [ebp + 8], edx
mov dword [ebp - 4], 0
mov eax, 0x5a4d
cmp word [edx], ax
je 0x4726b1
push 0xc1
jmp 0x472808
mov eax, dword [edx + 0x3c]
cmp dword [eax + edx], 0x4550
je 0x4726c7
push 0xbf
jmp 0x472808
cmp word [eax + edx + 0x14], 0
je 0x472803
mov eax, dword [eax + edx + 0x80]
test eax, eax
je 0x4726e3
lea ebx, [eax + edx]
jmp 0x4726e5
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x472803
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebx]
test ecx, ecx
je 0x4727b4
mov esi, dword [ebx + 0xc]
lea eax, [edx + esi]
neg esi
sbb esi, esi
and esi, eax
je 0x472803
lea eax, [edx + ecx]
mov dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x10]
lea eax, [edx + ecx]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x24], ecx
push dword [ecx]
call fcn.00472e90
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x47273e
push esi
push eax
mov esi, dword [ebp + 0xc]
push esi
call ecx
test eax, eax
je 0x4727b7
xor esi, esi
mov dword [ebp - 0x28], esi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4727a6
nop word [eax + eax]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x472797
xor ecx, ecx
mov dword [ebp - 0x20], ecx
xor edx, edx
test eax, eax
jns 0x47276a
movzx ecx, ax
mov dword [ebp - 0x20], ecx
jmp 0x472778
add eax, 2
je 0x472776
mov edx, dword [ebp + 8]
add edx, eax
jmp 0x472778
xor edx, edx
test edi, edi
je 0x47278e
mov eax, dword [ebp - 0x24]
lea eax, [eax + esi*4]
push eax
push edx
push ecx
push dword [ebp + 0xc]
call edi
test eax, eax
je 0x472797
inc esi
mov dword [ebp - 0x28], esi
mov eax, dword [ebp + 0x14]
jmp 0x472750
test edi, edi
je 0x4727a6
push 0
push 0
push 0
push dword [ebp + 0xc]
call edi
add ebx, 0x14
mov dword [ebp - 0x1c], ebx
mov edx, dword [ebp + 8]
jmp 0x4726f3
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4727c5
push 0
push 0
push esi
call eax
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x472830
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x57ad60
push 0x4d5590
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x58e5a4]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
add esi, 0x10000
xorps xmm0, xmm0
movups xmmword [ebp - 0x34], xmm0
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], 0
mov edi, 0x5a4d
push 0x1c
lea eax, [ebp - 0x34]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x4728a9
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x24], 0x1000
jne 0x472931
cmp byte [ebp - 0x20], 1
je 0x472931
test dword [ebp - 0x20], 0x100
jne 0x472931
mov dword [ebp - 4], 0
cmp word [esi], di
jne 0x4728e3
mov eax, dword [esi + 0x3c]
cmp eax, dword [ebp - 0x28]
ja 0x4728e3
cmp eax, 0x40
jb 0x4728e3
cmp dword [eax + esi], 0x4550
je 0x4728f2
mov dword [ebp - 4], 0xfffffffe
mov esi, dword [ebp - 0x28]
add esi, dword [ebp - 0x34]
jmp 0x472884
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp - 0x28]
add esi, dword [ebp - 0x34]
jmp 0x472884

Function at 0x473790
Capabilities:
Create process on windows

Disassembly:
push 0xa
push 0
push 0
push str.https:__www.sysinternals.com
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret 0xc
Function at 0x477fe0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52fee0
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x224]
mov edi, dword [eax + 4]
push edx
or edi, 0x2001f
mov dword [ebp - 0x224], 0
push edi
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x47816b
mov eax, dword [ebp - 0x21c]
xor esi, esi
test eax, eax
je 0x478095
push eax
call ebx
mov esi, eax
mov dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x224]
and edi, 0x300
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], edi
test esi, esi
jne 0x47816b
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x234]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x100
push ecx
lea ecx, [ebp - 0x210]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x478137
nop
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00477fe0
mov esi, eax
test esi, esi
jne 0x47816b
lea eax, [ebp - 0x234]
mov dword [ebp - 0x220], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x21c]
call edi
test eax, eax
je 0x4780f0
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x47814e
push eax
call ebx
mov dword [ebp - 0x21c], 0
push dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x218], 0
call fcn.00477500
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x478189
push eax
call ebx
mov dword [ebp - 0x21c], 0
mov eax, esi
mov dword [ebp - 0x218], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 4
Function at 0x478590
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ff7b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x58e5a4]
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 esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x47863c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x47863c
call fcn.00476ff0
mov esi, eax
jmp 0x47872f
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x47865f
call fcn.00476ff0
jmp 0x478722
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x47867d
call fcn.00476ff0
jmp 0x478722
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x47869e
mov esi, 0x8007000e
jmp 0x478724
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.00476e60
mov dword [ebp - 4], 1
jmp 0x4786d6
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x4786e7
mov esi, 0x8007000e
jmp 0x478724
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x478702
call fcn.00476ff0
jmp 0x478722
xor edx, edx
mov eax, dword [ebp - 0x418]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.004783f0
mov esi, eax
test edi, edi
je 0x47872f
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x47874c
lea ecx, [ebp - 0x418]
call fcn.004777c0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
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.004d2a60
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47a3a0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5302fd
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x58e5a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 8
push eax
mov dword [ebp - 0x10], 0x405
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push dword [ebp + 8]
mov ecx, 0x5968c0
push 0
call fcn.00477800
push 0
push 0
push 0x542f18
call fcn.004b6f30
add esp, 0xc
test eax, eax
jne 0x47a429
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 2
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
call fcn.004103b0
cmp dword [eax + 0x14], 8
jb 0x47a447
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.0045dba0
mov esi, eax
call edi
push eax
mov ecx, esi
call fcn.0045f130
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004794b0
mov edi, dword [0x5984b0]
add esp, 8
add edi, 0x10
mov ebx, eax
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x10], 0
mov dword [ebp - 4], 1
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x5968f8]
mov byte [ebp - 0x10], 1
test esi, esi
je 0x47a4e3
cmp dword [esi + 4], 0
jle 0x47a4b1
mov eax, dword [esi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esi, dword [0x5968f8]
test esi, esi
je 0x47a4e3
mov eax, dword [esi]
test eax, eax
je 0x47a4ca
push eax
call fcn.004e0ae1
add esp, 4
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004d24a7
add esp, 8
push edi
mov dword [0x5968f8], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [0x5968f4]
test esi, esi
je 0x47a547
mov eax, dword [esi]
test eax, eax
je 0x47a51e
push eax
call fcn.004e0ae1
add esp, 4
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x47a535
push eax
call fcn.004e0ae1
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
mov dword [esi + 8], 0
call fcn.004d24a7
add esp, 8
mov esi, dword [0x5968ec]
test esi, esi
je 0x47a579
cmp dword [esi], 0
je 0x47a579
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x47a563
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esi + 0x20]
push 0
mov dword [esi + 0x10], 0
call eax
add esi, 0x24
cmp dword [esi], 0
jne 0x47a556
mov esi, dword [0x58f23c]
mov ecx, dword [0x58f240]
cmp esi, ecx
jae 0x47a5aa
nop dword [eax]
mov eax, dword [esi]
test eax, eax
je 0x47a5a3
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x58f240]
add esi, 4
cmp esi, ecx
jb 0x47a590
mov ecx, 0x5968c0
call fcn.00479ab0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4841b0
Capabilities:
Create directory
Delete directory
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532f3d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
test byte [edi + 0xd0], 0x40
jne 0x4841f9
push dword [ebp + 0x10]
push eax
push edi
call fcn.00480e40
jmp 0x484335
push str.AutorunsDisabled
lea esi, [edi + 0xb4]
xor bl, bl
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00410940
mov dword [ebp - 4], 0
lea eax, [ebp - 0x70]
push 0x560f9c
push esi
push eax
call fcn.00410940
mov byte [ebp - 4], 1
push edi
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0041ad50
add esp, 0x24
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00409020
push 0x560f9c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00410940
mov byte [ebp - 4], 4
push edi
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0041ad50
add esp, 0x18
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x70]
call fcn.00409020
cmp byte [ebp + 0x10], bl
je 0x4842b0
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
lea eax, [ebp - 0x28]
setne bl
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x48430c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4842d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x48430c
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 2
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00409020
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00409020
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00409020
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 0xc
Function at 0x486cc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533d80
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x58e5a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea eax, [esi + 8]
mov dword [esi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], eax
mov dword [ebp - 4], 3
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [ebp - 4], 5
lea eax, [esi + 0x38]
mov dword [ebp - 0x18], eax
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov byte [ebp - 4], 6
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov byte [ebp - 4], 8
lea ecx, [esi + 0x6c]
mov eax, dword [ebp + 8]
mov dword [esi + 0x34], vtable.IAutorunsView.0
mov dword [esi], vtable.CView.0
mov dword [esi + 0x34], vtable.CView.1.0
mov dword [esi + 0x58], 0x46f
mov dword [esi + 0x5c], 0x470
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x68], eax
mov dword [ebp + 8], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 9
lea edi, [ecx + 0xc]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [ebp - 4], 0xa
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
sar eax, 3
cmp eax, 0x10
jae 0x486e0e
push 0x10
call fcn.00473c70
mov eax, dword [edi + 8]
sub eax, dword [edi]
sar eax, 2
cmp eax, 0x10
jae 0x486e24
push 0x10
mov ecx, edi
call fcn.004a1e40
mov byte [ebp - 4], 0xb
lea edi, [esi + 0x8c]
mov byte [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [ebp + 8], edi
call fcn.00410080
mov ecx, eax
test ecx, ecx
je 0x486e91
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], eax
mov byte [esi + 0x98], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.0040fbc0
int3
Function at 0x489810
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x58e5a4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, ecx
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
push edi
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
push 0x130a
push dword [eax + 0x24]
movups xmmword [ebp - 0x14], xmm0
call esi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
sub eax, 0xd
cdq
sub eax, edx
push 0
mov edi, eax
mov eax, dword [ebp - 0x18]
push 0
push 0x130b
sar edi, 1
push dword [eax + 0x24]
call esi
cmp dword [ebp + 8], eax
mov ecx, 1
mov edx, dword [ebp - 0xc]
mov esi, 4
cmove esi, ecx
mov ecx, dword [ebp - 0x10]
add ecx, edi
sub edx, esi
lea eax, [ecx + 0xd]
push eax
push edx
push ecx
lea eax, [edx - 0xe]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004d2a60
mov esp, ebp
pop ebp
ret 8