joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a9eaa
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
add ecx, 8
push esi
push ecx
lea ecx, [ebp - 4]
call fcn.1000584b
push dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
push 0
push str.time
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [ebp - 4]
mov esi, eax
call fcn.100015d9
mov eax, esi
pop esi
leave
ret 4

Function at 0x100ac5a3
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
push esi
lea ecx, [esi + 0x28]
mov dword [ebp - 8], edi
call fcn.10005459
lea eax, [ebp - 8]
push eax
push edi
push esi
push 0x100ab5f4
push edi
push edi
call fcn.1010370a
mov esi, eax
add esp, 0x18
cmp esi, edi
jne 0x100ac5da
or eax, 0xffffffff
jmp 0x100ac616
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100ac5f3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x100ac60c
mov dword [eax], esi
jmp 0x100ac613
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8

Function at 0x100ac61c
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
push esi
lea ecx, [esi + 0x28]
mov dword [ebp - 8], edi
call fcn.10005459
lea eax, [ebp - 8]
push eax
push edi
push esi
push 0x100abc6b
push edi
push edi
call fcn.1010370a
mov esi, eax
add esp, 0x18
cmp esi, edi
jne 0x100ac653
or eax, 0xffffffff
jmp 0x100ac68f
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100ac66c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x100ac685
mov dword [eax], esi
jmp 0x100ac68c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8

Function at 0x100ac695
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
push esi
lea ecx, [esi + 0x28]
mov dword [ebp - 8], edi
call fcn.10005459
lea eax, [ebp - 8]
push eax
push edi
push esi
push 0x100ac214
push edi
push edi
call fcn.1010370a
mov esi, eax
add esp, 0x18
cmp esi, edi
jne 0x100ac6cc
or eax, 0xffffffff
jmp 0x100ac708
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100ac6e5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea eax, [ebp - 4]
push eax
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x100ac6fe
mov dword [eax], esi
jmp 0x100ac705
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 8
Function at 0x100b5149
Capabilities:
Capture webcam image

Disassembly:
push 0
push dword [esp + 8]
push 0x419
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4
Function at 0x100b8e3c
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x34
mov eax, 0x10146be3
call fcn.101018b2
mov esi, ecx
or dword [esi + 0x178], 0xffffffff
or dword [esi + 0x180], 0xffffffff
xor ebx, ebx
push 2
mov byte [esi + 0x170], bl
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
test ax, ax
js 0x100b9005
cmp dword [ebp + 0x10], ebx
je 0x100b9005
mov dword [ebp - 0x10], ebx
lea edi, [esi + 0x18]
mov eax, dword [edi + 4]
push edi
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.1002b6ff
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
jmp 0x100b8f01
lea ecx, [ebp - 0x38]
call fcn.1002af06
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.1002ad95
cmp dword [ebp - 0x10], ebx
je 0x100b8ef9
push dword [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.1000b131
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov byte [ebp - 4], 1
je 0x100b8ee1
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0x10]
cmp ecx, dword [edx + 0xc]
mov byte [ebp - 4], bl
je 0x100b8f20
cmp eax, ebx
je 0x100b8ef9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x38]
call fcn.1002b09c
mov eax, dword [edi + 8]
push edi
push eax
lea ecx, [ebp - 0x40]
call fcn.1002b6ff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x38]
call fcn.1002af27
test al, al
je 0x100b8ea7
jmp 0x100b8f31
cmp eax, ebx
mov dword [ebp - 0x24], 1
je 0x100b8f31
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x100b8ff7
cmp dword [ebp - 0x24], ebx
je 0x100b8ff7
mov dword [ebp - 0x14], ebx
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], ebx
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x28]
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x28]
push esi
call dword [eax + 0x3c]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x100b8ff4
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp dword [ebp - 0x2c], ebx
je 0x100b8fe4
push dword [ebp - 0x10]
or dword [esi + 0x178], 0xffffffff
lea edi, [esi + 0x170]
lea ecx, [ebp - 0x18]
mov byte [edi], 1
call fcn.1000b131
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x100b8fe4
mov edx, dword [eax]
lea ecx, [esi + 0x178]
push ecx
push eax
call dword [edx + 0xc]
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
push dword [ebp - 0x18]
push esi
call dword [eax + 0x28]
mov eax, dword [ebp - 0x30]
mov ecx, edi
mov dword [esi + 0x180], eax
call fcn.100b7273
mov eax, dword [ebp - 0x18]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x100b8fe4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x100b8ff4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x100b9005
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
call fcn.1010198a
ret 0x10
Function at 0x100bebce
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x18]
and dword [edi], 0
mov esi, ecx
mov eax, dword [esi + 0xa8]
cmp eax, 0x12
je 0x100bebfe
cmp eax, 0x79
jne 0x100bebf5
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test al, al
jns 0x100bebfe
cmp dword [esi + 0xa8], 0x20
jne 0x100bec71
cmp dword [esp + 0x10], 0xf100
jne 0x100bec71
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 4]
jne 0x100bec2e
mov ecx, esi
call fcn.100be763
push 0
push 0xffffffffffffffff
push 0x448
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x100bec71
mov eax, dword [esi + 0xa8]
cmp eax, 0x20
je 0x100bec71
test byte [esi + 0x84], 0x40
jne 0x100bec66
mov al, byte [esi + 0x85]
test al, 2
je 0x100bec5d
test al, 4
jne 0x100bec5d
test al, 8
je 0x100bec5d
push 1
mov ecx, esi
call fcn.100b5caa
mov ecx, esi
call fcn.100bdda7
jmp 0x100bec6b
cmp eax, 0x20
je 0x100bec71
mov dword [edi], 1
and byte [esi + 0x84], 0xbf
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x100c5819
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0xa08
lea ebp, [esp - 4]
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0xa08], eax
push 0x10
mov eax, 0x10147f60
call fcn.101018b2
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
mov ebx, str.NoticeFlag
push ebx
mov edi, 0x10155e34
mov esi, 0x1019ee20
push edi
mov ecx, esi
call fcn.100101c4
push eax
call fcn.100dfb97
add esp, 0x10
test eax, eax
jne 0x100c5873
cmp dword [ebp - 0x18], eax
jne 0x100c5948
and word [ebp + 0x800], 0
push 0x206
lea eax, [ebp + 0x802]
push 0
push eax
call fcn.101027c0
and word [ebp], 0
push 0x7fe
lea eax, [ebp + 2]
push 0
push eax
call fcn.101027c0
lea eax, [ebp + 0x800]
push eax
call fcn.10073843
lea eax, [ebp + 0x800]
push eax
push str.http:__bar.baidu.com_sobar_notice.html
push str._s__s
push 0xffffffffffffffff
lea eax, [ebp]
push 0x400
push eax
call fcn.10101c5e
lea eax, [ebp - 0x10]
push str.bd_notice
push eax
call fcn.100dfa91
add esp, 0x3c
and dword [ebp - 4], 0
push 1
push 0x4e20
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.1000584b
push ecx
lea eax, [ebp]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 1
call fcn.1000587e
mov byte [ebp - 4], 0
call fcn.100dbabe
add esp, 0x10
push dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 0
je 0x100c5940
push 1
push ebx
push edi
mov ecx, esi
call fcn.100101c4
push eax
call fcn.100dfc56
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.100015d9
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 + 0xa08]
xor ecx, ebp
call fcn.101018a3
add ebp, 0xa0c
leave
ret
Function at 0x100c596d
Capabilities:
Read file on windows

Disassembly:
push 0x24
mov eax, 0x10147f90
call fcn.1010191b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
push ecx
lea eax, [ebp + 8]
xor edi, edi
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], edi
call fcn.1000584b
call fcn.100ddc62
mov esi, eax
lea eax, [esi - 1]
cmp eax, 0x8ffffe
pop ecx
mov dword [ebp - 0x28], edi
ja 0x100c5a5a
push esi
call fcn.10100af4
mov ebx, eax
cmp ebx, edi
pop ecx
je 0x100c5a4c
push esi
push edi
push ebx
call fcn.101027c0
push 0x10153bc8
push dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.101035c0
add esp, 0x18
test eax, eax
jne 0x100c5a45
cmp dword [ebp - 0x28], edi
je 0x100c5a45
push dword [ebp - 0x28]
push 1
push esi
push ebx
call fcn.101034cc
add esp, 0x10
cmp eax, 1
jne 0x100c5a45
xor eax, eax
mov byte [ebp - 0x24], 0
lea edi, [ebp - 0x23]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push str.89F3CC4B_0091_49B0_81A6_188CFF582735
stosw word es:[edi], ax
push 0x10153b9c
push 0xffffffffffffffff
stosb byte es:[edi], al
lea eax, [ebp - 0x24]
push 0x14
push eax
call fcn.1010314f
push 0xa0
lea eax, [ebp - 0x24]
push eax
push esi
push ebx
call fcn.100565f8
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
push esi
push ebx
push 0
call fcn.100e149d
add esp, 0x38
xor edi, edi
push ebx
call fcn.10101095
pop ecx
cmp dword [ebp - 0x28], edi
je 0x100c5a5a
push dword [ebp - 0x28]
call fcn.10103005
pop ecx
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp + 8]
call fcn.100015d9
mov eax, esi
call fcn.1010199e
ret 8
Function at 0x100c7f85
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push esi
push edi
push str.35D894E3_F961_46e8_9441_1A920DEEEEE9
xor edi, edi
push edi
mov ecx, 0x1019ee80
call fcn.1001018e
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp esi, edi
jne 0x100c7fad
xor eax, eax
pop edi
pop esi
pop ecx
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100c7fc4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x100c7fa9
push edi
lea ecx, [esp + 0xf]
call fcn.100c7e25
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x100c7fb9

Function at 0x100c7fd9
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push ebx
push esi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push str.35D894E3_F961_46e8_9441_1A920DEEEEE9
push 0
mov ecx, 0x1019ee80
mov ebx, eax
call fcn.1001018e
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
test esi, esi
jne 0x100c8009
xor eax, eax
jmp 0x100c80b0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100c8032
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40
push str.RGS
push 0x101630e8
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x100c8002
push edi
push 0
lea ecx, [esp + 0x13]
call fcn.100c7e25
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
sub eax, 0
je 0x100c809a
dec eax
je 0x100c808c
dec eax
je 0x100c807e
dec eax
je 0x100c8070
dec eax
dec eax
jne 0x100c809a
push 0x40
push str.RGS
push 0x101630d8
jmp 0x100c80a6
push 0x40
push str.RGS
push 0x101630b0
jmp 0x100c80a6
push 0x40
push str.RGS
push 0x10163088
jmp 0x100c80a6
push 0x40
push str.RGS
push 0x10163070
jmp 0x100c80a6
push 0x10
push str.RGS
push 0x1016304c
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x100c80b4
Capabilities:
Check mutex on windows

Disassembly:
push 0x28
mov eax, 0x1014849a
call fcn.101018b2
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.UpdateSync:_d__d_n
push 1
call fcn.100c93e3
add esp, 0x10
push str.35D894E3_F961_46e8_9441_1A920DEEEEE9
xor ebx, ebx
push ebx
mov ecx, 0x1019ee80
call fcn.1001018e
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x10], edi
jne 0x100c8100
xor eax, eax
jmp 0x100c81ea
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
je 0x100c8115
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100c80f9
call fcn.10073137
test eax, eax
je 0x100c8152
push ebx
call fcn.101029ff
pop ecx
push eax
mov ecx, 0x1019e718
call fcn.1003550e
cmp dword [ebp + 0xc], ebx
je 0x100c814e
push 0x40
push str.RGS
push 0x10163088
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
push 2
jmp 0x100c8159
cmp dword [ebp + 8], ebx
je 0x100c815c
push 4
pop edi
jmp 0x100c81ba
push 1
mov ecx, esi
call fcn.100c7e25
mov edi, eax
cmp edi, 4
jne 0x100c81ba
mov esi, 0x1019e718
mov ecx, esi
call fcn.10039e4f
test eax, eax
je 0x100c81ba
lea ecx, [ebp - 0x34]
call fcn.100d003d
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x34]
call fcn.100c5690
cmp eax, 1
je 0x100c81ae
push 5
pop edi
push ebx
call fcn.101029ff
pop ecx
push eax
mov ecx, esi
call fcn.1003550e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100cffa6
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 4
jne 0x100c81e8
cmp dword [ebp + 0xc], ebx
je 0x100c81dd
push 0x1016313c
jmp 0x100c81e2
push 0x10163114
call fcn.100766ff
pop ecx
mov eax, edi
call fcn.1010198a
ret 8

Function at 0x100c8214
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov ecx, 0x1019e718
call fcn.10035473
xor esi, esi
push esi
mov edi, eax
call fcn.101029ff
sub eax, edi
cmp eax, 0x15180
pop ecx
jg 0x100c823c
cmp dword [ebp + 8], esi
je 0x100c8272
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x100c81f2
push esi
push esi
call fcn.1010370a
mov edi, eax
add esp, 0x18
cmp edi, esi
je 0x100c8272
push 0x4000
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
ret 4
Function at 0x100c827c
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push ebx
push ebx
mov dword [ebp - 4], ebx
call edi
push dword [ebp - 4]
call fcn.10100af4
mov esi, eax
cmp esi, ebx
pop ecx
jne 0x100c82aa
xor eax, eax
jmp 0x100c830e
lea eax, [ebp - 4]
push eax
push esi
push ebx
call edi
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x100c8305
mov edi, dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test dword [esi + 0xc], 0x100000
je 0x100c82d1
push dword [esi + 4]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call edi
push esi
call fcn.10101095
push dword [ebp - 4]
call fcn.10100af4
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x100c82a6
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 8]
call edi
test eax, eax
jne 0x100c82bf
xor ebx, ebx
inc ebx
push esi
call fcn.10101095
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100c8643
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
xor edi, edi
xor ebx, ebx
cmp dword [ebp + 0xc], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edi
je 0x100c874a
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 4]
push eax
push 0x40000
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
test eax, eax
jne 0x100c873b
push dword [ebp + 0x10]
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
test eax, eax
jne 0x100c873b
cmp dword [ebp + 0x14], edi
je 0x100c8738
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 0x20019
push edi
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
call esi
test eax, eax
jne 0x100c873b
push edi
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
push edi
push edi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x100c873b
push 0x802
call fcn.10100af4
mov esi, eax
cmp esi, edi
pop ecx
je 0x100c873b
cmp dword [ebp - 8], edi
jbe 0x100c8731
push 0x401
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, edi
jne 0x100c8724
mov ecx, dword [ebp - 0xc]
push 1
push dword [ebp + 0x10]
push esi
push dword [ebp - 4]
call fcn.100c8643
jmp 0x100c872b
cmp eax, 0x103
je 0x100c8731
inc ebx
cmp ebx, dword [ebp - 8]
jb 0x100c86fd
push esi
call fcn.10101095
pop ecx
xor ebx, ebx
inc ebx
cmp dword [ebp - 4], edi
pop esi
je 0x100c874a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret 0x10
Function at 0x100c8cf5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push 0x206
lea eax, [ebp - 0x20a]
push esi
push eax
mov edi, ecx
mov word [ebp - 0x20c], si
call fcn.101027c0
add esp, 0xc
mov ecx, edi
call fcn.100c827c
push esi
push 0x21
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100c8d57
push esi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.100dd8c3
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.101018a3
leave
ret 4

Function at 0x100c8db5
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push edi
push edi
call dword [sym.imp.WININET.dll_FindFirstUrlCacheGroup]
mov esi, eax
cmp esi, edi
je 0x100c8df4
push edi
push 2
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_DeleteUrlCacheGroup]
push edi
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.WININET.dll_FindNextUrlCacheGroup]
test eax, eax
jne 0x100c8dd5
push 0x7a
mov esi, 0x1000
xor ebx, ebx
pop eax
test eax, eax
je 0x100c8e4b
cmp eax, 0x7a
push edi
jne 0x100c8e6d
call fcn.10101095
push esi
call fcn.10100af4
test ebx, ebx
mov edi, eax
pop ecx
mov dword [edi], esi
pop ecx
mov dword [ebp - 4], esi
jne 0x100c8e37
lea eax, [ebp - 4]
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryW]
mov ebx, eax
xor eax, eax
test ebx, ebx
setne al
jmp 0x100c8e43
lea eax, [ebp - 4]
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryW]
test eax, eax
je 0x100c8e62
xor eax, eax
jmp 0x100c8dfe
test dword [edi + 0xc], 0x100000
jne 0x100c8e5d
push dword [edi + 4]
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
mov dword [ebp - 4], esi
jmp 0x100c8e37
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 4]
jmp 0x100c8dfe
call fcn.10101095
test ebx, ebx
pop ecx
je 0x100c8e7e
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100c8f47
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.10102790
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push 0xffe
lea eax, [ebp - 0x1002]
push esi
push eax
mov word [ebp - 0x1004], si
call fcn.101027c0
add esp, 0xc
push esi
push 0x13
lea eax, [ebp - 0x1004]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100c8fa4
push esi
lea eax, [ebp - 0x1004]
push 1
push eax
call fcn.100dd8c3
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.101018a3
leave
ret 4
Function at 0x100c8fb3
Capabilities:
Delete registry key
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.10102790
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push 0xffe
lea eax, [ebp - 0x1002]
push esi
push eax
mov word [ebp - 0x1004], si
call fcn.101027c0
add esp, 0xc
push esi
push 8
lea eax, [ebp - 0x1004]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100c900f
push esi
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.100dd8c3
add esp, 0xc
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerRecentDocs
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.101018a3
leave
ret 4

Function at 0x100c902e
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.10102790
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp - 4], eax
and word [ebp - 0x1004], 0
push esi
push edi
push 0xffe
lea eax, [ebp - 0x1002]
push 0
push eax
call fcn.101027c0
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x1004]
push eax
push 0x10163f28
call esi
test eax, eax
lea eax, [ebp - 0x1004]
jne 0x100c909c
push edi
push eax
push str.TEMP
call esi
test eax, eax
je 0x100c90a9
lea eax, [ebp - 0x1004]
push 0
push 1
push eax
call fcn.100dd8c3
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.101018a3
leave
ret 4

Function at 0x100c913b
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xc
mov eax, 0x101484e0
call fcn.101018b2
lea eax, [ebp - 0x14]
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareMicrosoftProtected_Storage_System_Provider
mov dword [ebp - 0x18], esi
push SysReAllocString
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
je 0x100c917c
mov ecx, dword [ebp + 8]
push str..DEFAULT
call fcn.1000587e
jmp 0x100c91fa
mov ecx, dword [0x1019a028]
mov eax, 0x400
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], ecx
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x18]
push ecx
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.10001a82
push eax
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.10001c5b
cmp dword [ebp - 0x14], esi
je 0x100c91c6
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
jne 0x100c91e5
cmp dword [ebp - 0x18], esi
jbe 0x100c91e5
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], esi
je 0x100c91e5
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.1000584b
jmp 0x100c91f2
mov ecx, dword [ebp + 8]
push str..DEFAULT
call fcn.1000587e
lea ecx, [ebp - 0x10]
call fcn.100015d9
mov eax, dword [ebp + 8]
call fcn.1010198a
ret 4