joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005e9b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1000b910]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.100043a9
and dword [ebp - 0x14], 0
cmp dword [0x1000c500], 0
mov dword [ebp - 0x18], eax
jne 0x10005f4e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10005ff6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10005ff6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000c500], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1000c504], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000c508], eax
call edi
push eax
call esi
mov dword [0x1000c510], eax
test eax, eax
je 0x10005f4e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1000c50c], eax
mov eax, dword [0x1000c50c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10005fa7
cmp dword [0x1000c510], ecx
je 0x10005fa7
push eax
call esi
push dword [0x1000c510]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10005fa7
test ebx, ebx
je 0x10005fa7
call edi
test eax, eax
je 0x10005f9e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10005f9e
test byte [ebp - 8], 1
jne 0x10005fa7
or dword [ebp + 0x10], 0x200000
jmp 0x10005fda
mov eax, dword [0x1000c504]
cmp eax, dword [ebp - 0x18]
je 0x10005fda
push eax
call esi
test eax, eax
je 0x10005fda
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10005fda
mov eax, dword [0x1000c508]
cmp eax, dword [ebp - 0x18]
je 0x10005fda
push eax
call esi
test eax, eax
je 0x10005fda
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000c500]
call esi
test eax, eax
je 0x10005ff6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10005ff8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004ba7
leave
ret
Function at 0x100026c0
Capabilities:
Terminate process
Terminate thread

Disassembly:
sub esp, 8
mov byte [0x10055c81], 1
cmp dword [0x10055c8c], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov esi, ecx
je 0x10002709
mov eax, dword [0x10055c8c]
push 0x1388
push eax
call ebx
test eax, eax
je 0x100026ff
mov eax, dword [0x10055c8c]
push 0
push eax
call edi
mov dword [0x10055c8c], 0
cmp dword [0x10055c88], 0
je 0x10002737
mov eax, dword [0x10055c88]
push 0x898
push eax
call ebx
test eax, eax
je 0x1000272d
mov eax, dword [0x10055c88]
push 0
push eax
call edi
mov dword [0x10055c88], 0
cmp dword [0x10055c84], 0
je 0x10002765
mov eax, dword [0x10055c84]
push 0xc8
push eax
call ebx
test eax, eax
je 0x1000275b
mov eax, dword [0x10055c84]
push 0
push eax
call edi
mov dword [0x10055c84], 0
mov eax, dword [esi + 0x416c]
test eax, eax
je 0x1000278f
push 0xc8
push eax
call ebx
test eax, eax
je 0x10002785
push 0
push dword [esi + 0x416c]
call edi
mov dword [esi + 0x416c], 0
cmp dword [0x10073dc4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x100027df
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x10073dc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x100027c3
cmp dword [esp + 0xc], 0x103
jne 0x100027cd
mov eax, dword [0x10073dc4]
push 0
push eax
call ebx
mov eax, dword [0x10073dc4]
push eax
call edi
mov dword [0x10073dc4], 0
cmp dword [0x10055c94], 0
je 0x10002823
lea eax, [esp + 0x10]
push eax
mov eax, dword [0x10055c94]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x10002807
cmp dword [esp + 0x10], 0x103
jne 0x10002811
mov eax, dword [0x10055c94]
push 0
push eax
call ebx
mov eax, dword [0x10055c94]
push eax
call edi
mov dword [0x10055c94], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x10002834
push eax
call edi
mov dword [esi + 8], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10002845
push eax
call edi
mov dword [esi + 0xc], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10002856
push eax
call edi
mov dword [esi + 0x10], 0
cmp dword [0x10055c90], 0
je 0x10002871
mov eax, dword [0x10055c90]
push eax
call edi
mov dword [0x10055c90], 0
lea ecx, [esi + 0x419c]
call fcn.10009460
lea ecx, [esi + 0x4198]
call fcn.10009400
lea ecx, [esi + 0x4180]
call fcn.10009460
lea ecx, [esi + 0x413c]
call fcn.10009490
lea ecx, [esi + 0x4130]
call fcn.10009490
lea ecx, [esi + 0x4124]
call fcn.10009490
lea ecx, [esi + 0x40e0]
call fcn.100094d0
lea ecx, [esi + 0x40d0]
call fcn.10009480
lea ecx, [esi + 0x40a8]
call fcn.10009460
lea ecx, [esi + 0x4090]
call fcn.10009470
lea ecx, [esi + 0x407c]
call fcn.10009470
lea ecx, [esi + 0x60]
call fcn.10009490
lea ecx, [esi + 0x54]
call fcn.10009490
lea ecx, [esi + 0x48]
call fcn.10009490
pop edi
lea ecx, [esi + 0x30]
pop esi
pop ebx
add esp, 8
jmp fcn.10009460
Function at 0x10004040
Capabilities:
Check if file exists

Disassembly:
push edi
mov edi, ecx
mov ecx, dword [esp + 8]
call fcn.1000ca30
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10004066
push dword [esp + 0xc]
mov ecx, edi
push dword [esp + 0xc]
call fcn.10003d60
pop edi
ret 8

Function at 0x10004070
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100437e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
sub esp, 0x18
mov word [ebp - 0x17], 0x4143
mov edi, ecx
mov word [ebp - 0x14], 0x20
mov ecx, esp
mov byte [ebp - 0x15], 0x4e
mov byte [ebp - 0x18], 0x53
push ebx
call fcn.10008fe0
lea eax, [ebp - 0x6c]
push eax
call fcn.100069d0
add esp, 0x1c
mov esi, eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x54]
call fcn.10008f40
push esi
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
call fcn.10007b50
add esp, 0xc
lea ecx, [ebp - 0x54]
call fcn.10009450
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call fcn.10009450
push 0
push 0x80
push 3
push 0
push 1
mov eax, 0x3a
mov dword [ebp - 0x22], 0x4f0020
push 0x80000000
mov ecx, ebx
mov word [ebp - 0x24], ax
mov dword [ebp - 0x1e], 0x4b
call fcn.1000ca30
push eax
call dword [0x1007407c]
mov esi, eax
cmp esi, 0xffffffff
je 0x100041a4
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x80000
ja 0x10004188
cmp dword [ebp + 8], 0
jne 0x10004188
lea ecx, [ebp - 0x3c]
call fcn.1000ca20
push eax
mov ecx, edi
call fcn.10004390
test al, al
je 0x1000419b
mov ecx, edi
mov byte [edi + 0x415c], 1
call fcn.100043e0
push esi
mov byte [edi + 0x415c], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100041b7
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.1000c640
push ebx
mov ecx, edi
call fcn.100048b0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100041b7
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.1000c640
push ebx
mov ecx, edi
call fcn.100048b0
lea ecx, [ebp - 0x3c]
call fcn.10009450
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10004300
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0xc
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0x2e373231
mov dword [esp + 0xd], 0x312e302e
mov byte [esp + 0xc], 0x30
mov byte [esp + 0x11], 0
push dword [edi + 0x78]
call dword [0x100740c4]
push 6
push 1
push 2
call dword [0x100740a4]
mov dword [edi + 0x78], eax
lea esi, [edi + 0x40c0]
mov eax, 2
mov word [esi], ax
lea eax, [esp + 8]
push eax
call dword [0x100740ac]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [0x100740b0]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x100740b8]
cmp eax, 0xffffffff
pop edi
setne al
pop esi
add esp, 0xc
ret
Function at 0x10004d90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1a4
lea eax, [esp + 0x14]
push edi
push eax
push 0x101
mov edi, ecx
call dword [0x100740b4]
push 6
push 1
push 2
call dword [0x100740a4]
mov dword [edi + 0x78], eax
cmp eax, 0xffffffff
je 0x10004e46
push esi
mov eax, 2
mov dword [esp + 9], 0x474e49
lea esi, [edi + 0x40c0]
mov byte [esp + 8], 0x50
mov word [esi], ax
lea eax, [esp + 0x10]
push eax
mov word [esp + 0x19], 0x302e
mov dword [esp + 0x14], 0x2e373231
mov word [esp + 0x1c], 0x31
mov byte [esp + 0x18], 0x30
mov byte [esp + 0x1b], 0x2e
call dword [0x100740ac]
mov dword [edi + 0x40c4], eax
mov eax, 0xcee
add ax, word [edi + 0x4170]
movzx eax, ax
push eax
call dword [0x100740b0]
push 0x10
push esi
push dword [edi + 0x78]
mov word [edi + 0x40c2], ax
call dword [0x100740b8]
pop esi
cmp eax, 0xffffffff
jne 0x10004e56
push dword [edi + 0x78]
call dword [0x100740c4]
call dword [0x100740a8]
xor al, al
pop edi
add esp, 0x1a4
ret
lea eax, [esp + 4]
mov ecx, edi
push eax
call fcn.10004390
mov ecx, edi
call fcn.100043e0
mov al, 1
pop edi
add esp, 0x1a4
ret
Function at 0x100052c0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x10043934
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
push esi
push edi
push 0x100
lea eax, [ebp - 0x184]
mov edi, ecx
push 0
push eax
call fcn.1002a070
mov ebx, 0x61
mov dword [ebp + 0x1c], 0
add esp, 0xc
mov byte [edi + 0x414c], 0
mov eax, 0x79
mov dword [ebp + 0x4c], 0x740061
add edi, 0x414c
mov word [ebp + 0x64], ax
lea eax, [ebp + 0x48]
mov dword [ebp + 0x60], 0x6c0069
lea esi, [ebx + 0xb]
mov dword [ebp + 0x66], 0x63002e
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp + 0x5a], 0x64005c
mov dword [ebp + 0x6c], 0x64
mov dword [ebp + 0x48], 0x44005c
mov dword [ebp + 0x50], 0x620061
mov dword [ebp + 0x56], 0x650073
mov word [ebp + 0x5e], bx
mov word [ebp + 0x6a], si
mov word [ebp + 0x54], bx
call fcn.10009060
mov esi, eax
push 0x10073dc8
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.10009060
push esi
push eax
lea eax, [ebp]
mov byte [ebp - 4], 1
push eax
call fcn.10007d10
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.10009460
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.10009460
lea ecx, [ebp]
call fcn.1000ca30
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000546b
mov word [ebp + 0x46], ax
lea ecx, [ebp - 0x84]
mov eax, 0x79
mov dword [ebp + 0x38], 0x6c0069
mov word [ebp + 0x3c], ax
lea eax, [ebp + 0x20]
push eax
mov dword [ebp + 0x42], 0x640076
mov dword [ebp + 0x2e], 0x650073
mov dword [ebp + 0x28], 0x620061
mov dword [ebp + 0x20], 0x44005c
mov dword [ebp + 0x3e], 0x63002e
mov word [ebp + 0x2c], bx
mov dword [ebp + 0x24], 0x740061
mov dword [ebp + 0x32], 0x64005c
mov word [ebp + 0x36], bx
call fcn.10009060
mov esi, eax
push 0x10073dc8
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.10009060
push esi
push eax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 6
push eax
call fcn.10007d10
add esp, 0xc
lea ecx, [ebp]
push eax
call fcn.10009600
lea ecx, [ebp - 0x54]
call fcn.10009460
lea ecx, [ebp - 0x6c]
call fcn.10009460
lea ecx, [ebp - 0x84]
call fcn.10009460
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea ecx, [ebp]
call fcn.1000ca30
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100054dd
push 0
lea eax, [ebp + 0x1c]
push eax
push 0x100
lea eax, [ebp - 0x184]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x161]
push 0x10045414
push eax
call fcn.1002cfdd
add esp, 0xc
test eax, eax
je 0x100054dd
push 0xffffffffffffffff
push eax
push 0x10
push edi
call fcn.1002cef3
add esp, 0x10
lea ecx, [ebp]
call fcn.10009460
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
lea esp, [ebp + 0x70]
pop ebp
ret
Function at 0x10005680
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0x44
push 0
lea eax, [ebx + 0x40e0]
push eax
call fcn.1002a070
add esp, 0xc
mov ecx, 0x10073fc8
call fcn.1000d910
lea ecx, [ebx + 0x407c]
mov byte [ebx + 0x40dd], 0
mov byte [ebx + 0x40da], 0
mov byte [ebx + 0x29], 0
call fcn.1000cb00
lea ecx, [ebx + 0x4130]
mov dword [ebx + 0x40a4], 0
mov dword [ebx + 0x416c], 0
call fcn.1000cb10
lea ecx, [ebx + 0x413c]
call fcn.1000cb10
mov edi, dword [esp + 0x14]
xor esi, esi
mov ecx, edi
mov byte [ebx + 0x40dc], 1
call fcn.1000e8a0
test eax, eax
je 0x10005722
push esi
mov ecx, edi
call fcn.10009720
push eax
lea ecx, [ebx + 0x4130]
call fcn.1000dde0
mov ecx, edi
inc esi
call fcn.1000e8a0
cmp esi, eax
jb 0x10005702
push 0
push 0
push ebx
push 0x10003290
push 0
push 0
call fcn.1002f9e0
add esp, 0x18
mov dword [ebx + 0x416c], eax
mov ecx, 0x10073fc8
call fcn.1000e910
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x10005750
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push 0x44
push 0
lea eax, [ebx + 0x40e0]
push eax
call fcn.1002a070
add esp, 0xc
mov ecx, 0x10073fc8
call fcn.1000d910
lea ecx, [ebx + 0x407c]
mov byte [ebx + 0x40dd], 0
mov byte [ebx + 0x40da], 0
mov byte [ebx + 0x29], 0
call fcn.1000cb00
lea ecx, [ebx + 0x4130]
mov dword [ebx + 0x40a4], 0
mov dword [ebx + 0x416c], 0
call fcn.1000cb10
lea ecx, [ebx + 0x413c]
call fcn.1000cb10
mov edi, dword [esp + 0x14]
xor esi, esi
mov ecx, edi
mov byte [ebx + 0x40dc], 1
call fcn.1000e8a0
test eax, eax
je 0x100057f2
push esi
mov ecx, edi
call fcn.10009720
push eax
lea ecx, [ebx + 0x413c]
call fcn.1000dde0
mov ecx, edi
inc esi
call fcn.1000e8a0
cmp esi, eax
jb 0x100057d2
mov ecx, edi
call fcn.1000e8a0
push 0
push 0
push ebx
push 0x10003290
push 0
push 0
mov dword [ebx + 0x40fc], eax
call fcn.1002f9e0
add esp, 0x18
mov dword [ebx + 0x416c], eax
mov ecx, 0x10073fc8
call fcn.1000e910
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x10005e60
Capabilities:
Check if file exists
Create thread

Disassembly:
sub esp, 0xc
cmp byte [0x10055c82], 0
push esi
mov esi, ecx
je 0x10005f14
mov eax, 0x64
mov dword [esp + 4], 0x700055
mov word [esp + 8], ax
xor eax, eax
mov word [esp + 0xe], ax
lea eax, [esp + 4]
push eax
push 0x5a0
mov dword [esp + 0x12], 0x6d0054
call fcn.10005f20
test eax, eax
je 0x10005f14
push 0x5a0
mov ecx, esi
call fcn.10006370
test eax, eax
je 0x10005f14
push str.GlobalPCAProMutex
push 0
push 0x100000
call dword [0x1007409c]
test eax, eax
je 0x10005ed9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10005f14
cmp dword [0x10055c8c], 0
je 0x10005ef9
mov eax, dword [0x10055c8c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push esi
push 0x10002970
push 0
push 0
call fcn.1002f9e0
add esp, 0x18
mov dword [0x10055c8c], eax
pop esi
add esp, 0xc
ret
Function at 0x10006370
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ebp, ecx
mov eax, dword [ebp + 0x4178]
shl esi, 4
sub esi, dword [esp + 0x28]
push edi
lea edi, [ebp + 0x4178]
shl esi, 2
or eax, dword [edi + 4]
jne 0x100063d9
push eax
push 0x80
push 3
push eax
push 1
push 0x80000000
lea ecx, [ebp + 0x419c]
call fcn.1000ca30
push eax
call dword [0x1007407c]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100063d9
push 0
lea eax, [esp + 0x30]
push eax
push 8
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
xorps xmm0, xmm0
mov word [esp + 0x18], ax
mov dword [esp + 0x22], eax
mov word [esp + 0x26], ax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
movq qword [esp + 0x1e], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ebx, dword [esp + 0x14]
xor eax, eax
or eax, dword [esp + 0x10]
and ebx, 0x7fffffff
mov ecx, eax
mov dword [esp + 0x2c], eax
sub ecx, dword [edi]
mov eax, ebx
push 0
sbb eax, dword [edi + 4]
push 0x989680
push eax
push ecx
call fcn.10012340
test edx, edx
jl 0x100064a5
jg 0x1000644a
cmp eax, esi
jbe 0x100064a5
mov eax, dword [esp + 0x2c]
lea ecx, [ebp + 0x419c]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
mov dword [edi], eax
mov dword [edi + 4], ebx
call fcn.1000ca30
push eax
call dword [0x1007407c]
mov esi, eax
cmp esi, 0xffffffff
je 0x10006496
push 0
lea eax, [esp + 0x30]
push eax
push 8
push edi
push esi
call dword [0x10074074]
push esi
call dword [0x10074078]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret 4
Function at 0x10006780
Capabilities:
Delete directory

Disassembly:
sub esp, 0x66c
push ebx
push ebp
push esi
push 0x400
lea eax, [esp + 0x27c]
push 0
push eax
call fcn.1002a070
mov ebx, dword [esp + 0x688]
mov eax, 0x25
mov word [esp + 0x24], ax
lea eax, [esp + 0x24]
push ebx
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x290]
mov dword [esp + 0x3a], 0x2a
push 0x200
push eax
mov dword [esp + 0x3e], 0x2e002a
mov dword [esp + 0x3a], 0x5c0073
call fcn.1000e970
add esp, 0x20
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10006895
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test byte [esp + 0x2c], 0x10
je 0x10006879
cmp word [esp + 0x58], 0x2e
je 0x10006879
cmp word [esp + 0x5a], 0x2e
je 0x10006879
xor eax, eax
mov dword [esp + 0x10], 0x730025
mov word [esp + 0x1a], ax
mov eax, 0x5c
mov word [esp + 0x14], ax
lea eax, [esp + 0x58]
push eax
push ebx
lea eax, [esp + 0x18]
mov dword [esp + 0x1e], 0x730025
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x28c]
push 0x200
push eax
call fcn.1000e970
lea eax, [esp + 0x294]
push eax
call fcn.10006610
add esp, 0x1c
lea eax, [esp + 0x27c]
push eax
call edi
lea eax, [esp + 0x2c]
push eax
push esi
call dword [0x10074064]
test eax, eax
jne 0x10006808
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x66c
ret

Function at 0x10006eb0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnumWindows]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
mov edi, dword [esp + 0x14]
xor esi, esi
mov byte [0x10055c80], 0
nop dword [eax]
inc esi
cmp esi, 0x1e
jg 0x10006ef4
push edi
push 0x10006e50
call ebx
cmp byte [0x10055c80], 0
jne 0x10006ef4
push 0x64
call ebp
cmp byte [0x10055c80], 0
je 0x10006ed0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10007310
Capabilities:
Create directory

Disassembly:
sub esp, 0x38
push esi
mov esi, dword [esp + 0x40]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1000732a
pop esi
add esp, 0x38
ret
push edi
push 0
push 0x2000000
push 3
push 0
push 0
push 0x60000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10007353
pop edi
xor eax, eax
pop esi
add esp, 0x38
ret
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push 4
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x221
push 0x20
push 2
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0
push eax
mov word [esp + 0x48], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov eax, dword [esp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x28]
movq qword [esp + 0x3c], xmm0
push eax
movups xmmword [esp + 0x30], xmm0
push 1
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], 0x10000000
mov dword [esp + 0x38], 3
mov dword [esp + 0x48], 2
mov dword [esp + 0x44], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10007430
push 0
push eax
push 0
push 0
push 4
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
push dword [esp + 0x10]
call esi
push dword [esp + 0x14]
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
add esp, 0x38
ret

Function at 0x10007470
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10043a95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x244
push ebx
push esi
lea ecx, [ebp - 0x24]
call fcn.10009090
push 0
push 2
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x100074d1
lea eax, [ebp - 0x250]
mov dword [ebp - 0x250], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x100074ed
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
lea ecx, [ebp - 0x24]
call fcn.10009460
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x24]
call fcn.100096d0
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.1000dde0
lea eax, [ebp - 0x250]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100074f1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
pop edi
jmp 0x100074d3