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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x12cf8c8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
mov dword [ebp - 4], eax
jne 0x116d790
mov eax, 0x80004003
jmp 0x116d7f3
mov ecx, esi
call fcn.01047cc7
fld qword [ebp + 8]
push ecx
push ecx
fstp qword [esp]
push 0x1010cb8
push 0x100
mov ecx, esi
call fcn.0103297b
push eax
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0x10
push 0xffffffffffffffff
mov ecx, esi
call fcn.010329e8
push 4
lea eax, [ebp - 0xc]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x116d7e1
mov eax, 0x80004005
jmp 0x116d7f3
push 0x1005244
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.01075cad
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
call fcn.0116015a
leave
ret 0xc

Function at 0x116f9df
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1e0
mov eax, dword [0x12cf8c8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
mov dword [ebp - 4], eax
je 0x116fb13
mov dword [ebp - 0x1c0], esi
call fcn.0115caea
test eax, eax
je 0x116fa1e
mov dword [ebp - 0x1c0], 0x20
lea eax, [ebp - 0x1e0]
push eax
push ebx
mov word [edi], si
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x116fb13
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1e0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
test eax, eax
je 0x116fb13
cmp word [ebp - 0x1d0], 0x76c
jb 0x116fb13
push 0x50
lea eax, [ebp - 0x1bc]
push eax
mov word [edi], si
push 0x1f
mov esi, 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetDateFormatW]
je 0x116faa6
push dword [ebp + 0xc]
lea eax, [ebp - 0x1bc]
push edi
push eax
lea eax, [ebp - 0x1d0]
push eax
push dword [ebp - 0x1c0]
push esi
call ebx
test eax, eax
jne 0x116fac0
push dword [ebp + 0xc]
lea eax, [ebp - 0x1d0]
push edi
push 0
push eax
mov eax, dword [ebp - 0x1c0]
or eax, 1
push eax
push esi
call ebx
cmp byte [ebp + 0x14], 0
je 0x116fb13
push 0x50
lea eax, [ebp - 0x11c]
push eax
push 0x1003
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
push 0x3b
lea eax, [ebp - 0x7a]
mov word [ebp - 0x7c], 0x20
push eax
je 0x116faf4
lea eax, [ebp - 0x11c]
push eax
jmp 0x116faf6
push 0
lea eax, [ebp - 0x1d0]
push eax
push 2
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push dword [ebp + 0xc]
lea eax, [ebp - 0x7c]
push eax
push edi
call fcn.0118c668
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0116015a
leave
ret 0x10
Function at 0x116fb27
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x12cf8c8]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
je 0x116fc1b
push edi
xor edi, edi
call fcn.0115caea
test eax, eax
je 0x116fb59
push 0x20
pop edi
and word [ebx], 0
lea eax, [ebp - 0x1cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x116fc1a
cmp word [ebp - 0x1cc], 0x76c
jb 0x116fc1a
push 0x50
lea eax, [ebp - 0x11c]
push eax
push 0x1f
mov esi, 0x400
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
push dword [ebp + 0xc]
push ebx
je 0x116fbb3
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x1cc]
push eax
push 0
jmp 0x116fbc0
push 0
lea eax, [ebp - 0x1cc]
push eax
or edi, 1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetDateFormatW]
cmp byte [ebp + 0x14], 0
je 0x116fc1a
push 0x50
lea eax, [ebp - 0x1bc]
push eax
push 0x1003
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
push 0x3b
lea eax, [ebp - 0x7a]
mov word [ebp - 0x7c], 0x20
push eax
je 0x116fbfb
lea eax, [ebp - 0x1bc]
push eax
jmp 0x116fbfd
push 0
lea eax, [ebp - 0x1cc]
push eax
push 2
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push dword [ebp + 0xc]
lea eax, [ebp - 0x7c]
push eax
push ebx
call fcn.0118c668
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0116015a
leave
ret 0x10
Function at 0x116fd55
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x12860b4
call fcn.01160458
sub esp, 0x1c
mov eax, dword [0x12cf8c8]
push ebx
push esi
xor ebx, ebx
test byte [0x12d3328], 1
mov dword [ebp - 0x10], eax
push edi
jne 0x116fd9b
or dword [0x12d3328], 1
mov dword [ebp - 4], ebx
mov eax, dword [0x12ce0a0]
push 0x1298714
mov dword [0x12d3324], eax
call fcn.01160598
pop ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], ebx
jne 0x116fdae
mov eax, dword [0x12d3324]
cmp dword [eax - 8], ebx
jne 0x116fe6e
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
mov word [ebp - 0x24], bx
lea edi, [ebp - 0x22]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xa
lea eax, [ebp - 0x24]
push eax
push 0x1e
mov edi, 0x400
push edi
call esi
test eax, eax
jle 0x116fde6
push 0xa
lea eax, [ebp - 0x24]
push eax
call fcn.0116fcdb
test eax, eax
jne 0x116fdf5
push 0x1010df0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 2
lea eax, [ebp - 0x28]
push eax
push 0x25
push edi
call esi
test eax, eax
je 0x116fe69
mov esi, 0x12d3324
push 0x1010c40
mov ecx, esi
call fcn.01045196
cmp word [ebp - 0x28], 0x30
je 0x116fe28
push 0x1010e10
mov ecx, esi
call fcn.01052ada
push 0x1010e08
mov ecx, esi
call fcn.01052ada
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.01052ada
mov edi, 0x1010dfc
push edi
mov ecx, esi
call fcn.01052ada
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.01052ada
push edi
mov ecx, esi
call fcn.01052ada
mov eax, dword [0x12d3324]
cmp dword [eax - 8], ebx
jne 0x116fe6e
mov eax, 0x100355c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0116015a
leave
ret 4
Function at 0x116fe8c
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x12860d1
call fcn.01160458
sub esp, 0x30
mov eax, dword [0x12cf8c8]
push ebx
xor ebx, ebx
test byte [0x12d3330], 1
mov dword [ebp - 0x10], eax
push esi
jne 0x116fed1
or dword [0x12d3330], 1
mov dword [ebp - 4], ebx
mov eax, dword [0x12ce0a0]
push 0x1298723
mov dword [0x12d332c], eax
call fcn.01160598
pop ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp + 8], ebx
jne 0x116fee4
mov eax, dword [0x12d332c]
cmp dword [eax - 8], ebx
jne 0x116ffed
push edi
xor eax, eax
mov word [ebp - 0x24], bx
lea edi, [ebp - 0x22]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor eax, eax
mov word [ebp - 0x38], bx
lea edi, [ebp - 0x36]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 5
lea eax, [ebp - 0x24]
push eax
push 0x1e
mov edi, 0x400
push edi
call esi
test eax, eax
jle 0x116ff2c
push 0xa
lea eax, [ebp - 0x24]
push eax
call fcn.0116fcdb
test eax, eax
jne 0x116ff3b
push 0x1010df0
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 5
lea eax, [ebp - 0x38]
push eax
push 0xe
push edi
call esi
test eax, eax
jg 0x116ff59
push 0x1005244
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 2
lea eax, [ebp - 0x3c]
push eax
push 0x25
push edi
call esi
test eax, eax
pop edi
je 0x116ffe8
mov esi, 0x12d332c
push 0x1010e4c
mov ecx, esi
call fcn.01045196
cmp word [ebp - 0x3c], 0x30
je 0x116ff8d
push 0x1010e10
mov ecx, esi
call fcn.01052ada
push 0x1010e44
mov ecx, esi
call fcn.01052ada
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.01052ada
push 0x1010e34
mov ecx, esi
call fcn.01052ada
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.01052ada
push 0x1010e24
mov ecx, esi
call fcn.01052ada
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.01052ada
push 0x1010e14
mov ecx, esi
call fcn.01052ada
mov eax, dword [0x12d332c]
cmp dword [eax - 8], ebx
jne 0x116ffed
mov eax, 0x100355c
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0116015a
leave
ret 4
Function at 0x11700f1
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1286123
call fcn.01160458
sub esp, 0x9c
mov eax, dword [0x12cf8c8]
and word [ebp - 0x1c], 0
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x10], eax
xor eax, eax
lea edi, [ebp - 0x1a]
stosd dword es:[edi], eax
push 5
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
push 0xe
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jl 0x11701e6
and word [ebp - 0xa0], 0
push 0x20
xor eax, eax
pop ecx
lea edi, [ebp - 0x9e]
rep stosd dword es:[edi], eax
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0xa4], eax
and dword [ebp - 4], 0
push dword [ebp + 0x14]
lea eax, [ebp - 0xa4]
push 0x1010ebc
push eax
call fcn.01032a1b
fld qword [ebp + 8]
add esp, 4
fstp qword [esp]
push dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
push 0x40
push eax
call dword [sym.imp.msvcrt.dll__snwprintf]
add esp, 0x14
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xa8]
call fcn.01039a07
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
push eax
push 0x1005244
lea ecx, [ebp - 0xa8]
call fcn.01075cad
lea eax, [ebp - 0xa8]
push eax
mov ecx, esi
call fcn.01044de0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa8]
call fcn.010328fe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.010328fe
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
call fcn.0116015a
leave
ret 0x10
Function at 0x1170351
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x128616d
call fcn.01160458
sub esp, 0xac
mov eax, dword [0x12cf8c8]
push ebx
xor ebx, ebx
test byte [0x12d3340], 1
mov dword [ebp - 0x10], eax
jne 0x1170398
or dword [0x12d3340], 1
mov dword [ebp - 4], ebx
mov eax, dword [0x12ce0a0]
push 0x12986f6
mov dword [0x12d333c], eax
call fcn.01160598
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [0x12d333c]
cmp dword [eax - 8], ebx
jne 0x11704d0
push edi
call fcn.0116fc2e
push eax
lea ecx, [ebp - 0xb4]
call fcn.01039a07
mov dword [ebp - 4], 1
push 0x27
pop ecx
xor eax, eax
mov word [ebp - 0xb0], bx
lea edi, [ebp - 0xae]
rep stosd dword es:[edi], eax
push 0x50
stosw word es:[edi], ax
lea eax, [ebp - 0xb0]
push eax
push 0x1003
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, ebx
jg 0x1170440
mov eax, dword [0x12ce0a0]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 2
push dword [ebp - 0xb4]
lea eax, [ebp - 0xb8]
push 0x1010ee8
push eax
call fcn.01032a1b
add esp, 0xc
lea eax, [ebp - 0xb8]
push eax
mov ecx, 0x12d333c
call fcn.01044de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8]
call fcn.010328fe
jmp 0x11704c0
push esi
lea eax, [ebp - 0xb0]
mov esi, 0x12d333c
push eax
mov ecx, esi
call fcn.01045196
mov edi, 0x100355c
push edi
push 0x1006808
mov ecx, esi
call fcn.01075cad
push edi
push 0x1010ee0
mov ecx, esi
call fcn.01075cad
push 0x1010edc
push 0x1010ed8
mov ecx, esi
call fcn.01075cad
push edi
push 0x1010ee4
mov ecx, esi
call fcn.01075cad
push ebx
push dword [ebp - 0xb4]
mov ecx, esi
call fcn.01044f44
cmp eax, ebx
jle 0x11704bf
inc eax
push eax
push dword [ebp - 0xb4]
mov ecx, esi
call fcn.01044f44
cmp eax, ebx
jle 0x11704bf
push ebx
push eax
mov ecx, esi
call fcn.01061c79
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.010328fe
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [0x12d333c]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0116015a
leave
ret
Function at 0x1171e78
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
add ecx, 0xffffffe4
neg esi
sbb esi, esi
and esi, ecx
cmp dword [ebp + 0x14], 0
mov dword [ebp - 4], 1
je 0x1171ee9
push ebx
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [ebp + 0xc]
or dword [ebp - 8], 0xffffffff
mov edi, eax
push edi
call fcn.0105604f
test eax, eax
je 0x1171edc
lea ecx, [edi + 1]
push ecx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
call fcn.010329e8
cmp dword [ebp - 8], edi
pop edi
pop ebx
jge 0x1171f10
and dword [ebp - 4], 0
jmp 0x1171f00
mov eax, dword [ebp + 0xc]
push dword [eax]
lea ecx, [esi + 4]
push dword [ebp + 8]
call fcn.0103262a
test eax, eax
mov dword [ebp - 4], eax
jne 0x1171f39
push dword [ebp + 0x14]
lea ecx, [esi + 0x1c]
push dword [ebp + 8]
call fcn.0117196a
jmp 0x1171f39
cmp dword [ebp + 0x18], 0
je 0x1171f39
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax - 8]
cmp eax, dword [ebp + 0x1c]
jle 0x1171f39
lea eax, [ebp - 0x28]
push eax
push dword [ebp + 0x14]
lea ecx, [esi + 0x1c]
push dword [ebp + 8]
call fcn.011719a2
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop esi
leave
ret 0x18
Function at 0x1171ffa
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x1286385
call fcn.01160458
push ecx
mov eax, dword [0x12ce0a0]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call dword [eax + 0x14]
push dword [ebp - 0x10]
lea edi, [esi + 4]
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi]
lea ebx, [esi + 0x28]
push ebx
mov ecx, esi
call dword [eax + 0x10]
xor eax, eax
push eax
push eax
push eax
push eax
push ebx
push 0x66f
lea ecx, [esi + 0x1c]
call fcn.01171e78
mov eax, dword [esi + 0x40]
cmp eax, 1
je 0x1172064
cmp eax, 3
je 0x1172064
cmp eax, 4
je 0x1172064
xor eax, eax
jmp 0x1172067
xor eax, eax
inc eax
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esi + 0x34], eax
jne 0x1172083
push 0
push 2
push dword [edi]
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x40]
cmp eax, 3
je 0x1172094
cmp eax, 4
je 0x1172094
xor eax, eax
jmp 0x1172097
xor eax, eax
inc eax
test eax, eax
mov dword [esi + 0x38], eax
push 0
jne 0x11720a4
push 6
jmp 0x11720a6
push 1
push dword [edi]
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x40]
cmp eax, 3
je 0x11720c2
cmp eax, 4
je 0x11720c2
xor eax, eax
jmp 0x11720c5
xor eax, eax
inc eax
test eax, eax
mov dword [esi + 0x3c], eax
jne 0x11720da
push eax
push 7
push dword [edi]
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x44]
cmp eax, 0x10
mov ecx, 0x7f04
jne 0x11720ec
add ecx, 0xfffffffd
jmp 0x1172102
cmp eax, 0x20
jne 0x11720f8
mov ecx, 0x7f02
jmp 0x1172102
cmp eax, 0x30
jne 0x1172102
mov ecx, 0x7f03
push ecx
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x671
push dword [edi]
mov dword [esi + 0x48], eax
call ebx
push 0
push dword [esi + 0x48]
push 0x170
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x30
mov ecx, edi
call fcn.01061b9d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.010328fe
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x117a53f
Capabilities:
Encrypt data using dpapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x12cf8c8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], edi
je 0x117a56a
test edi, edi
je 0x117a56a
test ebx, ebx
jne 0x117a574
mov eax, 0x80004003
jmp 0x117a63c
and dword [ebp - 0x30], 0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x20
shl eax, 1
mov dword [ebp - 0x40], esi
pop esi
mov dword [ebp - 0x44], eax
push esi
lea eax, [ebp - 0x24]
push eax
call fcn.0117a501
test eax, eax
jl 0x117a63c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x2c]
push eax
push 1
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
push 0x100355c
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x3c], esi
call dword [sym.imp.CRYPT32.dll_CryptProtectData]
test eax, eax
je 0x117a614
cmp dword [ebp - 0x28], 0
je 0x117a614
push dword [ebp - 0x2c]
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
jne 0x117a5e9
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 0x8007000e
jmp 0x117a63c
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp - 0x34]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x28]
mov dword [edx], ecx
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x117a639
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x117a624
call esi
jmp 0x117a630
call esi
and eax, 0xffff
or eax, 0x80070000
and dword [edi], 0
and dword [ebx], 0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0116015a
leave
ret 0xc
Function at 0x117a650
Capabilities:
Encrypt data using dpapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x12cf8c8]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x34], ebx
je 0x117a675
cmp ebx, esi
jne 0x117a67f
mov eax, 0x80004003
jmp 0x117a750
push edi
push 0x20
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
pop edi
mov dword [ebp - 0x3c], eax
push edi
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], esi
call fcn.0117a501
cmp eax, esi
jl 0x117a74f
lea eax, [ebp - 0x24]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x30]
push eax
push 1
push esi
push esi
lea eax, [ebp - 0x44]
push eax
push esi
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x44], edi
call dword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x117a72b
cmp dword [ebp - 0x2c], esi
je 0x117a72b
mov eax, dword [ebp - 0x30]
mov ecx, eax
not ecx
test cl, 1
jne 0x117a6dd
mov eax, 0x80004005
jmp 0x117a74f
shr eax, 1
lea ebx, [eax + eax]
lea eax, [ebx + 2]
push eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, esi
pop ecx
jne 0x117a700
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 0x8007000e
jmp 0x117a74f
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
and word [ebx + eax], 0
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x2c]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x117a74c
mov dword [ebx], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x117a73d
call esi
jmp 0x117a749
call esi
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0116015a
leave
ret 0xc
Function at 0x117a855
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov eax, 0x1286bac
call fcn.01160458
sub esp, 0x268
mov eax, dword [0x12cf8c8]
push esi
mov esi, dword [ebp + 8]
push esi
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x10], eax
call fcn.01046065
and dword [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.01045169
mov byte [ebp - 4], 1
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x270]
call fcn.01052dc4
test eax, eax
jge 0x117a8ad
mov esi, eax
jmp 0x117a9ee
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x274], eax
jne 0x117a8cd
xor esi, esi
jmp 0x117a9ee
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_wcscmp]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x234]
push eax
push 0x1005244
call ebx
test eax, eax
pop ecx
pop ecx
je 0x117a9c3
lea eax, [ebp - 0x234]
push eax
push 0x1012eec
call ebx
test eax, eax
pop ecx
pop ecx
je 0x117a9c3
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.01045e48
mov byte [ebp - 4], 2
test byte [ebp - 0x260], 0x10
je 0x117a993
push dword [ebp - 0x264]
call edi
test eax, eax
jne 0x117a9b4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x117a9b4
push 0x1012ee4
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.01045e48
mov byte [ebp - 4], 3
push dword [ebp - 0x26c]
call fcn.0117a855
mov esi, eax
test esi, esi
jl 0x117aa25
push dword [ebp - 0x264]
call edi
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
call fcn.010328fe
jmp 0x117a9b4
push 0x80
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x117a9b4
push dword [ebp - 0x264]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.010328fe
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x117a8db
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindClose]
xor esi, esi
pop edi
pop ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x268]
call fcn.01045295
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x270]
call fcn.01045295
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
call fcn.0116015a
leave
ret 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x26c]
call fcn.010328fe
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x264]
call fcn.010328fe
jmp 0x117a9ec
Function at 0x117cfb5
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov eax, 0x1287058
call fcn.01160458
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.0117b6d0
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebx + 0x10], 0x1013050
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
lea ecx, [ebx + 0x1c]
mov dword [ebx], 0x10130d0
mov dword [ebx + 0x10], 0x10130a4
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], eax
call fcn.0117c463
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
mov al, byte [ebp + 0x10]
lea ecx, [ebx + 0x38]
mov byte [ebx + 0x30], al
mov dword [ebx + 0x34], esi
call fcn.0116dc11
mov byte [ebp - 4], 3
lea ecx, [ebx + 0x4c]
mov dword [ebx + 0x44], esi
mov byte [ebx + 0x48], 0
call fcn.01045169
mov byte [ebp - 4], 4
mov dword [ebx + 0x50], esi
mov byte [ebp - 4], 5
mov dword [ebx + 0x54], esi
mov byte [ebp - 4], 6
mov al, byte [ebp + 0x14]
mov byte [ebx + 0x58], al
mov dword [ebx + 0x5c], esi
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], esi
mov byte [ebp - 4], 7
mov dword [ebx + 0x6c], esi
mov byte [ebp - 4], 8
lea edi, [ebx + 0x70]
mov esi, 0x101af84
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 eax, [ebx + 0x80]
xor esi, esi
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov byte [ebp - 4], 9
lea ecx, [ebx + 0x8c]
call fcn.01045169
mov byte [ebp - 4], 0xa
lea eax, [ebx + 0x70]
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
push 0x17
push esi
push 0x1011320
lea ecx, [ebx + 0x54]
call fcn.0117c362
or dword [ebp - 4], 0xffffffff
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10