joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465f31
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x49a82d
call fcn.0046bcf0
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
push esi
call fcn.004322f9
pop ecx
test al, al
je 0x465f60
push 0x7b
call fcn.00458bb0
pop ecx
xor al, al
jmp 0x466009
call fcn.00458ba7
and dword [ebp - 4], 0
mov ebx, dword [ebp + 0x18]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
mov edi, dword [ebp + 0x14]
push edi
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
jmp 0x465fa6
cmp eax, 5
jne 0x465ff9
test edi, edi
je 0x465fc0
push 0x49bf30
push edi
call fcn.004323be
pop ecx
pop ecx
test al, al
je 0x465f59
mov dword [ebp - 4], 2
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
push str.runas
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
jmp 0x465ff9
cmp eax, 0x20
jle 0x465f59
call fcn.00458ba7
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46793c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp word [ebp - 0x218], 0
je 0x467988
mov ecx, dword [ebp + 8]
call fcn.00428bf1
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push closesocket
push eax
call fcn.0042fd81
jmp 0x4679ce
call fcn.00457938
test al, al
lea eax, [ebp - 0xc]
push eax
je 0x4679a3
call fcn.00458ff4
mov dword [esp], str.System32
jmp 0x4679af
call fcn.00458ff4
mov dword [esp], str.System
cmp dword [eax], 0
mov ecx, 0x49bb64
cmovne ecx, dword [eax]
push ecx
push dword [ebp + 8]
call fcn.00444fdf
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.00426528
mov eax, dword [ebp + 8]
leave
ret

Function at 0x46813b
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.00430f83
pop ecx
test al, al
je 0x468157
call fcn.00458bbe
xor al, al
jmp 0x46819a
push ebx
mov ecx, esi
call fcn.00468280
call fcn.00458ba7
push dword [ebp + 8]
mov bl, byte [ebp + 0xc]
movzx eax, bl
push eax
push 0
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
test eax, eax
je 0x468197
test bl, bl
je 0x468190
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xb7
je 0x468197
mov byte [esi + 4], bl
mov al, 1
jmp 0x468199
xor al, al
pop ebx
pop esi
pop ebp
ret 8

Function at 0x469236
Capabilities:
Terminate thread

Disassembly:
mov eax, 0x49a87d
call fcn.0046bcf0
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
test esi, esi
jne 0x469253
xor al, al
jmp 0x469287
and dword [ebp - 4], 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
setne bl
mov byte [ebp - 0x11], bl
or dword [ebp - 4], 0xffffffff
jmp 0x46927e
push esi
call fcn.004691a7
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4692e7
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x4692f9
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop ebp
ret

Function at 0x4692fb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
mov eax, dword [ebp + 0x14]
and eax, 1
mov dword [ebp - 4], edi
shl eax, 2
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push edi
call fcn.0048dbcf
mov esi, eax
add esp, 0x18
test esi, esi
je 0x469348
cmp dword [ebp + 0x10], 3
je 0x46933b
push dword [ebp + 0x10]
push esi
call fcn.00469296
pop ecx
pop ecx
push edi
push dword [ebp - 4]
call fcn.0046914c
pop ecx
pop ecx
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x46b579
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x46b58e
mov ecx, ebx
call fcn.00426528
cmp dword [0x4e10e4], 0
je 0x46b713
cmp dword [0x4e10f4], 0
je 0x46b713
cmp dword [0x4e1118], 0
je 0x46b713
cmp dword [0x4e111c], 0
je 0x46b713
cmp dword [0x4e1120], 0
je 0x46b713
call fcn.00458ba7
mov eax, dword [0x4e10f4]
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push ecx
push dword [ebp + 0x28]
push dword [ebp + 8]
push dword [0x4e10e4]
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x46b71b
push esi
push edi
push dword [ebp + 0x24]
call fcn.00430f83
mov edx, dword [ebp + 0x14]
test al, al
mov eax, dword [ebp + 0x14]
mov edi, 0x49ce90
cmove edi, dword [ebp + 0x24]
and edx, 0x10
or dword [ebp + 0x10], 0xffffffff
pop ecx
mov esi, dword [0x4e1118]
shl edx, 0x16
or edx, 0x200
push 0
mov ecx, edx
or ecx, 0x80000100
and al, 8
cmove ecx, edx
push ecx
push 0x4dcde4
push 0
push str.HTTP_1.0
push dword [ebp + 0xc]
push edi
push dword [ebp - 4]
call esi
mov edi, eax
test edi, edi
je 0x46b6ee
push dword [ebp + 0x20]
mov esi, dword [0x4e111c]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.004312f0
pop ecx
push eax
push dword [ebp + 0x18]
push edi
call esi
test eax, eax
je 0x46b6ee
mov eax, dword [0x4e1120]
lea ecx, [ebp - 8]
push 0
push ecx
lea ecx, [ebp + 0x10]
mov dword [ebp - 8], 4
push ecx
push 0x20000013
push edi
call eax
test eax, eax
je 0x46b6ee
cmp dword [ebp + 0x10], 0xc8
jne 0x46b6ee
test byte [ebp + 0x14], 0x20
jne 0x46b6ee
lea ecx, [ebp - 0x20]
call fcn.00401a6c
push dword [ebp + 0x2c]
call sub.KERNEL32.dll_GetTickCount
push eax
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.0046b721
add esp, 0x10
test al, al
jne 0x46b6d7
mov dword [ebp + 0x10], 0xfffffffe
jmp 0x46b6e6
test ebx, ebx
je 0x46b6e6
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00425796
lea ecx, [ebp - 0x14]
call fcn.00426528
call sub.KERNEL32.dll_GetLastError
push edi
mov esi, eax
call fcn.0046b7df
push dword [ebp - 4]
call fcn.0046b7df
push esi
call fcn.00458bb0
mov eax, dword [ebp + 0x10]
add esp, 0xc
pop edi
pop esi
jmp 0x46b71e
push 0x78
call fcn.00458bb0
pop ecx
or eax, 0xffffffff
pop ebx
leave
ret
Function at 0x46f680
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 8]
not eax
push esi
mov esi, dword [esp + 0x10]
push edi
cmp esi, 8
jbe 0x46f756
test bl, 7
je 0x46f6b9
nop
movzx ecx, byte [ebx]
dec esi
movzx edx, al
inc ebx
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4b5038]
test bl, 7
jne 0x46f6a0
mov edi, esi
and esi, 7
and edi, 0xfffffff8
add edi, ebx
cmp ebx, edi
jae 0x46f756
nop dword [eax + eax]
xor eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x18], ebx
add dword [esp + 0x18], 4
mov ebx, dword [ebx]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x4b5438]
xor edx, dword [ecx*4 + 0x4b5838]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4b6438]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x4b6838]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4b5038]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0x4b6038]
movzx ecx, bl
mov ebx, dword [esp + 0x18]
xor edx, dword [ecx*4 + 0x4b5c38]
xor edx, dword [eax*4 + 0x4b6c38]
mov eax, edx
cmp ebx, edi
jb 0x46f6d0
test esi, esi
je 0x46f77a
nop word [eax + eax]
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4b5038]
sub esi, 1
jne 0x46f760
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x46f780
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 8]
not eax
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x18]
not esi
cmp edi, 4
jbe 0x46f866
mov dword [esp + 0x1c], ebx
test bl, 3
je 0x46f7d8
nop word [eax + eax]
movzx ecx, byte [ebx]
dec edi
movzx edx, al
inc ebx
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x4b7038]
xor esi, dword [edx*8 + 0x4b703c]
test bl, 3
jne 0x46f7b0
mov dword [esp + 0x1c], ebx
mov ebp, edi
xor edx, edx
and ebp, 0xfffffffc
and edi, 3
mov dword [esp + 0x18], edi
lea ecx, [ebx + ebp]
shr ebp, 2
cmp ebx, ecx
cmova ebp, edx
test ebp, ebp
je 0x46f866
xor edi, edi
mov ebx, dword [ebx]
inc edi
xor ebx, eax
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [edx*8 + 0x4b7838]
mov edx, dword [edx*8 + 0x4b783c]
xor eax, dword [ecx*8 + 0x4b8038]
xor edx, dword [ecx*8 + 0x4b803c]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*8 + 0x4b7038]
xor edx, dword [ecx*8 + 0x4b703c]
movzx ecx, bl
mov ebx, dword [esp + 0x1c]
add ebx, 4
mov dword [esp + 0x1c], ebx
xor eax, dword [ecx*8 + 0x4b8838]
xor edx, dword [ecx*8 + 0x4b883c]
xor eax, esi
xor edx, 0
mov esi, edx
cmp edi, ebp
jb 0x46f7f7
mov edi, dword [esp + 0x18]
test edi, edi
je 0x46f895
nop word [eax + eax]
movzx ecx, byte [ebx]
lea ebx, [ebx + 1]
movzx edx, al
shrd eax, esi, 8
xor edx, ecx
shr esi, 8
xor eax, dword [edx*8 + 0x4b7038]
xor esi, dword [edx*8 + 0x4b703c]
sub edi, 1
jne 0x46f870
not esi
not eax
pop edi
mov edx, esi
pop esi
pop ebp
pop ebx
ret
Function at 0x476dd0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push edi
mov dword [ebx], 0x4000400
test edx, edx
je 0x476e11
lea eax, [ebx + 0x104]
mov ecx, edx
nop
movaps xmm0, xmmword [0x4b4e60]
lea eax, [eax + 0x10]
movups xmmword [eax - 0x110], xmm0
movaps xmm0, xmmword [0x4b4e60]
movups xmmword [eax - 0x10], xmm0
sub ecx, 1
jne 0x476df0
cmp byte [esp + 0x28], 0
lea edi, [ebx + 0x204]
mov ecx, 0x80
mov eax, 0x4000400
rep stosd dword es:[edi], eax
jne 0x476fdc
push ebp
xor ebp, ebp
mov dword [esp + 0xc], ebp
test edx, edx
je 0x476fdb
lea eax, [ebx + 0x404]
mov dword [esp + 0x2c], eax
lea eax, [ebx + 0x4808]
mov dword [esp + 0x10], eax
push esi
mov edi, dword [ebx + 0x4804]
xor esi, esi
mov dword [eax], edi
movzx ecx, word [ebx]
mov eax, ecx
mov dword [esp + 0x28], edi
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
movzx eax, byte [eax + 0x4b9038]
movzx edx, byte [ecx + 0x4b9038]
movzx ecx, word [ebx + 2]
mov dword [esp + 0x18], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
movzx eax, byte [eax + 0x4b9038]
add eax, edx
mov dword [esp + 0x1c], eax
movzx eax, byte [ecx + 0x4b9038]
add eax, edx
mov dword [esp + 0x20], eax
test edi, edi
je 0x476fb8
cmp esi, 8
jae 0x476f06
xor edi, edi
lea edx, [esi + 8]
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
lea eax, [edx + ebp*8]
and ecx, 0x7f
movzx eax, word [ebx + eax*2 + 4]
shr eax, 4
xor eax, ecx
movzx eax, byte [eax + 0x4b9038]
add edi, eax
cmp edx, 1
jne 0x476ec1
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
add eax, edi
mov edi, dword [esp + 0x28]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, edi
jb 0x476eb7
jmp 0x476fb8
cmp esi, edi
jae 0x476fb8
nop
cmp esi, 0x10
jae 0x476f65
xor edi, edi
mov edx, esi
nop dword [eax]
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
lea eax, [edx + ebp*8]
and ecx, 0x7f
movzx eax, word [ebx + eax*2 + 0x104]
shr eax, 4
xor eax, ecx
movzx eax, byte [eax + 0x4b9038]
add edi, eax
cmp edx, 1
jne 0x476f20
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
add eax, edi
mov edi, dword [esp + 0x28]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, edi
jb 0x476f10
jmp 0x476fb8
cmp esi, edi
jae 0x476fb8
mov ebp, dword [esp + 0x28]
nop dword [eax]
xor edi, edi
lea eax, [esi + 0xf0]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + eax*2 + 0x204]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
movzx ecx, byte [ecx + 0x4b9038]
add edi, ecx
cmp eax, 1
jne 0x476f78
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
cmp esi, ebp
jb 0x476f70
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ebp
add dword [esp + 0x30], 0x440
add eax, 4
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
cmp ebp, dword [esp + 0x2c]
jb 0x476e52
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x14
ret
Function at 0x476ff0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov esi, dword [esp + 0x24]
mov ebp, dword [ebx + 0x4804]
mov dword [esp + 0xc], ebp
mov dword [ebx + esi*4 + 0x4808], ebp
movzx ecx, word [ebx]
mov eax, ecx
xor ecx, 0x7f0
shr eax, 4
shr ecx, 4
movzx eax, byte [eax + 0x4b9038]
movzx edx, byte [ecx + 0x4b9038]
movzx ecx, word [ebx + 2]
mov dword [esp + 0x10], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
movzx eax, byte [eax + 0x4b9038]
add eax, edx
mov dword [esp + 0x14], eax
movzx eax, byte [ecx + 0x4b9038]
add eax, edx
mov dword [esp + 0x18], eax
imul eax, esi, 0x440
xor esi, esi
add eax, 0x404
add eax, ebx
mov dword [esp + 0x20], eax
test ebp, ebp
je 0x477185
push edi
nop word [eax + eax]
cmp esi, 8
jae 0x4770d8
mov ebp, dword [esp + 0x28]
lea edx, [esi + 8]
xor edi, edi
nop
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
lea eax, [edx + ebp*8]
and ecx, 0x7f
movzx eax, word [ebx + eax*2 + 4]
shr eax, 4
xor eax, ecx
movzx eax, byte [eax + 0x4b9038]
add edi, eax
cmp edx, 1
jne 0x477090
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
cmp esi, ebp
jb 0x477080
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp esi, ebp
jae 0x477184
cmp esi, 0x10
jae 0x47713b
mov ebp, dword [esp + 0x28]
xor edi, edi
mov edx, esi
nop dword [eax]
mov ecx, edx
shr edx, 1
and ecx, 1
neg ecx
shr ecx, 4
lea eax, [edx + ebp*8]
and ecx, 0x7f
movzx eax, word [ebx + eax*2 + 0x104]
shr eax, 4
xor eax, ecx
movzx eax, byte [eax + 0x4b9038]
add edi, eax
cmp edx, 1
jne 0x4770f0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
cmp esi, ebp
jb 0x4770e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp esi, ebp
jae 0x477184
nop
xor edi, edi
lea eax, [esi + 0xf0]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
movzx ecx, word [ebx + eax*2 + 0x204]
and edx, 0x7f
shr ecx, 4
xor ecx, edx
movzx ecx, byte [ecx + 0x4b9038]
add edi, ecx
cmp eax, 1
jne 0x477148
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
cmp esi, ebp
jb 0x477140
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4790e0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov edx, 0x3706
mov dword [esp + 0x24], edx
lea esi, [edi + 0x105a4]
lea ebp, [edi + 0x101a0]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
nop dword [eax + eax]
mov eax, dword [edi + 0x10da0]
xor ebx, ebx
test eax, eax
je 0x479174
nop dword [eax]
mov ebp, dword [esp + 0x24]
lea eax, [ebx + 0x40]
xor esi, esi
nop dword [eax]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
lea ecx, [eax + ebp]
and edx, 0x7f
movzx ecx, word [edi + ecx*2]
shr ecx, 4
xor ecx, edx
movzx ecx, byte [ecx + 0x4b9038]
add esi, ecx
cmp eax, 1
jne 0x479130
mov ebp, dword [esp + 0x10]
mov dword [ebp + ebx*4], esi
inc ebx
mov eax, dword [edi + 0x10da0]
cmp ebx, eax
jb 0x479120
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov ecx, 0xe
cmp eax, ecx
jbe 0x479197
nop dword [eax]
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [ebp + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x10da0]
jb 0x479180
mov eax, dword [ebp]
add edx, 0x40
mov dword [esi - 4], eax
mov eax, dword [ebp + 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
add ebp, 0x100
mov dword [esi + 8], eax
add esi, 0x200
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], esi
cmp edx, 0x3806
jb 0x479110
mov ebx, 4
lea eax, [edi + 0x107b0]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
cmp ebx, 0x2000
jae 0x4791f9
movzx esi, byte [ebx + 0x4b90b8]
jmp 0x47921f
mov eax, ebx
cmp ebx, 0x2000000
jae 0x479212
shr eax, 0xc
movzx esi, byte [eax + 0x4b90b8]
add esi, 0x18
jmp 0x47921f
shr eax, 0x18
movzx esi, byte [eax + 0x4b90b8]
add esi, 0x30
mov eax, esi
mov edx, esi
shr eax, 1
and edx, 1
dec eax
or edx, 2
mov ecx, eax
mov dword [esp + 0x18], eax
shl edx, cl
mov eax, ebx
mov ebx, dword [esp + 0x18]
mov ecx, 1
sub eax, edx
mov dword [esp + 0x1c], edx
xor ebp, ebp
mov dword [esp + 0x24], ecx
nop dword [eax + eax]
mov edx, eax
sub ecx, esi
add ecx, dword [esp + 0x1c]
and edx, 1
shr eax, 1
mov dword [esp + 0x18], eax
mov eax, edx
neg eax
movzx ecx, word [edi + ecx*2 + 0x700a]
shr eax, 4
shr ecx, 4
and eax, 0x7f
xor ecx, eax
movzx eax, byte [ecx + 0x4b9038]
mov ecx, dword [esp + 0x24]
add ebp, eax
mov eax, dword [esp + 0x18]
lea ecx, [edx + ecx*2]
mov dword [esp + 0x24], ecx
sub ebx, 1
jne 0x479250
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + esi*4 + 0x101a0]
mov ebx, dword [esp + 0x14]
add eax, ebp
inc ebx
mov dword [ecx - 0x200], eax
mov eax, dword [edi + esi*4 + 0x102a0]
add eax, ebp
mov dword [esp + 0x14], ebx
mov dword [ecx], eax
mov eax, dword [edi + esi*4 + 0x103a0]
add eax, ebp
mov dword [ecx + 0x200], eax
mov eax, dword [edi + esi*4 + 0x104a0]
add eax, ebp
mov dword [ecx + 0x400], eax
add ecx, 4
mov dword [esp + 0x10], ecx
cmp ebx, 0x80
jb 0x4791e8
mov dword [edi + 0x10da4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x479300
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ecx, 8
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov edx, dword [edi + 0xaa4]
lea ebp, [edi + 0xaac]
mov eax, dword [edi + 0xaa8]
sub ecx, edx
and eax, dword [esp + 0x18]
shr esi, cl
mov ecx, edx
shl eax, cl
add esi, eax
imul eax, esi, 0x600
add ebp, eax
cmp byte [esp + 0x20], bl
jne 0x479355
push dword [esp + 0x28]
push 8
push ebp
call fcn.0047aa10
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x28]
mov esi, 0x100
mov edi, dword [esp + 0x24]
add edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
shr eax, 8
add ecx, esi
add eax, ecx
movzx ecx, word [ebp + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor ecx, eax
movzx eax, byte [ecx + 0x4b9038]
mov ecx, edi
xor ecx, edx
add ebx, eax
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x479364
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x47aa10
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0xc]
push esi
push edi
xor edi, edi
add ecx, eax
mov eax, dword [esp + 0xc]
nop dword [eax]
mov esi, ecx
shr ecx, 1
and esi, 1
neg esi
shr esi, 4
movzx edx, word [eax + ecx*2]
and esi, 0x7f
shr edx, 4
xor edx, esi
movzx edx, byte [edx + 0x4b9038]
add edi, edx
cmp ecx, 1
jne 0x47aa30
mov eax, edi
pop edi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047cab0

Function at 0x47cdd0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4bbb60]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4bbb60]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x4bbb60]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x4bbb60]
mov eax, edx
pop ebp
ret

Function at 0x47e660
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047e670
Function at 0x37191294
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x58], 0
je 0x37191304
lea eax, [ebp - 0x400]
push 0x400
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebx, eax
lea eax, [ebp - 0x400]
push ebx
push eax
mov ecx, esi
call fcn.37191212
cmp eax, 0xffffffff
je 0x37191304
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x14e
push dword [esi + 4]
call edi
movzx eax, bx
or eax, 0xffff0000
push eax
push 0
push 0x142
push dword [esi + 4]
call edi
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x37191e98
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
mov edi, 0x104
push 0
lea eax, [ebp - 0x114]
push edi
push eax
push dword [0x371a04bc]
mov esi, ecx
call fcn.37197218
add esp, 0x10
lea eax, [ebp - 0x218]
push edi
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ebx, [esi + 0xfe0]
push edi
push 0
push ebx
call sub.MSVCRT.dll_memset
lea edi, [esi + 0x20]
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.3719c286
add esp, 0x14
test eax, eax
je 0x37191f49
mov eax, dword [edi]
push dword [esi + eax*4 + 0xd4]
push ebx
call sub.MSVCRT.dll_strcpy
push ebx
call sub.MSVCRT.dll_strlen
add esp, 0xc
push eax
push ebx
push 1
push str.Theme
push 0x3719f068
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea eax, [esi + 0x26c]
push ebx
push eax
push dword [0x371a04bc]
call fcn.37195cb0
add esp, 0xc
test eax, eax
jne 0x37191f4d
xor eax, eax
jmp 0x37191f8b
mov ecx, esi
call fcn.371936f9
push 0x64
xor ecx, ecx
pop eax
mov dword [ebp - 0x10], ecx
push ecx
mov dword [ebp - 8], eax
push dword [ebp + 0x14]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ecx
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.37194862
mov ecx, esi
mov dword [esi + 4], eax
call fcn.37192cad
mov eax, dword [esi + 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x371924b0
Capabilities:
Log keystrokes via polling
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov esi, ecx
push 0x10
mov dword [eax], 1
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 0x4000
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x268]
cmp eax, 0xffffffff
jne 0x37192548
movzx eax, word [ebp + 0xc]
mov ecx, dword [esi + 0xf94]
cmp word [ebp + 0xc], 0x76c0
mov ebx, dword [esi + 0xf9c]
lea edi, [eax - 0x7600]
mov dword [ebp + 0x14], ecx
jb 0x371925a5
add eax, 0xffff8940
mov dword [esi + 0x20], eax
push dword [esi + eax*4 + 0xd4]
call sub.MSVCRT.dll_strlen
pop ecx
push eax
mov eax, dword [esi + 0x20]
push dword [esi + eax*4 + 0xd4]
push 1
push str.Theme
push 0x3719f068
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
push 0
mov ecx, esi
call fcn.3719471a
jmp 0x3719260c
cmp eax, 0xfffffffd
jne 0x37192562
mov eax, dword [ebp + 0xc]
mov ecx, esi
add eax, 0xffffff03
push eax
call fcn.37191f92
jmp 0x3719260c
movzx edi, word [ebp + 0xc]
mov eax, dword [esi + eax*4 + 0xe78]
sub edi, 0x7600
mov ecx, dword [eax]
cmp ecx, 4
jne 0x3719258b
mov eax, dword [eax + 0x104]
mov ecx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x34]
mov dword [ebp + 0x14], ecx
jmp 0x371925a5
cmp ecx, 6
jne 0x3719260c
mov eax, dword [eax + 0x104]
mov ecx, dword [eax + 0xc0c]
mov ebx, dword [eax + 0xc14]
mov dword [ebp + 0x14], ecx
cmp edi, dword [ebp + 0x14]
jge 0x3719260c
push dword [ebx + edi*4]
lea eax, [ebx + edi*4]
mov dword [ebp - 8], eax
push str.showall
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
jne 0x371925fd
and dword [ebp + 0xc], eax
cmp dword [ebp + 0x14], eax
jle 0x371925fd
cmp dword [ebp + 0xc], edi
je 0x371925ef
push str.separator
push dword [ebx]
call dword [sym.imp.MSVCRT.dll__stricmp]
pop ecx
test eax, eax
pop ecx
je 0x371925ef
push 1
mov ecx, esi
push dword [ebx]
call fcn.37192869
inc dword [ebp + 0xc]
add ebx, 4
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x14]
jl 0x371925cc
push dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, esi
push dword [eax]
call fcn.37192869
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10