joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4522f7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x45231a
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x45231a
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x452324
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x452366
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x4523c8
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4523c3
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4523ae
test dl, dl
je 0x4523aa
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4523ae
add ecx, 2
add eax, 2
test dl, dl
jne 0x45238e
xor eax, eax
jmp 0x4523b3
sbb eax, eax
or eax, 1
test eax, eax
je 0x4523d4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x45237b
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
Function at 0x452466
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x452489
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x452489
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x452493
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x4524d5
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x452537
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x452532
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x45251d
test dl, dl
je 0x452519
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x45251d
add ecx, 2
add eax, 2
test dl, dl
jne 0x4524fd
xor eax, eax
jmp 0x452522
sbb eax, eax
or eax, 1
test eax, eax
je 0x452543
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x4524ea
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8

Function at 0x4561b7
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x1bc
call fcn.004aa2d0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4561fc
push ebx
call fcn.004a973e
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00401227
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0x101
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x45623d
push 0xcc
push 0x40277fc
push 6
call fcn.004a9744
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x45624d
push ebx
call fcn.004a973e
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x460968
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push dword [ebp + 8]
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x5c]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4609c2
push 0x46
push 0x40219b2
push 6
call fcn.004a9744
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4609d9
mov eax, 0x4bc908
jmp 0x460abc
fild dword [ebp - 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fmul qword [0x4bb23f]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fadd qword [0x4bb23f]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
call fcn.004015c2
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x1bc
call fcn.004aa2d0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x460a30
push ebx
call fcn.004a973e
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
fild dword [ebp - 8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x4bb2aa]
fstp qword [ebp - 0x1c]
mov dword [ebp - 0x20], esp
fld qword [ebp - 0x1c]
call fcn.004015c2
push eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x460a5c
add eax, 8
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x460a86
push 0x165
push 0x40219b2
push 6
call fcn.004a9744
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x460a9d
mov eax, 0x4bc908
jmp 0x460abc
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x460ab7
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.004a9738
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x460abc
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x460acd
push ebx
call fcn.004a973e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x47d00f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [esi + 4]
bswap eax
bswap edx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], esp
mov esp, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
xor eax, dword [ecx + edi*4]
mov edi, eax
mov esi, eax
shr edi, 0x18
shr esi, 0x10
and esi, 0xff
mov ebx, dword [esp + edi*4]
add ebx, dword [esp + esi*4 + 0x400]
movzx edi, ah
movzx esi, al
xor ebx, dword [esp + edi*4 + 0x800]
add ebx, dword [esp + esi*4 + 0xc00]
xor ebx, edx
inc dword [ebp - 4]
mov edx, eax
cmp dword [ebp - 4], 0x10
mov eax, ebx
jne 0x47d032
mov esp, dword [ebp - 8]
xchg edx, eax
xor edx, dword [ecx + 0x40]
xor eax, dword [ecx + 0x44]
mov esi, dword [ebp + 8]
bswap eax
bswap edx
mov dword [esi], eax
mov dword [esi + 4], edx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x47d10a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [esi + 4]
bswap eax
bswap edx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], esp
mov esp, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
xor eax, dword [ecx + edi*4]
mov edi, eax
mov esi, eax
shr edi, 0x18
shr esi, 0x10
and esi, 0xff
mov ebx, dword [esp + edi*4]
add ebx, dword [esp + esi*4 + 0x400]
movzx edi, ah
movzx esi, al
xor ebx, dword [esp + edi*4 + 0x800]
add ebx, dword [esp + esi*4 + 0xc00]
xor ebx, edx
inc dword [ebp - 4]
mov edx, eax
cmp dword [ebp - 4], 0x10
mov eax, ebx
jne 0x47d12d
mov esp, dword [ebp - 8]
xchg edx, eax
xor edx, dword [ecx + 0x40]
xor eax, dword [ecx + 0x44]
mov esi, dword [ebp + 8]
bswap eax
bswap edx
mov dword [esi], eax
mov dword [esi + 4], edx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x47d2e6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [esi + 4]
bswap eax
bswap edx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], esp
mov esp, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
xor eax, dword [ecx + edi*4]
mov edi, eax
mov esi, eax
shr edi, 0x18
shr esi, 0x10
and esi, 0xff
mov ebx, dword [esp + edi*4]
add ebx, dword [esp + esi*4 + 0x400]
movzx edi, ah
movzx esi, al
xor ebx, dword [esp + edi*4 + 0x800]
add ebx, dword [esp + esi*4 + 0xc00]
xor ebx, edx
inc dword [ebp - 4]
mov edx, eax
cmp dword [ebp - 4], 0x10
mov eax, ebx
jne 0x47d309
mov esp, dword [ebp - 8]
xchg edx, eax
xor edx, dword [ecx + 0x40]
xor eax, dword [ecx + 0x44]
mov esi, dword [ebp + 8]
bswap eax
bswap edx
mov dword [esi], eax
mov dword [esi + 4], edx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4805b5
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x80000301
push 0
push 0x20
push 1
mov ebx, 0x1bc
call fcn.004aa2d0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x480616
push ebx
call fcn.004a973e
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00401227
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x480654
push 0xc9
push 0x402795d
push 6
call fcn.004a9744
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x48078d
push edi
push edx
push esi
mov eax, dword [ebp - 8]
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov edx, ecx
mov edi, dword [ebp - 4]
mov esi, dword [eax]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
pop edx
pop edi
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x910
call fcn.004aca50
add esp, 0x1c
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4806e3
mov eax, 0x4bb21c
push eax
push 3
mov ebx, 0x19c
call fcn.004ab3b0
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x48070f
push ebx
call fcn.004a973e
add esp, 4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
cmp ecx, 0x80000101
jne 0x480727
and eax, 0xff
jmp 0x48077c
cmp ecx, 0x80000201
jne 0x480732
cwde
jmp 0x48077c
cmp ecx, 0x80000301
je 0x48077c
cmp ecx, 0x80000401
je 0x48077c
mov dword [ebp - 0x24], eax
cmp ecx, 0x80000501
je 0x48076c
cmp ecx, 0x80000601
je 0x480771
push 0x366
push 0x402795d
push 2
call fcn.004a9744
add esp, 0xc
fld dword [ebp - 0x24]
jmp 0x480777
mov dword [ebp - 0x20], edx
fld qword [ebp - 0x24]
call fcn.004015c2
push eax
call fcn.004807af
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x480797
mov eax, 0x4bb20b
jmp 0x480797
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4807a8
push ebx
call fcn.004a973e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x4aa6a0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4aa709
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.004aa060
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x4aa950
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x4aa9e2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x4aa9d4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x4aa9cc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x4aa995
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x4aa9f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x54
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x84]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x44], 1
je case.0x4aaa31.2
mov ecx, dword [esp + 0x7c]
lea eax, [ecx - 1]
cmp eax, 5
ja case.0x4aaa31.2
jmp dword [eax*4 + 0x4aaabc]
mov word [esp + 0x48], di
jmp 0x4aaa6a
mov word [esp + 0x48], 2
jmp 0x4aaa6a
mov word [esp + 0x48], 3
jmp 0x4aaa6a
mov word [esp + 0x48], 4
jmp 0x4aaa6a
mov word [esp + 0x48], 7
jmp 0x4aaa6a
mov word [esp + 0x48], 5
lea edx, [esp + 8]
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x18]
push edx
push eax
push edi
push edi
push edi
push 1
push edi
push edi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
cmp esi, edi
je 0x4aaab4
cmp dword [esp + 0x70], edi
je 0x4aaaa0
mov edx, dword [esp + 8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov eax, esi
pop edi
pop esi
add esp, 0x54
ret
Function at 0x4ab0b0
Capabilities:
Delete directory

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x4ab0bd
xor eax, eax
pop esi
ret
push esi
call fcn.004aee90
add esp, 4
test eax, eax
jne 0x4ab0cc
pop esi
ret
cmp eax, 1
jne 0x4ab0da
cmp byte [esi], 0x5c
jne 0x4ab0da
xor eax, eax
pop esi
ret
push esi
call fcn.004aae60
add esp, 4
test eax, eax
je 0x4ab0ee
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
ret

Function at 0x4ad120
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x4ad13e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x4ad133
pop esi
ret

Function at 0x4ae690
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebp
push esi
push edi
push eax
call fcn.004b01c0
mov edi, dword [esp + 0x28]
mov ebp, eax
push edi
xor esi, esi
call fcn.004aee90
add esp, 8
test ebp, ebp
je 0x4ae759
test eax, eax
je 0x4ae759
inc eax
push ebx
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
push 0x5c
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.MSVCRT.dll_strrchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4ae6fb
mov byte [esi], 0
inc esi
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4ae735
mov ecx, dword [esp + 0x10]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp + 0x10]
mov esi, eax
neg esi
sbb esi, esi
push edx
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x4ae748
mov eax, dword [esp + 0x28]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
neg esi
sbb esi, esi
inc esi
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret
mov eax, esi
pop edi
pop esi
pop ebp
pop ecx
ret
Function at 0x4aef70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x4aef91
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x4aefeb
inc edi
cmp edi, esi
jl 0x4aef85
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x4af020
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x4aefda
cmp byte [eax], bl
je 0x4aeff5
cmp byte [eax + 1], bl
je 0x4aeffe
cmp byte [eax + 2], bl
je 0x4af008
cmp byte [eax + 3], bl
je 0x4af014
add eax, 4
cmp eax, edi
jb 0x4aefb1
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4

Function at 0x4b3920
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x4c33b4]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4b3933
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4b3974
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x4c345c]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4b39a6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4b39aa
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4b399b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4b39c8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4b39cc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4b39bd
xor ecx, ecx
mov eax, 0x4c33c4
xor ebx, ebx
mov bl, byte [ecx + 0x4c346c]
cmp byte [esp + ebx + 0x14], 0
je 0x4b39f7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x4c3484]
cmp byte [esp + ebx + 0x14], 0
je 0x4b3a0e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4b39de
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4b3967
lea edx, [esp + 0x84]
push edx
call fcn.004b3a50
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x6cc498
Capabilities:
Encode data using xor

Disassembly:
call fcn.006443c7
add dword [esp], 0xff9f6ac7
push dword [esp + 8]
popfd
lea esp, [esp + 0x14]
call fcn.004f38a8
pushfd
call fcn.005537a0
mov ch, byte fs:[edx + 2]
xchg esp, eax
push ss
cli
outsd dx, dword [esi]
xor byte [edi + 0x40e6b548], 0x54
mov bh, 0xda
pushfd
shr byte [eax - 0x62], 0xc
test al, 0xef
dec eax
cmpsb byte [esi], byte es:[edi]
pop ss
dec ecx
outsd dx, dword [esi]
aam 0x4b
fdivr dword [esi + 0x7e8e770f]
ror byte ds:[edi - 0x5fcd1895], 1
mov dh, 0x2d
and al, ch
ror byte [ebp - 0x57], 1
mov bh, 0x44
das
pop edi
salc
mov dl, byte [esi]
das
das
jae 0x6cc4bd
ja 0x6cc563
into
stosb byte es:[edi], al
out dx, eax
int 0x62
hlt
std
push ebx
adc byte [ebx - 0x6f4d19b3], ah
daa
mov byte [ecx], ch
inc ebp
invalid
Function at 0x1090c2f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
mov ebx, ecx
lea eax, [ebp - 0xa8]
push edi
push eax
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 0x3bc]
push eax
push dword [ebp + 8]
call fcn.1090bda0
lea edi, [ebx + 0x63c0]
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], edi
lea esi, [ebp - 0x9a]
lea ecx, [ecx]
lea ecx, [ebp - 0xc]
lea eax, [esi - 0xa]
push ecx
push eax
call fcn.1090bf90
mov al, byte [edi - 1]
xor al, byte [ebp - 9]
mov dl, byte [edi + 1]
mov cl, byte [edi - 3]
xor cl, byte [ebp - 0xb]
xor dl, byte [ebp - 7]
mov bl, byte [edi - 4]
mov bh, byte [edi - 2]
xor bl, byte [ebp - 0xc]
mov byte [ebp + 0xb], al
mov al, byte [edi]
xor al, byte [ebp - 8]
xor bh, byte [ebp - 0xa]
movsx edi, al
mov byte [ebp - 1], dl
movsx edx, cl
mov eax, edx
movsx ecx, bl
sar eax, 4
and eax, 0xf
shl ecx, 4
or ecx, eax
shl edx, 8
mov eax, dword [ebp - 0x18]
and ecx, 0xfff
movzx eax, byte [ecx + eax + 0x13bc]
movsx ecx, byte [ebp + 0xb]
mov byte [ebp - 0x10], al
movzx eax, bh
mov ebx, dword [ebp - 0x18]
or edx, eax
and edx, 0xfff
shl ecx, 4
movzx eax, byte [edx + ebx + 0x23bc]
mov byte [ebp - 0xf], al
mov eax, edi
sar eax, 4
and eax, 0xf
shl edi, 8
or ecx, eax
and ecx, 0xfff
movzx eax, byte [ecx + ebx + 0x33bc]
mov ecx, ebx
mov byte [ebp - 0xe], al
movzx eax, byte [ebp - 1]
or edi, eax
and edi, 0xfff
movzx eax, byte [edi + ebx + 0x43bc]
mov byte [ebp - 0xd], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1090beb0
movzx eax, byte [esi - 0xa]
lea esi, [esi + 8]
mov byte [esi - 0xe], al
movzx eax, byte [esi - 0x11]
mov byte [esi - 0xd], al
movzx eax, byte [esi - 0x10]
mov byte [esi - 0xc], al
movzx eax, byte [esi - 0xf]
mov byte [esi - 0xb], al
movzx ecx, byte [esi - 0x16]
mov eax, dword [ebp - 0x14]
xor cl, al
mov byte [esi - 0xa], cl
movzx ecx, byte [esi - 0x15]
xor cl, ah
mov byte [esi - 9], cl
movzx eax, byte [esi - 0x14]
xor al, byte [ebp - 0x12]
mov byte [esi - 8], al
movzx eax, byte [esi - 0x13]
xor al, byte [ebp - 0x11]
mov byte [esi - 7], al
mov edi, dword [ebp - 0x1c]
add edi, 6
dec dword [ebp - 0x20]
mov dword [ebp - 0x1c], edi
jne 0x1090c330
movzx eax, byte [ebp - 0x24]
push dword [ebp + 0xc]
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 0x23]
mov byte [ebp - 0xb], al
movzx eax, byte [ebp - 0x22]
mov byte [ebp - 0xa], al
movzx eax, byte [ebp - 0x21]
mov byte [ebp - 9], al
movzx eax, byte [ebp - 0x28]
mov byte [ebp - 8], al
movzx eax, byte [ebp - 0x27]
mov byte [ebp - 7], al
movzx eax, byte [ebp - 0x26]
mov byte [ebp - 6], al
movzx eax, byte [ebp - 0x25]
mov byte [ebp - 5], al
lea eax, [ebx + 0xbbc]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1090bda0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8