joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10138f1
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call edi
test eax, 0x10000000
je 0x1055df2
lea eax, [esi + 0xb4]
cmp word [eax], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
je 0x10214f2
lea eax, [esi + 0x10]
cmp word [eax], 0
je 0x102150f
push dword [ebp + 0xc]
lea eax, [ebp - 8]
push dword [ebp + 8]
mov ecx, esi
push eax
call fcn.010139ee
push 6
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*4]
push eax
push dword [ebp - 8]
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push 0xffffffffffffffec
push dword [esi + 4]
call edi
push eax
push ebx
push 0xfffffffffffffff0
push dword [esi + 4]
call edi
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov esi, dword [esi + 0x1ac]
cmp esi, ebx
je 0x10139b0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
push ebx
push 1
push ebx
push esi
call dword [sym.imp.UxTheme.dll_GetThemeBackgroundExtent]
test eax, eax
jl 0x10139b0
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [0x10b10c0]
mov eax, dword [0x10b10bc]
mov edx, dword [ebp - 0x1c]
add eax, ecx
mov ecx, dword [ebp - 0x14]
mov esi, ecx
sub esi, edx
cmp esi, eax
pop ebx
jl 0x1055df9
sub ecx, edx
movzx eax, cx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x20]
shl eax, 0x10
movzx ecx, cx
or eax, ecx
pop edi
pop esi
leave
ret 8
push 0x28
push eax
push 0x1003
push 0x400
call ebx
xor eax, eax
mov word [esi + 0x104], ax
jmp 0x101392c
push 0x28
push eax
push 0x1f
push 0x400
call ebx
xor eax, eax
mov word [esi + 0x60], ax
jmp 0x1013939
xor eax, eax
jmp 0x10139e3
lea ecx, [eax + edx]
jmp 0x10139d0
Function at 0x1013f58
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 0x18]
mov dword [esi + 0x350], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x354], eax
call edi
mov ebx, 0x10000000
test ebx, eax
je 0x1056a99
push dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_IsWindowVisible]
call edi
test eax, eax
je 0x1026bbe
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call fcn.0101350d
movzx eax, word [ebp - 4]
movzx ecx, word [ebp - 8]
shl eax, 0x10
or eax, ecx
pop edi
pop esi
pop ebx
leave
ret 8
push dword [0x10b10ec]
call edi
test eax, eax
je 0x1013fa4
jmp 0x1056aff
push 0xffffffffffffffff
push 3
lea ecx, [esi + 0x29c]
call fcn.010123f7
test eax, eax
jne 0x1013f91
push 0xffffffffffffffff
push 3
lea ecx, [esi + 0x2ac]
call fcn.010123f7
test eax, eax
jne 0x1013f91
push 0xffffffffffffffff
push 3
lea ecx, [esi + 0x2bc]
call fcn.010123f7
test eax, eax
jne 0x1013f91
push 0xfffffffffffffff0
push dword [esi + 0x28]
call edi
test ebx, eax
jne 0x1013f91
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
jmp 0x1013fc6
push 5
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1013fa4

Function at 0x101613d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push dword [ebp + 0x10]
shr eax, 4
inc eax
movzx eax, ax
push eax
push 6
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
test eax, eax
je 0x10161c1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10161c1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x10161ba
and dword [ebp + 0xc], 0xf
jbe 0x101618b
mov ecx, dword [ebp + 0xc]
dec ecx
movzx edx, word [eax]
lea eax, [eax + edx*2 + 2]
jne 0x1016181
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x10161b1
push esi
movzx esi, word [eax]
neg esi
sbb esi, esi
lea edx, [eax + 2]
and esi, edx
mov dword [ecx], esi
mov ecx, dword [ebp + 0x18]
pop esi
mov ax, word [eax]
mov word [ecx], ax
xor eax, eax
pop ebp
ret 0x14
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jne 0x10161a5
jmp 0x10161ab
mov eax, 0x80004005
jmp 0x10161ad
call fcn.0107a4a1
jmp 0x10161ad
Function at 0x1018c40
Capabilities:
Query or enumerate registry value

Disassembly:
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
je 0x1018ced
jmp 0x105de83
xor eax, eax
jmp 0x1018d0b
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
and dword [eax], 0
push edi
mov edi, ecx
mov eax, dword [edi + 0x28]
test eax, eax
je 0x1018c62
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
jne 0x1018c34
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x1018d10
mov eax, dword [edi + 0x34]
push esi
mov esi, dword [edi + 0x38]
and esi, 3
test eax, eax
je 0x1018ce2
push ebx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0
push 0x18
push eax
mov ebx, 0x100f4a0
push ebx
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueFromHKCUHKLM]
test eax, eax
je 0x105de6a
mov ecx, edi
call fcn.01018b9d
mov dword [ebp + 8], eax
test eax, eax
je 0x1018ce1
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push ebx
push 0x80000001
mov dword [ebp - 4], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x105de7b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop ebx
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x1018c20
and esi, 3
cmp esi, 2
je 0x105de8b
cmp esi, 1
jne 0x1018d08
test byte [edi + 0x38], 0x10
jne 0x105de9d
mov eax, esi
pop esi
pop edi
leave
ret 4
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_618]
test eax, eax
je 0x1018c6d
jmp 0x1018c34
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 8]
mov dword [eax], 1
jmp 0x1018ce1
mov esi, dword [ebp - 8]
jmp 0x1018cd8
xor esi, esi
inc esi
jmp 0x1018ced
test byte [edi + 0x38], 8
jne 0x1018d08
xor esi, esi
inc esi
jmp 0x1018d08
push 2
pop esi
jmp 0x1018d08
Function at 0x101cf05
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x630], ecx
mov esi, 0x80070057
test eax, eax
je 0x101cfec
push edi
push eax
mov edi, 0x201
push edi
lea eax, [ebp - 0x428]
push eax
call fcn.010065a0
mov esi, eax
test esi, esi
jl 0x101cfeb
push ebx
push 0x5c
lea eax, [ebp - 0x428]
push eax
call sub.SHLWAPI.dll_StrChrW
mov ebx, eax
test ebx, ebx
je 0x101cfcf
lea ecx, [ebp - 0x428]
sub eax, ecx
sar eax, 1
push eax
mov eax, ecx
push eax
push 0x100
lea eax, [ebp - 0x628]
push eax
call fcn.0101f87f
mov esi, eax
test esi, esi
jl 0x101cfea
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x62c], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp eax, 1
jne 0x10656bb
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10656a8
push 0x2b
pop eax
mov word [ebx], ax
test esi, esi
jl 0x101cfea
lea eax, [ebp - 0x428]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x630]
call fcn.010065a0
mov esi, eax
pop ebx
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0100204d
leave
ret 0xc
add ebx, 2
push ebx
push edi
lea eax, [ebp - 0x428]
push eax
call fcn.010065a0
jmp 0x10656c0
call fcn.0101d802
mov esi, eax
jmp 0x101cfcf
Function at 0x101d01b
Capabilities:
Query or enumerate registry value

Disassembly:
cmp dword [ebp - 8], eax
jne 0x101d0d7
jmp 0x105dd67
cmp dword [ebp - 4], eax
jmp 0x101d00b
and dword [ebp - 8], 0
jmp 0x101d059
cmp dword [ebp - 4], eax
je 0x101d0d7
jmp 0x105dd4e
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0x1d
mov ebx, ecx
mov dword [ebp - 8], 1
call dword [sym.imp.SHLWAPI.dll_IsOS]
push 4
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
pop ecx
cmp eax, ecx
je 0x101c9a8
cmp eax, 0x1b
je 0x101c9a8
cmp eax, 0x2f
ja 0x105dd37
cmp dword [ebp - 4], 0
jne 0x105dd45
lea edx, [ebx + 4]
mov edi, 0x100ef44
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x101d0de
push 4
pop ecx
mov edi, 0x10171c4
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x101d148
push 4
pop ecx
mov edi, 0x10171b4
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x101d148
push 4
pop ecx
mov edi, 0x1018a48
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x101d148
push 4
pop ecx
mov edi, 0x101c5c4
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x101c992
push 4
pop ecx
mov edi, 0x101c5b4
mov esi, edx
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
je 0x101d008
pop edi
pop esi
pop ebx
leave
ret 4
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x101d0d7
test eax, eax
je 0x101d0d7
push eax
push 0x101c780
call dword [sym.imp.SHLWAPI.dll_StrCmpICW]
test eax, eax
je 0x101c9a0
mov ecx, dword [ebx]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
mov eax, ecx
inc eax
neg eax
sbb eax, eax
and eax, ecx
push eax
push 0x101c6d8
call esi
test eax, eax
je 0x101d148
mov ecx, dword [ebx]
mov eax, ecx
inc eax
neg eax
sbb eax, eax
and eax, ecx
push eax
push 0x101c630
call esi
test eax, eax
je 0x101d153
mov ecx, dword [ebx]
mov eax, ecx
inc eax
neg eax
sbb eax, eax
and eax, ecx
push eax
push 0x101c5d8
call esi
test eax, eax
jne 0x101d0d7
cmp dword [ebp - 4], 0
je 0x101d0d7
jmp 0x105dd67
cmp dword [ebp - 4], eax
je 0x101d0d7
jmp 0x105dd5c
cmp eax, 0x31
jbe 0x101c9a8
jmp 0x101d059
and dword [ebp - 8], 0
jmp 0x101d063
mov eax, dword [ebx + 0x38]
and eax, 0xfffffffd
or eax, 1
mov dword [ebx + 0x38], eax
jmp 0x105dd6b
mov eax, dword [ebx + 0x38]
and eax, 0xfffffffe
or eax, 2
jmp 0x105dd57
and dword [ebx + 0x38], 0xfffffffc
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0
push 0x18
push dword [ebx + 0x34]
mov edi, 0x100f4a0
push edi
mov esi, 0x80000001
push esi
mov dword [ebp - 8], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
cmp eax, 2
je 0x105dda1
cmp eax, 3
jne 0x101d0d7
mov eax, dword [ebx + 0x38]
push 4
and eax, 3
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push 4
push 0x18
push dword [ebx + 0x34]
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_Ordinal_631]
jmp 0x101d0d7
Function at 0x101f7ce
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov ebx, 0x80004005
test edi, edi
je 0x101f868
push esi
push 0x5c
push edi
call sub.SHLWAPI.dll_StrChrW
mov esi, eax
test esi, esi
je 0x106560f
lea eax, [esi + 2]
push eax
push dword [ebp + 0x18]
push dword [ebp - 0x2c]
call fcn.010065a0
mov ebx, eax
test ebx, ebx
jl 0x101f867
sub esi, edi
sar esi, 1
push esi
mov esi, dword [ebp - 0x28]
push edi
push dword [ebp + 0x10]
push esi
call fcn.0101f87f
mov ebx, eax
test ebx, ebx
jl 0x101f867
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0x10
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp eax, 1
jne 0x101f867
push esi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1065607
pop esi
mov ecx, dword [ebp - 4]
pop edi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0100204d
leave
ret 0x14
mov word [esi], ax
jmp 0x101f867
push edi
push dword [ebp + 0x18]
push dword [ebp - 0x2c]
call fcn.010065a0
mov ebx, eax
test ebx, ebx
jl 0x101f867
cmp dword [ebp + 0x10], 0
jbe 0x101f867
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov word [ecx], ax
jmp 0x101f867
Function at 0x101fa83
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x424], ecx
mov ecx, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x428], ecx
mov esi, 0x104
push esi
lea ecx, [ebp - 0x414]
push ecx
push eax
call fcn.0101cf05
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jl 0x101fb94
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0101f98c
mov edi, eax
cmp edi, ebx
jl 0x101fb94
push 0x101fbb4
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0101237f
mov edi, eax
cmp edi, ebx
jl 0x101fb94
lea eax, [ebp - 0x414]
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0101237f
mov edi, eax
cmp edi, ebx
jl 0x101fb94
push 0x101fba8
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0101237f
mov edi, eax
cmp edi, ebx
jl 0x101fb94
push ebx
push 0x80
push 3
push ebx
push 1
push 1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x420], eax
cmp eax, 0xffffffff
je 0x10657c2
lea ecx, [ebp - 0x41c]
push ecx
push eax
mov dword [ebp - 0x41c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp dword [ebp - 0x41c], ebx
ja 0x101fb83
cmp esi, ebx
jne 0x106574c
mov edi, 0x800703ee
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100204d
leave
ret 0xc
cmp esi, 0xffffffff
je 0x101fb83
lea eax, [ebp - 0x418]
push eax
push esi
call fcn.0101b551
mov edi, eax
cmp edi, ebx
jl 0x101fb88
push ebx
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x418]
push eax
push esi
push ebx
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10657af
cmp dword [ebp - 0x418], esi
je 0x106579b
mov edi, 0x80004005
jmp 0x10657b6
mov eax, dword [ebp - 0x424]
mov dword [eax], ebx
mov eax, dword [ebp - 0x428]
mov dword [eax], esi
xor ebx, ebx
jmp 0x10657b6
call fcn.0107ac3c
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x101fb88
call fcn.0107ac3c
mov edi, eax
jmp 0x101fb94
Function at 0x101fd3d
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push 1
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x10657fb
push ebx
push esi
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
cmp dword [ebp - 4], edi
ja 0x101fdd1
cmp eax, 0xffffffff
je 0x101fdd1
mov esi, dword [ebp + 0xc]
push esi
push eax
call fcn.0101b551
cmp eax, edi
mov dword [ebp + 8], eax
jl 0x101fdbe
push edi
lea eax, [ebp + 0x10]
push eax
push dword [ebx]
push dword [esi]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10657e4
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebx]
jne 0x10657ce
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov eax, dword [ebp + 8]
pop edi
leave
ret 0xc
mov dword [ebp + 8], 0x800703ee
jmp 0x101fdbe
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi], edi
mov dword [ebp + 8], 0x80004005
jmp 0x101fdbe
push dword [esi]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi], edi
call fcn.0101d802
mov dword [ebp + 8], eax
jmp 0x101fdbe
call fcn.0101d802
mov dword [ebp + 8], eax
jmp 0x101fdc9
Function at 0x1022779
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc84
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x102284c
call sub.SHELL32.dll_SHGetFolderPathEx
test eax, eax
jne 0x1022835
push edi
push 0x20
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov edi, eax
test edi, edi
je 0x1022834
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x61c]
push eax
call fcn.010065a0
xor eax, eax
mov word [edi], ax
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0xa2c]
push eax
call fcn.010065a0
lea ecx, [ebp - 0x20c]
mov eax, edi
sub eax, ecx
sar eax, 1
push 0x1022844
mov ecx, esi
sub ecx, eax
push ecx
push edi
call fcn.010065a0
lea eax, [ebp - 0xc7c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc84], eax
cmp eax, 0xffffffff
jne 0x10544e9
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0100204d
leave
ret
mov edi, 0x410
push ebx
lea eax, [ebp - 0x20c]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.010065a0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0xc50]
push eax
push esi
lea eax, [ebp - 0x414]
push eax
call fcn.0101237f
mov eax, dword [ebp - 0xc7c]
and eax, edi
xor ebx, ebx
cmp eax, edi
jne 0x1054599
lea eax, [ebp - 0xc80]
push eax
push 0x1023c18
lea eax, [ebp - 0x414]
push eax
push 0x105463c
call fcn.0107cabd
test eax, eax
jl 0x1054599
mov eax, dword [ebp - 0xc80]
mov ecx, dword [eax]
push ebx
push ebx
push esi
lea edx, [ebp - 0x824]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x105458d
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x61c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
cmp eax, 2
jne 0x105458d
inc ebx
mov eax, dword [ebp - 0xc80]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test byte [ebp - 0xc7c], 0x10
je 0x10545ba
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0xa2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10545eb
test ebx, ebx
jne 0x10545eb
push 0x1054618
push 5
lea eax, [ebp - 0x414]
push eax
push 0x1070a77
push 0x14
push dword [0x10b10b4]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHLWAPI.dll_Ordinal_292]
cmp eax, 5
je 0x1054606
lea eax, [ebp - 0xc7c]
push eax
push dword [ebp - 0xc84]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10544ef
push dword [ebp - 0xc84]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
jmp 0x1022834
Function at 0x1023d0d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x40000044
mov edi, ecx
call dword [sym.imp.SHELL32.dll_SHRestricted]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0
push 2
push 0x1023fe8
push 0x100f4a0
push 0x80000001
mov dword [ebp - 0x94], 0x86
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1023d76
xor eax, eax
mov word [ebp - 0x8c], ax
mov ebx, 0x1f4
mov esi, 0x1023ddc
test byte [esi], 8
je 0x1023d8e
cmp dword [ebp - 0x90], 0
jne 0x1023dbb
movzx eax, word [esi - 4]
push eax
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrIW]
test eax, eax
jne 0x1023dbb
movzx eax, word [esi - 4]
push eax
mov eax, dword [esi]
or eax, 0x4000
push eax
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RegisterHotKey]
add esi, 8
inc ebx
cmp esi, 0x1023fec
jl 0x1023d80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0100204d
leave
ret

Function at 0x10244e8
Capabilities:
Create thread

Disassembly:
mov edi, edi
push esi
push edi
xor edi, edi
push edi
push edi
mov esi, ecx
push esi
push 0x1024517
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x10518be
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
ret
mov dword [esi + 0x1c], edi
pop edi
mov ecx, esi
pop esi
jmp fcn.0102452f
Function at 0x1025495
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10b1090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
push 0x40000047
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x20c], esi
call dword [sym.imp.SHELL32.dll_SHRestricted]
test eax, eax
jne 0x10255c3
push 0x43
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x10255c3
push ebx
lea eax, [ebp - 0x208]
push eax
xor ebx, ebx
inc ebx
push ebx
push esi
push 0x1025660
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10255c2
push edi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x1025654
push esi
push dword [ebp - 0x208]
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x214], 0x1fe
call esi
mov edi, 0x1023bc8
test eax, eax
jne 0x102557f
cmp dword [ebp - 0x210], ebx
jne 0x102557f
mov ebx, 0x10255e0
push ebx
push edi
call fcn.010256cf
push dword [ebp - 0x218]
lea eax, [ebp - 0x204]
push 7
push eax
call fcn.01026364
test eax, eax
jne 0x105a6d5
push ebx
push 0x1023bd8
call fcn.010256cf
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x10255d8
push 0
push dword [ebp - 0x208]
mov dword [ebp - 0x214], 0x1fe
call esi
test eax, eax
je 0x105a6e4
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x20c]
xor ecx, ebp
pop esi
call fcn.0100204d
leave
ret 4
mov dword [ebp - 0x20c], 1
jmp 0x1025571
cmp dword [ebp - 0x210], ebx
jne 0x10255b5
mov esi, 0x105a730
push esi
push edi
call fcn.010256cf
push dword [ebp - 0x218]
lea eax, [ebp - 0x204]
push ebx
push eax
call fcn.01026364
test eax, eax
je 0x105a719
mov dword [ebp - 0x20c], ebx
push esi
push 0x1023bd8
call fcn.010256cf
jmp 0x10255b5

Function at 0x10258cc
Capabilities:
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
cmp dword [esi + 0x18], eax
jne 0x105184d
xor edi, edi
inc edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8
cmp dword [esi + 0x1c], eax
je 0x10258e1
mov ebx, dword [ebp + 8]
cmp dword [esi + 0x20], eax
jne 0x1051879
lea eax, [esi + 0x24]
push eax
push ebx
call fcn.01069dd3
mov edi, eax
test edi, edi
jl 0x10258e4
mov dword [esi + 0x20], 1
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x1051893
call fcn.0101d802
mov edi, eax
jmp 0x10258e4
push 0
lea eax, [esi + 0x30]
push eax
push ebx
mov ecx, esi
call fcn.01069e38
mov edi, eax
test edi, edi
jge 0x10258e4
push 1
lea eax, [esi + 0x24]
push eax
push ebx
mov ecx, esi
call fcn.01069e38
jmp 0x10258e4
Function at 0x1025abd
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
push edi
push 4
pop edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor ebx, ebx
push ebx
push 0x10
push 0x1025c0c
push ebx
push dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x1025b03
mov eax, dword [ebp - 8]
cmp eax, 0x418937
jae 0x1025b03
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x1c], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x10
push 0x1025be4
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x1025b35
mov eax, dword [ebp - 8]
cmp eax, 0x20
je 0x1025b2f
cmp eax, 0x4000
jne 0x1025b97
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x30], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x10
push 0x1025bc4
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
test eax, eax
jne 0x1025b60
mov eax, dword [ebp - 8]
cmp eax, 2
ja 0x1025b60
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x34], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x10
push 0x1025ba0
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], edi
call esi
pop edi
pop esi
pop ebx
test eax, eax
jne 0x1025b93
mov eax, dword [ebp - 8]
cmp eax, 8
jae 0x1025b93
cmp eax, 5
ja 0x1025b93
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x38], eax
leave
ret 4
cmp eax, 0x40
jne 0x1025b35
jmp 0x1025b2f