joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10546b8
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.01054692
push edi
mov esi, eax
call fcn.0102a2bc
push esi
test eax, eax
je 0x10547ff
push 0xa60
call fcn.01088aa0
push eax
push 0x100892c
call fcn.01099014
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp - 4]
push eax
push edi
call fcn.010aced9
mov esi, eax
cmp esi, ebx
je 0x105471e
push esi
push 0x6540143
jmp 0x1054793
push dword [ebp - 4]
push 0xa59
call fcn.01088aa0
push eax
push 0x7d0
call fcn.01088aa0
push eax
push dword [ebp + 8]
push dword [ebp + 8]
push 0x100dd40
call fcn.01099014
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
push ebx
push 0xa58
push ebx
call fcn.0103d073
mov esi, eax
cmp esi, ebx
je 0x1054768
push esi
push 0x65f0143
jmp 0x1054793
cmp dword [ebp - 4], ebx
je 0x10547c5
cmp dword [0x10cf1c8], ebx
lea eax, [ebp - 8]
push eax
sete al
movzx eax, al
push ebx
push eax
push dword [ebp - 4]
call fcn.010acd65
mov esi, eax
cmp esi, ebx
je 0x105479d
push esi
push 0x6680143
call fcn.010893e6
jmp 0x1054824
push dword [ebp - 8]
push edi
call fcn.0108c78f
test eax, eax
je 0x10547c5
push dword [ebp - 8]
push 0xa63
call fcn.01088aa0
push eax
push 0x100dd1c
call fcn.01099014
add esp, 0xc
cmp byte [ebp + 0xc], bl
je 0x1054817
push 0xa61
call fcn.01088aa0
push eax
push 0x100c6e0
call fcn.01099014
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1054817
call fcn.0108edc3
push eax
push 0x67b0143
push edi
call fcn.01089421
jmp 0x1054817
push 0xa62
call fcn.01088aa0
push eax
push 0x100892c
call fcn.01099014
add esp, 0xc
push 0x1004208
call fcn.01099014
pop ecx
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 4], ebx
je 0x1054834
push dword [ebp - 4]
call edi
cmp dword [ebp - 8], ebx
je 0x105483e
push dword [ebp - 8]
call edi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x10570fa
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x105710e
mov dword [eax], edi
cmp dword [ebp + 0xc], edi
je 0x105720b
mov ebx, dword [ebp + 0x10]
cmp ebx, edi
je 0x105720b
cmp dword [ebp + 0x14], edi
je 0x105720b
cmp eax, edi
je 0x105720b
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 0x10]
push eax
push edi
push ebx
push edi
push dword [ebp + 0xc]
mov dword [ebp + 0x10], edi
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
cmp eax, edi
je 0x1057167
push 2
push eax
push 0x6770138
push dword [ebp + 0xc]
call fcn.0108933a
jmp 0x105721e
mov eax, dword [ebp + 0x10]
add eax, 6
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp eax, edi
jne 0x1057196
mov eax, 0x8007000e
push eax
push 0x6800138
mov dword [ebp - 4], eax
call fcn.010893e6
jmp 0x1057223
lea ecx, [ebp + 0x10]
push ecx
push eax
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
cmp eax, edi
je 0x10571bc
push eax
push 0x68a0138
push dword [ebp + 0xc]
call fcn.01089421
jmp 0x105721e
mov eax, dword [ebx]
cmp eax, 1
je 0x10571c8
cmp eax, 7
jne 0x1057201
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x10]
xor eax, eax
shr edx, 1
lea edi, [ecx + edx*2]
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, ecx
xor edx, edx
cmp dx, word [eax]
jne 0x10571e9
cmp dx, word [eax + 2]
je 0x10571ed
inc eax
inc eax
jmp 0x10571dc
sub eax, ecx
shr eax, 1
xor ecx, ecx
cmp dword [ebx], 1
setne cl
inc ecx
add eax, ecx
add eax, eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
jmp 0x1057239
mov eax, 0x80004003
push eax
push 0x66d0138
mov dword [ebp - 4], eax
call fcn.010893e6
cmp dword [ebp - 4], edi
je 0x1057239
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x1057239
mov eax, dword [esi]
cmp eax, edi
je 0x1057239
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esi], edi
push dword [ebp - 4]
call fcn.0108ed8e
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x10654ff
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor esi, esi
push esi
push 0x8000000
push 3
xor eax, eax
push esi
inc eax
push eax
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp + 0x10], ebx
cmp ebx, 0xffffffff
jne 0x1065554
call fcn.0108edc3
mov ebx, eax
push ebx
push 0x23d20139
jmp 0x10655ed
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
jne 0x1065573
call fcn.0108edc3
mov ebx, eax
push ebx
push 0x23d90139
jmp 0x10655ed
lea ecx, [ebp - 0x10]
push ecx
push eax
push ebx
call fcn.0105fbba
mov ebx, eax
cmp ebx, esi
je 0x106558c
push ebx
push 0x23df0139
jmp 0x10655ed
push esi
push esi
push esi
push dword [ebp + 0x10]
mov dword [edi], esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10655ae
call fcn.0108edc3
mov ebx, eax
push ebx
push 0x23e50139
jmp 0x10655ed
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call fcn.0105e5d0
mov ebx, eax
cmp ebx, esi
je 0x10655d0
push ebx
push 0x23eb0139
jmp 0x10655ed
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp + 0x10]
call fcn.01064d4b
mov ebx, eax
cmp ebx, esi
je 0x10655f2
push ebx
push 0x23f00139
call fcn.010893e6
mov edi, dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp dword [ebp - 0xc], esi
je 0x1065602
push dword [ebp - 0xc]
call edi
cmp dword [ebp - 0x10], esi
je 0x106560c
push dword [ebp - 0x10]
call edi
cmp dword [ebp - 4], esi
je 0x106561a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp dword [ebp - 8], esi
je 0x1065629
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp dword [ebp + 0x10], 0xffffffff
je 0x1065638
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc
Function at 0x106686e
Capabilities:
Get hostname
Get session user name

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x10cd598]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push 4
mov dword [ebp - 0x208], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov esi, 0x1004208
test eax, eax
jne 0x10668cd
call fcn.0108edc3
mov edi, eax
push edi
push 0x6a2013a
call fcn.010893e6
push edi
push 0x1012fcc
call fcn.01088c53
jmp 0x10668ef
lea eax, [ebp - 0x204]
push eax
push 0x893
call fcn.01088aa0
push eax
call fcn.01099014
push esi
call fcn.01099014
add esp, 0xc
xor edi, edi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push 2
mov dword [ebp - 0x208], 0x100
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x1066937
call fcn.0108edc3
push edi
push 0x6b1013a
mov esi, eax
call fcn.010893e6
push esi
push 0x1012fb0
call fcn.01088c53
test edi, edi
jne 0x106695d
mov edi, esi
jmp 0x106695d
lea eax, [ebp - 0x204]
push eax
push 0x894
call fcn.01088aa0
push eax
call fcn.01099014
push esi
call fcn.01099014
push esi
call fcn.01099014
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.01074bd5
leave
ret
Function at 0x106b7fc
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x10bdd58
call fcn.01074c45
mov ebx, 0x10d046c
push ebx
push 0xc
call fcn.01074e00
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x106b831
push 0x8007000e
push 0xfc5013f
call fcn.010893e6
jmp 0x106b8bd
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
push ebx
push 8
mov dword [esi + 4], eax
call fcn.01074e00
pop ecx
pop ecx
mov dword [ebp + 8], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x106b865
push dword [ebp + 0x10]
mov ecx, eax
call fcn.01069313
jmp 0x106b867
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], eax
cmp eax, edi
jne 0x106b883
push 0x8007000e
push 0xfce013f
call fcn.010893e6
jmp 0x106b8b0
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push fcn.0106b111
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
jne 0x106b8a7
call fcn.0108edc3
push eax
push 0xfdb013f
jmp 0x106b87c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp esi, edi
je 0x106b8bd
push 1
mov ecx, esi
call fcn.01069132
call fcn.01074d31
ret 0xc

Function at 0x106b8ca
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x10bdd58
call fcn.01074c45
mov ebx, 0x10d046c
push ebx
push 0xc
call fcn.01074e00
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x106b8ff
push 0x8007000e
push 0xff3013f
call fcn.010893e6
jmp 0x106b985
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push ebx
push 8
mov dword [esi], eax
call fcn.01074e00
pop ecx
pop ecx
mov dword [ebp + 8], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x106b92d
push dword [ebp + 0xc]
mov ecx, eax
call fcn.01069313
jmp 0x106b92f
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], eax
cmp eax, edi
jne 0x106b94b
push 0x8007000e
push 0xffb013f
call fcn.010893e6
jmp 0x106b978
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push fcn.0106b3f2
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
jne 0x106b96f
call fcn.0108edc3
push eax
push 0x1008013f
jmp 0x106b944
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp esi, edi
je 0x106b985
push 1
mov ecx, esi
call fcn.01069132
call fcn.01074d31
ret 8
Function at 0x106b992
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x10bdd58
call fcn.01074c45
mov ebx, 0x10d046c
push ebx
push 0xc
call fcn.01074e00
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x106b9c7
push 0x8007000e
push 0x1020013f
call fcn.010893e6
jmp 0x106ba4d
xor eax, eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
push ebx
push 8
mov dword [esi], eax
call fcn.01074e00
pop ecx
pop ecx
mov dword [ebp + 8], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x106b9f5
push dword [ebp + 0xc]
mov ecx, eax
call fcn.01069313
jmp 0x106b9f7
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 8], eax
cmp eax, edi
jne 0x106ba13
push 0x8007000e
push 0x1028013f
call fcn.010893e6
jmp 0x106ba40
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push fcn.0106b64e
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
jne 0x106ba37
call fcn.0108edc3
push eax
push 0x1035013f
jmp 0x106ba0c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp esi, edi
je 0x106ba4d
push 1
mov ecx, esi
call fcn.01069132
call fcn.01074d31
ret 8
Function at 0x106c83c
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x28]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
cmp eax, ebx
je 0x106c85e
mov dword [eax], ebx
mov esi, dword [ebp + 0x24]
mov edi, dword [ebp + 8]
mov dword [esi], ebx
mov eax, dword [edi + 0xc]
lea ecx, [eax + 0x30]
push ecx
add eax, 0x18
push eax
push 1
call dword [sym.imp.CRYPT32.dll_CertCompareCertificateName]
mov edx, 0x40000000
test eax, eax
je 0x106c884
or dword [esi], edx
mov ecx, 0x20000000
cmp dword [ebp + 0x20], ebx
jne 0x106c896
cmp dword [0x10cf1c4], ebx
je 0x106c89b
mov ecx, 0x20000010
mov eax, dword [0x10cf1f0]
cmp eax, ebx
je 0x106c8af
or ecx, 0xb
cmp eax, 1
jle 0x106c8af
or ecx, 4
cmp dword [0x10cf204], ebx
jne 0x106c8b9
or ecx, edx
cmp dword [0x10cf210], ebx
je 0x106c8c7
or ecx, 0x80000000
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x10cf220]
neg eax
sbb eax, eax
and eax, 0x106c766
push eax
push dword [ebp + 0xc]
xor eax, eax
cmp dword [0x10cf1c8], ebx
push ebx
sete al
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [0x10cf230]
push ecx
push edi
call fcn.0109324e
mov edi, eax
cmp edi, ebx
jne 0x106c943
cmp dword [ebp - 8], ebx
jne 0x106c929
cmp dword [ebp - 0xc], ebx
jne 0x106c929
call fcn.0108c0f7
test eax, eax
je 0x106c943
push dword [ebp - 8]
push 0x7fd
call fcn.0106c6cb
push dword [ebp - 0xc]
push 0x7fe
call fcn.0106c6cb
cmp dword [ebp - 0x10], ebx
je 0x106c957
push dword [ebp - 0x10]
push 0x1001d04
call fcn.01099014
pop ecx
pop ecx
cmp edi, 0x80092010
je 0x106c9c1
cmp edi, 0x800b010c
je 0x106c9c1
cmp edi, 0x800b0109
jne 0x106c979
or dword [esi], 8
mov eax, 0x275
jmp 0x106c9c9
cmp edi, 0x800b010a
jne 0x106c98b
or dword [esi], 0x10
mov eax, 0x276
jmp 0x106c9c9
cmp edi, 0x800b0101
jne 0x106c99d
or dword [esi], 2
mov eax, 0x355
jmp 0x106c9c9
cmp edi, 0x80092013
jne 0x106c9af
or dword [esi], 0x40
mov eax, 0x290
jmp 0x106c9c9
cmp edi, 0x80092012
jne 0x106ca14
or dword [esi], 0x20
mov eax, 0x291
jmp 0x106c9c9
or dword [esi], 4
mov eax, 0x2fe
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
jne 0x106ca10
push eax
call fcn.01088aa0
push eax
call fcn.01099014
mov dword [esp], 0x1004208
call fcn.01099014
pop ecx
cmp dword [ebp - 4], ebx
je 0x106ca12
push 0x31b
call fcn.01088aa0
push eax
call fcn.01099014
push dword [ebp - 4]
push 0x10134a4
call fcn.01099014
add esp, 0xc
jmp 0x106ca12
mov dword [ecx], eax
xor edi, edi
cmp edi, ebx
je 0x106ca26
or dword [esi], 1
push edi
push 0x515013b
call fcn.010893e6
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 4], ebx
je 0x106ca36
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], ebx
je 0x106ca40
push dword [ebp - 8]
call esi
cmp dword [ebp - 0xc], ebx
je 0x106ca4a
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x10], ebx
je 0x106ca54
push dword [ebp - 0x10]
call esi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x24
Function at 0x1074baf
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x10c06d0
call fcn.010751f4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x10d1018
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x107496a
cmp eax, esi
jne 0x107495d
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x107496d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1074944
xor esi, esi
inc esi
mov eax, dword [0x10d1014]
cmp eax, esi
jne 0x1074980
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10749af
mov eax, dword [0x10d1014]
test eax, eax
jne 0x10749a9
mov dword [0x10d1014], esi
push 0x1001a20
push 0x1001a14
call fcn.010748a6
pop ecx
pop ecx
test eax, eax
je 0x10749af
jmp 0x1074ad3
mov dword [0x10d048c], esi
mov eax, dword [0x10d1014]
cmp eax, esi
jne 0x10749d3
push 0x1001a10
push 0x1001a04
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10d1014], 2
cmp dword [ebp - 0x20], ebx
jne 0x10749e0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10d1024], ebx
je 0x1074a01
push 0x10d1024
call fcn.01075169
pop ecx
test eax, eax
je 0x1074a01
push ebx
push 2
push ebx
call dword [0x10d1024]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x1074ad3
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x1074a6b
cmp cx, bx
je 0x1074a26
cmp dword [ebp - 0x1c], ebx
jne 0x1074a6b
movzx ecx, word [eax]
cmp cx, bx
je 0x1074a3b
cmp cx, 0x20
ja 0x1074a3b
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x1074a26
test byte [ebp - 0x40], 1
je 0x1074a47
movzx ecx, word [ebp - 0x3c]
jmp 0x1074a4a
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x10d0488], eax
cmp dword [0x10d047c], ebx
jne 0x1074ab0
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x1074a7c
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x1074a10
cmp dword [0x10d048c], ebx
jne 0x1074abe
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x10d0488]
jmp 0x1074adf
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01075239
ret
call fcn.01075339
jmp 0x1074907
Function at 0x10760aa
Capabilities:
Initialize hashing via wincrypt

Disassembly:
push 0xa0
mov eax, 0x10bdf85
call fcn.01074c7d
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 0x14]
cmp ecx, ebx
je 0x10760cd
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 8], ebx
je 0x1076114
push ebx
push 0x7fffffff
push dword [ebp + 8]
call fcn.0102e54a
test eax, eax
jge 0x1076114
push 0x80070057
push 0x10141b8
push 0x89
push 0x1014130
lea ecx, [ebp - 0x90]
call fcn.0102eb09
push 0x10bf9dc
lea eax, [ebp - 0x90]
push eax
call sub.msvcrt.dll__CxxThrowException
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
push 0xf0000040
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x1076163
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01075531
push eax
push 0x10142b8
push 0x92
push 0x1014130
lea ecx, [ebp - 0x58]
call fcn.0102eb09
push 0x10bf9dc
lea eax, [ebp - 0x58]
jmp 0x107610e
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x10761ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.01075531
push eax
push 0x1014250
push 0x95
push 0x1014130
lea ecx, [ebp - 0x74]
call fcn.0102eb09
push 0x10bf9dc
lea eax, [ebp - 0x74]
jmp 0x107610e
push 0x10
call fcn.01074837
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
mov byte [ebp - 4], 2
cmp ecx, ebx
je 0x10761d3
push 1
push 1
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.0107a823
jmp 0x10761d5
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x107620f
push 0x8007000e
push 0x1013c30
push 0x98
push 0x1014130
lea ecx, [ebp - 0xac]
call fcn.0102eb09
push 0x10bf9dc
lea eax, [ebp - 0xac]
jmp 0x107610e
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.01075c42
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
call fcn.01074d31
ret 0x10
Function at 0x1082f90
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
mov dword [ebp - 4], esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x1082fe7
call fcn.0108edc3
push dword [ebp + 8]
mov edi, eax
push edi
push 0x103
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.010883aa
push edi
push 0xd200ca
call fcn.010893e6
jmp 0x108303b
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1083028
call fcn.0108edc3
push dword [ebp + 8]
mov edi, eax
push edi
push 0x11e
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.010883aa
push edi
push 0xdf00ca
call fcn.010893e6
jmp 0x108302f
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], esi
jne 0x1083042
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x18

Function at 0x1083d59
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push edi
push 2
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
jne 0x1083d8d
call fcn.0108edc3
mov edi, eax
push edi
push 0xabf00ca
call fcn.010893e6
jmp 0x1083df8
push esi
xor esi, esi
cmp dword [ebp - 0x10], esi
jbe 0x1083df7
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x1083dc8
mov eax, dword [ebp - 4]
cmp byte [eax], 0
jne 0x1083dc0
add eax, 8
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1083dd7
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x1083d95
jmp 0x1083df7
call fcn.0108edc3
mov edi, eax
push edi
push 0xac700ca
jmp 0x1083df2
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_DeleteAce]
test eax, eax
jne 0x1083df7
call fcn.0108edc3
mov edi, eax
push edi
push 0xad500ca
call fcn.010893e6
pop esi
mov eax, edi
pop edi
leave
ret 8
Function at 0x1083f9c
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [esi], ebx
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorDacl]
test eax, eax
jne 0x1083ff0
call fcn.0108edc3
push eax
push 0xb6b00ca
mov dword [ebp - 8], eax
call fcn.010893e6
jmp 0x1084094
cmp dword [ebp - 0xc], ebx
je 0x1084094
cmp dword [ebp - 4], ebx
je 0x1084094
push edi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
push 0xc
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
jne 0x108402d
call fcn.0108edc3
push eax
push 0xb7a00ca
jmp 0x108407d
cmp dword [ebp - 0x24], ebx
jbe 0x1084093
xor edi, edi
cmp dword [ebp - 0x24], ebx
jbe 0x108408e
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x1084072
mov eax, dword [ebp - 0x10]
mov cl, byte [eax]
cmp cl, bl
je 0x1084059
cmp cl, 1
jne 0x108406a
push dword [ebp + 0xc]
add eax, 8
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1084087
inc edi
cmp edi, dword [ebp - 0x24]
jb 0x1084039
jmp 0x108408e
call fcn.0108edc3
push eax
push 0xb8500ca
mov dword [ebp - 8], eax
call fcn.010893e6
jmp 0x1084093
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
pop edi
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret 0xc