joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407dbd
Capabilities:
Delete file

Disassembly:
push 0x20
mov eax, 0x55cbca
call fcn.0040a1a1
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edi, edi
cmp dword [ebx + 0x1108], eax
je 0x407df8
mov dword [ebx + 0x10e4], 0x3f3
mov dword [ebx + 0x10e8], edi
mov dword [ebx + 0x10ec], edi
xor eax, eax
jmp 0x407fe6
cmp dword [ebx + 0x10f0], edi
je 0x407df1
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov dword [ebx + 0x1104], eax
mov dword [ebx + 0x10f4], edi
mov eax, dword [ebx + 0xc]
mov dword [ebx + 8], edi
mov word [eax], cx
mov eax, dword [ebx + 0x14]
mov word [eax], cx
lea ecx, [ebx + 0x10cc]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], edi
call fcn.00408ee0
push dword [ebp + 0xc]
lea esi, [ebx + 0x58]
mov dword [ebx + 0x4c], edi
mov ecx, esi
call fcn.00406f1d
push esi
call fcn.004090e5
mov dword [esp], str.MEMORY_
push dword [esi]
call fcn.0041928f
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
lea ecx, [ebp - 0x2c]
mov dword [ebx + 0x10f8], eax
call fcn.00406dcd
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00406dcd
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
call fcn.00409071
add esp, 0xc
mov ecx, esi
call fcn.00408e12
cmp eax, 3
jb 0x407fbe
lea ecx, [ebp - 0x2c]
call fcn.00408e12
cmp eax, 2
jb 0x407fbe
lea ecx, [ebp - 0x24]
call fcn.00408e12
cmp eax, 2
jb 0x407fbe
mov eax, dword [ebx + 0x60]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x1c]
call fcn.00406d6b
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00406d6b
jmp 0x407f36
lea ecx, [ebx + 0x60]
call fcn.00408e12
test eax, eax
je 0x407f74
mov esi, dword [ebx + 0x60]
lea ecx, [ebx + 0x60]
call fcn.00408e12
push eax
push esi
lea ecx, [ebp - 0x24]
call fcn.00407119
push dword [ebp - 0x14]
call fcn.0040a85c
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0040a85c
mov eax, dword [ebx + 0x60]
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0x1c]
call fcn.00406d6b
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00406d6b
push dword [ebp + 0x10]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
push edi
push 0x40816f
push edi
push dword [ebp - 0x2c]
call fcn.004079f2
mov esi, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
push eax
push esi
call fcn.004079f2
push eax
push dword [ebx + 0x10f0]
call dword [ebx + 0x1114]
add esp, 0x1c
test eax, eax
jne 0x407edf
push dword [ebp - 0x14]
call fcn.0040a85c
push dword [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0040a85c
pop ecx
pop ecx
push dword [ebx + 8]
mov ecx, ebx
call fcn.00408703
cmp dword [ebx + 0x10f4], edi
je 0x407faa
cmp dword [ebx + 8], edi
je 0x407faa
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebx + 0x10cc]
call fcn.00408b5e
mov edi, eax
neg edi
sbb edi, edi
inc edi
jmp 0x407fd4
mov esi, dword [ebp - 0x24]
lea eax, [ebx + 0x10cc]
mov dword [eax + 0x18], 0x3ea
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], edi
push esi
call fcn.0040a85c
push dword [ebp - 0x2c]
call fcn.0040a85c
pop ecx
pop ecx
mov eax, edi
call fcn.0040a16a
ret 0xc
Function at 0x408d61
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5dc050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push str.Skin.xml
push esi
mov ebx, 0x55e5d4
push ebx
push eax
call fcn.00401e48
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408da9
xor al, al
jmp 0x408dd1
push str.VipSkin.xml
push esi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00401e48
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a159
mov esp, ebp
pop ebp
ret 4

Function at 0x408e41
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
test dword [ebp + 0xc], 0x100
je 0x408e5b
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040919e
add esp, 0xc
pop ebp
ret 0xc

Function at 0x408e70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042331a
add esp, 0xc
pop ebp
ret 0xc

Function at 0x408fe4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40906a
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
mov esi, dword [ebp + 0x14]
test eax, eax
je 0x409055
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
test esi, 0x100
ja 0x409047
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea eax, [ebp - 8]
push eax
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and esi, 0x27
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
pop edi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40b58e
Capabilities:
Read .ini file

Disassembly:
push 0x82c
mov eax, 0x55cdeb
call fcn.0040a1d5
mov edi, ecx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x830], eax
mov eax, dword [ebp + 0x10]
push 0x800
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x810]
push ecx
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x838], esi
mov dword [ebp - 0x834], ecx
call fcn.00415c80
lea eax, [edi + 0x8c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40b5eb
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push ebx
push dword [ebp - 0x82c]
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.00401320
and dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x834], 1
jb 0x40b631
mov eax, dword [esi]
jmp 0x40b633
mov eax, esi
push ebx
push eax
call fcn.0041c266
pop ecx
pop ecx
test eax, eax
jne 0x40b67f
cmp byte [edi + 5], 0
lea eax, [ebp - 0x828]
push ebx
push dword [ebp - 0x82c]
mov ecx, edi
push dword [ebp - 0x830]
push eax
je 0x40b663
call fcn.0040b4aa
jmp 0x40b668
call fcn.0040b564
push eax
mov ecx, esi
call fcn.00401345
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.004019c3
mov eax, esi
call fcn.0040a17f
ret 0x10
Function at 0x40c231
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x5dc050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
mov edi, ecx
call fcn.00415c80
lea eax, [edi + 0x2c]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x40c26a
mov eax, dword [eax]
push str.Config
push eax
lea eax, [ebp - 0x20c]
push 0x55e67c
push eax
call fcn.00401e48
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40c2a2
lea eax, [ebp - 0x20c]
push eax
call fcn.0040cea6
pop ecx
push 0x208
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00415c80
push str.UseVestige.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x55e5d4
push eax
call fcn.00401e48
add esp, 0x1c
cmp word [ebp - 0x414], si
jne 0x40c2e1
mov eax, esi
jmp 0x40c2ee
lea eax, [ebp - 0x414]
push eax
call fcn.004191f1
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [edi + 0x8c]
call fcn.00401c77
push 0x208
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.00415c80
push str.Cache.ini
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x55e5d4
push eax
call fcn.00401e48
add esp, 0x1c
cmp word [ebp - 0x61c], si
jne 0x40c340
mov eax, esi
jmp 0x40c34d
lea eax, [ebp - 0x61c]
push eax
call fcn.004191f1
pop ecx
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [edi + 0xa4]
call fcn.00401c77
push 0x208
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.00415c80
lea eax, [ebp - 0xa44]
push str.ShxlPath
push eax
call fcn.0040df80
add esp, 0x14
cmp dword [eax + 0x14], 8
jb 0x40c38e
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x824]
push 0x55e694
push eax
call fcn.00401e48
add esp, 0xc
lea ecx, [ebp - 0xa44]
push esi
push 1
call fcn.004019c3
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40c3cf
lea eax, [ebp - 0x824]
push eax
call fcn.0040cea6
pop ecx
push 0x208
lea eax, [ebp - 0xa2c]
push esi
push eax
call fcn.00415c80
push str.Cache.ini
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0xa2c]
push 0x55e5d4
push eax
call fcn.00401e48
add esp, 0x1c
cmp word [ebp - 0xa2c], si
je 0x40c419
lea eax, [ebp - 0xa2c]
push eax
call fcn.004191f1
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [edi + 0xbc]
call fcn.00401c77
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040a159
mov esp, ebp
pop ebp
ret
Function at 0x40c922
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x55cebb
call fcn.0040a1d5
mov ebx, ecx
call fcn.0040b49e
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.00401c50
mov esi, 0x55e99c
push esi
call fcn.004191f1
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00401b17
push str.guanf
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0040b53a
and dword [ebp - 4], 0
lea esi, [ebx + 0xec]
lea eax, [ebp - 0x248]
cmp esi, eax
je 0x40c998
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.00401bbb
push str.guanf
mov ecx, esi
call fcn.00401d20
test eax, eax
jne 0x40ca14
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00415c80
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x40c9c5
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.guanf
push eax
push edi
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x40c9f6
xor eax, eax
jmp 0x40ca03
lea eax, [ebp - 0x218]
push eax
call fcn.004191f1
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401c77
jmp 0x40ca19
mov edi, str.guanf
push edi
mov ecx, esi
call fcn.00401d20
test eax, eax
jne 0x40cadc
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00415c80
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.004012f8
push 0x55e99c
mov byte [ebp - 4], 1
call fcn.004191f1
pop ecx
push eax
push 0x55e99c
lea ecx, [ebp - 0x230]
call fcn.00401b17
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 str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x40caad
xor eax, eax
jmp 0x40caba
lea eax, [ebp - 0x218]
push eax
call fcn.004191f1
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401c77
push 0
push 1
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.004019c3
push edi
mov ecx, esi
call fcn.00401d20
test eax, eax
jne 0x40cb18
push edi
push str.Spreader
push str.AppInfo
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.0040b58e
push eax
mov ecx, esi
call fcn.00401345
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.004019c3
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.004019c3
call fcn.0040a17f
ret
Function at 0x40cea6
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004191f1
mov dword [ebp - 8], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00408166
push dword [ebp + 8]
mov edi, eax
push edi
mov dword [ebp - 4], edi
call fcn.0041c2a6
add esp, 0x10
call fcn.00409c21
test al, al
je 0x40cef9
push edx
push ebp
pop esp
pop edx
push esi
pop esi
pop edx
push eax
pop edx
pop ebx
pop ebx
pop esp
pop edx
push edi
push esp
push edi
mov eax, dword [ebp - 8]
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 0xc], ebx
test eax, eax
js 0x40cfc3
cmp word [edi + ebx*2], 0x5c
jne 0x40cfb4
call fcn.004099f9
test al, al
je 0x40cf34
push ebp
pop ebp
push eax
push esp
pop ebp
push ebx
pop ebp
push esi
pop ebx
push edi
pop eax
pop esp
push esi
push eax
push ebp
pop eax
pop esi
push ecx
push ebx
push edx
call fcn.00409816
test al, al
je 0x40cf5e
push ebp
push ecx
push edi
push edx
push ebx
push ecx
pop esp
pop ebx
pop ebp
pop edx
pop ecx
pop edi
pop ebx
push esp
push eax
push edi
pop ebx
push edi
pop ebx
push eax
pop edx
push ebp
pop ecx
pop eax
pop eax
pop ebx
push ebx
pop ebx
push esp
push ebp
mov edi, dword [ebp - 4]
call fcn.004098e5
test al, al
je 0x40cf89
push esi
push esp
push esp
push eax
pop ebx
pop esi
push ebp
push ecx
push eax
push esp
push esp
push edi
pop ebp
pop ebx
push edi
pop ecx
pop esi
push edi
push ecx
push esp
pop ebp
pop ecx
pop ebp
push eax
pop ebp
pop edi
push ecx
pop ebp
pop eax
pop ecx
push ecx
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
xor eax, eax
push edi
movzx esi, word [edi + ebx*2]
mov word [edi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40cfad
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40cfd3
mov eax, dword [ebp - 8]
mov word [edi + ebx*2], si
inc ebx
mov dword [ebp - 0xc], ebx
cmp ebx, eax
jle 0x40cf0c
xor esi, esi
inc esi
push edi
call fcn.0040a85c
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x40cfc3
Function at 0x40cfd7
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5dc050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x218], eax
xor eax, eax
push eax
push 0x1a
push ecx
push eax
mov dword [ebp - 0x210], ebx
call fcn.0040e3d4
lea eax, [ebp - 0x20c]
push eax
call fcn.004191f1
add esp, 0x14
mov dword [ebp - 0x214], eax
call fcn.0040978c
test al, al
je 0x40d04e
pop esp
push ecx
pop ebx
push ecx
pop ecx
pop edi
pop ecx
pop esi
push ebx
pop esp
pop ecx
push esi
push edx
push edx
push ebx
push edi
push ebx
push esi
pop esp
pop edx
push ebp
pop eax
push ebx
push edx
push ebp
mov ebx, dword [ebp - 0x210]
cmp dword [ebp - 0x214], 0
je 0x40d15a
mov esi, 0x55e998
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004217f2
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004217f2
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004217f2
add esp, 0x18
call fcn.00409cab
test al, al
je 0x40d0ae
pop ebx
pop ecx
push ecx
push edx
pop ebp
push edx
pop esp
push ecx
pop ecx
push esp
push ecx
push esp
pop esi
pop eax
push esp
push ebp
push edi
pop ecx
pop ebx
push ebp
pop edi
push ebx
push esi
push ebx
push ebx
pop ebp
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40d0cc
lea eax, [ebp - 0x20c]
push eax
call fcn.0040cea6
pop ecx
call fcn.0040985b
test al, al
je 0x40d0e9
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.00409a83
test al, al
je 0x40d10e
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.00409cab
test al, al
je 0x40d12c
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
cmp word [ebp - 0x20c], 0
jne 0x40d13a
xor eax, eax
jmp 0x40d147
lea eax, [ebp - 0x20c]
push eax
call fcn.004191f1
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00401c77
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a159
mov esp, ebp
pop ebp
ret
Function at 0x40dd1c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5dc050]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x5e169c], 0
push ebx
push esi
push edi
je 0x40dda4
call fcn.0040985b
test al, al
je 0x40dd58
push ebp
push eax
pop ecx
push edx
pop ecx
pop ebx
pop ecx
pop ebp
push esp
push edi
pop ebx
pop esi
pop ebp
pop edx
push esp
push ebp
push edx
pop edi
pop eax
push esi
call fcn.00409a83
test al, al
je 0x40dd7d
pop edi
push edi
pop esp
pop edi
push ebp
push edi
push ebx
pop esi
pop esi
pop edi
pop ebp
push ecx
push edx
pop ebx
pop ebx
pop eax
push ebp
pop esi
push edx
pop esi
pop edi
push esi
push ebp
pop ebp
push eax
pop edi
pop edx
push edi
call fcn.00409cab
test al, al
je 0x40de9b
push esp
pop edx
push edi
pop ebp
pop eax
push ebp
push ecx
pop esi
push esp
pop edi
pop ecx
pop edx
push edx
pop ecx
push esp
push ebx
pop edx
pop edi
push edx
push edi
push ebp
jmp 0x40de9b
call fcn.00409cab
test al, al
je 0x40ddc8
pop edx
push ecx
pop edi
push esi
pop ebp
push ebp
push esp
pop ebp
push ebx
push ecx
push ecx
pop esi
push ebp
push ebp
pop esp
push eax
pop edi
push esp
push ebx
push ebp
push eax
pop ecx
pop ebx
pop edi
pop esp
pop esi
pop ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00415c80
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40de38
lea eax, [ebp - 0x20c]
push eax
call fcn.004219cc
lea eax, [ebp - 0x20c]
mov dword [esp], 0x560c10
push eax
call fcn.004155b4
pop ecx
pop ecx
test eax, eax
jne 0x40de31
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.004155b4
pop ecx
pop ecx
test eax, eax
je 0x40de38
mov byte [0x5e169c], 1
call fcn.00409b0d
test al, al
je 0x40de53
pop ecx
push ecx
push esi
push edx
push eax
pop esi
push eax
push ebx
pop ebx
push esi
push eax
push eax
push edi
push ebp
pop esi
push esp
pop eax
push esp
call fcn.0040985b
test al, al
je 0x40de77
push edx
push esi
push esi
push edi
push esi
push edi
pop edi
push esi
push ecx
push esp
push esp
push edx
push ecx
pop esp
push esp
push ebx
pop edi
pop edx
pop ebp
pop ebx
pop esi
push esp
pop ebx
pop edx
pop eax
pop esi
push ebx
call fcn.0040985b
test al, al
je 0x40de9b
push ebx
pop ebp
pop edi
push esi
pop esp
pop ecx
pop ebx
pop edi
pop eax
pop edi
pop edi
push edx
pop eax
pop ecx
push eax
push edi
push ecx
pop edi
pop esi
push ebp
push esp
push esi
push edx
push edi
push esi
push edx
push ebp
mov ecx, dword [ebp - 4]
mov al, byte [0x5e169c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0040a159
mov esp, ebp
pop ebp
ret
Function at 0x40deb1
Capabilities:
Get common file path

Disassembly:
push 0x138
mov eax, 0x55cf8c
call fcn.0040a1d5
mov al, byte [0x5e169d]
test al, al
jne 0x40df7a
push 0x104
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.00415c80
add esp, 0xc
lea eax, [ebp - 0x114]
xor edi, edi
inc edi
push edi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x40df75
push str.config_systemprofile
lea ecx, [ebp - 0x12c]
call fcn.00409273
lea eax, [ebp - 0x114]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x144]
call fcn.00409273
push dword [ebp - 0x11c]
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push esi
cmovae eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x144]
push eax
call fcn.0040e54c
movzx ecx, byte [0x5e169d]
cmp eax, 0xffffffff
push esi
cmovne ecx, edi
mov byte [0x5e169d], cl
lea ecx, [ebp - 0x144]
push edi
call fcn.00409458
push esi
push edi
lea ecx, [ebp - 0x12c]
call fcn.00409458
mov al, byte [0x5e169d]
call fcn.0040a17f
ret
Function at 0x40e7c0
Capabilities:
Enumerate processes

Disassembly:
push 0x280
mov eax, 0x55cff7
call fcn.0040a1d5
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x28c], ebx
test eax, eax
je 0x40e9ad
push eax
lea ecx, [ebp - 0x40]
call fcn.00401320
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.00410826
mov edi, 0x22c
lea eax, [ebp - 0x284]
push edi
push 0
push eax
call fcn.00415c80
add esp, 0x10
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x28c], esi
cmp esi, 0xffffffff
je 0x40e99d
call fcn.00409a83
test al, al
je 0x40e842
pop eax
pop ecx
push ebp
push edi
pop ecx
push esp
pop edx
pop ebp
pop edx
pop esp
push eax
push ebx
push ebx
push edx
push esp
push edx
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40e91a
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x260], ax
je 0x40e881
lea eax, [ebp - 0x260]
push eax
call fcn.004191f1
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401c77
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00410826
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401cf0
test eax, eax
je 0x40e8d5
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00412459
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
or ebx, 1
call fcn.00401cf0
mov byte [ebp - 0x285], 0
test eax, eax
jne 0x40e8dc
mov byte [ebp - 0x285], 1
test bl, 1
je 0x40e8f0
push 0
push 1
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffe
call fcn.004019c3
cmp byte [ebp - 0x285], 0
jne 0x40e9b3
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.004019c3
lea eax, [ebp - 0x284]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40e85a
call fcn.00409b97
test al, al
je 0x40e94a
push esp
push edi
pop ebx
pop ecx
pop esp
pop ebx
pop ebx
push ecx
pop ebp
pop eax
pop ebp
push ebx
pop ebx
pop edx
push ebp
push ebx
pop edi
pop eax
push ebx
push edx
pop edx
pop eax
pop edi
push ebp
pop edx
push ebp
push ebx
pop ebp
push ebx
pop edx
pop esi
call fcn.004096bd
test al, al
je 0x40e96c
pop edx
push ecx
push ebp
pop edx
push esp
push esp
push edx
push esi
pop eax
push esi
pop ebx
pop ecx
pop esi
pop ebx
push edi
pop edi
push ecx
push esi
pop edi
pop edi
push ecx
push esp
pop ebp
push ebp
push edi
call fcn.0040996f
test al, al
je 0x40e991
pop edx
push ecx
pop ebp
pop ebx
pop ebp
pop eax
pop ebx
push edi
push edx
push esi
pop edi
push eax
push edx
push edi
push esi
push esp
pop ebp
push ecx
push edx
pop eax
pop ebp
pop esi
push ecx
pop ecx
push ebx
pop edi
push edi
pop ebp
push dword [ebp - 0x28c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.004019c3
mov eax, esi
call fcn.0040a17f
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004019c3
jmp 0x40e99f