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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x2a8]
push eax
lea ecx, [esi + 0x318]
call fcn.10002b70
cmp dword [esi + 0x2a8], 1
je 0x10009f99
mov ecx, dword [esi + 0x3b4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [ebp - 4]
push edx
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 0
call fcn.10002fe0
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x3b4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10009fb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10035b40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi + 0x20]
call fcn.10006480
mov ecx, dword [eax]
mov dword [esi + 0x2e4], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x2e8], edx
mov ecx, dword [eax + 8]
mov dword [esi + 0x2ec], ecx
mov edx, dword [eax + 0xc]
lea ecx, [esi + 0x20]
mov dword [esi + 0x2f0], edx
call fcn.10006540
mov ecx, esi
call fcn.10009ec0
mov ecx, esi
call fcn.10009cf0
cmp dword [esi + 0x2a8], 1
je 0x1000a048
mov eax, dword [esi + 0x3b4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [esi + 0x24]
mov dword [ebp - 0x18], 0
call fcn.10002fe0
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018356
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [esi + 0x3b4]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.10018356
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1000a130
Capabilities:
Create process on windows

Disassembly:
cmp dword [0x10035a14], 0
push esi
mov esi, ecx
je 0x1000a150
push 1
push 0x69
push 0
push 0
push 0x73
push 0x72
call fcn.100093b0
add esp, 0x18
push edi
push 4
lea ecx, [esi + 0x450]
call fcn.1000cd10
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 2
push eax
call edi
mov ecx, dword [esi + 4]
push 3
push ecx
call edi
mov edx, dword [esi + 4]
push 1
push edx
call edi
mov eax, dword [esi + 4]
push 0
push eax
call edi
push 0
push 0
push 0
push str.http:__www.funshion.com_download_
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 4]
pop edi
test eax, eax
je 0x1000a1b3
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret
Function at 0x1000a1d0
Capabilities:
Create process on windows

Disassembly:
cmp dword [0x10035a14], 0
push esi
mov esi, ecx
je 0x1000a1f0
push 1
push 0x69
push 0
push 0
push 0x75
push 0x74
call fcn.100093b0
add esp, 0x18
push edi
push 3
lea ecx, [esi + 0x450]
call fcn.1000cd10
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 2
push eax
call edi
mov ecx, dword [esi + 4]
push 3
push ecx
call edi
mov edx, dword [esi + 4]
push 1
push edx
call edi
mov eax, dword [esi + 4]
push 0
push eax
call edi
push 0
push 0
push 0
push str.http:__www.funshion.com_download_
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 4]
pop edi
test eax, eax
je 0x1000a253
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x1000a2e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100264f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10035b40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x14]
push eax
add ecx, 0x2d4
mov dword [ebp - 4], 0
call fcn.10009830
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000a349
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000a4e0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
mov esi, ecx
push 0x3e8
mov dword [esi + 0x2d0], 1
call ebx
mov ecx, esi
call fcn.1000a2e0
push 2
lea ecx, [esi + 0x450]
call fcn.1000cd10
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 2
push eax
call edi
mov ecx, dword [esi + 4]
push 3
push ecx
call edi
mov edx, dword [esi + 4]
push 1
push edx
call edi
mov eax, dword [esi + 4]
push 0
push eax
call edi
push 0
push 0
push 0
push str.http:__www.funshion.com_download_
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x1f4
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x1000a560
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [esi + 0x420]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [esi + 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
ret
Function at 0x1000ab70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100265e0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10035b40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
cmp dword [0x10035a14], 0
je 0x1000ac30
mov eax, dword [0x10035b04]
mov edx, dword [eax + 0xc]
mov ecx, 0x10035b04
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0
push 0x76
mov dword [ebp - 4], 0
call fcn.100013b0
add esp, 8
test eax, eax
je 0x1000abe4
push 0x76
push eax
lea ecx, [ebp - 0x14]
call fcn.10002000
mov edi, dword [ebp - 0x14]
push 1
push 0x69
push 0
push 0
push 0x75
push ecx
add edi, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov ebx, esp
push edi
call fcn.10001820
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.10009520
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000ac30
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea ecx, [ebp - 0x14]
push ecx
mov ebx, 1
lea ecx, [esi + 0x2d4]
mov dword [ebp - 4], ebx
call fcn.10009b00
mov edi, eax
mov eax, dword [edi]
mov byte [ebp - 4], 2
cmp dword [eax - 4], ebx
jle 0x1000ac5f
mov edx, dword [eax - 0xc]
push edx
mov ecx, edi
call fcn.100019b0
mov edi, dword [edi]
push ebx
push 0
push 0x10029808
push edi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000ac97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1000acb0
push 5
lea ecx, [esi + 0x450]
call fcn.1000cd10
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 2
push ecx
call edi
mov edx, dword [esi + 4]
push 3
push edx
call edi
mov eax, dword [esi + 4]
push 1
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esi + 4]
test eax, eax
je 0x1000acfc
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edx, dword [esi + 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b2d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
inc dword [esi + 0x2b0]
cmp dword [esi + 0x2b0], 4
push edi
jne 0x1000b330
lea ecx, [esi + 0x428]
mov dword [esi + 0x2b0], 0
call fcn.10007120
fstp qword [esi + 0x2b8]
cmp dword [esi + 0x2a8], 1
jne 0x1000b330
lea ecx, [esi + 0x428]
call fcn.10007190
cmp dword [esi + 0x2a8], 3
mov dword [esi + 0x2ac], eax
jne 0x1000b330
test eax, eax
jne 0x1000b330
mov ecx, esi
call fcn.1000a1d0
cmp dword [esi + 0x2a8], 2
jne 0x1000b3c3
mov eax, dword [esi + 0x2ac]
test eax, eax
je 0x1000b34e
dec eax
mov dword [esi + 0x2ac], eax
mov eax, dword [esi + 0x2a4]
cmp eax, 0x3e8
jae 0x1000b3c3
add eax, 0x47
mov dword [esi + 0x2a4], eax
add eax, 0x47
cmp eax, 0x3e8
jbe 0x1000b378
mov dword [esi + 0x2a4], 0x3e8
mov eax, dword [esi + 0x2a4]
cmp eax, 0x3e8
jne 0x1000b38f
mov dword [esi + 0x2a8], 3
push eax
mov ecx, esi
call fcn.1000af00
mov eax, dword [esi + 0x2a4]
mov ecx, dword [esi + 0x2f8]
push 0
push eax
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi + 0x2f8]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp dword [esi + 0x2a8], 3
jne 0x1000b3e6
mov eax, dword [esi + 0x2ac]
test eax, eax
je 0x1000b3e6
dec eax
mov dword [esi + 0x2ac], eax
jne 0x1000b3e6
mov ecx, esi
call fcn.1000a1d0
mov ecx, esi
call fcn.1000a5d0
mov ecx, esi
call fcn.1000a840
mov eax, dword [esi + 0x2a8]
push eax
lea ecx, [esi + 0x318]
call fcn.10002b70
mov edi, 1
cmp dword [esi + 0x2a8], edi
je 0x1000b437
mov ecx, dword [esi + 0x3b4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [ebp - 4]
push edx
lea ecx, [esi + 0x24]
mov dword [ebp - 4], 0
call fcn.10002fe0
jmp 0x1000b446
mov eax, dword [esi + 0x3b4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x2a8], edi
jne 0x1000b455
mov ecx, esi
call fcn.1000adb0
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000b980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000b9f2
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x1000b9c1
cmp eax, 2
jne 0x1000b9dc
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x1000b9ec
test eax, eax
je 0x1000b9e7
test al, 1
jne 0x1000b9dc
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x1000b9ec
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1000d9f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x10035b40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.10007620
mov ebx, eax
cmp ebx, esi
je 0x1000da6a
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x1000da55
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018356
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push esi
push eax
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1000daec
mov edi, edi
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.1000d9f0
mov ebx, eax
cmp ebx, esi
jne 0x1000da44
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push esi
push edx
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1000daa0
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x1000db05
push eax
call ebx
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x218]
push eax
mov ecx, edi
mov dword [ebp - 0x20c], esi
call fcn.1000d1c0
mov edi, eax
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x1000db28
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10018356
mov esp, ebp
pop ebp
ret 4
Function at 0x1000fba0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026b66
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x10035b40]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x1000fc1d
call fcn.1000d040
mov edi, eax
jmp 0x1000fd02
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1000fc36
call fcn.1000d040
jmp 0x1000fcf9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x1000fc54
call fcn.1000d040
jmp 0x1000fcf9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x1000fc75
mov edi, 0x8007000e
jmp 0x1000fcfb
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1000eb80
mov dword [ebp - 4], 1
jmp 0x1000fcad
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x1000fcbe
mov edi, 0x8007000e
jmp 0x1000fcfb
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x1000fcd7
call fcn.1000d040
jmp 0x1000fcf9
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.1000f9c0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x1000fd20
lea ecx, [ebp - 0x418]
call fcn.1000d990
jmp 0x1000fd20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10018356
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100111c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10026cfb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x10035b40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.funshion_olninst_instance
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10011212
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, dword [ebp - 0x10]
je 0x10011212
test eax, eax
jne 0x1001122b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x468
call fcn.100183b8
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x10011251
mov ecx, eax
call fcn.1000b620
mov esi, eax
jmp 0x10011253
xor esi, esi
mov eax, dword [ebp + 8]
push eax
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.1000b460
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call fcn.10009cd0
push 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
mov ecx, esi
call fcn.10010e00
mov edx, dword [esi + 4]
push str.funshion_onlineInstwnd_nick
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x10035a14]
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x100125a0
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x100125aa
lea esi, [ecx - 8]
jmp 0x100125ac
xor esi, esi
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx + 0x18]
lea eax, [esi + 0x14]
push eax
call edx
mov esi, dword [esi + 0x8c]
test esi, esi
je 0x100125cb
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x10012fd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x10012fe2
add eax, 0xfffffff4
jmp 0x10012fe4
xor eax, eax
mov eax, dword [eax + 0x50]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, 7
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp + 8], 0
test eax, eax
jne 0x1001300d
xor ecx, ecx
mov dword [ebp + 8], ecx
mov eax, 0x80004005
jmp 0x10013020
mov ecx, dword [eax]
lea edx, [ebp + 8]
push edx
push 0x1002a744
push eax
mov eax, dword [ecx]
call eax
mov ecx, dword [ebp + 8]
test eax, eax
js 0x10013070
test ecx, ecx
je 0x1001306b
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor esi, esi
call edi
test ax, ax
jns 0x1001303e
mov esi, 1
push 0x11
call edi
test ax, ax
jns 0x1001304a
add esi, 2
push 0x12
call edi
test ax, ax
jns 0x10013056
add esi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [ebp + 8]
jmp 0x10013070
mov eax, 1
xor edx, edx
test eax, eax
setne dl
mov esi, edx
test ecx, ecx
je 0x10013085
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10016570
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10027218
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x10035b40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10016698
lea eax, [ebp - 0x23c]
push eax
push edi
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x10016691
lea esp, [esp]
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x240]
call fcn.100025d0
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x1001666f
mov esi, dword [ebp - 0x240]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1001662e
test dx, dx
je 0x1001662a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1001662e
add eax, 4
add ecx, 4
test dx, dx
jne 0x10016608
xor eax, eax
jmp 0x10016633
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
or ecx, 0xffffffff
test al, al
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
jne 0x10016679
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10016658
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x23c]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100165e0
jmp 0x10016691
push 0x80004005
call fcn.10001320
mov ebx, 1
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10016691
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100166be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10018356
mov esp, ebp
pop ebp
ret 4
Function at 0x100168f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x10035b40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push ecx
mov ecx, esp
mov dword [ebp - 0x21c], esp
push 0x10029930
call fcn.100025d0
mov ecx, dword [ebp + 8]
call fcn.10016570
test eax, eax
je 0x1001693b
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10018356
mov esp, ebp
pop ebp
ret 4
push str.SoftWareFunshionFunshion
lea ecx, [ebp - 0x210]
call fcn.100025d0
push 0x10029808
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
call fcn.100025d0
mov eax, dword [ebp - 0x210]
cmp dword [eax - 4], 1
jle 0x1001699a
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x210]
call fcn.100019b0
mov eax, dword [ebp - 0x210]
push 0x20019
push eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x228]
call fcn.10007620
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10016a65
push 0x10029808
lea ecx, [ebp - 0x21c]
call fcn.100025d0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.10018af0
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x20c]
push ecx
push str.Install_Path
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x22c], 0x104
call fcn.1000b980
test eax, eax
jne 0x10016a3b
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x214]
call fcn.10002400
mov esi, dword [ebp - 0x228]
test esi, esi
je 0x10016a41
push esi
call ebx
xor esi, esi
jmp 0x10016a41
mov esi, dword [ebp - 0x228]
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10016a6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x10016a6b
mov esi, dword [ebp - 0x228]
test esi, esi
je 0x10016a74
push esi
call ebx
xor esi, esi
push str.Funshion.exe
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x218]
push edx
call fcn.10007280
mov eax, dword [ebp - 0x218]
add esp, 0xc
push 0
push 0
push str.tray
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x218]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10016acb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10016aed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x10016af4
push esi
call ebx
mov eax, dword [ebp - 0x210]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10016b16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10018356
mov esp, ebp
pop ebp
ret 4