joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100132fe
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x1008315e
call fcn.1006cd3d
lea eax, [ebp - 0x14]
push eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp + 8]
mov esi, ecx
add esi, 0x24
push dword [esi]
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x10013337
xor eax, eax
call fcn.1006ce15
ret 8
mov eax, dword [ebp - 0x14]
shr eax, 1
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x10], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100690b4
mov edi, eax
pop ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], ebx
push dword [ebp + 8]
push esi
lea esi, [ebp - 0x10]
call fcn.100136f0
test eax, eax
je 0x10013375
push edi
call fcn.1006994c
pop ecx
jmp 0x1001332d
cmp dword [ebp - 0x18], 2
jne 0x100133da
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push ebx
push ebx
push edi
call esi
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x10], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100690b4
pop ecx
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push eax
push edi
call esi
push dword [ebp + 8]
test eax, eax
je 0x100133c6
push dword [ebp + 0xc]
call fcn.1000164e
push dword [ebp + 8]
call fcn.1006994c
pop ecx
jmp 0x100133e3
call fcn.1006994c
pop ecx
push edi
call fcn.1006994c
pop ecx
mov eax, ebx
jmp 0x1001332f
push edi
push dword [ebp + 0xc]
call fcn.1000164e
xor ebx, ebx
inc ebx
jmp 0x100133cc

Function at 0x1001349f
Capabilities:
Delete registry value

Disassembly:
mov eax, dword [esp + 8]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x100134a6
sub eax, ecx
sar eax, 1
cmp eax, 1
jae 0x100134bd
xor eax, eax
jmp 0x100134d3
push dword [esp + 8]
mov eax, dword [esp + 8]
push dword [eax + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
neg eax
sbb eax, eax
inc eax
ret 8
Function at 0x100135ea
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x100a52b4]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
mov dword [esp + 0x24], eax
xor esi, esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call fcn.100110b4
mov ebx, eax
cmp ebx, esi
je 0x1001364a
cmp dword [esp + 0xc], esi
je 0x10013646
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x100136c3
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x10013668
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.100135ea
mov dword [esp + 0x1c], eax
cmp eax, esi
jne 0x100136da
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
mov dword [esp + 0x34], 0x100
call ebx
test eax, eax
je 0x10013652
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xc], esi
je 0x100136a3
push dword [esp + 0xc]
call ebx
mov dword [esp + 0xc], esi
push dword [esp + 0x18]
mov dword [esp + 0x14], esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp dword [esp + 0xc], esi
je 0x100136c1
push dword [esp + 0xc]
call ebx
mov eax, edi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10069957
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0xc], esi
je 0x100136ea
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
jmp 0x100136c3

Function at 0x100136f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10013754
cmp dword [ebp + 0xc], 1
je 0x1001372c
cmp dword [ebp + 0xc], 2
je 0x1001372c
push 0xd
pop eax
jmp 0x10013754
mov eax, dword [ebp - 4]
test edi, edi
je 0x1001374e
test eax, eax
je 0x10013749
test al, 1
jne 0x10013727
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x1001374e
jmp 0x10013727
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x10013d28
Capabilities:
Delete directory

Disassembly:
push 0xc0
mov eax, 0x10085031
call fcn.1006cda6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x68]
push eax
call fcn.10013b85
pop ecx
lea eax, [ebp - 0x94]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.10063468
push 0x10090390
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 1
call fcn.10010b38
add esp, 0xc
lea edx, [ebp - 0x94]
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1001828d
push ebx
push 1
lea esi, [ebp - 0x4c]
mov edi, eax
mov byte [ebp - 4], 1
call fcn.10001673
cmp edi, ebx
je 0x10013eac
mov esi, dword [ebp - 0x88]
cmp esi, dword [ebp - 0x84]
jbe 0x10013dae
call fcn.1006a565
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], esi
mov esi, dword [ebp - 0x84]
cmp dword [ebp - 0x88], esi
jbe 0x10013dcd
call fcn.1006a565
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x78], esi
lea edi, [ebp - 0x7c]
lea esi, [ebp - 0x70]
mov dword [ebp - 0x7c], eax
call fcn.10010378
test al, al
je 0x10013eac
call fcn.1001081f
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.10010aa2
add esp, 0xc
push str.F0B1CEAC_7C0D_407c_B25E_623D7CBECCCB_
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.10010b38
add esp, 0xc
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0xb0]
mov byte [ebp - 4], 5
call fcn.10001673
push dword [ebp - 0x74]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.10010aa2
add esp, 0xc
push str..lock
push eax
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 6
call fcn.10010b38
add esp, 0xc
push ebx
push edi
lea esi, [ebp - 0xcc]
mov byte [ebp - 4], 8
call fcn.10001673
lea eax, [ebp - 0x4c]
call fcn.100181a9
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x10013e80
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push ebx
push edi
lea esi, [ebp - 0x4c]
call fcn.10001673
push ebx
push edi
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10001673
lea esi, [ebp - 0x70]
call fcn.1001096a
jmp 0x10013dba
lea esi, [ebp - 0x94]
call fcn.100102bb
push ebx
push 1
lea esi, [ebp - 0x68]
call fcn.10001673
call fcn.1006ce29
ret

Function at 0x100144d2
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100a52b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
push 0x228
mov esi, eax
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.1006c610
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x10014539
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp + 8]
je 0x1001453f
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10014521
jmp 0x10014545
mov edi, dword [ebp - 0x218]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.10069957
leave
ret
Function at 0x1001455c
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x7ac]
sub esp, 0x82c
mov eax, dword [0x100a52b4]
xor eax, ebp
mov dword [ebp + 0x7a8], eax
mov eax, dword [ebp + 0x7b4]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x80], eax
xor eax, eax
push edi
mov dword [ebp - 0x60], ebx
mov edi, 0x400
mov dword [ebp - 0x70], eax
mov esi, 0x1000
cmp esi, eax
je 0x1001459f
cmp eax, ebx
jne 0x100145e8
cmp dword [ebp - 0x60], ebx
je 0x100145b6
push dword [ebp - 0x60]
call fcn.1006994c
sub edi, 0xffffff80
pop ecx
add esi, 0x200
xor ecx, ecx
push 4
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100690b4
pop ecx
lea ecx, [ebp - 0x70]
push ecx
push esi
push eax
mov dword [ebp - 0x60], eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x100146f8
mov eax, dword [ebp - 0x70]
jmp 0x10014597
shr eax, 2
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x64], ebx
cmp eax, ebx
jbe 0x100146ea
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
lea esi, [eax + ecx*4]
push dword [esi]
push 0
push 0x410
call edi
and dword [ebp - 0x6c], 0
and dword [ebp - 0x7c], 0
push str.Unknown
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x58]
push 0x400
push eax
call fcn.1006bd66
add esp, 0xc
cmp dword [ebp - 0x5c], 0
je 0x100146db
lea eax, [ebp - 0x7c]
push eax
push 4
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x5c]
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x10014666
push dword [ebp - 0x5c]
jmp 0x100146d9
push 0x400
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x5c]
call sub.PSAPI.DLL_GetModuleBaseNameW
push dword [ebp - 0x80]
lea eax, [ebp - 0x58]
push eax
call fcn.1006aadf
pop ecx
pop ecx
test eax, eax
jne 0x10014661
cmp dword [ebp + 0x7b8], eax
je 0x100146af
push dword [esi]
call fcn.100144d2
push eax
mov dword [ebp - 0x74], eax
call fcn.100144d2
pop ecx
pop ecx
test eax, eax
je 0x100146af
mov esi, dword [ebp - 0x74]
jmp 0x100146b1
mov esi, dword [esi]
push dword [ebp - 0x5c]
call ebx
push esi
push 0
push 1
call edi
mov esi, eax
test esi, esi
jne 0x100146c8
and dword [ebp - 0x68], eax
jmp 0x100146db
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x100146d8
and dword [ebp - 0x68], eax
push esi
call ebx
inc dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x78]
jb 0x1001460c
push dword [ebp - 0x60]
call fcn.1006994c
mov eax, dword [ebp - 0x68]
pop ecx
jmp 0x100146fa
xor eax, eax
mov ecx, dword [ebp + 0x7a8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10069957
add ebp, 0x7ac
leave
ret
Function at 0x10014712
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x1b8]
sub esp, 0x238
mov eax, dword [0x100a52b4]
xor eax, ebp
mov dword [ebp + 0x1b4], eax
push ebx
push edi
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push 2
mov dword [ebp - 0x78], 0x22c
mov dword [ebp - 0x7c], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x78]
push ecx
push eax
mov dword [ebp - 0x80], eax
call sub.KERNEL32.dll_Process32FirstW
cmp eax, edi
jne 0x100147b9
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call sub.KERNEL32.dll_Process32NextW
cmp eax, edi
jne 0x100147b9
push esi
lea eax, [ebp - 0x54]
push str.SearchSettings64.exe
push eax
call fcn.1006aadf
pop ecx
pop ecx
test eax, eax
jne 0x100147a8
push dword [ebp - 0x70]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
jne 0x10014792
mov dword [ebp - 0x7c], ebx
jmp 0x100147a8
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x100147a1
mov dword [ebp - 0x7c], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x78]
push eax
push dword [ebp - 0x80]
call sub.KERNEL32.dll_Process32NextW
cmp eax, edi
je 0x10014768
pop esi
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 0x1b4]
mov eax, dword [ebp - 0x7c]
pop edi
xor ecx, ebp
pop ebx
call fcn.10069957
add ebp, 0x1b8
leave
ret
Function at 0x100147dc
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x5c
lea ebp, [esp - 4]
mov eax, dword [0x100a52b4]
xor eax, ebp
mov dword [ebp + 0x5c], eax
push 0x3c
mov eax, 0x10083129
call fcn.1006cd3d
mov eax, dword [ebp + 0x68]
push eax
lea esi, [ebp + 8]
call fcn.10001236
xor edi, edi
push str.UNHOOK
lea esi, [ebp + 0x24]
mov dword [ebp - 4], edi
call fcn.10001236
xor ebx, ebx
inc ebx
push str.open
lea esi, [ebp + 0x40]
mov byte [ebp - 4], bl
call fcn.10001236
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.1006c610
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp dword [ebp + 0x20], 8
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0x400
jae 0x10014852
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x58], 8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x44]
jae 0x10014861
lea eax, [ebp + 0x44]
cmp dword [ebp + 0x3c], 8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x28]
jae 0x10014870
lea eax, [ebp + 0x28]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x100148c1
push edi
push ebx
lea esi, [ebp + 0x40]
call fcn.10001673
push edi
push ebx
lea esi, [ebp + 0x24]
call fcn.10001673
push edi
push ebx
lea esi, [ebp + 8]
call fcn.10001673
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5c]
xor ecx, ebp
call fcn.10069957
add ebp, 0x60
leave
ret
push 0xffffffffffffffff
push dword [ebp - 0x10]
mov dword [ebp], edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp], edi
je 0x10014907
mov dword [ebp + 4], edi
push edi
push ebx
lea esi, [ebp + 0x40]
call fcn.10001673
push edi
push ebx
lea esi, [ebp + 0x24]
call fcn.10001673
push edi
push ebx
lea esi, [ebp + 8]
call fcn.10001673
mov eax, dword [ebp + 4]
jmp 0x100148a4
mov dword [ebp + 4], ebx
jmp 0x100148e4
Function at 0x1001490c
Capabilities:
Enumerate process modules

Disassembly:
push ebp
lea ebp, [esp - 0x7a4]
sub esp, 0x824
mov eax, dword [0x100a52b4]
xor eax, ebp
mov dword [ebp + 0x7a0], eax
mov eax, dword [ebp + 0x7ac]
mov dword [ebp - 0x78], eax
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x10014933
sub eax, edx
sar eax, 1
cmp eax, 1
jae 0x1001494d
xor eax, eax
jmp 0x10014a71
push ebx
push esi
push edi
xor eax, eax
mov edi, 0x400
mov dword [ebp - 0x64], eax
mov ebx, edi
mov dword [ebp - 0x74], eax
mov esi, 0x1000
cmp esi, eax
je 0x1001496c
test eax, eax
jne 0x100149b6
cmp dword [ebp - 0x64], 0
je 0x10014984
push dword [ebp - 0x64]
call fcn.1006994c
sub ebx, 0xffffff80
pop ecx
add esi, 0x200
xor ecx, ecx
push 4
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100690b4
pop ecx
lea ecx, [ebp - 0x74]
push ecx
push esi
push eax
mov dword [ebp - 0x64], eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x10014a63
mov eax, dword [ebp - 0x74]
jmp 0x10014964
and dword [ebp - 0x6c], 0
and dword [ebp - 0x68], 0
shr eax, 2
mov dword [ebp - 0x7c], eax
test eax, eax
jbe 0x10014a56
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
push dword [eax + ecx*4]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
and dword [ebp - 0x70], 0
and dword [ebp - 0x80], 0
push str.Unknown
mov esi, eax
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.1006bd66
add esp, 0xc
test esi, esi
je 0x10014a3f
lea eax, [ebp - 0x80]
push eax
push 4
lea eax, [ebp - 0x70]
push eax
push esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x10014a3c
push edi
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x70]
push esi
call sub.PSAPI.DLL_GetModuleBaseNameW
push dword [ebp - 0x78]
lea eax, [ebp - 0x60]
push eax
call fcn.1006aadf
pop ecx
pop ecx
test eax, eax
je 0x10014a4c
push esi
call ebx
inc dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x7c]
jb 0x100149d2
jmp 0x10014a56
push esi
call ebx
mov dword [ebp - 0x6c], 1
push dword [ebp - 0x64]
call fcn.1006994c
mov eax, dword [ebp - 0x6c]
jmp 0x10014a6d
push dword [ebp - 0x64]
call fcn.1006994c
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7a0]
xor ecx, ebp
call fcn.10069957
add ebp, 0x7a4
leave
ret

Function at 0x10014a86
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100a52b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push ebx
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
cmp eax, 1
jne 0x10014af3
jmp 0x10014adc
lea eax, [ebp - 0x20c]
push str.SearchSettings64.exe
push eax
call fcn.1006aadf
pop ecx
pop ecx
test eax, eax
je 0x10014af0
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
je 0x10014ac5
jmp 0x10014af3
xor ebx, ebx
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.10069957
leave
ret
Function at 0x100150e1
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov eax, esi
call fcn.100168c1
xor eax, eax
lea edi, [ebp - 4]
stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
push 0x1001511b
mov dword [ebp - 4], str.32770
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_EnumWindows]
neg eax
sbb eax, eax
and eax, 0xfffffffa
add eax, 6
pop edi
leave
ret

Function at 0x100151d3
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
xor esi, esi
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, eax
cmp ecx, esi
je 0x1001528b
push edi
xor eax, eax
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push 0x1001528e
push ecx
mov dword [ebp - 0x10], str.ToolbarWindow32
call dword [sym.imp.USER32.dll_EnumChildWindows]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
cmp ecx, esi
je 0x1001528a
xor eax, eax
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x1c]
sub edi, dword [ebp - 0x24]
jns 0x1001523d
neg edi
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
jns 0x1001524d
neg eax
mov dword [ebp - 8], eax
cmp edi, esi
mov dword [ebp - 4], esi
jle 0x1001528a
push ebx
xor esi, esi
test eax, eax
jle 0x10015281
movzx ebx, word [ebp - 4]
movzx eax, si
shl eax, 0x10
or eax, ebx
push eax
push 0
push 0x200
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_PostMessageW]
inc esi
cmp esi, dword [ebp - 8]
jl 0x1001525f
mov eax, dword [ebp - 8]
inc dword [ebp - 4]
cmp dword [ebp - 4], edi
jl 0x10015255
pop ebx
pop edi
pop esi
leave
ret
Function at 0x10015331
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x234
lea ebp, [esp - 4]
mov eax, dword [0x100a52b4]
xor eax, ebp
mov dword [ebp + 0x234], eax
push 8
mov eax, 0x10083b32
call fcn.1006cd3d
mov eax, dword [ebp + 0x240]
xor ebx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ebx
xor eax, eax
mov dword [ebp + 0x28], 7
mov dword [ebp + 0x24], ebx
mov word [ebp + 0x14], ax
push str.shell32.dll
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x100153e8
push str.SHGetKnownFolderPath
push eax
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x100153e8
mov ecx, dword [ebp + 0x244]
dec ecx
mov esi, 0x10093a34
lea edi, [ebp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x100153b7
dec ecx
jne 0x100153c3
mov esi, 0x10093a54
jmp 0x100153bc
mov esi, 0x10093a44
lea edi, [ebp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push ebx
push ebx
lea ecx, [ebp]
push ecx
call eax
test eax, eax
jl 0x100153e8
push dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
call fcn.1000164e
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp + 0x24], ebx
jne 0x10015442
push 0x1a
pop esi
push 0x208
lea eax, [ebp + 0x2c]
push ebx
push eax
call fcn.1006c610
mov eax, dword [ebp + 0x244]
add esp, 0xc
dec eax
jne 0x1001540e
push 0x1c
pop esi
lea eax, [ebp + 0x2c]
push eax
push 1
push ebx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jge 0x10015430
mov esi, dword [ebp - 0x14]
push 0x1008ad00
call fcn.10001236
jmp 0x1001547f
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.1000164e
cmp dword [ebp + 0x24], ebx
je 0x10015473
mov esi, dword [ebp + 0x24]
dec esi
cmp esi, dword [ebp + 0x24]
jbe 0x10015450
call fcn.1006a565
cmp dword [ebp + 0x28], 8
mov eax, dword [ebp + 0x14]
jae 0x1001545c
lea eax, [ebp + 0x14]
push 0x5c
pop ecx
cmp cx, word [eax + esi*2]
je 0x10015473
push 0x1008bf40
lea eax, [ebp + 0x10]
push eax
call fcn.10010135
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 0x10]
push eax
call fcn.10010111
push ebx
push 1
lea esi, [ebp + 0x10]
call fcn.10001673
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x234]
xor ecx, ebp
call fcn.10069957
add ebp, 0x238
leave
ret
Function at 0x100154b0
Capabilities:
Get common file path

Disassembly:
push 0x10
mov eax, 0x10083b0f
call fcn.1006cd3d
xor edi, edi
mov dword [ebp - 4], edi
push 0x1008ad00
mov esi, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], edi
call fcn.10001236
push edi
mov dword [ebp - 4], edi
xor esi, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
inc esi
mov dword [ebp - 0x14], esi
call edi
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x18], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100690b4
pop ecx
mov dword [ebp - 0x10], eax
push eax
push dword [ebp - 0x18]
mov dword [ebp - 4], esi
call edi
test eax, eax
je 0x10015517
push dword [ebp - 0x10]
push ebx
call fcn.1000164e
mov edi, dword [ebx + 0x14]
mov esi, 0x1008bf40
push esi
push ebx
call fcn.100101f7
dec edi
cmp eax, edi
je 0x10015532
push esi
push ebx
call fcn.10010135
push dword [ebp - 0x10]
call fcn.1006994c
pop ecx
mov eax, ebx
call fcn.1006ce15
ret

Function at 0x10015543
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084fc8
mov eax, dword fs:[0]
push eax
mov eax, 0x248c
call fcn.10076990
mov eax, dword [0x100a52b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x2498]
mov ebx, ecx
call fcn.10017747
push 4
pop eax
push 0x50
pop ecx
push eax
push dword [0x100940a8]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x2498]
push 0x21
push eax
mov dword [ebp - 0x48], 2
mov word [ebp - 0x4c], cx
call fcn.1006babe
push eax
call fcn.10006b72
add esp, 0x14
push 0x1008ad00
lea esi, [ebp - 0x2c]
call fcn.10001236
xor esi, esi
mov dword [ebp - 4], esi
cmp ebx, esi
je 0x10015633
lea eax, [ebp - 0x2498]
call fcn.10017747
lea eax, [ebp - 0x2498]
push eax
mov ecx, ebx
call fcn.10017215
cmp dword [ebp - 0x48], 0xffffffff
jne 0x100155f6
push str.http:__
lea eax, [ebp - 0x2c]
push eax
call fcn.1000164e
push ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.10010135
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x1001560c
lea eax, [ebp - 0x28]
push 1
push esi
push esi
push eax
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, eax
dec eax
dec eax
je 0x10015633
push esi
push 1
lea esi, [ebp - 0x2c]
call fcn.10001673
cmp ebx, 0x20
sbb al, al
inc al
jmp 0x10015640
push esi
push 1
lea esi, [ebp - 0x2c]
call fcn.10001673
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10069957
leave
ret