joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51127c
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa0
mov dword [esp + 8], ecx
mov dword [esp], edx
mov esi, 0x30
mov edi, 0x585b0c
mov ecx, dword [esp]
lea edx, [esp + 0x10]
movzx ebx, byte [edi]
movzx ebx, byte [eax + ebx - 1]
xor bl, byte [ecx]
mov byte [edx], bl
inc edx
inc ecx
inc edi
dec esi
jne 0x51129b
mov esi, 1
mov edx, 0x585c14
mov ecx, esi
dec ecx
mov eax, ecx
add eax, eax
lea eax, [eax + eax*2]
add ecx, ecx
add ecx, ecx
movzx ebx, byte [esp + eax + 0x10]
mov edi, ebx
add edi, edi
movzx ebx, byte [esp + eax + 0x15]
add edi, ebx
movzx ebx, byte [esp + eax + 0x11]
add ebx, ebx
add ebx, ebx
add ebx, ebx
movzx ebp, byte [esp + eax + 0x12]
add ebp, ebp
add ebp, ebp
add ebx, ebp
movzx ebp, byte [esp + eax + 0x13]
add ebp, ebp
add ebx, ebp
movzx eax, byte [esp + eax + 0x14]
add ebx, eax
mov dword [esp + 0xc], ebx
mov eax, 1
mov ebx, eax
dec ebx
je 0x511314
dec ebx
je 0x511336
dec ebx
je 0x511358
dec ebx
je 0x511379
jmp 0x511393
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 0xc]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 8
movzx ebx, bl
shr ebx, 3
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3f], bl
jmp 0x511393
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 0xc]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 4
movzx ebx, bl
shr ebx, 2
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3f], bl
jmp 0x511393
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 0xc]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 2
movzx ebx, bl
shr ebx, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3f], bl
jmp 0x511393
mov ebx, edi
add ebx, ebx
lea ebx, [edx + ebx*8]
mov ebp, dword [esp + 0xc]
movzx ebx, byte [ebx + ebp - 0x40]
and bl, 1
lea ebp, [eax + ecx]
mov byte [esp + ebp + 0x3f], bl
inc eax
cmp eax, 5
jne 0x511304
inc esi
add edx, 0x40
cmp esi, 9
jne 0x5112b7
mov esi, 0x20
mov eax, 0x585b3c
mov edx, dword [esp + 8]
movzx ecx, byte [eax]
movzx ecx, byte [esp + ecx + 0x3f]
mov byte [edx], cl
inc edx
inc eax
dec esi
jne 0x5113b8
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5113f4
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
push edi
push ecx
mov dword [esp], ecx
mov esi, eax
movzx eax, dl
movzx ebx, byte [eax + 0x585bc3]
test bl, bl
jbe 0x511425
lea eax, [esi + 0x3e0]
call fcn.005113d0
lea eax, [esi + 0x3fc]
call fcn.005113d0
dec bl
jne 0x51140b
mov cl, 0x30
mov edi, 0x585b94
mov eax, dword [esp]
movzx edx, byte [edi]
cmp dl, 0x1c
ja 0x511446
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
jmp 0x511453
movzx edx, dl
movzx edx, byte [esi + edx + 0x3df]
mov byte [eax], dl
inc eax
inc edi
dec cl
jne 0x51142f
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x511460
Capabilities:
Encode data using xor
Encrypt data using des
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov edi, eax
mov bl, 1
lea esi, [ebp - 0x429]
mov eax, edi
mov edx, ebx
call fcn.00511214
mov byte [esi], al
inc ebx
inc esi
cmp bl, 0x41
jne 0x51147c
mov bl, 0x1c
mov esi, str.91__
lea edi, [ebp - 0x49]
movzx edx, byte [esi]
mov eax, dword [ebp - 0x10]
call fcn.00511214
mov byte [edi], al
movzx edx, byte [esi + 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.00511214
mov byte [edi + 0x1c], al
inc edi
inc esi
dec bl
jne 0x511498
mov bl, 1
lea esi, [ebp - 0x3a9]
mov ecx, esi
lea eax, [ebp - 0x429]
mov edx, ebx
call fcn.005113f4
inc ebx
add esi, 0x30
cmp bl, 0x11
jne 0x5114c2
mov bl, 1
mov eax, 0x585a8c
lea edx, [ebp - 0xa9]
cmp bl, 0x20
ja 0x5114fb
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x42a]
mov byte [edx], cl
jmp 0x511508
movzx ecx, byte [eax]
movzx ecx, byte [ebp + ecx - 0x42a]
mov byte [edx], cl
inc ebx
inc edx
inc eax
cmp bl, 0x41
jne 0x5114e7
mov byte [ebp - 0x11], 1
lea esi, [ebp - 0x3a9]
cmp byte [ebp + 8], 0
je 0x511532
lea ecx, [ebp - 0x69]
mov edx, esi
lea eax, [ebp - 0x89]
call fcn.0051127c
jmp 0x511559
movzx eax, byte [ebp - 0x11]
mov edx, 0x11
sub edx, eax
mov eax, edx
add eax, eax
lea eax, [eax + eax*2]
lea edx, [ebp + eax*8 - 0x3d9]
lea ecx, [ebp - 0x69]
lea eax, [ebp - 0x89]
call fcn.0051127c
mov bl, 0x20
lea eax, [ebp - 0xa9]
movzx edx, byte [eax]
xor byte [eax + 0x40], dl
inc eax
dec bl
jne 0x511561
push esi
lea esi, [ebp - 0x89]
lea edi, [ebp - 0xa9]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
lea esi, [ebp - 0x69]
lea edi, [ebp - 0x89]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
pop esi
inc byte [ebp - 0x11]
add esi, 0x30
cmp byte [ebp - 0x11], 0x11
jne 0x51151a
mov bl, 0x40
mov esi, 0x585acc
lea eax, [ebp - 0x3e9]
movzx edx, byte [esi]
cmp dl, 0x20
ja 0x5115c7
movzx edx, dl
movzx edx, byte [ebp + edx - 0x8a]
mov byte [eax], dl
jmp 0x5115d4
movzx edx, dl
movzx edx, byte [ebp + edx - 0xca]
mov byte [eax], dl
inc eax
inc esi
dec bl
jne 0x5115b0
mov bl, 1
lea esi, [ebp - 0x3e9]
movzx ecx, byte [esi]
mov eax, dword [ebp - 8]
mov edx, ebx
call fcn.0051123c
inc ebx
inc esi
cmp bl, 0x41
jne 0x5115e2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x516f9c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x516fb7
xor edx, edx
mov dword [eax], edx
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, esi
call fcn.00406e78
push eax
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x517047
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, edi
call fcn.00406e78
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x51703e
mov eax, dword [ebp - 0x14]
call fcn.00404200
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, edi
call fcn.00406e78
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x517037
cmp dword [ebp - 0xc], 1
jne 0x517037
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00406f98
mov bl, 1
mov eax, esi
call fcn.0040421c
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x517050
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x517248
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00516f2c
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x4d], 1
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x4c], 0
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push 0x51725c
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
sete byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
je 0x517148
mov dword [ebp - 0x18], 0x400
mov eax, dword [ebp - 0x18]
call fcn.00404200
mov esi, eax
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x18], 0x400
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov ebx, eax
test ebx, ebx
jne 0x517134
lea eax, [ebp - 4]
mov edx, esi
call fcn.00406f98
inc edi
lea eax, [ebp - 8]
call fcn.00406ddc
push eax
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, 0x5172a0
call fcn.004072a8
mov eax, dword [ebp - 0x1c]
mov edx, 0x5172e4
pop ecx
call fcn.00516f9c
test al, al
je 0x517134
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.005177f4
test ebx, ebx
je 0x5170ca
mov eax, esi
call fcn.0040421c
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push 0x5172f8
push 0x80000000
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
sete byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
je 0x517215
mov dword [ebp - 0x18], 0x400
mov eax, dword [ebp - 0x18]
call fcn.00404200
mov esi, eax
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x18], 0x400
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push esi
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov ebx, eax
test ebx, ebx
jne 0x517201
lea eax, [ebp - 4]
mov edx, esi
call fcn.00406f98
inc edi
cmp dword [ebp - 4], 0
je 0x5171f2
mov eax, dword [ebp - 4]
cmp word [eax], 0x2e
jne 0x5171f2
lea eax, [ebp - 8]
call fcn.00406ddc
mov ecx, eax
mov edx, 0x517308
mov eax, dword [ebp - 4]
call fcn.00516f9c
test al, al
je 0x517201
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
call fcn.005177f4
jmp 0x517201
cmp dword [ebp - 4], 0
je 0x517201
mov eax, dword [ebp - 4]
cmp word [eax], 0x2e
ja 0x517205
test ebx, ebx
je 0x517187
mov eax, esi
call fcn.0040421c
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x40]
mov cl, 1
mov eax, dword [ebp - 0xc]
call fcn.00517934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51724f
lea eax, [ebp - 0x1c]
call fcn.00406ddc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406de4
ret
Function at 0x518044
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, ecx
mov dword [esp], edx
mov esi, eax
movzx edx, byte [esi]
mov byte [esp + 4], dl
shl edx, 7
and dl, 0xff
movzx eax, byte [esi + 1]
movzx ecx, al
shr ecx, 1
or dl, cl
mov byte [esp + 5], dl
shl eax, 6
and al, 0xff
movzx edx, byte [esi + 2]
movzx ecx, dl
shr ecx, 2
or al, cl
mov byte [esp + 6], al
shl edx, 5
and dl, 0xff
movzx eax, byte [esi + 3]
movzx ecx, al
shr ecx, 3
or dl, cl
mov byte [esp + 7], dl
shl eax, 4
and al, 0xff
movzx edx, byte [esi + 4]
shr edx, 4
or al, dl
mov byte [esp + 8], al
movzx eax, byte [esi + 4]
add eax, eax
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 5]
shr edx, 5
or al, dl
mov byte [esp + 9], al
movzx eax, byte [esi + 5]
add eax, eax
add eax, eax
and al, 0xff
movzx edx, byte [esi + 6]
shr edx, 6
or al, dl
mov byte [esp + 0xa], al
movzx eax, byte [esi + 6]
add eax, eax
and al, 0xff
mov byte [esp + 0xb], al
mov ebp, 8
lea eax, [esp + 4]
mov edx, 1
xor esi, esi
mov ecx, edx
movzx ebx, byte [eax]
shl ebx, cl
mov ecx, ebx
xor ecx, esi
and ecx, 1
mov esi, ecx
inc edx
cmp edx, 8
jne 0x5180f5
movzx edx, byte [eax]
and dl, 0xfe
mov ecx, esi
or dl, cl
mov byte [eax], dl
inc eax
dec ebp
jne 0x5180f0
mov eax, edi
xor ecx, ecx
mov edx, 8
call fcn.00406958
push 1
mov eax, edi
call fcn.004068ec
mov edx, eax
lea ecx, [esp + 8]
mov eax, dword [esp + 4]
call fcn.00511460
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5254b4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, eax
mov byte [esp], 0
xor eax, eax
mov dword [esp + 4], eax
xor edi, edi
mov ebp, 1
jmp 0x5254d1
inc ebp
mov eax, esi
call fcn.004064c8
cmp ebp, eax
jg 0x5254e3
cmp byte [esi + ebp - 1], 0x20
je 0x5254d0
mov eax, esi
test eax, eax
je 0x5254ee
sub eax, 4
mov eax, dword [eax]
cmp eax, ebp
jl 0x5255c0
cmp byte [esi + ebp - 1], 0x2e
je 0x5255e2
jmp 0x5255c0
cmp byte [esi + ebp - 1], 0x2e
jne 0x525564
inc dword [esp + 4]
cmp dword [esp + 4], 3
jg 0x5255e2
cmp edi, 0xff
jg 0x5255e2
xor edi, edi
mov dword [esp + 8], esi
cmp dword [esp + 8], 0
je 0x525542
mov eax, dword [esp + 8]
sub eax, 4
mov eax, dword [eax]
mov dword [esp + 8], eax
cmp ebp, dword [esp + 8]
jl 0x52554c
mov bl, 1
jmp 0x52555a
movzx eax, byte [esi + ebp]
add al, 0xd0
sub al, 0xa
setb bl
xor bl, 1
test bl, bl
jne 0x5255e2
jmp 0x5255bf
movzx eax, byte [esi + ebp - 1]
add al, 0xd0
sub al, 0xa
jae 0x52558d
mov eax, edi
add eax, eax
lea eax, [eax + eax*4]
movzx edx, byte [esi + ebp - 1]
add eax, edx
sub eax, 0x30
mov edi, eax
cmp edi, 0xff
jg 0x5255e2
jmp 0x5255bf
inc ebp
mov eax, esi
call fcn.004064c8
cmp ebp, eax
jg 0x52559f
cmp byte [esi + ebp - 1], 0x20
je 0x52558c
mov dword [esp + 0xc], esi
cmp dword [esp + 0xc], 0
je 0x5255b7
mov eax, dword [esp + 0xc]
sub eax, 4
mov eax, dword [eax]
mov dword [esp + 0xc], eax
cmp ebp, dword [esp + 0xc]
jle 0x5255e2
jmp 0x5255cf
inc ebp
mov eax, esi
call fcn.004064c8
cmp ebp, eax
jle 0x525506
cmp dword [esp + 4], 3
jne 0x5255e2
cmp edi, 0xff
jg 0x5255e2
mov byte [esp], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5564e4
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0xc]
add eax, eax
add eax, eax
mov ecx, 3
cdq
idiv ecx
mov edx, eax
add edx, 4
mov ecx, esi
xor eax, eax
call fcn.004069f0
cmp byte [ebp - 1], 0
jne 0x556544
mov eax, esi
call fcn.004068ec
movzx edx, byte [ebp - 0xc]
dec edx
and dl, 0x3f
add dl, 0x21
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 2
mov ecx, 3
cdq
idiv ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0xc], eax
mov edi, 2
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x55655e
sub al, 2
jb 0x556565
jmp 0x55656a
mov ebx, 2
jmp 0x55656a
mov ebx, 1
mov eax, esi
call fcn.004068ec
mov byte [eax + ebx - 1], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x55664e
test edi, edi
jle 0x5565c6
mov eax, esi
call fcn.004068ec
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shl eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and eax, edx
mov ecx, edi
shr eax, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
sub edi, 6
inc ebx
mov eax, esi
call fcn.004068ec
mov byte [eax + ebx - 1], 0
jmp 0x556642
test edi, edi
jge 0x55660c
mov eax, edi
cdq
xor eax, edx
sub eax, edx
mov edi, eax
mov eax, esi
call fcn.004068ec
lea eax, [eax + ebx - 1]
push eax
mov ecx, edi
mov eax, 0x3f
shr eax, cl
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
and al, byte [edx + ecx]
mov ecx, edi
shl al, cl
mov edx, dword [esi]
or al, byte [edx + ebx - 1]
pop edx
mov byte [edx], al
mov eax, 8
sub eax, edi
mov edi, eax
inc dword [ebp - 0x10]
jmp 0x556642
mov eax, esi
call fcn.004068ec
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [edx + ecx]
and dl, 0x3f
mov ecx, dword [esi]
movzx ecx, byte [ecx + ebx - 1]
or dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
inc dword [ebp - 0x10]
mov eax, esi
call fcn.004068ec
mov byte [eax + ebx - 1], 0
mov edi, 2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x556582
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x55665f
sub al, 2
jb 0x556699
jmp 0x5566e1
cmp edi, 2
jne 0x556665
dec ebx
mov eax, ebx
sub eax, 2
jl 0x5566e1
inc eax
mov dword [ebp - 0x14], eax
mov edi, 2
mov eax, esi
call fcn.004068ec
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x585e74]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x556675
jmp 0x5566e1
cmp edi, 2
jne 0x55669f
dec ebx
test ebx, ebx
jle 0x5566dc
mov dword [ebp - 0x14], ebx
mov edi, 1
mov eax, esi
call fcn.004068ec
mov edx, dword [esi]
movzx edx, byte [edx + edi - 1]
mov ecx, dword [0x585e78]
movzx edx, byte [ecx + edx]
mov byte [eax + edi - 1], dl
inc edi
dec dword [ebp - 0x14]
jne 0x5566ab
jmp 0x5566dc
inc ebx
mov eax, esi
call fcn.004068ec
mov byte [eax + ebx - 1], 0x3d
test bl, 3
jne 0x5566cf
mov eax, esi
xor ecx, ecx
mov edx, ebx
call fcn.00406958
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x55d7a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
and eax, 0xff
shr ecx, 8
inc edx
xor ecx, dword [eax*4 + 0x585f3c]
cmp edx, 4
mov eax, ecx
jl 0x55d7a8
pop ebp
ret

Function at 0x55d7c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
inc edx
shr eax, 0x18
and eax, 0xff
shl ecx, 8
xor ecx, dword [eax*4 + 0x58633c]
cmp edx, 4
mov eax, ecx
jl 0x55d7cc
pop ebp
ret
Function at 0x567a1c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
mov eax, edi
call fcn.00413a28
test al, al
je 0x567a4f
test bl, bl
je 0x567ac3
mov eax, edi
call fcn.00406e78
push eax
call sub.kernel32.dll_DeleteFileW
mov dl, 1
mov eax, dword [0x42c9d8]
call fcn.00438fb4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x567abc
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x567a9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00567798
mov edx, edi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x567aa6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x567ac3
mov eax, dword [ebp - 8]
call fcn.00404e44
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x56abb8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
cmp dword [ebx + 0x90], 0
je 0x56ad59
cmp dword [ebx + 0x94], 0
je 0x56ad59
mov eax, ebx
call fcn.0056aa7c
mov esi, eax
test esi, esi
jge 0x56ac49
mov eax, dword [ebx + 0xac]
test eax, eax
jle 0x56ac1a
mov edx, eax
dec edx
test edx, edx
jl 0x56ac1a
inc edx
xor eax, eax
lea ecx, [eax + eax*4]
mov edi, dword [ebx + 0xa8]
mov ecx, dword [edi + ecx*8 + 0x1c]
test ecx, ecx
je 0x56ac0e
sub ecx, 4
mov ecx, dword [ecx]
test ecx, ecx
jne 0x56ac16
mov esi, eax
jmp 0x56ac1a
inc eax
dec edx
jne 0x56abf8
test esi, esi
jge 0x56ac49
mov esi, dword [ebx + 0xac]
inc dword [ebx + 0xac]
mov eax, dword [ebx + 0xa8]
call fcn.004084fc
cmp eax, dword [ebx + 0xac]
jg 0x56ac49
mov edx, 0x20
mov eax, ebx
call fcn.0056ab64
fld qword [ebx + 0x98]
fcomp dword [0x56ad60]
wait
fnstsw ax
sahf
jne 0x56ac67
call fcn.00416034
fstp qword [ebx + 0x98]
wait
lea edi, [esi + esi*4]
mov eax, dword [ebx + 0xa8]
lea eax, [eax + edi*8]
mov edx, dword [ebx + 0x88]
call fcn.00406dec
mov eax, ebx
call fcn.005697f8
mov edx, dword [ebx + 0xa8]
mov dword [edx + edi*8 + 4], eax
mov eax, dword [ebx + 0xa8]
mov edx, dword [ebx + 0x98]
mov dword [eax + edi*8 + 8], edx
mov edx, dword [ebx + 0x9c]
mov dword [eax + edi*8 + 0xc], edx
call fcn.00416034
mov eax, dword [ebx + 0xa8]
fstp qword [eax + edi*8 + 0x10]
wait
mov eax, dword [ebx + 0x90]
test eax, eax
je 0x56acc8
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx + 0xa8]
mov dword [edx + edi*8 + 0x18], eax
mov eax, dword [ebx + 0xa8]
lea eax, [eax + edi*8 + 0x1c]
mov edx, dword [ebx + 0x90]
call fcn.00406158
mov eax, dword [ebx + 0x94]
test eax, eax
je 0x56acf6
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebx + 0xa8]
mov dword [edx + edi*8 + 0x20], eax
mov eax, dword [ebx + 0xa8]
lea eax, [eax + edi*8 + 0x24]
mov edx, dword [ebx + 0x94]
call fcn.00406158
mov byte [ebx + 0xb4], 1
mov eax, dword [ebx + 0x78]
cmp byte [eax + 0x3c], 0
jne 0x56ad59
cmp dword [ebx + 0xcc], 1
jge 0x56ad38
mov dword [ebx + 0xcc], 1
mov edx, dword [0x58a3b8]
mov edx, dword [edx]
imul edx, dword [ebx + 0xcc]
mov eax, dword [ebx + 0x78]
call fcn.004f12c0
mov dl, 1
mov eax, dword [ebx + 0x78]
call fcn.004f12a0
pop edi
pop esi
pop ebx
ret
Function at 0x1008558c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1008540b

Function at 0x1008efa0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1008efcd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1008efcd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401210
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x41ccc0]
sub esp, 0x3f0
cmp eax, 0x63
ja 0x401281
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 0x3f8]
lea edx, [esp + 4]
push ecx
push edx
push 0
push str.InstallPath
push eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x3e8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401281
mov eax, dword [0x41ccc0]
lea ecx, [esp + 8]
lea edx, [eax + eax*4]
inc eax
mov dword [0x41ccc0], eax
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [edx*8 + 0x403e50]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x401277
add esp, 0x3f0
ret

Function at 0x401490
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
sub esp, 0x314
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x4015cd
lea eax, [esp]
push eax
push 0x402434
push 1
push 0
push 0x402444
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4015c1
mov eax, dword [esp]
mov edx, dword [esp + 0x318]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp]
push 0x403e50
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esp]
lea ecx, [esp + 4]
push ecx
push 0x402454
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jl 0x4015b7
push ebx
push esi
push edi
push 0
lea edx, [esp + 0x18]
push 0x10
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov word [esp + 0x118], 0
repne scasb al, byte es:[edi]
mov ax, word [0x4034d0]
mov ecx, 0x81
mov word [edi - 1], ax
xor eax, eax
lea edi, [esp + 0x11a]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [esp + 0x328]
or ecx, 0xffffffff
xor eax, eax
push 0x104
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x11c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push 0xffffffffffffffff
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x118]
push 0
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop edi
pop esi
pop ebx
mov eax, dword [esp]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
add esp, 0x314
jmp dword [sym.imp.ole32.dll_CoUninitialize]
add esp, 0x314
ret