joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d9b4c
Capabilities:
Write file on windows

Disassembly:
push 0x34
mov eax, 0x525291
call fcn.004db787
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x4d9b71
xor eax, eax
jmp 0x4d9cf8
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4d9b9d
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x4d9b9d
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x4d9cf8
cmp dword [esi + 0x4c], 0
je 0x4d9cf5
mov ecx, esi
call fcn.004d9772
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x4d9bd1
push dword [esi + 0x4c]
push edi
call fcn.004ec0f7
pop ecx
pop ecx
cmp ax, bx
je 0x4d9cf5
movzx ebx, di
jmp 0x4d9cf5
push eax
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.00453804
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
lea edi, [ebp - 0x28]
mov dword [ebp - 0x34], edi
cmp ecx, 0x10
jb 0x4d9c0b
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x4d9c15
mov edx, eax
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x34]
mov esi, dword [edi]
push eax
push edx
lea eax, [ebp - 0x40]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x38]
call dword [0x52729c]
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x4d9ced
cmp eax, 1
jg 0x4d9cc7
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp ecx, 0x10
jb 0x4d9c60
mov edx, eax
mov edi, dword [ebp - 0x3c]
sub edi, edx
je 0x4d9c8f
lea edx, [ebp - 0x28]
cmp ecx, 0x10
jb 0x4d9c71
mov edx, eax
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push edx
call fcn.004ecbfc
add esp, 0x10
cmp edi, eax
jne 0x4d9cc2
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
jmp 0x4d9c92
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x40], edx
jne 0x4d9cbc
test edi, edi
jne 0x4d9bfd
cmp dword [ebp - 0x18], 0x20
jae 0x4d9ce7
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.00453715
jmp 0x4d9bf7
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x4d9ce7
cmp eax, 3
jne 0x4d9ced
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.004ec0f7
pop ecx
pop ecx
cmp ax, bx
je 0x4d9ce7
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
lea ecx, [ebp - 0x28]
call fcn.00405ade
mov ax, bx
call fcn.004db731
ret 4

Function at 0x4f66bb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f637e

Function at 0x4f66c6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f64ff
Function at 0x4ff19d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
mov eax, dword [0x57c080]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x3c]
mov edi, dword [esi + 0x30]
movsx ebx, ax
shr eax, 0x10
movsx ebp, ax
jmp 0x4ff20c
mov esi, dword [edi]
lea ecx, [esp + 0x1c]
xorps xmm0, xmm0
movups xmmword [esp + 0x1c], xmm0
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
push ebp
push ebx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4ff209
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
test al, al
je 0x4ff209
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
test al, al
jne 0x4ff212
mov edi, dword [edi + 8]
test edi, edi
jne 0x4ff1c9
jmp 0x4ff238
xor eax, eax
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x38], 0x205
lea ecx, [esp + 0x10]
push ecx
sete al
mov dword [esp + 0x18], ebp
inc eax
mov ecx, esi
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
call dword [eax + 0x4c]
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004dab44
add esp, 0x24
ret 8
Function at 0x4ff3ac
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x3c
mov eax, dword [0x57c080]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
push ebx
push ebp
movsx ebp, ax
mov ebx, ecx
shr eax, 0x10
and dword [edx], 0
push esi
cwde
push edi
mov edi, dword [ebx + 0x30]
mov dword [esp + 0x14], eax
jmp 0x4ff421
mov esi, dword [edi]
lea ecx, [esp + 0x34]
xorps xmm0, xmm0
movups xmmword [esp + 0x34], xmm0
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
push dword [esp + 0x14]
lea eax, [esp + 0x38]
push ebp
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4ff41e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
test al, al
je 0x4ff41e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x80]
test al, al
jne 0x4ff44b
mov edi, dword [edi + 8]
test edi, edi
jne 0x4ff3db
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x4ff434
mov eax, dword [ecx]
call dword [eax + 0x54]
and dword [ebx + 0x34], edi
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004dab44
add esp, 0x3c
ret 0x10
mov ecx, dword [ebx + 0x34]
cmp esi, ecx
je 0x4ff45e
test ecx, ecx
je 0x4ff45b
mov eax, dword [ecx]
call dword [eax + 0x54]
mov dword [ebx + 0x34], esi
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
mov dword [esp + 0x18], ebp
and ax, cx
lea edx, [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
xor cx, cx
cmp cx, ax
mov ecx, dword [ebx + 0x34]
push edx
sbb eax, eax
neg eax
mov dword [esp + 0x24], eax
mov eax, dword [ecx]
call dword [eax + 0x50]
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x2c], 2
call dword [sym.imp.USER32.dll_TrackMouseEvent]
jmp 0x4ff434
Function at 0x5b07e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x5b0805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x5b0878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x5b083a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x5b086d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x5b086b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x5b0831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x5b07fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret

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 0x54f468
Capabilities:
Encode data using xor

Disassembly:
mov cl, 0x59
out 0xb3, al
inc eax
and al, 0x4a
js 0x54f4be
inc ebx
imul esi, dword [ecx], 0xe4a26f86
invalid
aad 0x74
sal dword [ecx - 0x74], 1
loope 0x54f4c6
arpl bp, ax
shr dword [edi], 1
adc edi, dword [ebx - 0x2c43aa40]
invalid
invalid

Function at 0x5554f8
Capabilities:
Authenticate hmac

Disassembly:
inc eax
leave
mov dword [0xd411c613], eax
pop esp
std
add esi, ebp
mov ebp, 0x49246e54
dec ecx
dec ecx
mov ebx, 0xa18be251
push eax
inc edx
inc eax
inc esp
je 0x555543
dec ecx
inc esp
mov bl, 0xa3
pop ss
in eax, 0x9f
mov ebp, 0xd0c516dd
psadbw mm1, qword [bx + si]
adc dh, byte [ebx]
sbb eax, 0x6943728e
inc edx
inc ebx
bound esi, qword [edi]
imul esi, eax, 0xbcc0ebaa
jecxz 0x5554e8
jnp 0x555547
arpl word [edi + 0x1768c516], sp
mov esp, dword [ecx]
sbb ebp, dword [ecx]
xchg esi, eax
push cs
sub eax, dword [eax]
and ebx, dword [edi - 0x10b589bd]
mov ecx, dword [eax]
xor esi, dword [ebx]
adc dword [ebp - 0x2cd9ae00], 0xa24b6a7f
mov al, dh
push 0xffffffffffffffdb
add byte [edx + 0x26], dl
sar dword [edi + 0x6a], cl
jg 0x5555b3
dec ebx
mov byte [0xdb6af088], al
push ebx
mov ch, byte [ebp - 0x42fc6cfc]
xor al, 0xff
imul eax, dword [esi], 0x5c
lodsb al, byte [esi]
inc ebp
jnp 0x55559f
mov word [edx], ss
fsubr qword [ebx - 0x40]
mov ecx, 0xf32911a1
mov eax, dword [0xa09b5802]
jo 0x5555bc
and byte [edx + edi*4], cl
fild dword [edi]
test al, 0xa0
dec edi
mov ecx, 0x5cc28e12
add ecx, esp
adc dword [ebp - 0x5cb9cb7d], ebp
invalid
adc dl, byte [eax - 0x63bc406a]
xchg esi, eax
popfd
pushal
wait
mov dl, 0x69
loopne 0x5555fe
invalid
push edx
and eax, 0x58dfd104
loope 0x5555fc
pop es
dec edx
adc ebp, dword [ebx + eax]
inc di
fcomi st(2)
outsd dx, dword [esi]
push 0xffffffffffffffd0
mov eax, dword [0xc6c7a3a3]
iretd
lds ebx, [ecx - 0x78473d7]
sub esp, dword [edx]
mov ch, 0x17
sub dword [ebx + edi*2 - 0x4addd408], ecx
pop ss
invalid

Function at 0x55ce99
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
imul byte [0x8742ab37]
out 0xc8, eax
salc
mov ebp, 0x9352909b
xchg ebx, eax
add ch, bl
sub esi, dword [ebp + 0x61]
jne 0x55cee1
shl dword [ebp - 0x1f], 0x27
push esp
ja 0x55cea6
invalid
xor edi, dword [edi - 0x68448a67]
or ebx, esi
fistp dword [eax - 0x1677f8c8]
sti
fisubr word [0x13dfbc6c]
add dword [edx - 0x4c563a1e], ecx
push 0x12
inc edx
aas
invalid
call 0x3dce76b
sub edx, edi
mov al, byte [0xe7035a2b]
scasb al, byte es:[edi]
push edi
loope 0x55cec1
add bh, byte [edi]
ljmp 0x756c
Function at 0x5a5fd8
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
aas
cmp al, 0xd4
mov ebp, 0x3961bce0
and eax, dword [ebx + 0x74]
cmp eax, 0xabaf796f
aaa
leave
aas
push edi
inc ebx
arpl di, bp
salc
out 0x83, eax
inc esp
les eax, [0xc7e81725]
fild qword [ebx]
xchg ebp, eax
xchg ebx, eax
inc ebp
mov edi, 0x3d9af53a
imul ebx, dword [edx + 0x5b], 0xffffff92
invalid
int1
lea edi, [ebx + 0x4fad646]
mov bl, 0x36
cdq
sti
jp 0x5a5f19
imul ebp, ebp, 0xefe4f599
cmp al, 0xc6
push edi
les ebp, [eax]
dec ecx
and eax, 0x9ff4eab4
jbe 0x5a5ff1
jp 0x5a5f46
ljmp 0xca5a:0xa4924adb
mul ah
push esp
sub edi, dword [ecx]
or ah, byte [ebp - 0x2d3e979b]
movsd dword es:[edi], dword [esi]
push 0xe61ad2c1
movsb byte es:[edi], byte [esi]
jb 0x5a6014
add dl, byte [ebx + 0x57940e1e]
mov dword ss:[0x57f6edd2], eax
in al, 0xfb
and ah, cl
aaa
cmp byte [edi], 0xab
xor dword [edi - 0x1c48128b], edx
dec esi
loop 0x5a5fd2
dec esp
invalid
mov esp, 0x1b22c5c6
stc
xchg ecx, eax
push ebx
inc ebp
dec esi
add al, 3
in al, dx
pop ebx
mov al, 0xe8
mov bh, 0x87
enter 0xf9e, 0xffffffffffffffe5
test dword [eax - 0x26], edx
jmp dword [esi - 0x3a]

Function at 0x5a7d78
Capabilities:
Encode data using xor

Disassembly:
push 0x60beffe5
loopne 0x5a7dbd
mov edx, 0x80088670
xchg edi, eax
inc ebx
dec edi
dec ebx
idiv dword [ecx + 0x293009fd]
xchg esp, eax
sub dword [ecx + edx - 0x58583e1b], edx
or al, 0x2a
je 0x5a7d88
adc ebp, esp
shl dword [edi + 0x742a0ca7], 0xf7
cmp ecx, ebx
outsd dx, dword [esi]
cmp ebp, dword [ebx]
sti
adc al, 0x1b
xor byte fs:[ebp - 0x46], 0x79
xchg edi, eax
pop ecx
dec ecx
outsd dx, dword [esi]
outsd dx, dword [esi]
mov byte [0x506a9467], al
call dword [ebx + eax*8 - 0x6f]
loopne 0x5a7d86
pop ss
aam 0x90
cmc
insb byte es:[edi], dx
out 0xff, eax
pop ebx
mov eax, dword [0x8794e284]
je fcn.005a7d78
jne 0x5a7d71
imul ebx, dword [esi + 0x27f54df2], 0xa7b0fd40
fldenv [edx + ecx + 0x4aa67087]
outsb dx, byte [esi]
add al, 0x6d
test byte [eax - 0x74097f32], ah
add al, 0x24
ret

Function at 0x63b724
Capabilities:
Encode data using xor

Disassembly:
mov ah, 0x58
fld xword [edi - 0x11955631]
push 0xef4566d6
stosd dword es:[edi], eax
jg 0x63b71b
lds edx, [eax]
push eax
jmp 0xf97d2f18
js 0x63b70a
stc
sub ebx, dword [ebx]
push edi
sbb byte [eax + 0x46], ch
pop ebp
stc
lahf
leave
mov eax, dword [0xfefb2264]
xor dword [esi - 0x19], 0x4a
cmp byte [edx + 0x79], ah
mov edx, 0x1d881409
sub eax, dword [eax]
loope 0x63b6fa
adc al, 0x88
sbb eax, 0xe9e1002b
ja 0x63b735
adc dl, dl
and eax, eax
mov al, 0xff
loopne 0x63b6da
mov ch, 1
sbb eax, 0xdea7864
invalid
or eax, 0x1dc448f0
pop edx
jl 0x63b7a1
les ebx, [0x10787c5a]
mov ecx, 0xfc921ace
adc byte [ecx - 0x36de532], bh
pop ds
mov ch, 0x45
adc dword [ebx - 0x654dc38], 0xffffffab
add dword [ebx], edi
and ebp, dword [ebx + 0x3b01abf9]
fisubr dword [edx + ecx*4 - 0x3230d1ae]
jb 0x63b6ee
wait
fdivr qword [edi + 0x7aa59249]
cmp byte [0xe9e51b19], dh
in al, 0x73
loope 0x63b721
or dword [edx - 0x3b3583c9], ebp
dec ebx
pop ss
ljmp 0x602a
int3
Function at 0x4013cf
Capabilities:
Get number of processors

Disassembly:
mov ecx, 0x504d18
jmp 0x4013c3
mov eax, 0x4c5154
call fcn.004946d4
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.004014d5
mov eax, dword [0x5006e8]
lea ecx, [esi + 0xa0]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov eax, dword [0x5006e8]
mov dword [esi + 0xb0], eax
push 1
mov dword [esi], 0x4cc7cc
or dword [esi + 0x20], 0xffffffff
or dword [esi + 0x1c], 0xffffffff
pop edi
mov dword [esi + 0x28], ebx
push 0xa
mov dword [esi + 0x24], ebx
pop eax
mov byte [ebp - 4], 2
push 0x64
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], eax
pop eax
push 0x504d10
mov dword [esi + 0x2c], 2
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x98], ebx
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], 0x3e8
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], 0xc0
mov dword [esi + 0x84], 0x6c
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x9c], ebx
call fcn.004af9fd
push 0x504d10
lea ecx, [esi + 0xb0]
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
call fcn.004af9fd
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40ae79
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4c5f7c
call fcn.004946d4
sub esp, 0x22c
push ebx
push esi
mov dword [ebp - 0x2c], ecx
mov esi, 0x504de8
push str.DataFile_Types
mov ecx, esi
call fcn.004c265c
xor ebx, ebx
mov dword [ebp - 0x18], eax
cmp eax, ebx
jne 0x40aeaf
xor eax, eax
jmp 0x40aff7
mov eax, dword [0x5006e8]
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov byte [ebp - 4], 2
push eax
push ebx
push dword [ebp - 0x18]
mov dword [ebp - 0x24], 0x100
mov dword [ebp - 0x20], ebx
call edi
cmp eax, 0x103
je 0x40afc7
lea eax, [ebp - 0x238]
push eax
push str.DataFile_Types
lea eax, [ebp - 0x10]
push 0x4ebd84
push eax
call fcn.004ad197
add esp, 0x10
lea eax, [ebp - 0x28]
mov ecx, esi
push ebx
push str.Name
push dword [ebp - 0x10]
push eax
call fcn.004c270e
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004af9ad
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004af866
push ebx
push str.Extension
push dword [ebp - 0x10]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.004c270e
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004af9ad
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.004af866
push 0xffffffffffffffff
push str.Icon
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004c26a2
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 8], ebx
je 0x40afa0
mov edx, dword [ebp - 0x1c]
cmp dword [edx - 8], ebx
je 0x40afa0
cmp eax, 0xffffffff
je 0x40afa0
push eax
push edx
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.0040b0e4
lea eax, [ebp - 0x38]
inc dword [ebp - 0x20]
push eax
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x238]
mov dword [ebp - 0x24], 0x100
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x40aeeb
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.004af866
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.004af866
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004af866
push 1
pop eax
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40c11f
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
mov edi, 0x4ceb18
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x2b4
lea eax, [ebp - 0x2bc]
push esi
push ebx
push eax
call fcn.00494700
lea eax, [ebp - 8]
add esp, 0xc
neg eax
sbb eax, eax
lea ecx, [ebp - 4]
and eax, ecx
xor ecx, ecx
cmp dword [ebp + 8], ebx
mov eax, dword [eax]
sete cl
or cx, 0x4008
push ecx
lea ecx, [ebp - 0x2bc]
push esi
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 8]
mov esi, eax
neg ecx
sbb ecx, ecx
lea eax, [ebp - 4]
and ecx, eax
mov dword [ebp - 8], edi
call fcn.0040c4ad
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40cd30
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
push esi
mov esi, 0x2b4
push edi
push esi
lea eax, [ebp - 0x2b4]
push 0
mov edi, ecx
push eax
call fcn.00494700
mov eax, dword [ebp + 8]
add esp, 0xc
or ax, 0x4008
push eax
lea eax, [ebp - 0x2b4]
push esi
push eax
push 0
push dword [edi + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x2b0]
pop edi
pop esi
leave
ret 4

Function at 0x40e455
Capabilities:
Check os version

Disassembly:
mov eax, 0x4c645f
call fcn.004946d4
sub esp, 0x118
push ebx
push esi
push edi
xor ebx, ebx
push dword [ebp + 0x1c]
mov esi, ecx
mov dword [ebp - 0x10], esi
push ebx
call fcn.004b3eb0
mov eax, dword [0x5006e8]
mov dword [ebp - 4], ebx
mov dword [esi + 0x64], eax
cmp dword [ebp + 0x20], ebx
mov byte [ebp - 4], 1
mov dword [esi], 0x4cf0e8
jne 0x40e4db
mov edi, 0x114
lea eax, [ebp - 0x124]
push edi
push ebx
push eax
call fcn.00494700
add esp, 0xc
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], edi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 2
jne 0x40e4d4
cmp dword [ebp - 0x120], 5
mov dword [ebp + 0x20], 0x58
jae 0x40e4db
mov dword [ebp + 0x20], 0x4c
push dword [ebp + 0x20]
call fcn.00494f2d
cmp eax, ebx
pop ecx
mov dword [esi + 0x5c], eax
jne 0x40e4f0
call fcn.004ad878
push dword [ebp + 0x20]
mov ecx, esi
push ebx
call fcn.0040e6b5
push eax
call fcn.00494700
push 0x200002
call fcn.004afe3a
mov dword [esi + 0xe8], eax
mov word [eax], bx
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esi + 0x60], eax
lea edi, [esi + 0x68]
neg eax
sbb eax, eax
mov ecx, esi
add eax, 0x7005
mov word [edi], bx
mov dword [esi + 0xec], ebx
mov dword [esi + 0x3c], eax
call fcn.0040e6b5
mov ecx, dword [ebp + 0x20]
mov dword [eax], ecx
mov ecx, esi
call fcn.0040e6b5
mov ecx, dword [esi + 0xe8]
mov dword [eax + 0x1c], ecx
mov ecx, esi
call fcn.0040e6b5
mov ecx, esi
mov dword [eax + 0x20], 0x100000
call fcn.0040e6b5
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x3c], ecx
mov ecx, esi
call fcn.0040e6b5
mov ecx, esi
mov dword [eax + 0x24], edi
call fcn.0040e6b5
mov ecx, esi
mov dword [eax + 0x28], 0x40
call fcn.0040e6b5
mov ecx, dword [ebp + 0x14]
add eax, 0x34
or ecx, 0x880020
or dword [eax], ecx
test byte [ebp + 0x14], 0x40
je 0x40e5ad
mov ecx, esi
call fcn.0040e6b5
add eax, 0x34
and byte [eax + 2], 0x7f
call fcn.004c24bd
mov edi, dword [eax + 0xc]
mov ecx, esi
call fcn.0040e6b5
mov ecx, esi
mov dword [eax + 8], edi
call fcn.0040e6b5
cmp dword [ebp + 0x10], ebx
mov dword [eax + 0x44], 0x40e2de
je 0x40e5e6
push 0x100000
push dword [ebp + 0x10]
push dword [esi + 0xe8]
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp dword [ebp + 0x18], ebx
je 0x40e625
push dword [ebp + 0x18]
lea edi, [esi + 0x64]
mov ecx, edi
call fcn.004af9fd
push ebx
mov ecx, edi
call fcn.004afcab
push 0x7c
push eax
call fcn.00494f04
pop ecx
cmp eax, ebx
pop ecx
je 0x40e618
mov word [eax], bx
push 0x7c
add eax, 2
jmp 0x40e602
mov edi, dword [esi + 0x64]
mov ecx, esi
call fcn.0040e6b5
mov dword [eax + 0xc], edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x4164db
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
xor eax, eax
xor esi, esi
mov byte [ebp - 4], al
mov byte [ebp - 3], al
mov byte [ebp - 2], al
mov byte [ebp - 8], al
mov byte [ebp - 7], al
mov byte [ebp - 6], al
mov byte [ebp - 5], al
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
dec eax
test ecx, ecx
je 0x41665a
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
inc esi
inc dword [ebp + 8]
cmp esi, 3
mov al, byte [eax]
mov byte [ebp + esi - 5], al
mov dl, byte [ebp - 2]
mov al, byte [ebp - 3]
mov cl, byte [ebp - 4]
jne 0x4165a0
mov dl, cl
mov bl, al
shr dl, 2
mov byte [ebp - 8], dl
mov dl, cl
and dl, 3
shl dl, 4
shr bl, 4
add dl, bl
mov bl, byte [ebp - 2]
mov byte [ebp - 7], dl
mov dl, al
and dl, 0xf
shl dl, 2
shr bl, 6
add dl, bl
mov byte [ebp - 6], dl
mov dl, byte [ebp - 2]
mov bl, dl
and bl, 0x3f
and dword [ebp + 0xc], 0
mov byte [ebp - 5], bl
mov ebx, dword [0x504f7c]
test ebx, ebx
jne 0x41657c
mov esi, 0x4ceb1c
jmp 0x416586
mov esi, dword [ebp + 0xc]
movzx esi, byte [ebp + esi - 8]
add esi, ebx
mov bl, byte [esi]
mov edi, dword [edi]
mov esi, dword [ebp + 0x10]
mov byte [edi + esi], bl
mov edi, dword [ebp + 0x14]
inc dword [edi]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], 4
jl 0x41656b
xor esi, esi
dec dword [ebp - 0xc]
jne 0x416514
test esi, esi
je 0x41665a
cmp esi, 3
jge 0x4165db
push 3
lea edi, [ebp + esi - 4]
pop ecx
xor eax, eax
sub ecx, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dl, byte [ebp - 2]
mov al, byte [ebp - 3]
mov cl, byte [ebp - 4]
mov edi, dword [ebp + 0x14]
mov bl, cl
and cl, 3
shr bl, 2
mov byte [ebp - 8], bl
mov bl, al
shl cl, 4
shr bl, 4
add cl, bl
and dword [ebp + 8], 0
mov byte [ebp - 7], cl
and al, 0xf
mov cl, dl
and dl, 0x3f
shl al, 2
shr cl, 6
add al, cl
lea ecx, [esi + 1]
test ecx, ecx
mov byte [ebp - 6], al
mov byte [ebp - 5], dl
jle 0x416642
mov edx, dword [0x504f7c]
test edx, edx
jne 0x416624
mov eax, 0x4ceb1c
jmp 0x41662e
mov eax, dword [ebp + 8]
movzx eax, byte [ebp + eax - 8]
add eax, edx
mov edx, dword [edi]
mov ebx, dword [ebp + 0x10]
mov al, byte [eax]
mov byte [edx + ebx], al
inc dword [edi]
inc dword [ebp + 8]
cmp dword [ebp + 8], ecx
jl 0x416613
cmp esi, 3
jge 0x41665a
push 4
pop eax
sub eax, ecx
mov ecx, dword [edi]
mov edx, dword [ebp + 0x10]
mov byte [ecx + edx], 0x3d
inc dword [edi]
dec eax
jne 0x41664c
mov eax, dword [edi]
pop edi
pop esi
pop ebx
leave
ret 0x10