joyce8/EMBER2024-capa huggingface dataset:
Function at 0x506605
Capabilities:
Encode data using xor

Disassembly:
scasb al, byte es:[edi]
sub cl, ch
outsb dx, byte [esi]
dec eax
mov edx, 0x538d1c61
popal
sbb al, 0x8d
push ebx
popal
sbb al, 0x8d
push ebx
cdq
or eax, dword [ecx + 0x2f627c02]
fcmovnbe st(0), st(4)
sub al, dh
mov dl, 0x4d
cmp al, 0xc8
mov dword [0x1ec816e5], eax
xchg ecx, eax
sti
aad 0x7a
push esi
call 0x755e70f0
mov bl, 0x6d
push ecx
adc ah, byte [edx + 0xa]
jp 0x5065ff
test eax, 0x47806ae1
fld dword [esi + 0x5775cc51]
mov esp, gs
imul ebp, dword [edx - 0x3c], 0xffffffcd
adc eax, 0x40e46377
dec edi
mov word [ebp + ecx*2 + 0x79350c61], cs
jnp 0x5066ce
adc al, 0x98
ror dword [edx - 0x4db4b33f], 1
mov edx, 0x33fec94b
mov al, byte [0x7dbb7e03]
xor byte [ebx], dl
in al, 0x76
cmp ecx, dword [edi]
cmp ecx, edi
adc bl, byte [edi + 0x57968331]
fldcw word [esi - 0x1cb621c3]
das
retf
or edi, dword [ebp - 0x61]
lea esi, [eax - 4]
cld
pop edx
xchg ebx, eax
xchg ebx, eax
invalid
pushal
je 0x50670f
mov byte [0x6ea8ad0a], al
ja 0x506723
cmp ecx, dword [edi - 0x54]
stosd dword es:[edi], eax
stosb byte es:[edi], al
popfd
fcom dword [edx - 0x51d56c17]
or dword [edx - 0x28803914], edx
popal
and eax, 0xba7f3ae6
out 0xf2, al
mov al, byte [0x495a81e1]
pop ds
mov edi, 0x191adefb
jne 0x5066b5
xor dh, byte [eax]
mov esi, 0x5ffeff7a
mov eax, 0x6771bb2a
pop esi
sub esp, dword [esi - 0x5f23c198]
enter 0xffffffffffffb499, 0xffffffffffffff8e
cmpsb byte [esi], byte es:[edi]
push 0xc8a0dc3e
cdq
mov ah, 0x8e
dec ebx
xchg edx, eax
lahf
sub al, 0x28
mov esi, 0x192be8e5
xor edi, dword [ecx + 0x22bd78da]
mov ecx, 0x22bd78da
jp 0x506749
lodsd eax, dword [esi]
jle 0x50675e
pop ebx
leave
jnp 0x50675b
stc
or al, 0x63
mov dword [ebp - 0x4542a1d3], ecx
bound ebx, qword [ebx + 0x6e7c485d]
fstp dword [eax + 0x36]
int3
mov byte [ebx + 0x68], bl
nop
fcomp dword [edx]
inc eax
dec edx
aam 0xd9
or byte [edx], ah
inc ebp
pop ebx
xchg ebx, eax
push 0x46cb85fe
test ebx, ecx
inc esi
mov ebx, dword [edi - 0x28]
lahf
xchg edx, eax
lahf
retf
Function at 0x529945
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0055ce35
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x529a68
push ecx
lea ecx, [esi + 0x18]
call fcn.00549165
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x529a7f
push ecx
lea ecx, [esi + 0x24]
call fcn.00549075
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x52f33b
Capabilities:
Encode data using xor

Disassembly:
xchg ebx, eax
or byte [ebx + 0x1d], 0xce
inc ebp
and eax, 0x68e4266e
rol word [edx + 0x29], 1
add eax, 0x951d66f1
sbb ebp, 0xffffff81
mov ebx, 0x54038aa3
mov edi, 0xfa699b82
in eax, 0x59
push ss
fadd dword [esi - 0x5b]
pop ebp
mov esi, 0xe22b9843
push edi
add esp, dword [ebx]
pop ebx
in eax, 0xef
insd dword es:[edi], dx
rcr dword [eax + 0xf], cl
pop eax
mov ah, 0xf5
jle 0x52f2e3
xchg ebp, eax
mov dword [edi], ecx
xor al, 0xd0
pop ebp
sbb ch, byte [edi]
fdivr qword [esi]
mov byte [0x3f41a5fc], al
invalid
pmaddwd mm1, mm2
add byte [edx - 0x53b15b85], dl
xor ah, dh
bswap esp
add eax, 0xc35cf73
and eax, 0x2a7e437f
mov bl, 0x7b
push eax
sbb edi, ebp
pop esp
jae 0x52f332
div dword [ebx - 0x50]
jge 0x52f31d
jmp dword [ecx - 0x6c]
Function at 0x55c985
Capabilities:
Encode data using xor

Disassembly:
invalid
push ecx
je 0x55c98f
jmp 0x55c9cf
push 0xa9b7d6d7
xchg edi, eax
add eax, 0x4c3284ee
mov al, 0x11
pop esp
xchg dword [ecx + 0x14], ebp
imul esi, dword [eax + 0x35], 0x14e0ded1
fbstp tbyte [ecx + 0x4409cf32]
mov ah, 0x33
out 0xc5, al
mov eax, 0xc054cb76
inc ecx
lodsd eax, dword [esi]
sahf
test ebp, ebx
aad 0x50
xor al, 0x25
jae 0x55c97a
push esi
test byte [edi + ebx], 0x35
invalid
xor eax, ebx
sub dword [ecx + 0x65], 0xffffffd1
popfd
mov al, byte [0xc0b09173]
mul dword [esi - 0xf]
and eax, 0x55003bc0
add eax, 0xdc710a72
mov cl, 0x34
xor dh, byte [edi + 0x44]
jae 0x55c9b1
mov al, byte es:[0x4581bf44]
adc ebx, dword [ecx - 0x4d6e0189]
in al, dx
push esi
cmc
xor ch, byte [edi + 0x36721c12]
pop ecx
and eax, 0x533760d9
inc edx
daa
aas
inc eax
add dword [edi - 0x6c5adadb], edi
je 0x55ca71
and ebp, esi
add dword [eax], ecx
invalid
or eax, 0x70101888
push ecx
mov esp, 0x51dad6a
leave
adc al, 0x27
and dword [ebx + ebx*4 + 0x6c8c06a4], edi
jmp 0x55ca79
wait
movsb byte es:[edi], byte [esi]
push es
mov word [ebx + ebp*8 + 1], gs
dec eax
mov dh, byte [esi - 0x435a3c83]
jbe 0x55cae3
fadd qword [esp + edx*2 - 0x7b]
adc eax, esp
pushal
ja 0x55ca60
sub byte [ecx], dl
sub esp, dword [ebx - 0x7d9df419]
push 0x63
cmp bh, 0x97
inc edi
lds eax, [edi - 0x6e585a64]
fidiv word [ebx - 0x44e8e5fb]
inc ecx
mov al, byte [ebx]
das
xor ah, 0x36
sbb dh, ah
Function at 0x591885
Capabilities:
Encode data using xor

Disassembly:
dec si
rcl byte [edx + ebp*4 + 0x65edba3e]
int1
rcl dword [esi - 0x19], 0x4a
popal
jns 0x59183c
and eax, 0x16900f89
invalid
aad 0xf0
mov eax, 0x67fca6e8
sub esi, dword [ebp - 0x4a]
jp 0x59186f
invalid
mov ebp, 0x656ebe1e
mov ecx, 0x3b02e9ae
test dword [edx + 0x71], eax
inc eax
lds edx, [ecx - 0x60]
salc
daa
sbb bl, byte fs:[edx - 0x3b]
xor ah, 0x6c
cmc
loop 0x59180a
scasb al, byte es:[edi]
jmp 0x42de5355
push edi
aad 0xf4
lodsd eax, dword [esi]
out 0x99, eax
loop 0x5918ab
lcall 0xc0a0, 0xf19980ba
test byte gs:[eax - 0x4d8194c0], bl
pushal
cdq
int1
mov al, byte [0x988465c0]
inc eax
imul edi, dword [esi - 0x4e], 0x60
sub byte [eax + esi*2], dl
das
invalid
mov ah, 0xf7
out 0xc3, eax
aam 0xb8
pop es
sub ebx, dword [eax + 0x2598599a]
mov ah, 0x10
salc
cli
cmp byte [edx - 0x1a], ah
pop ds
adc dword [ecx + 0x4a], eax
jnp 0x59184d
in eax, dx
push ds
mov ch, 0x71
add eax, dword [edi - 0xe]
in eax, 0xd
mov ch, al
outsb dx, byte [esi]
cmc
xchg dword [ebp + 0x78268481], edi
inc eax
pop edi
and al, 0x1f
jno 0x59183b
shl byte [ecx + 0x3f8cd23], cl
sub eax, 0x2a840b54
adc dword [esi], 0x69fe9175
jbe 0x59184e
stosd dword es:[edi], eax
mov ebx, dword [eax + 0x70ee7295]
adc dl, cl
sbb dword [eax - 0x4bc6377c], eax
add al, 0x55
add dword [0x65c4fd71], esi
dec esp
std
aam 0x7f
push esp
imul esp, dword [ecx - 0x51], 0xffffff95
movsd dword es:[edi], dword [esi]
leave
xor al, 0x3b
arpl sp, ax
sub al, 0x8a
inc ebp
mov dword [0xf6dda769], eax
movsb byte es:[edi], byte [esi]
push ss
adc byte [ebx - 0x5fb02e6b], al
push ebp
call 0xbbfe4bf6
pop ebp
or esp, dword es:[edi - 0x6b]
sal dword [ecx - 0x71], 0x81
add byte gs:[ecx + 0x313252ce], dh
mov dl, 0xe1
adc dword [esi], eax
xor dh, byte [ebx]
jecxz 0x5918f3
cmp eax, 0xe1dff3d6
nop
int3
Function at 0x605f45
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00639435
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x606068
push ecx
lea ecx, [esi + 0x18]
call fcn.00625765
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x60607f
push ecx
lea ecx, [esi + 0x24]
call fcn.00625675
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x64d15d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x654338
cmp edx, dword [eax]
je 0x64d17f
add eax, 8
inc ecx
cmp eax, 0x6543c8
jl 0x64d170
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x654338]
jne 0x64d2ad
mov eax, dword [0xa57c90]
cmp eax, 1
je 0x64d287
test eax, eax
jne 0x64d1b0
cmp dword [0x654264], 1
je 0x64d287
cmp edx, 0xfc
je 0x64d2ad
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x64d1e7
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0064db40
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0064dfd0
inc eax
pop ecx
cmp eax, 0x3c
clc
cmp al, 0x76
invalid
lea eax, [ebp - 0x1a4]
push eax
call fcn.0064dfd0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x6526d4
push edi
call fcn.0064fea0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0064db40
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0064db50
lea eax, [ebp - 0xa0]
push 0x6526b4
push eax
call fcn.0064db50
push dword [esi + 0x65433c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0064db50
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0064fe14
add esp, 0x2c
pop edi
jmp 0x64d2ad
lea eax, [ebp + 8]
lea esi, [esi + 0x65433c]
push 0
push eax
push dword [esi]
call fcn.0064dfd0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4015d4
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x10
sub ecx, edx
pop esi
mov al, byte [ecx + edx]
xor byte [edx], al
inc edx
dec esi
jne 0x4015da
pop esi
ret

Function at 0x4015e5
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
xor edi, edi
movzx eax, byte [edi + ecx]
mov esi, edi
shl esi, 8
xor esi, eax
xor esi, edx
mov al, byte [esi + 0x402230]
mov byte [edi + ecx], al
inc edi
cmp edi, 0x10
jb 0x4015e9
pop edi
pop esi
ret
Function at 0x100696fd
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
jne 0x10069780
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push 0
lea eax, [ebp + 0x10]
push eax
push ebx
push dword [ebp + 0xc]
push dword [esi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, dword [ebp + 0x10]
cmp edi, ebx
je 0x1006974a
mov byte [esi + 0x2d], 0xff
test edi, edi
je 0x1006974a
cmp edi, ebx
jge 0x1006974a
mov eax, dword [ebp + 0xc]
mov ecx, ebx
sub ecx, edi
push ecx
add eax, edi
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x18], 0
je 0x1006977a
add dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], 0xffff
jle 0x1006977a
xor eax, eax
mov word [esi + 0x1e], ax
mov eax, dword [esi]
push esi
call dword [eax + 0x2c]
mov ecx, dword [esi + 0x18]
mov edx, dword [ecx]
push 1
push dword [esi + 0x20]
push eax
push ecx
call dword [edx + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, edi
pop edi
pop ebx
jmp 0x10069792
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x10069a28
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x100b1980]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [ebp + 0xc]
cmp byte [0x1016c088], al
je 0x10069a5f
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x10069ac3
push 0x103
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.10062bfb
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.10062bfb
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
push ebx
lea eax, [ebp - 0x108]
push eax
call fcn.10062bfb
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006e864
leave
ret 0x10

Function at 0x10069ad4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100b1980]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1016c088], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x10069b00
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x10069b31
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x10069b2f
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.10062bfb
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x10069b31
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1006e864
leave
ret 8
Function at 0x10069bcc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100b1980]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1016c088], 0
mov eax, dword [ebp + 8]
je 0x10069bf4
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x10069c0e
lea ecx, [ebp - 0x108]
push ecx
push eax
call fcn.10062bfb
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.1006e864
leave
ret 4

Function at 0x1006e864
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100b1980]
jne 0x1006e86e
repz ret
jmp fcn.1006ef63

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x43d231
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x43d240
pop dword [ebp - 0x3c]
mov eax, 0x8089b5a1
sub eax, 0x8045e361
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x4cf5f
push 0
mov eax, 0x5b0c2008
add eax, 0xa53892a8
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0xbd752d35
add ecx, 0x428b0e3a
mov esi, eax
mov edx, 0x488e00
add edx, dword [ebp - 0x3c]
mov ebx, 0x26401f2e
add ebx, 0xd7958497
mov edi, dword [edx]
mov dword [ebp - 0x1c], 0xbca69fc
sub edi, ebx
xor dword [ebp - 0xc], edx
mov dword [esi], edi
sub dword [ebp - 4], ecx
add esi, 4
add edx, 0x6992075e
add edx, 0x966df8a6
loop 0x43d299
add eax, 0xe0c65446
add eax, 0x1f3a8c49
mov ebx, eax
add eax, 5
mov ecx, 0x509d8b85
add ecx, 0xafa2747b
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
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 0x4017c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401810
xor eax, eax
jmp 0x4018f1
jmp loc.0045d80b
mov esp, ebp
pop ebp
ret

Function at 0x401ad0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x4380c0], 0x24e1
mov eax, dword [0x4380c0]
sub eax, 0x24e1
mov dword [0x4380c0], eax
jmp loc.0045b96c
Function at 0x406451
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x238
mov eax, 0x40e9c3
call fcn.0040d3d4
mov dword [ebp - 0x21c], ecx
movzx eax, word [ebp + 8]
xor edi, edi
mov esi, dword [0x4166f0]
inc edi
push 0xf0
push eax
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
test eax, eax
je 0x4065c3
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x4065c3
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4065c3
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x4065c3
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x220], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x40653b
push 3
lea eax, [ebp - 0x110]
push esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call main
push dword [ebp - 0x114]
mov eax, dword [ebp - 0x21c]
and dword [ebp - 4], 0
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x110]
cmove edi, ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x114], eax
je 0x4065b1
push dword [ebp - 0x114]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x4065b1
mov ecx, 0x1234
cmp cx, ax
jne 0x4065b1
or dword [ebp - 0x240], 0xffffffff
lea eax, [ebp - 0x214]
push 3
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x218], eax
call main
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x23c], eax
cmp eax, ecx
je 0x40658e
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x21c]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 0xffffffff
je 0x4065c1
add esi, dword [ebp - 0x220]
test edi, edi
jne 0x4064a9
jmp 0x4065c3
xor edi, edi
mov eax, edi
call fcn.0040d38f
ret 4

Function at 0x40ac12
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x40ac21
pop dword [ebp - 0x38]
mov eax, 0xab873ebd
sub eax, 0xab46929c
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x3ad4d
push 0
mov eax, 0x829ef5ed
sub eax, 0x825e055d
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x60b480b8
add ecx, 0x9f4bd103
mov edi, eax
mov esi, 0xe069536c
sub esi, 0xe027a96c
add esi, dword [ebp - 0x38]
mov ebx, 0x7fe35570
add ebx, 0x8745447e
add dword [ebp - 0xc], 0xf70c5d1b
mov edx, dword [esi]
xor dword [ebp - 0x34], 0x3876cfe
xor edx, ebx
add dword [ebp - 0x10], 0xb4e2927b
mov dword [edi], edx
sub dword [ebp - 0x30], edx
add edi, 0x67b7fdfb
add edi, 0x98480209
add esi, 0xb5ded923
sub esi, 0xb5ded91f
loop 0x40ac80
add eax, 0x139bf
xor ebx, ebx
add ebx, eax
add eax, 0x2a1c6297
sub eax, 0x2a1c6292
mov ecx, 0x400000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret