joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418c2d
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x418c47
cmp edi, 1
je 0x418c47
cmp edi, 0xffffffff
je 0x418c80
xor al, al
jmp 0x418ca6
cmp edi, 0xffffffff
je 0x418c80
push ebx
push dword [esi + edi*4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x418c67
push 5
push dword [esi + edi*4]
call ebx
xor eax, eax
push 0
test edi, edi
sete al
push dword [esi + eax*4]
call ebx
cmp dword [esi + 0x20], edi
pop ebx
je 0x418c9a
mov dword [esi + 0x20], edi
jmp 0x418c9a
mov eax, dword [esi + 0x48]
cmp eax, 0xffffffff
je 0x418c9a
xor ecx, ecx
push 5
test eax, eax
sete cl
push dword [esi + ecx*4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
mov dword [esi + 0x48], edi
call fcn.00418dc0
mov al, 1
pop edi
pop esi
ret 4
Function at 0x41ad0d
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2e0
push ebx
push esi
mov dword [ebp - 8], ecx
push 8
call fcn.0049c301
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x41ad37
push dword [ebp + 8]
mov ecx, eax
call fcn.0048938d
mov esi, eax
jmp 0x41ad39
xor esi, esi
push edi
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x4af550]
mov ecx, 0xac
mov dword [ebp - 4], eax
xor eax, eax
lea edi, [ebp - 0x2dc]
mov dword [ebp - 0x2e0], ebx
rep stosd dword es:[edi], eax
push 0x208
lea eax, [ebp - 0x2e0]
push 0x2b4
push eax
push ebx
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
pop edi
je 0x41adab
lea eax, [ebp - 0x2d4]
test eax, eax
je 0x41ad9b
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x2d4]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.004039ec
mov eax, dword [ebp + 0xc]
push 1
mov ecx, esi
mov dword [ebp - 0x2c], 0x37
mov dword [ebp - 0x28], eax
call fcn.00489b9c
push ebx
lea ecx, [ebp - 4]
mov dword [ebp - 0x1c], eax
call fcn.00403c58
push 3
mov ecx, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], esi
call fcn.00489b9c
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 8]
push ebx
push 0x40b
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 4]
mov esi, eax
call fcn.004038fb
mov eax, esi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41e7d3
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 4], eax
and dword [ebp - 4], 0x10
mov dword [ebp - 8], eax
je 0x41e809
xor ebx, ebx
push ebx
push 0x42000000
push 3
push ebx
push ebx
push 0x100
jmp 0x41e822
mov esi, 0x80
push esi
push dword [ebp + 8]
call edi
xor ebx, ebx
push ebx
push esi
push 3
push ebx
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41e85c
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], ebx
jne 0x41e859
push dword [ebp - 8]
push dword [ebp + 8]
call edi
push 1
pop ebx
lea ecx, [ebp + 8]
call fcn.004038fb
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0x254

Function at 0x41ebbe
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa78
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp dword [eax + 0x2ca0], ebx
push edi
mov dword [ebp - 4], ecx
je 0x41ebe2
push 1
pop eax
jmp 0x41ecfa
lea esi, [eax + 0x2800]
lea eax, [ebp - 0x24c]
push eax
mov ecx, 0x94
lea edi, [ebp - 0x278]
lea eax, [ebp - 0xa78]
push str.Signatur:_s
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0049cb1e
add esp, 0xc
lea eax, [ebp - 0xa78]
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x240]
call dword [sym.imp.USER32.dll_SetWindowTextW]
call fcn.00443b2c
push ebx
push 0x80
push 3
push ebx
push ebx
lea eax, [ebp - 0x24c]
push SHChangeNotifyRegister
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x41ecf8
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x25c]
xor ecx, ecx
xor esi, esi
xor edi, edi
or ecx, edx
or eax, esi
mov dword [ebp - 0x28], ebx
ja 0x41ec80
cmp ecx, ebx
jbe 0x41ece1
push ebx
push 0xb
push eax
push ecx
call fcn.0049d5a0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], eax
mov esi, 0x400
lea eax, [ebp - 0x20]
push ebx
push eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x28]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 4]
push ebx
push eax
push esi
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 4], esi
jne 0x41ece1
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x28], eax
adc edi, dword [ebp - 0x18]
inc dword [ebp - 8]
add dword [ebp - 0x10], esi
cmp dword [ebp - 8], 0xa
jl 0x41ec9e
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
push 1
pop eax
mov dword [ecx + 0x2ca0], eax
jmp 0x41ecfa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41f597
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
mov edi, ecx
mov ebx, dword [edi + 0x290]
test ebx, ebx
jne 0x41f5b3
push 1
pop eax
jmp 0x41f6cd
mov eax, dword [0x4af550]
and dword [ebp - 4], 0
push esi
mov dword [ebp - 0xc], eax
test ebx, ebx
mov esi, 0x4af6b4
jle 0x41f615
push esi
lea ecx, [ebp - 0x10]
call fcn.00403927
lea eax, [ebp - 0x10]
lea ecx, [edi + 0x284]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041bb1b
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
mov eax, dword [eax]
lea ecx, [ebp - 0xc]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x41f5c9
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.0041f848
mov eax, dword [0x4af550]
and dword [ebp - 4], 0
test ebx, ebx
mov dword [ebp - 8], eax
jle 0x41f696
lea eax, [ebp - 4]
lea ecx, [edi + 0x284]
push eax
call fcn.0041bb1b
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41f68b
push esi
lea ecx, [ebp - 0x10]
call fcn.00403927
lea eax, [ebp - 0x10]
lea ecx, [edi + 0x284]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0041bb1b
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
push eax
lea ecx, [ebp - 8]
call fcn.0040aa48
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x41f630
mov eax, dword [ebp - 8]
cmp dword [eax - 8], 0
jle 0x41f6b0
push 0
push 0x4bc518
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [ebp - 8]
xor esi, esi
cmp dword [eax - 8], esi
jg 0x41f6ba
push 1
pop esi
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
mov eax, esi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x41f72a
Capabilities:
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4af550]
and dword [ebp - 8], 0
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 0x2b0]
mov dword [ebp - 0xc], eax
test ecx, ecx
mov dword [ebp - 0x18], ecx
jle 0x41f821
lea eax, [ebp - 8]
lea ecx, [ebx + 0x2a4]
push eax
call fcn.0041bb1b
push eax
lea ecx, [ebp - 4]
call fcn.004038b5
push 0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push dword [ebp - 4]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 8]
lea ecx, [ebx + 0x2c4]
push eax
call fcn.004206a9
sub esp, 0x250
mov ecx, 0x94
mov esi, eax
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.004038b5
mov ecx, ebx
call fcn.0041e7d3
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.004038b5
call fcn.0046007f
cmp eax, 2
pop ecx
je 0x41f807
push 0x4af6b4
lea ecx, [ebp - 0x10]
call fcn.00403927
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
mov eax, dword [eax]
lea ecx, [ebp - 0xc]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x41f752
mov eax, dword [ebp - 0xc]
cmp dword [eax - 8], 0
jle 0x41f838
push 0
push 0x4bc518
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0xc]
call fcn.004038fb
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41f848
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ecx]
mov esi, dword [eax - 8]
lea eax, [esi + 1]
push eax
call fcn.00403c58
test esi, esi
mov edx, eax
jle 0x41f87b
mov ecx, esi
cmp word [eax], 0xa
jne 0x41f876
and word [eax], 0
inc eax
inc eax
dec ecx
jne 0x41f86c
and word [edx + esi*2], 0
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x18], edx
mov word [ebp - 0x10], 0x40
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41f8b3
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
push ebx
mov ecx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ecx]
mov esi, dword [eax - 8]
lea eax, [esi + 2]
push eax
call fcn.00403c58
xor edi, edi
mov ebx, eax
cmp esi, edi
jle 0x41f8e8
mov ecx, esi
cmp word [eax], 0xa
jne 0x41f8e3
mov word [eax], di
inc eax
inc eax
dec ecx
jne 0x41f8da
mov ecx, dword [ebp + 0xc]
mov word [ebx + esi*2], di
mov word [ebx + esi*2 + 2], di
mov eax, dword [ecx]
mov esi, dword [eax - 8]
lea eax, [esi + 2]
push eax
call fcn.00403c58
cmp esi, edi
mov edx, eax
jle 0x41f918
mov ecx, esi
cmp word [eax], 0xa
jne 0x41f913
mov word [eax], di
inc eax
inc eax
dec ecx
jne 0x41f90a
mov word [edx + esi*2], di
push 7
mov word [edx + esi*2 + 2], di
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], 2
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edx
mov eax, dword [eax + 4]
mov word [ebp - 0x14], 0xc1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x41f95a
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], ecx
push ebx
mov ecx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ecx]
mov esi, dword [eax - 8]
lea eax, [esi + 2]
push eax
call fcn.00403c58
xor edi, edi
mov ebx, eax
cmp esi, edi
jle 0x41f98f
mov ecx, esi
cmp word [eax], 0xa
jne 0x41f98a
mov word [eax], di
inc eax
inc eax
dec ecx
jne 0x41f981
mov ecx, dword [ebp + 0xc]
mov word [ebx + esi*2], di
mov word [ebx + esi*2 + 2], di
mov eax, dword [ecx]
mov esi, dword [eax - 8]
lea eax, [esi + 2]
push eax
call fcn.00403c58
cmp esi, edi
mov edx, eax
jle 0x41f9bf
mov ecx, esi
cmp word [eax], 0xa
jne 0x41f9ba
mov word [eax], di
inc eax
inc eax
dec ecx
jne 0x41f9b1
mov word [edx + esi*2], di
push 7
mov word [edx + esi*2 + 2], di
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edx
mov eax, dword [eax + 4]
mov word [ebp - 0x14], 0xc1
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x41fa01
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4bc51c]
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x21c], eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x218]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x4b0e14
lea ecx, [ebp - 4]
call fcn.0040a529
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040a9a2
lea ecx, [ebp - 4]
call fcn.004038fb
push 0x4afefc
push 0x4b0aa4
lea ecx, [ebp - 8]
call fcn.004040f7
push str.___e
lea ecx, [ebp - 4]
call fcn.00403927
push str.__select__
lea ecx, [ebp - 0x10]
call fcn.00403927
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403b20
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
push 3
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 8]
push 0
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004038fb
pop edi
pop esi
leave
ret 4
Function at 0x41ffdb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
mov esi, ecx
push eax
call fcn.0042006e
xor eax, eax
push 3
push eax
push eax
push dword [ebp - 4]
push eax
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.004038fb
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x422d37
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
lea eax, [ebp + 0xc]
push edi
mov edi, dword [0x4bdc4c]
push eax
lea eax, [ebp - 0xc]
mov esi, 0x4bdc48
push eax
mov ecx, esi
call fcn.004239e6
cmp dword [ebp - 0xc], edi
je 0x422d85
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
call fcn.0041bbc9
mov ecx, dword [ebp + 8]
push eax
call fcn.004038b5
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov eax, dword [ebp + 8]
jmp 0x422e54
push ebx
xor ebx, ebx
push str.application_unknown
lea ecx, [ebp - 4]
mov dword [ebp - 8], ebx
call fcn.00403927
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp + 0xc]
push SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422e1e
push 0x7f
lea edi, [ebp - 0x20a]
pop ecx
mov word [ebp - 0x20c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x200
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push str.Content_Type
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x422e15
lea eax, [ebp - 0x20c]
test eax, eax
je 0x422e05
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x20c]
push ecx
push eax
lea ecx, [ebp - 4]
call fcn.004039ec
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0041bbc9
mov ecx, eax
call fcn.00403a8c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.004038b5
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov eax, dword [ebp + 8]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x422ea6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push str.SoftwareMicrosoftWindows_DefenderWindows_Defender_Exploit_GuardControlled_Folder_AccessAllowedApplications
lea ecx, [ebp - 0x10]
call fcn.00403927
lea eax, [ebp - 0x14]
xor esi, esi
push eax
lea eax, [ebp - 8]
push eax
push esi
push 1
push esi
push esi
push esi
push dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 8], esi
push reloc.SHELL32.dll_SHChangeNotifyRegister
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x422ee5
mov edi, dword [ebp - 8]
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 2
push eax
call fcn.00422e58
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], esi
mov dword [ebp - 8], 4
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0xc], esi
lea ecx, [ebp - 4]
jne 0x422f34
call fcn.004038fb
cmp edi, esi
je 0x422f2f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop esi
jmp 0x422f44
call fcn.004038fb
cmp edi, esi
je 0x422f44
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
call fcn.004038fb
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x422f52
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
push edi
push 0x4b1700
lea ecx, [ebp - 4]
call fcn.00403927
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0x40]
mov edx, dword [ebp - 4]
rep stosd dword es:[edi], eax
mov eax, dword [0x4bc51c]
mov ecx, 0x1ff
mov dword [ebp - 0x840], eax
xor eax, eax
lea edi, [ebp - 0x83c]
push edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x840]
mov dword [ebp - 0x40], 0x3c
push eax
mov dword [ebp - 0x3c], 0x200
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], str._UserProfile_
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x840]
push 0x2e
push eax
call fcn.0049ce62
pop ecx
pop ecx
pop edi
test eax, eax
je 0x422fd4
lea eax, [ebp - 0x840]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp dword [ebp + 8], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], 0x4b0138
jne 0x422ffc
mov dword [ebp - 0x34], 0x4bc518
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
leave
ret
Function at 0x4253ea
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 0x1c]
lea eax, [ebp + 8]
push eax
mov ecx, edi
call fcn.00403a8c
push 0
push dword [ebp + 8]
push dword [ebp + 8]
push str.explorer.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebx + 0x48]
lea esi, [ebx + 0x3c]
add eax, 0x3e8
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.0042580e
mov ecx, eax
call fcn.00403a8c
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.0042580e
mov edi, eax
lea esi, [ebp + 0xc]
add edi, 8
lea eax, [ebp - 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebx + 0x3c]
movsd dword es:[edi], dword [esi]
call fcn.0042580e
and dword [eax + 0x18], 0
push 0
push 0x32
push dword [ebp - 4]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp + 8]
call fcn.004038fb
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x426c16
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4bdcfc]
push ebx
push esi
push edi
cmp dword [eax - 8], 0
mov edi, ecx
mov ebx, 0x4affd8
mov esi, 0x4bdcfc
jne 0x426cd8
push eax
push 0x4affec
lea eax, [ebp - 4]
push ebx
push eax
call fcn.0044aadb
add esp, 0x10
mov ecx, esi
push eax
call fcn.00403a8c
lea ecx, [ebp - 4]
call fcn.004038fb
mov eax, dword [0x4bdcfc]
cmp dword [eax - 8], 0
jne 0x426cd8
lea ecx, [ebp - 0x10]
call fcn.004893c1
push dword [edi + 4]
lea ecx, [ebp - 0x10]
push 0x1a
call fcn.00489c06
lea eax, [ebp - 8]
push str.Q_DirFavoriten_
push eax
lea ecx, [ebp - 0x10]
call fcn.00489a02
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040a956
lea ecx, [ebp - 8]
call fcn.004038fb
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x426cbd
test al, 0x10
je 0x426cbd
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.00403a8c
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004893ad
mov eax, dword [0x4bdcfc]
cmp dword [eax - 8], 0
je 0x426d0f
mov edi, 0x4afefc
mov eax, edi
test eax, eax
je 0x426cea
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
mov ecx, esi
call fcn.00403bd8
push esi
call fcn.0045fecc
push 0
push dword [0x4bdcfc]
push 0x4affec
push ebx
call fcn.0044aaba
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4273c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov ebx, 0x4affec
push dword [0x4bdcfc]
mov edi, 0x4affd8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], ecx
push ebx
push edi
push eax
call fcn.0044aadb
add esp, 0x10
mov esi, 0x4bdcfc
mov ecx, esi
push eax
call fcn.00403a8c
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea eax, [ebp - 0x14]
push eax
call fcn.00427377
cmp dword [ebp + 0xc], 0
pop ecx
jne 0x42742c
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 3
jle 0x42742c
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42742c
test al, 0x10
jne 0x4275a7
lea ecx, [ebp - 0x58]
call fcn.004973d8
mov eax, dword [0x4af550]
and dword [ebp - 0x24], 0
push 0x80
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
call fcn.0040af1b
push 0x4bc550
lea ecx, [ebp - 0xc]
call fcn.00403927
lea eax, [ebp - 0x1c]
push eax
call fcn.00427377
pop ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00403a8c
lea ecx, [ebp - 0x1c]
call fcn.004038fb
mov eax, dword [0x4af550]
push 0x40
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00461337
pop ecx
pop ecx
push eax
lea ecx, [ebp - 8]
call fcn.00403a8c
lea ecx, [ebp - 0x1c]
call fcn.004038fb
cmp dword [ebp + 0xc], 0
jne 0x4274b7
mov eax, dword [ebp - 0x18]
push 0
push 0x4bc518
push dword [ebp - 8]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea eax, [ebp - 0xc]
push eax
push 0
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.004038b5
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x58]
push dword [eax + 4]
call fcn.00497645
test eax, eax
jne 0x42750a
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0x58]
call fcn.00497415
lea ecx, [ebp - 0x14]
call fcn.004038fb
xor eax, eax
jmp 0x4275b2
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00403a8c
mov eax, dword [0x4bdcfc]
cmp dword [eax - 0xc], 0
jl 0x42752f
mov dword [ebp - 4], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x427541
mov ecx, dword [0x4af550]
push eax
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
call fcn.0040a750
lea eax, [ebp - 4]
push eax
call fcn.0045f5b2
test eax, eax
pop ecx
je 0x42756d
push 0
push 0x4b1a7c
lea ecx, [ebp - 4]
call fcn.00403d34
test eax, eax
jne 0x42756d
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.00403a8c
push 0
push dword [0x4bdcfc]
push ebx
push edi
call fcn.0044aaba
add esp, 0x10
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0x58]
call fcn.00497415
lea ecx, [ebp - 0x14]
call fcn.004038fb
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8