joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bb200
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x96000]
push edi
or ebp, 0xffffffff
jmp 0x4bb222
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4bb229
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bb218
mov eax, 1
add ebx, ebx
jne 0x4bb23b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4bb24c
jne 0x4bb26b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bb26b
dec eax
add ebx, ebx
jne 0x4bb258
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4bb230
add ebx, ebx
jne 0x4bb267
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4bb2bd
xor ecx, ecx
sub eax, 3
jb 0x4bb283
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4bb2f2
sar eax, 1
mov ebp, eax
jmp 0x4bb28e
add ebx, ebx
jne 0x4bb28e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bb25c
inc ecx
add ebx, ebx
jne 0x4bb29c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4bb25c
add ebx, ebx
jne 0x4bb2a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4bb29e
jne 0x4bb2ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4bb29e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4bb2dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4bb2ce
jmp 0x4bb21e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4bb2dc
add edi, ecx
jmp 0x4bb21e
pop esi
mov edi, esi
mov ecx, 0x28e0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4bb2fa
cmp byte [edi], 0x16
jne 0x4bb2fa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4bb2ff
lea edi, [esi + 0xb9000]
mov eax, dword [edi]
or eax, eax
je 0x4bb377
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10ed60]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10edb8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4bb32c
mov ecx, edi
jns 0x4bb35b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x10edc0]
or eax, eax
je 0x4bb371
mov dword [ebx], eax
add ebx, 4
jmp 0x4bb349
call dword [esi + 0x10edbc]
mov ebp, dword [esi + 0x10edc4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4bb3ab
sub esp, 0xffffff80
jmp 0x4393d3
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x4704109b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x431060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x446e75c8
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x2580cf5f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x2580cf6e
pop dword [ebp - 8]
mov eax, 0xcf909d4f
sub eax, 0xaa0fcde1
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x5b75c7b5
add dword [ebp - 0x18], 0xf2dc7d96
mov dword [ebp - 0x14], 0x76221304
add dword [ebp - 0x14], 0xbc113941
mov dword [ebp - 0x10], 0x3e79a4bd
sub dword [ebp - 0x10], 0xf22d608f
mov dword [ebp - 0xc], 0xd7d726ab
sub dword [ebp - 0xc], 0xd7d726ab
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x78733710
add dword [ebp - 0x18], 0xfbff3246
mov dword [ebp - 0x14], 0xd501d25b
add dword [ebp - 0x14], 0x6c6a8f1a
mov dword [ebp - 0x10], 0xaf9a770a
add dword [ebp - 0x10], 0xb3d4f562
mov dword [ebp - 0xc], 0x90fb0939
sub dword [ebp - 0xc], 0x90fb0939
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xe309f7aa
add eax, 0x427748c6
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x36370
push 0
call eax
mov ecx, 0x9c962847
add ecx, 0x636a0d67
mov ebx, eax
mov edi, 0xea8a55d2
add edi, 0x3af7862e
add edi, dword [ebp - 8]
mov edx, 0x818fa7cc
add dword [ebp - 4], edx
mov esi, dword [edi]
sub dword [ebp - 4], edx
xor esi, edx
mov dword [ebp - 4], 0x57e3bd9e
mov dword [ebx], esi
sub dword [ebp - 4], 0xc493dafe
add ebx, 0xb5a38558
add ebx, 0x4a5c7aac
add edi, 4
loop 0x2580d085
add eax, 0xc98b
xor ebx, ebx
add ebx, eax
add eax, 0xab7d9685
sub eax, 0xab7d9680
mov ecx, 0x11d994df
add ecx, 0x13a66b21
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x10011d51
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x10011d60
pop dword [ebp - 0x14]
mov eax, 0x5c65ac28
sub eax, 0x4c648ec8
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x45336
push 0
mov eax, 0xcc4ea204
sub eax, 0xbc4720e8
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0x5031
mov esi, eax
mov edx, 0x10187200
add edx, dword [ebp - 0x14]
mov edi, 0xabea5c9e
xor dword [ebp - 0xc], ebx
mov ebx, dword [edx]
mov dword [ebp - 0xc], 0xf44e0be9
xor ebx, edi
xor dword [ebp - 4], edi
mov dword [esi], ebx
add esi, 0x51ffb7c3
sub esi, 0x51ffb7bf
add edx, 4
loop 0x10011dad
add eax, 0x13397
xor ebx, ebx
add ebx, eax
add eax, 0x9ee42928
add eax, 0x611bd6dd
mov ecx, 0x10000000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x10071ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x10071f6b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x10071f22
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x10071f22
cmp esi, ebx
jge 0x10071f22
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x10071f65
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x10071f65
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100783dc]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100783dc]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x10071f7d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x100721a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
mov eax, dword [ebp + 8]
je 0x100721c8
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x100721e2
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10011d51
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.100762d0
leave
ret 4

Function at 0x100723b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x100723e6
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x10072445
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10011d51
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10011d51
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.10011d51
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100762d0
leave
ret 0x10
Function at 0x10072460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1007248c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x100724bd
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x100724bb
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10011d51
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x100724bd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100762d0
leave
ret 8

Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748
Function at 0x40cf0d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41ac98]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040aa81
mov dword [ebp - 0x14], eax
cmp dword [0x4b327c], esi
jne 0x40d000
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40cf8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d0e0
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d0e0
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d0e0
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4b327c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4b3280], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4b3284], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b328c], eax
test eax, eax
je 0x40cffd
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4b3288], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d025
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d018
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d03a
push 4
pop eax
jmp 0x40d0e2
cmp dword [ebp - 0x14], esi
je 0x40d03a
push dword [0x4b327c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d01f
mov eax, dword [0x4b3288]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d098
cmp dword [0x4b328c], edi
je 0x40d098
push eax
call ebx
push dword [0x4b328c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d098
test eax, eax
je 0x40d098
call ecx
test eax, eax
je 0x40d08d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d08d
test byte [ebp - 8], 1
jne 0x40d098
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d0c8
mov eax, dword [0x4b3280]
cmp eax, edi
je 0x40d0c5
push eax
call ebx
test eax, eax
je 0x40d0c5
call eax
mov esi, eax
test esi, esi
je 0x40d0c5
mov eax, dword [0x4b3284]
cmp eax, edi
je 0x40d0c5
push eax
call ebx
test eax, eax
je 0x40d0c5
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4b327c]
call ebx
test eax, eax
je 0x40d0e0
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d0e2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004045b1
mov esp, ebp
pop ebp
ret
Function at 0x1001148a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10011499
pop dword [ebp - 0x40]
mov eax, 0x10011499
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x46be2
push 0
mov eax, 0xbdf19cac
add eax, 0x5215e470
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x5657
xor edi, edi
add edi, eax
mov ebx, 0x70a768b3
add ebx, 0x9f71094d
add ebx, dword [ebp - 0x40]
mov esi, 0x5bceb999
add esi, 0x20230116
add dword [ebp - 0x24], 0x9610cbc0
mov edx, dword [ebx]
add dword [ebp - 0x18], eax
xor edx, esi
add dword [ebp - 4], 0x501213ff
mov dword [edi], edx
sub dword [ebp - 0x38], 0x43fc995f
add edi, 0x30af0ab0
add edi, 0xcf50f554
add ebx, 0x800955af
sub ebx, 0x800955ab
loop 0x100114ef
add eax, 0x3c814c20
add eax, 0xc380000f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x28816064
add ecx, 0xe77e9f9c
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x10071ed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x10071f6b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x10071f22
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x10071f22
cmp esi, ebx
jge 0x10071f22
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x10071f65
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x10071f65
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x100783dc]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x100783dc]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x10071f7d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x100721a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
mov eax, dword [ebp + 8]
je 0x100721c8
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x100721e2
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.1001148a
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.100762d0
leave
ret 4

Function at 0x100723b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x100723e6
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x10072445
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.1001148a
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.1001148a
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.1001148a
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100762d0
leave
ret 0x10
Function at 0x10072460
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bb864]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x10176174], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x1007248c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x100724bd
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x100724bb
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.1001148a
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x100724bd
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100762d0
leave
ret 8
Function at 0x401035
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x44a930]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
xor eax, eax
xor edi, edi
cmp dword [ebp + 8], edi
setne al
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x20006
push edi
push str.SOFTWAREMicrosoftDriver_Signing_
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 4
lea eax, [ebp - 0xc]
push eax
push 3
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x43a730
push dword [ebp - 8]
call edi
push dword [ebp - 8]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
push 0x43a740
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 4
lea eax, [ebp - 0xc]
push eax
push 3
push 0
push 0x43a784
push dword [ebp - 8]
call edi
push dword [ebp - 8]
call ebx
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftNon_Driver_Signing
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 4
lea eax, [ebp - 0xc]
push eax
push 3
push 0
push 0x43a7e4
push dword [ebp - 8]
call edi
push dword [ebp - 8]
call ebx
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftDriver_Signing
push SysReAllocString
call esi
push 4
lea eax, [ebp - 0xc]
push eax
push 3
push 0
push str.Policy
push dword [ebp - 8]
call edi
push dword [ebp - 8]
call ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041f0ad
leave
ret 4
Function at 0x401136
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x44a930]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SystemWPAPnP
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
push 4
pop edi
jne 0x401192
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push str.seed
push dword [ebp - 0x24]
mov dword [ebp - 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x401195
mov dword [ebp - 0x2c], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
call esi
test eax, eax
jne 0x4011cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x4011cb
push 8
push 1
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
call esi
test eax, eax
je 0x4012a1
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4012a1
cmp dword [ebp + 8], ebx
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x1b], 1
jne 0x4011fc
mov byte [ebp - 0x1b], bl
mov esi, dword [sym.imp.ADVAPI32.dll_CryptHashData]
push ebx
push edi
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x20]
call esi
test eax, eax
push ebx
je 0x4012a2
push edi
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x20]
call esi
test eax, eax
je 0x4012a1
push 0x10
pop esi
push ebx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push 2
push dword [ebp - 0x20]
mov dword [ebp - 0x28], esi
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x4012a1
lea eax, [ebp - 0x24]
push eax
push 0x20006
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionSetup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40128a
push esi
lea eax, [ebp - 0x14]
push eax
push 3
push ebx
push str.PrivateHash
push dword [ebp - 0x24]
mov dword [ebp - 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 8]
call fcn.00401035
cmp dword [ebp - 0x20], ebx
je 0x40129c
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
je 0x4012ab
cmp dword [ebp - 0x18], ebx
je 0x4012ab
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f0ad
leave
ret 4