joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d77f
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x70fbb5
call fcn.004387d7
mov ebx, ecx
call fcn.0043c40b
mov esi, eax
push esi
call fcn.004d6b3a
pop ecx
push eax
lea edi, [ebx + 0xd4]
push esi
mov ecx, edi
call fcn.004050a0
mov esi, str.CleanMaster.ini
push esi
call fcn.004d6b3a
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00404f20
push 0x720a10
push 0x726cac
push str.CMApp
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0043c502
and dword [ebp - 4], 0
lea eax, [ebp - 0x248]
lea esi, [ebx + 0xec]
push eax
mov ecx, esi
call fcn.00413e70
push 0x720a10
mov ecx, esi
call fcn.0043dd06
test al, al
je 0x43d866
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c3e70
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x43d825
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, 0x720a10
push eax
push edi
push 0x726cac
push str.CMApp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.004d6b3a
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004050a0
jmp 0x43d86b
mov edi, 0x720a10
push edi
mov ecx, esi
call fcn.0043dd06
test al, al
je 0x43d92b
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c3e70
and dword [ebp - 0x220], 0
lea eax, [ebx + 0x5c]
and dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x230]
add esp, 0xc
push eax
call fcn.0043dc5b
push str.CleanMaster.ini
mov byte [ebp - 4], 1
call fcn.004d6b3a
pop ecx
push eax
push str.CleanMaster.ini
lea ecx, [ebp - 0x230]
call fcn.00404f20
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x726cac
push str.CMApp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.004d6b3a
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.004050a0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00402710
push edi
mov ecx, esi
call fcn.0043dd06
test al, al
je 0x43d963
push edi
push 0x726cac
push str.CMApp
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0043c63a
push eax
mov ecx, esi
call fcn.00439f30
lea ecx, [ebp - 0x230]
call fcn.00402710
lea ecx, [ebp - 0x248]
call fcn.00402710
call fcn.00438792
ret

Function at 0x43de8e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x804580]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c3e70
push 0x720a10
lea eax, [ebp - 0x20c]
push str.C:log_s.log
push eax
call fcn.004106b0
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.00438587
leave
ret
Function at 0x43deec
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
mov eax, dword [0x804580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
lea eax, [ebp - 0x61c]
push edi
xor esi, esi
push esi
push eax
call fcn.004c3e70
push str.C:log_
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004d9b96
push 0x3e8
lea eax, [ebp - 0xc0c]
push esi
push eax
call fcn.004c3e70
push 0x720a10
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.0043dd8c
push edi
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.004c3e70
add esp, 0x40
lea eax, [ebp - 0x20c]
push edi
push esi
push eax
call fcn.004c3e70
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004d6b3a
pop ecx
test eax, eax
je 0x43e0e0
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004c40c2
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
je 0x43e0e0
lea eax, [ebp - 0x20c]
push eax
call fcn.004d6b3a
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push ebx
push eax
call fcn.004d9b96
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.0043dd8c
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc0c]
push 0x1f3
push 0x1f4
push eax
call fcn.0043e588
xor eax, eax
add esp, 0x38
mov word [ebp - 0x826], ax
lea eax, [ebp - 0x414]
push eax
call edi
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x726d38
push eax
cmovne esi, ebx
call fcn.004cd0c6
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43e0e0
test esi, esi
jne 0x43e086
push edi
push 2
lea eax, [ebp - 0xc14]
mov dword [ebp - 0xc14], 0xfeff
push ebx
push eax
call fcn.004d9e32
add esp, 0x10
lea eax, [ebp - 0xc0c]
push eax
call fcn.004d6b3a
push edi
add eax, eax
push eax
lea eax, [ebp - 0xc0c]
push ebx
push eax
call fcn.004d9e32
push edi
push 2
lea eax, [ebp - 0xc10]
mov dword [ebp - 0xc10], 0xd
push ebx
push eax
call fcn.004d9e32
push edi
push 2
lea eax, [ebp - 0xc10]
mov dword [ebp - 0xc10], 0xa
push ebx
push eax
call fcn.004d9e32
push edi
call fcn.004ccec4
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438587
leave
ret
Function at 0x43e0ef
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2034
call fcn.00438750
mov eax, dword [0x804580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x208
lea eax, [ebp - 0x61c]
push edi
xor esi, esi
push esi
push eax
call fcn.004c3e70
push str.C:log_
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004d9b96
push 0x800
lea eax, [ebp - 0x1024]
push esi
push eax
call fcn.004c3e70
push 0x720a10
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.0043dd8c
push edi
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.004c3e70
add esp, 0x40
lea eax, [ebp - 0x20c]
push edi
push esi
push eax
call fcn.004c3e70
add esp, 0xc
lea eax, [ebp - 0x20c]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call fcn.004d6b3a
pop ecx
test eax, eax
je 0x43e34e
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004c40c2
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x43e34e
lea eax, [ebp - 0x20c]
push eax
call fcn.004d6b3a
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.004d9b96
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.0043dd8c
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x1024]
push 0x3ff
push 0x400
push eax
call fcn.0043e588
push esi
call fcn.004cc70a
mov dword [ebp - 0x2034], eax
lea eax, [ebp - 0x2034]
push eax
mov dword [ebp - 0x2030], edx
call fcn.004da114
add esp, 0x40
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test edi, edi
je 0x43e34e
lea ecx, [ebp - 0x1024]
push ecx
push eax
push dword [edi]
mov eax, dword [edi + 0x10]
push dword [edi + 4]
inc eax
push dword [edi + 8]
push dword [edi + 0xc]
push eax
mov eax, dword [edi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x2024]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.0043ddaa
xor eax, eax
add esp, 0x28
mov word [ebp - 0x826], ax
lea eax, [ebp - 0x414]
push eax
call ebx
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x726d38
push eax
cmovne esi, ebx
call fcn.004cd0c6
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43e34e
test esi, esi
jne 0x43e2f4
push edi
push 2
lea eax, [ebp - 0x202c]
mov dword [ebp - 0x202c], 0xfeff
push ebx
push eax
call fcn.004d9e32
add esp, 0x10
lea eax, [ebp - 0x2024]
push eax
call fcn.004d6b3a
push edi
add eax, eax
push eax
lea eax, [ebp - 0x2024]
push ebx
push eax
call fcn.004d9e32
push edi
push 2
lea eax, [ebp - 0x2028]
mov dword [ebp - 0x2028], 0xd
push ebx
push eax
call fcn.004d9e32
push edi
push 2
lea eax, [ebp - 0x2028]
mov dword [ebp - 0x2028], 0xa
push ebx
push eax
call fcn.004d9e32
push edi
call fcn.004ccec4
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438587
leave
ret
Function at 0x43e35d
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00438750
mov eax, dword [0x804580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
call fcn.004cc70a
mov dword [ebp - 0x1014], eax
lea eax, [ebp - 0x1014]
push eax
mov dword [ebp - 0x1010], edx
call fcn.004da114
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [esi + 0x10]
push edi
push eax
push dword [esi]
mov eax, dword [esi + 0x14]
inc ecx
push dword [esi + 4]
add eax, 0x76c
push dword [esi + 8]
push dword [esi + 0xc]
push ecx
push eax
lea eax, [ebp - 0x1004]
push str.__d__d__d__d__d__d___d_:_s
push eax
call fcn.0043ddaa
add esp, 0x28
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0
xor ecx, ecx
pop edi
inc ecx
test eax, eax
push 0x726d38
push ebx
cmovne edi, ecx
call fcn.004cd0c6
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43e479
test edi, edi
jne 0x43e41c
push esi
push 2
lea eax, [ebp - 0x100c]
mov dword [ebp - 0x100c], 0xfeff
push 1
push eax
call fcn.004d9e32
add esp, 0x10
lea eax, [ebp - 0x1004]
push eax
call fcn.004d6b3a
push esi
add eax, eax
push eax
lea eax, [ebp - 0x1004]
push 1
push eax
call fcn.004d9e32
push esi
push 2
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0xd
push 1
push eax
call fcn.004d9e32
push esi
push 2
lea eax, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0xa
push 1
push eax
call fcn.004d9e32
push esi
call fcn.004ccec4
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00438587
leave
ret

Function at 0x43e84a
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004d6b3a
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0043872d
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.004d6b18
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x43e8c4
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x43e8bb
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43e8b1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x43e8c2
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x43e88e
jmp 0x43e8c4
xor edi, edi
push esi
call fcn.00438736
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43e8d2
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x804580]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x1a
push eax
push 0
call fcn.0043ee15
lea eax, [ebp - 0x20c]
push eax
call fcn.004d6b3a
add esp, 0x14
test eax, eax
je 0x43e97d
push ebx
mov ebx, 0x7227c0
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004d9b65
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004d9b65
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004d9b65
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
jne 0x43e961
lea eax, [ebp - 0x20c]
push eax
call fcn.0043e84a
pop ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.004d6b3a
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004050a0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00438587
leave
ret

Function at 0x43eb16
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x804580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [0x817f24]
test bl, bl
jne 0x43ebad
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004c3e70
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43eba7
lea eax, [ebp - 0x20c]
push eax
call fcn.004cc594
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004c52bf
pop ecx
pop ecx
test eax, eax
jne 0x43eb9f
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.004c52bf
pop ecx
pop ecx
test eax, eax
je 0x43eba7
mov byte [0x817f24], bl
jmp 0x43ebad
mov bl, byte [0x817f24]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00438587
leave
ret
Function at 0x43ebbc
Capabilities:
Check if file exists

Disassembly:
push 0xc50
mov eax, 0x70fc36
call fcn.004387d7
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov ebx, dword [ebp + 0xc]
mov esi, 0x208
push esi
push 0
push eax
mov dword [ebp - 0xc5c], edi
call fcn.004c3e70
push esi
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.004c3e70
push esi
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004c3e70
push esi
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.004c3e70
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c3e70
push esi
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004c3e70
xor ecx, ecx
mov dword [ebp - 0xc44], 7
xor eax, eax
mov dword [ebp - 0xc48], ecx
add esp, 0x48
mov word [ebp - 0xc58], ax
push ecx
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], ecx
push eax
push ecx
call fcn.0043ee15
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004d6b18
lea eax, [ebp - 0x218]
push eax
call fcn.004d6b3a
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.004c40c2
add esp, 0x24
test eax, eax
je 0x43edd1
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004d6b18
lea eax, [ebp - 0x830]
push str.Local
push eax
call fcn.004d9b65
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
xor esi, esi
inc ecx
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
cmovne esi, ecx
push eax
call fcn.004d6b18
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.004d9b65
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc5c], ecx
push eax
call fcn.004d6b18
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.004d9b65
add esp, 0x10
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x43edd1
cmp dword [ebp - 0xc5c], 0
je 0x43edd1
test ecx, ecx
je 0x43edd1
push ebx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push 0x726dd4
push eax
call fcn.004106b0
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43edaf
lea eax, [ebp - 0x420]
push eax
call fcn.0043e84a
pop ecx
lea eax, [ebp - 0x420]
push eax
call fcn.004d6b3a
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.004050a0
jmp 0x43ede0
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.0043e8d2
pop ecx
pop ecx
xor eax, eax
mov ecx, edi
mov byte [ebp - 0xc5c], al
push dword [ebp - 0xc5c]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0xc58]
push eax
call fcn.0043dc33
lea ecx, [ebp - 0xc58]
call fcn.00402710
mov eax, edi
call fcn.00438792
ret
Function at 0x43ee86
Capabilities:
Delete directory
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
push 0x2a0
mov eax, 0x70fc86
call fcn.004387d7
xor edi, edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
call fcn.0043dc5b
mov esi, 0x726d94
mov byte [ebp - 4], 1
push esi
call fcn.004d6b3a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00404f20
push 8
pop ebx
cmp dword [ebp - 0x44], ebx
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43effb
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x43effb
push 0x2e
pop eax
cmp word [ebp - 0x27c], ax
je 0x43eeec
cmp word [ebp - 0x27a], 0
je 0x43eeec
cmp word [ebp - 0x27a], ax
jne 0x43ef2b
cmp word [ebp - 0x278], 0
je 0x43eeec
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00413570
test byte [ebp - 0x2a8], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
push eax
je 0x43efa7
call fcn.0043dc5b
cmp dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.00404f20
push 0x7227c0
call fcn.004d6b3a
pop ecx
push eax
push 0x7227c0
lea ecx, [ebp - 0x28]
call fcn.00404f20
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.0043dc5b
call fcn.0043ee86
jmp 0x43efdf
call fcn.0043dc5b
cmp dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 4
call fcn.00404f20
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.0043dc5b
call fcn.0043f1d3
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.00402710
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00402710
jmp 0x43eeec
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x1c], ebx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x43f02b
cmp dword [ebp + 0x1c], ebx
lea eax, [ebp + 8]
push 4
cmovae eax, dword [ebp + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x58]
call fcn.00402710
lea ecx, [ebp + 8]
call fcn.00402710
call fcn.00438792
ret
Function at 0x43f041
Capabilities:
Enumerate files on windows

Disassembly:
push 0x2a0
mov eax, 0x70fc86
call fcn.004387d7
xor edi, edi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
call fcn.0043dc5b
mov esi, 0x726d94
mov byte [ebp - 4], 1
push esi
call fcn.004d6b3a
pop ecx
push eax
push esi
lea ecx, [ebp - 0x58]
call fcn.00404f20
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x2a8]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x43f1b6
push 0x2e
pop ebx
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x43f1b6
cmp word [ebp - 0x27c], bx
je 0x43f0a8
cmp word [ebp - 0x27a], 0
je 0x43f0a8
cmp word [ebp - 0x27a], bx
jne 0x43f0e4
cmp word [ebp - 0x278], 0
je 0x43f0a8
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x40]
call fcn.00413570
test byte [ebp - 0x2a8], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
push eax
je 0x43f161
call fcn.0043dc5b
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 3
call fcn.00404f20
push 0x7227c0
call fcn.004d6b3a
pop ecx
push eax
push 0x7227c0
lea ecx, [ebp - 0x28]
call fcn.00404f20
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.0043dc5b
call fcn.0043ee86
jmp 0x43f19a
call fcn.0043dc5b
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 4
call fcn.00404f20
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
call fcn.0043dc5b
call fcn.0043f1d3
add esp, 0x18
lea ecx, [ebp - 0x28]
call fcn.00402710
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00402710
jmp 0x43f0a8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x58]
call fcn.00402710
lea ecx, [ebp + 8]
call fcn.00402710
call fcn.00438792
ret

Function at 0x43f86e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
call fcn.004c3e70
mov eax, dword [ebp + 8]
add esp, 0xc
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x2c], eax
mov eax, 0x200
mov dword [ebp - 0x20], 1
lea ecx, [eax + 0x40]
cmovne eax, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
call fcn.0044206e
test eax, eax
mov ecx, str.runas
lea eax, [ebp - 0x3c]
cmovne ecx, dword [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x43f8db
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
leave
ret
cmp dword [ebp + 0x10], 0
je 0x43f8ed
push dword [ebp + 0x14]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
inc eax
leave
ret
Function at 0x43f8f2
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
lea eax, [ebp - 8]
xor ebx, ebx
push eax
mov edi, 0xf01ff
mov dword [ebp - 8], ebx
push edi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x43fa41
lea eax, [ebp - 0x10]
push eax
push 1
push 1
push ebx
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x43fa41
push str.Kernel32.dll
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x43f98c
push 0x726ea4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43f985
call eax
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0xc
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_SetTokenInformation]
test eax, eax
je 0x43fa41
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.Wtsapi32.dll
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x43fa66
push 0x726e90
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43f9d8
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push ecx
push dword [ebp - 0x14]
call eax
push ebx
push dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
push dword [ebp - 0xc]
test eax, eax
jne 0x43f9d6
call esi
jmp 0x43fa41
call esi
push 0x44
pop edi
push edi
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.004c3e70
push 0x10
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.004c3e70
add esp, 0x18
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x60], str.WinSta0Default
mov dword [ebp - 0x3c], 1
push 5
pop eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push dword [ebp - 4]
push 0x430
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x43fa41
cmp dword [ebp - 4], ebx
je 0x43fa3f
push dword [ebp - 4]
call sub.USERENV.dll_DestroyEnvironmentBlock
mov bl, 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43fa50
cmp eax, 0xffffffff
je 0x43fa50
push eax
call esi
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x43fa5f
cmp ecx, 0xffffffff
je 0x43fa5f
push ecx
call esi
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
push ebx
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
jne 0x43f9d8
push dword [ebp - 8]
jmp 0x43f9d2