joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e01d8fb
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push 0x2e0061b0
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
test esi, esi
jne 0x2e01d924
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x2e01d924
xor bl, bl
jmp 0x2e01d931
mov bl, 1
test esi, esi
je 0x2e01d931
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov al, bl
pop ebx
ret

Function at 0x2e01db5a
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
sub esp, 0x218
cmp eax, 0xffffffff
jne 0x2e01db9e
push 0x2e006230
lea eax, [ebp - 0x218]
push 0x3d
push eax
call fcn.2e008322
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x2e024d94
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e00c848
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
leave
ret 4

Function at 0x2e01dbac
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
sub esp, 0x218
cmp eax, 0xffffffff
jne 0x2e01dbf0
push 0x2e006230
lea eax, [ebp - 0x218]
push 0x3d
push eax
call fcn.2e008322
add esp, 0xc
push 0x43
pop ecx
mov esi, eax
push 0x2e024d94
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e00c848
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
leave
ret

Function at 0x2e01df99
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x2e02aa50], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x2e01dfdd
call ebx
test eax, eax
jns 0x2e01dfd3
push 0x2e0062dc
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x2e0062d0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x2e02aa4c], eax
mov dword [0x2e02aa50], 1
mov eax, dword [0x2e02aa4c]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x2e01dff9
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x2e01e029
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x2e01e01f
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x2e01e014
push dword [eax + 0xc]
call dword [eax + 8]
jmp 0x2e01e019
push dword [eax + 4]
call dword [eax]
test eax, eax
je 0x2e01e028
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc

Function at 0x2e01e68f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x2e01e6a0
mov eax, dword [eax + 4]
jmp 0x2e01e6a3
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x2e01e6b3
xor al, al
jmp 0x2e01e6b8
shr al, 4
and al, 1
pop ebp
ret 4
Function at 0x2e01e6bc
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x2e01e6d7
mov eax, dword [esi]
jmp 0x2e01e6d9
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x2e01e730
cmp eax, 0x50
je 0x2e01e730
cmp eax, 0xb7
je 0x2e01e730
cmp dword [edi + 0x18], 8
jb 0x2e01e6fc
mov esi, dword [esi]
push esi
push 0x2e0064a8
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.2e016f0a
add esp, 0x10
push 0x43
pop ecx
mov esi, eax
push 0x2e024d94
lea eax, [ebp - 0x10c]
lea edi, [ebp - 0x10c]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.2e00c848
pop edi
pop esi
leave
ret 4
Function at 0x405d7e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x405db0
test dl, 7
je 0x405db0
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43aba0]
inc edx
mov dword [ebp + 0xc], edx
sub esi, 1
jne 0x405d90
cmp esi, 8
jb 0x405e40
push edi
mov edi, esi
shr edi, 3
xor ebx, dword [edx]
sub esi, 8
mov edx, dword [edx + 4]
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x43aba0]
xor ecx, dword [eax*4 + 0x43afa0]
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43b3a0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x43bba0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x43bfa0]
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43c3a0]
movzx eax, dl
mov edx, dword [ebp + 0xc]
add edx, 8
mov dword [ebp + 0xc], edx
xor ecx, dword [eax*4 + 0x43b7a0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x43c7a0]
mov ebx, ecx
sub edi, 1
jne 0x405dbf
pop edi
test esi, esi
je 0x405e5c
movzx ecx, byte [edx]
movzx eax, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x43aba0]
inc edx
sub esi, 1
jne 0x405e44
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
Function at 0x4066bb
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1bc
push ebx
mov ebx, dword [esp + 0x1c8]
push ebp
push esi
push edi
push 0x40
pop edi
cmp ebx, edi
jbe 0x406710
lea eax, [esp + 0x164]
push eax
call fcn.0040ea0b
push ebx
push dword [esp + 0x1d4]
lea eax, [esp + 0x16c]
push eax
call fcn.0040ea51
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x168]
push eax
call fcn.0040e91c
push 0x20
lea eax, [esp + 0x58]
pop ebx
jmp 0x406717
mov eax, dword [esp + 0x1d0]
mov ebp, dword [esp + 0x1e4]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x406742
mov edx, dword [esp + 0x1e8]
cmp byte [edx], 0
je 0x406742
push 0x1a
pop ecx
mov esi, ebp
lea edi, [esp + 0x94]
rep movsd dword es:[edi], dword [esi]
jmp 0x4067a3
xor edx, edx
test ebx, ebx
je 0x406762
mov esi, eax
lea eax, [esp + 0x14]
sub esi, eax
lea ecx, [esp + 0x14]
add ecx, edx
mov al, byte [esi + ecx]
xor al, 0x36
inc edx
mov byte [ecx], al
cmp edx, ebx
jb 0x406750
cmp ebx, edi
jae 0x40677c
mov eax, edi
lea ecx, [esp + 0x14]
sub eax, ebx
add ecx, ebx
push eax
push 0x36
push ecx
call fcn.0041dcb0
add esp, 0xc
lea eax, [esp + 0x94]
push eax
call fcn.0040ea0b
push edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.0040ea51
mov edx, dword [esp + 0x1e8]
test ebp, ebp
je 0x4067bd
cmp byte [edx], 0
jne 0x4067bd
push 0x1a
pop ecx
lea esi, [esp + 0x94]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov byte [edx], 1
push dword [esp + 0x1dc]
lea eax, [esp + 0x98]
push dword [esp + 0x1dc]
push eax
call fcn.0040ea51
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x98]
push eax
call fcn.0040e91c
mov ebp, dword [esp + 0x1ec]
test ebp, ebp
je 0x406811
mov eax, dword [esp + 0x1f0]
cmp byte [eax], 0
je 0x406811
push 0x1a
pop ecx
mov esi, ebp
lea edi, [esp + 0xfc]
rep movsd dword es:[edi], dword [esi]
jmp 0x406877
test ebx, ebx
je 0x406833
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
sub edx, eax
xor esi, esi
lea ecx, [esp + 0x14]
add ecx, esi
mov al, byte [edx + ecx]
xor al, 0x5c
inc esi
mov byte [ecx], al
cmp esi, ebx
jb 0x406821
cmp ebx, 0x40
jae 0x40684f
push 0x40
pop eax
sub eax, ebx
lea ecx, [esp + 0x14]
push eax
add ecx, ebx
push 0x5c
push ecx
call fcn.0041dcb0
add esp, 0xc
lea eax, [esp + 0xfc]
push eax
call fcn.0040ea0b
push 0x40
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.0040ea51
mov eax, dword [esp + 0x1f0]
test ebp, ebp
je 0x406891
cmp byte [eax], 0
jne 0x406891
push 0x1a
pop ecx
lea esi, [esp + 0xfc]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov byte [eax], 1
push 0x20
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x104]
push eax
call fcn.0040ea51
push dword [esp + 0x1e0]
lea eax, [esp + 0x100]
push eax
call fcn.0040e91c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1bc
ret 0x24
Function at 0x40d8bb
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov edx, ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
lea eax, [edx + 0x18]
mov dword [esp + 0x14], eax
movups xmm2, xmmword [edx + 8]
test esi, esi
je 0x40d93a
mov ecx, dword [esp + 0xc]
mov eax, ecx
add ecx, 0x10
mov dword [esp + 0xc], ecx
mov ecx, dword [edx + 4]
movups xmm3, xmmword [eax]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x14]
dec ecx
movups xmm1, xmmword [eax]
pxor xmm1, xmm3
test ecx, ecx
jle 0x40d917
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x14]
movups xmm0, xmmword [eax]
dec ecx
lea eax, [eax - 0x10]
aesdec xmm1, xmm0
test ecx, ecx
jg 0x40d907
cmp byte [edx + 1], 0
movups xmm0, xmmword [edx + 0x18]
aesdeclast xmm1, xmm0
je 0x40d92a
pxor xmm1, xmm2
mov eax, edi
movaps xmm2, xmm3
add edi, 0x10
movups xmmword [eax], xmm1
sub esi, 1
jne 0x40d8d6
pop edi
movups xmmword [edx + 8], xmm2
pop esi
ret 0xc

Function at 0x40dd49
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x441e60]
test eax, eax
jne 0x40dd64
mov ecx, 0x441e58
call fcn.0040dcca
mov eax, dword [0x441e60]
push esi
mov esi, dword [ebp + 0xc]
xor edx, edx
mov ecx, esi
and ecx, 0xfffffff0
cmp byte [ebp + 0x14], dl
setne dl
cmp byte [ebp + 0x10], 0
je 0x40ddae
test eax, eax
je 0x40ddc9
push edx
push ecx
push dword [ebp + 8]
call eax
test eax, eax
jne 0x40ddee
push 0x430688
mov esi, 0x43cbe8
push esi
call fcn.00406ca2
pop ecx
pop ecx
mov ecx, esi
call fcn.0041daee
push 2
mov ecx, esi
call fcn.00406c9d
jmp 0x40ddee
mov eax, dword [0x441e64]
test eax, eax
je 0x40ddc9
push edx
push ecx
push dword [ebp + 8]
call eax
test eax, eax
jne 0x40ddee
push 0x4306bc
jmp 0x40dd8f
push ebx
call dword [0x43008c]
xor edx, edx
mov ebx, eax
test esi, esi
je 0x40dded
push edi
mov edi, dword [ebp + 8]
add bl, 0x4b
lea ecx, [edx + edi]
lea eax, [edx + ebx]
xor byte [ecx], al
inc edx
cmp edx, esi
jb 0x40dddf
pop edi
pop ebx
pop esi
pop ebp
ret 0x10

Function at 0x40ea0b
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret 4
Function at 0x4eaad4
Capabilities:
Encode data using xor

Disassembly:
mov dword [0xb79124db], edi
aad 0xc2
sub dword [eax + ecx], edx
invalid

Function at 0x50fed5
Capabilities:
Encode data using xor

Disassembly:
inc edi
push 0x27db9826
add byte [esi - 0x534f167d], dh
ret 0x593a
fcom dword [ecx]
jbe 0x50fe6b
adc eax, 0xf71959cb
imul edx, dword [ebx - 0x14], 0xac738ca0
jnp 0x50ff37
je 0x50feb3
fistp word [ebx]
pop ecx
fsub dword [ebx + 0xe]
xor edx, ecx
enter 0x1b6c, 0x2e
add bl, byte [ecx + eax*8 - 9]
sub al, 0x3e
add esp, ecx
invalid
mov cl, 9
shr dh, cl
int1
or byte [ebx + 0x141b55d0], bl
insd dword es:[edi], dx
les edi, [edx - 0x1e]
mov cl, 0xf2
std
ror byte [edi - 0x56], cl
inc ebp
sub eax, 0x37113a3
or al, 0x56
mov ebx, 0x5099eed7
aam 0xd
mov ah, byte [ebp]
xchg ebp, ebp
call [0xc646ef93]
insb byte es:[edi], dx
invalid

Function at 0x409986
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409986
lcall 0x5de5, 0x8b10c483
jmp fcn.00781ad0
Function at 0x100d8bd
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001dd8
call fcn.0100db6c
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x100d8f8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100d8f8
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100d910
cmp eax, 0x20b
je 0x100d8fd
mov dword [ebp - 0x1c], edi
jmp 0x100d924
cmp dword [ecx + 0x84], 0xe
jbe 0x100d8f8
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x100d91e
cmp dword [ecx + 0x74], 0xe
jbe 0x100d8f8
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x10100c4], 0xffffffff
or dword [0x10100c8], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x10100bc]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x10100b8]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x10100cc], eax
call fcn.0100db64
cmp dword [0x1010090], edi
jne 0x100d97f
push fcn.0100db64
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.0100db4d
push 0x1010010
push 0x101000c
call sub.msvcrt.dll__initterm
mov eax, dword [0x10100b4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x10100b0]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___wgetmainargs]
mov dword [ebp - 0x34], eax
push 0x1010008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___winitenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.010078d0
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x100d9f6
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x100da2b
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0100dba7
ret
Function at 0x48c2d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5424db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00531b27
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x48c352
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0052e6a4
mov eax, dword [eax]
push 0x91ce54
push eax
call fcn.0051f094
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00531db2
test bl, bl
je 0x48c352
push 0x91ce54
lea ecx, [esp + 0xc]
call fcn.0053218e
push 0x91ce60
lea ecx, [esp + 0xc]
call fcn.0053218e
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x48c38e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00531db2
jmp 0x48c459
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x48c412
lea edx, [esp + 0x7c]
push 0x91ce5c
push edx
call fcn.0051f094
add esp, 8
test eax, eax
je 0x48c412
lea eax, [esp + 0x7c]
push 0x91ce58
push eax
call fcn.0051f094
add esp, 8
test eax, eax
je 0x48c412
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x48c3a2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00531db2
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x48cc50
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x48ccb2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x48ccc0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x54255b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x929620]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x48cdf8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x48cd26
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00531db2
xor eax, eax
jmp 0x48ce6f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00531f3b
push esi
lea ecx, [esp + 0xc]
call fcn.005321ca
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x48ce4d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.0048cc50
test eax, eax
jne 0x48ce4d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocStringLen
mov ecx, edi
call fcn.0048cc50
test eax, eax
jne 0x48ce4d
lea eax, [esp + 0x14]
push 0x91ce70
push eax
call fcn.00520280
mov esi, eax
add esp, 8
test esi, esi
jne 0x48ce2c
lea ecx, [esp + 0x14]
push 0x91ce6c
push ecx
call fcn.00520200
mov esi, eax
add esp, 8
test esi, esi
jne 0x48ce2c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x48ce2f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00531eeb
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x48cd3e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00531db2
xor eax, eax
jmp 0x48ce6f
mov byte [esi], 0
push 0x91ce68
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00531db2
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4a14a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4a150e
cmp si, 0x69
ja 0x4a150e
add esi, 0xffd0
cmp si, 0x11
je 0x4a14de
push 0x11
call edi
test ax, ax
jge 0x4a14de
or esi, 0x2000
cmp si, 0x10
je 0x4a14f3
push 0x10
call edi
test ax, ax
jge 0x4a14f3
or esi, 0x4000
cmp si, 0x12
je 0x4a1508
push 0x12
call edi
test ax, ax
jge 0x4a1508
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4a151b
mov esi, 0xbd
jmp 0x4a14cf
cmp si, 0x6e
jne 0x4a1528
mov esi, 0xbe
jmp 0x4a14cf
cmp si, 0x6f
jne 0x4a14c9
mov esi, 0xbf
jmp 0x4a14cf

Function at 0x4a2e90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x93a7d0]
xor edx, edx
cmp eax, edx
jne 0x4a2eb6
xor eax, eax
mov byte [eax + 0x93a6d0], al
inc eax
cmp eax, 0x100
jl 0x4a2e9e
mov dword [0x93a7d0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x93a6d0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4a2f47
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4a2f1a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4a2ee8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4a2fc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4a3013
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4a2ffa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aa2d0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4aa468
cmp ebp, ebx
jle 0x4aa468
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x4aa32e
dec eax
or eax, 0xfffffff8
inc eax
je 0x4aa335
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x4aa344
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4aa34b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00531af3
add esp, 4
cmp eax, ebx
je 0x4aa36c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00531af3
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4aa45e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x4aa445
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4aa431
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4aa426
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4aa434
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4aa434
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4aa3d0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x4aa3c1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret