joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469e80
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49cbec]
cmp dword [eax + 0x30], 0
je 0x469f2a
cmp dword [ebx + 0x94], 0
jne 0x469f24
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x469e10
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x469f24
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x469eea
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x469f24
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004194c8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x469ef9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46aa8c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46aac1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004048d8
jmp 0x46aace
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040483c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x46bb48
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46bb89
mov eax, esi
call fcn.00451bc4
test al, al
je 0x46bb89
mov eax, dword [ebx + 0x84]
call fcn.004518c0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46bb89
push 0
mov eax, dword [ebx + 0x84]
call fcn.004518c0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46c8a4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4162cc]
call fcn.004051c8
xor eax, eax
push ebp
push 0x46c9e8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49a004], 0
jne 0x46c8f7
mov ecx, dword [0x49b060]
mov dl, 1
mov eax, dword [0x407ce0]
call fcn.0040c8c0
call fcn.004041a0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030fc
mov eax, ebx
call fcn.00405078
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46c9f8
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406260
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405088
test eax, eax
jle 0x46c98f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x46c988
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404a70
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404a58
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408b38
test eax, eax
jne 0x46c988
mov ebx, 0x15
jmp 0x46c994
mov ebx, 0x10
jmp 0x46c994
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x49a004]
call fcn.0046c7a0
mov eax, dword [ebp - 8]
call fcn.0046c7a0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406278
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c9ef
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040480c
lea eax, [ebp - 0x10]
mov edx, dword [0x4162cc]
call fcn.00405298
ret

Function at 0x4784ec
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffce8
push ebx
xor edx, edx
mov dword [ebp - 0x314], edx
mov dword [ebp - 0x318], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c98
xor eax, eax
push ebp
push 0x4785b5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x318]
mov eax, dword [ebp - 4]
call fcn.0040950c
mov eax, dword [ebp - 0x318]
lea edx, [ebp - 0x314]
call fcn.00478e24
mov edx, dword [ebp - 0x314]
lea eax, [ebp - 0x110]
call fcn.0040979c
push 0xff
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0xff
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.KERNEL32.DLL_GetVolumeInformationA
test eax, eax
jne 0x478585
xor ebx, ebx
jmp 0x47858f
mov eax, dword [ebp - 8]
cdq
xor eax, edx
sub eax, edx
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4785bc
lea eax, [ebp - 0x318]
mov edx, 2
call fcn.0040480c
lea eax, [ebp - 4]
call fcn.004047e8
ret
Function at 0x4785c4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push 0x96
lea eax, [esp + 4]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
mov edx, ebx
mov eax, esp
call fcn.004098f0
add esp, 0x100
pop ebx
ret

Function at 0x47a698
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404c98
xor eax, eax
push ebp
push 0x47a75d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push pe_nt_image_headers32
lea eax, [ebp - 0x108]
push eax
push esi
call sub.user32.dll_GetWindowTextA
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x108]
call fcn.004098f0
mov eax, dword [ebp - 0x10c]
mov edx, dword [ebp - 8]
call fcn.00404bf4
jne 0x47a702
mov ebx, esi
jmp 0x47a73c
push 2
push esi
call sub.user32.dll_GetWindow
test eax, eax
je 0x47a71d
mov ecx, dword [ebp - 8]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0047a698
mov ebx, eax
test ebx, ebx
jne 0x47a73c
push 5
push esi
call sub.user32.dll_GetWindow
test eax, eax
je 0x47a73c
mov ecx, dword [ebp - 8]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0047a698
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a764
lea eax, [ebp - 0x10c]
call fcn.004047e8
lea eax, [ebp - 8]
call fcn.004047e8
ret

Function at 0x47b608
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.004076bc
ret
Function at 0x487074
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x487089
add esp, 0xfffffff0
call fcn.00403d38
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404c98
xor eax, eax
push ebp
push 0x487150
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00482c74
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041806c
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041806c
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041806c
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.0041806c
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.00418094
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x50], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487157
lea eax, [ebp - 4]
call fcn.004047e8
ret
Function at 0x48beac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x48bfa8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x48bfc0
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.0040483c
push 0xffffffffffffffff
mov ecx, 0x48bfd0
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x48bfec
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00493980
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x48c008
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0049386c
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x48c01c
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0049386c
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x48c034
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.0049386c
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x48c050
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00493980
mov byte [ebx + 0x44], al
mov ecx, 0x48c064
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.00482950
mov byte [ebx + 0x45], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bfaf
lea eax, [ebp - 4]
call fcn.004047e8
ret
Function at 0x495ef0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c98
lea esi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x496053
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.00495cc8
mov ebx, eax
mov dword [esi], 0x128
mov edx, esi
mov eax, ebx
call fcn.00495ce8
jmp 0x496025
lea eax, [ebp - 0x138]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404a58
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.004095a0
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408958
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408958
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404bf4
je 0x496007
lea eax, [ebp - 0x144]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00404a58
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408958
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408958
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404bf4
jne 0x49601c
push 0
mov eax, dword [esi + 8]
push eax
push 0
push 1
call sub.KERNEL32.DLL_OpenProcess
push eax
call sub.KERNEL32.DLL_TerminateProcess
mov edx, esi
mov eax, ebx
call fcn.00495d08
test eax, eax
jne 0x495f68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49605a
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.0040480c
lea eax, [ebp - 4]
call fcn.004047e8
ret
Function at 0x497384
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x5b
push 0
push 0
dec ecx
jne 0x49738c
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c98
lea eax, [ebp - 0x29c]
mov edx, dword [0x407cc0]
call fcn.004051c8
xor eax, eax
push ebp
push 0x497581
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x497598
call fcn.00404ab0
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x2a0]
mov ecx, 0x4975a4
mov edx, dword [ebp - 4]
call fcn.00404af4
mov eax, dword [ebp - 0x2a0]
call fcn.00404ca8
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov ebx, eax
lea eax, [ebp - 0x2b0]
mov edx, ebx
mov cl, 4
call fcn.00414248
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x2c0]
call fcn.00415804
lea edx, [ebp - 0x2c0]
pop eax
call fcn.0041580c
je 0x497510
jmp 0x4974f5
mov eax, dword [ebp - 0x144]
sub eax, 0x10
jne 0x4974c0
lea edx, [ebp - 0x2c4]
lea eax, [ebp - 0x118]
call fcn.004098f0
mov eax, dword [ebp - 0x2c4]
mov edx, 0x4975b0
call fcn.00404bf4
je 0x4974f5
lea edx, [ebp - 0x2c8]
lea eax, [ebp - 0x118]
call fcn.004098f0
mov eax, dword [ebp - 0x2c8]
mov edx, 0x4975bc
call fcn.00404bf4
je 0x4974f5
lea eax, [ebp - 0x2d0]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.00404a58
mov ecx, dword [ebp - 0x2d0]
lea eax, [ebp - 0x2cc]
mov edx, dword [ebp - 4]
call fcn.00404af4
mov eax, dword [ebp - 0x2cc]
call fcn.00497384
jmp 0x4974f5
lea eax, [ebp - 0x2d8]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.00404a58
mov ecx, dword [ebp - 0x2d8]
lea eax, [ebp - 0x2d4]
mov edx, dword [ebp - 4]
call fcn.00404af4
mov eax, dword [ebp - 0x2d4]
call fcn.00409440
lea eax, [ebp - 0x144]
push eax
push ebx
call sub.KERNEL32.DLL_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x497430
mov dword [ebp - 0x288], ebx
lea eax, [ebp - 0x29c]
call fcn.00409424
mov eax, dword [ebp - 4]
call fcn.004096ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497588
lea eax, [ebp - 0x2d8]
mov edx, 6
call fcn.0040480c
lea eax, [ebp - 0x2c0]
mov edx, dword [0x4010d8]
mov ecx, 2
call fcn.004052e4
lea eax, [ebp - 0x2a0]
call fcn.004047e8
lea eax, [ebp - 0x29c]
mov edx, dword [0x407cc0]
call fcn.00405298
lea eax, [ebp - 4]
call fcn.004047e8
ret
Function at 0x10001b9f
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x10015cb5
call fcn.10015bc8
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 8]
push esi
or esi, 0xffffffff
push edi
mov edi, ecx
cmp ebx, esi
jne 0x10001bce
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
test ecx, ecx
je 0x10001bf4
mov eax, dword [edi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x10001bf4
dec dword [eax]
mov edi, dword [edi + 0x24]
mov eax, dword [edi]
lea ecx, [eax + 1]
mov dword [edi], ecx
mov byte [eax], bl
mov eax, ebx
jmp 0x10001bbd
cmp dword [edi + 0x54], 0
jne 0x10001bfe
mov eax, esi
jmp 0x10001bbd
mov eax, edi
call fcn.1000266d
cmp dword [edi + 0x44], 0
jne 0x10001c21
push dword [edi + 0x54]
movsx eax, bl
push eax
call fcn.1000363c
pop ecx
cmp eax, esi
pop ecx
mov eax, ebx
jne 0x10001bbd
jmp 0x10001bfa
lea esi, [ebp - 0x34]
mov byte [ebp - 0xd], bl
call fcn.10002227
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x10001ccf
lea eax, [ebp - 0x34]
mov edx, eax
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x14]
push ebx
mov ebx, dword [ebp - 0x24]
add ebx, eax
push ebx
push edx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xd]
push eax
lea eax, [edi + 0x4c]
push eax
call dword [esi + 0x14]
test eax, eax
js 0x10001cf7
cmp eax, 1
jg 0x10001cd7
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x10001c7e
lea eax, [ebp - 0x34]
mov esi, dword [ebp - 0x14]
sub esi, eax
je 0x10001ca4
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x10001c91
lea eax, [ebp - 0x34]
push dword [edi + 0x54]
push esi
push 1
push eax
call fcn.10003e42
add esp, 0x10
cmp esi, eax
jne 0x10001cf7
lea eax, [ebp - 0xd]
mov byte [edi + 0x49], 1
cmp dword [ebp - 0x18], eax
jne 0x10001cf2
test esi, esi
jne 0x10001c30
cmp dword [ebp - 0x24], 0x20
jae 0x10001cf7
push esi
push 8
pop ebx
lea esi, [ebp - 0x34]
call fcn.1000226b
jmp 0x10001c30
mov edx, dword [ebp - 0x34]
jmp 0x10001c42
cmp eax, 3
jne 0x10001cf7
movsx eax, byte [ebp - 0xd]
push dword [edi + 0x54]
push eax
call fcn.1000363c
or esi, 0xffffffff
pop ecx
pop ecx
cmp eax, esi
je 0x10001cfa
mov esi, dword [ebp + 8]
jmp 0x10001cfa
or esi, 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.1000233a
jmp 0x10001bfa
Function at 0x10002579
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x10015cd1
call fcn.10015bc8
sub esp, 0x20
push ebx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x1000265e
cmp byte [edi + 0x49], bl
je 0x1000265e
mov eax, dword [edi]
push 0xffffffffffffffff
mov ecx, edi
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x100025b0
xor al, al
jmp 0x10002660
push esi
lea esi, [ebp - 0x2c]
call fcn.10002227
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10002600
lea eax, [ebp - 0x2c]
mov edx, eax
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x10]
push ebx
mov ebx, dword [ebp - 0x1c]
add eax, ebx
push eax
push edx
lea eax, [edi + 0x4c]
push eax
call dword [esi + 0x18]
sub eax, 0
je 0x10002605
dec eax
je 0x10002609
dec eax
dec eax
je 0x1000265a
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000233a
mov al, bl
pop esi
jmp 0x10002660
mov edx, dword [ebp - 0x2c]
jmp 0x100025ca
mov byte [edi + 0x49], 0
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10002615
lea eax, [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
sub esi, eax
je 0x1000263b
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x10002628
lea eax, [ebp - 0x2c]
push dword [edi + 0x54]
push esi
push 1
push eax
call fcn.10003e42
add esp, 0x10
cmp esi, eax
jne 0x100025ed
cmp byte [edi + 0x49], 0
je 0x1000265a
test esi, esi
jne 0x100025bc
push esi
push 8
pop ebx
lea esi, [ebp - 0x2c]
call fcn.1000226b
jmp 0x100025bc
mov bl, 1
jmp 0x100025ef
mov al, 1
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x1000981a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001c580]
jne 0x10009824
repz ret
jmp fcn.1000c640
Function at 0x1000c2d5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1001c580]
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.10008a4f
and dword [ebp - 0x14], 0
cmp dword [0x1001dda8], 0
mov dword [ebp - 0x18], eax
jne 0x1000c388
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000c430
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000c430
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1001dda8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001ddac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001ddb0], eax
call edi
push eax
call esi
mov dword [0x1001ddb8], eax
test eax, eax
je 0x1000c388
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1001ddb4], eax
mov eax, dword [0x1001ddb4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000c3e1
cmp dword [0x1001ddb8], ecx
je 0x1000c3e1
push eax
call esi
push dword [0x1001ddb8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000c3e1
test ebx, ebx
je 0x1000c3e1
call edi
test eax, eax
je 0x1000c3d8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000c3d8
test byte [ebp - 8], 1
jne 0x1000c3e1
or dword [ebp + 0x10], 0x200000
jmp 0x1000c414
mov eax, dword [0x1001ddac]
cmp eax, dword [ebp - 0x18]
je 0x1000c414
push eax
call esi
test eax, eax
je 0x1000c414
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000c414
mov eax, dword [0x1001ddb0]
cmp eax, dword [ebp - 0x18]
je 0x1000c414
push eax
call esi
test eax, eax
je 0x1000c414
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1001dda8]
call esi
test eax, eax
je 0x1000c430
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000c432
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000981a
leave
ret

Function at 0x100150d5
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push esi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x10015144
push 0x228
lea eax, [ebp - 0x228]
push 0
push eax
mov dword [ebp - 0x22c], 0x22c
call fcn.10004a00
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x10015139
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp + 8]
je 0x10015149
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10015120
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
leave
ret
lea eax, [ebp - 0x208]
jmp 0x10015146
Function at 0x100151e1
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push ebx
push esi
push edi
mov esi, 0xff
xor ebx, ebx
push esi
lea eax, [ebp - 0x203]
push ebx
push eax
xor edi, edi
mov byte [ebp - 0x204], bl
call fcn.10004a00
push esi
lea eax, [ebp - 0x103]
push ebx
push eax
mov byte [ebp - 0x104], bl
call fcn.10004a00
add esp, 0x18
xor ecx, ecx
xor edx, edx
push 0x26
mov eax, ecx
pop esi
div esi
mov byte [ebp + ecx - 0x104], cl
inc ecx
mov al, byte [edx + str.11AADC32_A303_41DC_BF82_A28332F36A2E]
mov byte [ebp + ecx - 0x205], al
cmp ecx, 0x100
jl 0x10015223
xor esi, esi
movzx ecx, byte [ebp + esi - 0x204]
lea eax, [ebp + esi - 0x104]
mov dl, byte [eax]
movzx ebx, dl
add edi, ecx
add edi, ebx
and edi, 0x800000ff
jns 0x10015273
dec edi
or edi, 0xffffff00
inc edi
lea ecx, [ebp + edi - 0x104]
mov bl, byte [ecx]
inc esi
mov byte [eax], bl
mov byte [ecx], dl
cmp esi, 0x100
jl 0x1001524b
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
jbe 0x10015300
inc esi
and esi, 0x800000ff
jns 0x100152a6
dec esi
or esi, 0xffffff00
inc esi
lea eax, [ebp + esi - 0x104]
mov dl, byte [eax]
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x100152c4
dec edi
or edi, 0xffffff00
inc edi
lea ecx, [ebp + edi - 0x104]
mov bl, byte [ecx]
mov byte [eax], bl
mov ebx, dword [ebp - 4]
mov byte [ecx], dl
movzx eax, byte [eax]
mov ecx, dword [ebp + 8]
movzx edx, dl
add eax, edx
and eax, 0x800000ff
jns 0x100152ed
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [ebp + eax - 0x104]
xor byte [ecx + ebx], al
inc ebx
mov dword [ebp - 4], ebx
cmp ebx, dword [ebp + 0xc]
jb 0x10015295
pop edi
pop esi
pop ebx
leave
ret