joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410c70
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4025e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x70
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401f20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.00404fd8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0x64]
push eax
push 0x28
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00405038
mov dword [ebp - 0x70], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x70], 0
setne dl
neg edx
movsx eax, dx
test eax, eax
je 0x410e25
mov dword [ebp - 4], 4
xor ecx, ecx
test ecx, ecx
je 0x410d46
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x1c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0x1c
lea ecx, [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
call fcn.00405088
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x410e25
mov dword [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
push 0x404ae4
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
call fcn.004050e8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x6c], 0
setne dl
neg edx
mov word [ebp - 0x74], dx
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x74]
test eax, eax
je 0x410e25
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410dc3
mov dword [ebp - 0x8c], 0
jmp 0x410dcf
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x74]
imul edx, edx, 0xc
lea eax, [ebp + edx - 0x5c]
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaCopyBytes]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410e06
mov dword [ebp - 0x90], 0
jmp 0x410e12
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x74]
imul ecx, ecx, 0xc
mov dword [ebp + ecx - 0x54], 2
jmp 0x410d14
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404e50
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x410e4d
jmp 0x410e4c
ret

Function at 0x407ce6
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x407ce6
lcall 0x5de5, 0x8b10c483
jmp loc.007beb40
Function at 0x407efa
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
lea eax, [ebp - 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [0x7a3eb8], 0x44
mov dword [esp + 0x20], 0x7a3eb8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.KERNEL32.dll_CreateProcessA
mov edx, eax
sub esp, 0x28
xor eax, eax
test edx, edx
je 0x407f76
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.KERNEL32.dll_CloseHandle
mov eax, dword [ebp - 0x18]
push ecx
leave
ret 4

Function at 0x407f7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x7a3f00], 0
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
jne 0x407fbe
xor edx, edx
mov eax, edx
xor edi, edi
mov ecx, eax
inc edi
and ecx, 1
neg ecx
and ecx, 0xedb88320
shr eax, 1
xor eax, ecx
cmp edi, 8
jne 0x407f97
mov dword [edx*4 + 0x7a3efc], eax
inc edx
cmp edx, 0x100
jne 0x407f93
mov eax, dword [ebp + 8]
not eax
jmp 0x407fd8
mov dl, byte [ebx]
dec esi
inc ebx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x7a3efc]
test esi, esi
jne 0x407fc5
not eax
pop ebx
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x93020c
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x930212
pop ebp
sub ebp, 6
sub ebp, 0x53020c
jmp 0x930270
jmp 0x930279
mov eax, 0x53020c
add eax, ebp
add eax, 0x93
mov ecx, 0x637
mov edx, 0x774168f7
xor byte [eax], dl
inc eax
dec ecx
jne 0x930290
jmp 0x9302a3
popfd
mov bh, 0x9f
mul edi
div edi
lahf
idiv dword [ebx]
fcomi st(7)
jbe 0x9302b8
aaa
inc ebp
dec esp
int1
jbe 0x9302be
aaa
inc ebp
dec esp
int1
les esi, [edi]
cmpsd dword [esi], dword es:[edi]
or byte [edx - 0x71], ah
mov dh, 0xbe
mul dword [edi + 0x7e7c3a7c]
retf

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x43ba92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x43bb67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x43bb31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x43bb5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043bb71
test eax, eax
je 0x43bb67
add ebx, 0x14
jmp 0x43bb3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x43bb71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x43bddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x43bddd
mov eax, 1
test eax, eax
je 0x43bddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x43bddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x43bdd3
mov ebx, eax
and eax, 0x80000000
jne 0x43bd4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x43bddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x43bddd
mov eax, 1
test eax, eax
je 0x43bddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x43bddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x43bca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x43bddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x43bb67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x43bddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x43bca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x43be9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x43bfee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x43bfee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.0043bff8
test eax, eax
je 0x43bfee
add ebx, 0x28
dec ecx
jne 0x43bfc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x43c09e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x43c0c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x43c12e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x43c0e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x43c12e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x43c105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x43c12e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x43c123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x43c12e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x43c16b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x43c172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x43c1a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x43c1a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x43cdff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.0043cf04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.0043cf20
push edx
push dword [ebp + 0x10]
push eax
call fcn.0043ceec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0043cf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0043cecb
push ecx
push dword [ebp + 8]
call fcn.0043cf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0043cf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0043cecb
push ecx
push dword [ebp + 8]
call fcn.0043cf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0043cf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0043cecb
push ecx
push dword [ebp + 8]
call fcn.0043cf04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0043cf04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0043cecb
cmp ecx, 0x2b
jne 0x43ce0f
leave
ret 0xc

Function at 0x43e4b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x43e544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x1b890
push 0
call dword [eax + 0x20]
test eax, eax
je 0x43e5d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x1b890
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x1b890
call fcn.0043e3fa
push 0x1b890
push dword [ebp + 0xc]
call fcn.0043c1a8
test eax, eax
jne 0x43e5b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x1b890
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.0043e5dd
test eax, eax
je 0x43e5d6
jmp 0x43e574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x43e5d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x43e60b
Capabilities:
Terminate process

Disassembly:
call fcn.0043e618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000a700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x20], edx
cmp dword [ebx + 0x58], 0
mov dword [esp + 0x1c], ecx
jne 0x1000a8c1
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [ebx + 0x58]
mov ecx, 3
cmp eax, dword [ebx + 0x5c]
jb 0x1000a794
cmp dword [ebx + 0x58], 8
jae 0x1000a73f
lea eax, [ecx + 5]
jmp 0x1000a759
mov eax, dword [ebx + 0x58]
mul ecx
test edx, edx
ja 0x1000a888
jb 0x1000a757
cmp eax, 0xffffffff
ja 0x1000a888
shr eax, 1
push 0x3b
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_array.h
push 0xc
push eax
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x54]
mov esi, dword [fcn.10060f30]
mov ecx, esi
push eax
call dword [0x101aa4e4]
call esi
add esp, 0x14
test eax, eax
je 0x1000a893
mov esi, dword [esp + 0x14]
mov dword [ebx + 0x54], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x5c], eax
mov edx, dword [ebx + 0x58]
mov eax, dword [ebx + 0x54]
lea ecx, [edx + edx*2]
lea ecx, [eax + ecx*4]
lea eax, [edx + 1]
mov dword [ebx + 0x58], eax
test ecx, ecx
je 0x1000a86b
mov eax, dword [esi + 0x101fe1a0]
mov dword [ecx], eax
mov eax, dword [esi + 0x101fe1a8]
add esi, 0xc
mov dword [ecx + 8], eax
mov dword [esp + 0x14], esi
cmp esi, 0x18
jb 0x1000a727
test byte [ebx + 0x60], 1
jne 0x1000a8c1
lea esi, [ebx + 0x78]
xor ecx, ecx
xor eax, eax
lock cmpxchg dword [esi], ecx
mov edx, eax
mov dword [esp + 0x18], edx
cmp edx, 0xffffffff
jne 0x1000a821
mov edx, ebx
lea ecx, [esp + 0x24]
call fcn.10009d00
test eax, eax
js 0x1000a82a
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 3
call fcn.10042cf0
add esp, 4
test eax, eax
js 0x1000a82a
mov edx, dword [esp + 0x18]
or eax, 0xffffffff
mov ecx, edx
lock cmpxchg dword [esi], ecx
mov esi, fcn.10041160
test edx, edx
je 0x1000a82f
mov esi, fcn.10041190
mov edx, dword [ebx + 0x38]
test edx, edx
je 0x1000a841
mov ecx, ebx
call fcn.1000a650
test eax, eax
js 0x1000a86b
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x1000a8c1
push dword [ebx + 0x44]
mov ecx, esi
push eax
call dword [0x101aa4e4]
call esi
add esp, 8
test eax, eax
jne 0x1000a8c1
mov edx, dword [ebx + 0x3c]
mov ecx, ebx
call fcn.1000a650
test eax, eax
jns 0x1000a8c1
mov ecx, dword [esp + 0x1c]
xor al, al
mov dword [ecx], str..git
mov ecx, dword [esp + 0x20]
mov dword [ecx], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1002d4d0
mov dword [eax], str.Out_of_memory
mov eax, dword [ebx + 0x54]
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4e4]
call esi
mov dword [ebx + 0x5c], 0
add esp, 4
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x54], 0
jmp 0x1000a86b
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x54]
pop edi
pop esi
mov dword [ecx], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x58]
pop ebx
mov dword [ecx], eax
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x100335b0
Capabilities:
Compare security identifiers

Disassembly:
mov eax, 0x2028
call fcn.10177b20
mov eax, dword [0x101fd700]
xor eax, esp
mov dword [esp + 0x2024], eax
push esi
mov edx, ecx
mov dword [esp + 0x10], 0
push edi
lea ecx, [esp + 0x18]
xor esi, esi
call fcn.10055920
test eax, eax
js 0x10033776
lea eax, [esp + 0x14]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
push 5
push 1
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
cmp eax, 2
je 0x10033749
cmp eax, 3
je 0x10033749
test eax, eax
je 0x10033630
push str.failed_to_get_security_information
push 2
call fcn.1002a5a0
add esp, 8
or edi, 0xffffffff
jmp 0x1003374e
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
jne 0x10033655
push str.programdata_configuration_file_owner_is_unknown
push 3
call fcn.1002a5a0
add esp, 8
or edi, 0xffffffff
jmp 0x1003374e
push 0x1a
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_IsWellKnownSid]
test eax, eax
jne 0x10033745
push 0x16
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_IsWellKnownSid]
test eax, eax
jne 0x10033745
lea eax, [esp + 0x10]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x10033709
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 1
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x10033709
mov esi, dword [fcn.10060f30]
mov ecx, esi
push 0x726
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_fs_path.c
push dword [esp + 0x14]
call dword [0x101aa4e4]
call esi
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10033776
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push esi
push 1
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x10033731
push esi
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 4
xor esi, esi
push str.programdata_configuration_file_owner_is_not_valid
push 3
call fcn.1002a5a0
add esp, 8
or edi, 0xffffffff
push esi
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 4
jmp 0x1003374e
push dword [esi]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x10033709
xor edi, edi
jmp 0x1003371b
xor edi, edi
jmp 0x1003374e
mov edi, 0xfffffffd
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1003375d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 0x2024]
xor ecx, esp
call fcn.10176fcb
add esp, 0x2028
ret
mov ecx, dword [esp + 0x202c]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.10176fcb
add esp, 0x2028
ret
Function at 0x1003ca50
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov eax, 0x2018
call fcn.10177b20
mov eax, dword [0x101fd700]
xor eax, esp
mov dword [esp + 0x2014], eax
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov edx, esi
call fcn.10055920
test eax, eax
js 0x1003cab8
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1003cab8
mov ecx, eax
or ecx, 2
cmp eax, ecx
je 0x1003cad1
push ecx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1003cad1
push esi
push 0x101e04fc
push str.failed_to__s_hidden_bit_for__s
push 2
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x2014]
xor ecx, esp
call fcn.10176fcb
add esp, 0x2018
ret
mov ecx, dword [esp + 0x2018]
xor eax, eax
pop esi
xor ecx, esp
call fcn.10176fcb
add esp, 0x2018
ret