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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.0040519c
xor eax, eax
push ebp
push 0x4c541a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004c5314
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.004c52cc
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.004c5274
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x4c53e4
movzx ebx, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c5421
lea eax, [ebp - 4]
call fcn.00404d1c
ret
Function at 0x4c60b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c629a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x4c6256
mov eax, dword [ebp - 4]
call fcn.004c7a88
cmp ebx, eax
jge 0x4c6256
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.004bce0c
mov edx, dword [0x4be1fc]
call fcn.00403fcc
mov esi, eax
mov eax, esi
call fcn.004bf0c0
test al, al
je 0x4c624c
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x4c6240
xor eax, eax
push ebp
push 0x4c6239
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004c666c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041cad0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.0040543c
mov eax, dword [ebp - 8]
call fcn.0040520c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx eax, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004c6430
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
movzx edx, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6284
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x4c6238
mov eax, dword [ebp - 4]
call fcn.004c66f0
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0040a95c
jmp 0x4c6284
mov eax, dword [ebp - 8]
call fcn.00404d1c
jmp 0x4c6284
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.00409d30
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x417788]
call fcn.0040d9b4
call fcn.00404690
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c62a1
lea eax, [ebp - 0x54]
call fcn.00404d1c
ret
Function at 0x4cc930
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
movzx ebx, bl
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
movzx edx, dl
movzx eax, al
add eax, eax
add eax, eax
add eax, eax
lea eax, [eax*8 + 0x4dd664]
movzx eax, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x4cc968
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x4cc980
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4cc979
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403730
xor edx, edx
mov eax, 0x4dd864
movzx ebx, byte [eax]
mov ecx, ebx
and cl, 7
movzx ecx, cl
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
movzx ecx, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x4cc9e7
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x4cc99e
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4ccc28
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x4ccc41
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x4ccc3a
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x4ccc53
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x4ccc4c
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.004cc820
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4ccc6d
movzx eax, byte [ebp - 0xa]
movzx edx, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 9]
movzx ecx, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
add edx, edx
add edx, edx
movzx eax, byte [ebp - 8]
movzx ecx, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
movzx eax, byte [ebp - 7]
movzx edx, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
movzx edx, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
movzx eax, byte [ebp - 6]
and al, 0xf
add eax, eax
add eax, eax
movzx edx, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
movzx eax, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
movzx edx, byte [esi]
call fcn.004cc930
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x4cccf5
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
movzx ecx, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x4ccd13
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.004cc8b0
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4ccd3d
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ccd54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x4ccd6d
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x4ccd66
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x4ccd81
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004cc720
test bl, bl
jne 0x4cce5b
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x4e3074
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4ccdb9
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4ccdce
push 0x63
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004ccc28
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
movzx ebx, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x4cce01
add dword [ebp - 0x14], 0x64
dec dword [ebp - 8]
jne 0x4ccdae
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4cce25
mov eax, 4
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x4cce37
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx ebx, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x4cce4c
jmp 0x4ccf1c
cmp bl, 1
jne 0x4ccf1c
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x4e3650
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x4cce7b
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
movzx ecx, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x4cce90
push 0x63
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004ccc28
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
movzx ecx, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x4ccec3
sub ebx, 0x64
inc dword [ebp - 8]
jne 0x4cce70
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
movzx ecx, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x4cceeb
mov eax, 4
mov ebx, dword [ebp + 0xc]
movzx edx, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x4ccefd
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x4ccf12
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.004cc7a0
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x402e00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push edi
mov dword [esi + 0xdc], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xe0], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x44], eax
mov al, byte [esp + 0x24]
mov dword [esi + 0x48], ecx
xor cl, cl
test al, al
mov dword [esi + 0x40], edx
mov byte [esi + 0x4c], al
mov byte [esp + 0xc], cl
jbe 0x402e64
mov eax, dword [esp + 0xc]
and eax, 0xff
inc cl
mov byte [esp + 0xc], cl
mov edx, dword [esp + eax*8 + 0x28]
mov dword [esi + eax*8 + 0x50], edx
mov edx, dword [esp + eax*8 + 0x2c]
mov dword [esi + eax*8 + 0x54], edx
mov al, byte [esi + 0x4c]
cmp cl, al
jb 0x402e3e
mov eax, dword [esi + 0x48]
mov ecx, dword [esp + 0x14]
inc eax
cmp ecx, eax
jae 0x402e78
mov dword [esi + 0x104], ecx
jmp 0x402e7e
mov dword [esi + 0x104], eax
mov edi, dword [esi + 0x104]
mov ecx, dword [esi + 0x11c]
mov eax, edi
xor edx, edx
div ecx
mov dword [esi + 0x108], edi
test edx, edx
je 0x402eaa
mov eax, edi
xor edx, edx
div ecx
inc eax
imul eax, ecx
mov dword [esi + 0x104], eax
mov eax, dword [esi + 0x44]
xor edx, edx
div ecx
imul eax, ecx
cmp dword [esi + 0xd4], eax
jae 0x402ec2
mov dword [esi + 0xd4], eax
mov eax, dword [esi + 0x104]
mov edi, 1
cmp eax, 0x100000
mov dword [esi + 0x10c], edi
ja 0x402ee2
mov dword [esi + 0xd8], edi
jmp 0x402f4b
cmp eax, 0x200000
ja 0x402ef5
mov dword [esi + 0xd8], 2
jmp 0x402f4b
cmp eax, 0x400000
ja 0x402f08
mov dword [esi + 0xd8], 4
jmp 0x402f4b
cmp eax, 0x800000
ja 0x402f1b
mov dword [esi + 0xd8], 8
jmp 0x402f4b
cmp eax, 0x1000000
ja 0x402f2e
mov dword [esi + 0xd8], 0x10
jmp 0x402f4b
cmp eax, 0x2000000
ja 0x402f41
mov dword [esi + 0xd8], 0x20
jmp 0x402f4b
mov dword [esi + 0xd8], 0x40
mov eax, dword [esi + 0x124]
test eax, eax
jne 0x402f6b
mov ecx, esi
call fcn.00403d40
mov eax, dword [esi + 0x20]
push edi
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
pop edi
pop esi
ret 0x9c

Function at 0x405d80
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x40c190
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [0x413e28]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x40c1e3
push str.PRf48PInfFile
push 0x838
push 0
push 4
push 0
push 0xffffffffffffffff
call esi
test eax, eax
mov dword [0x413e28], eax
jne 0x40c1d0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret
push 0x838
push 0
push 0
push 6
push eax
call edi
mov dword [0x413d34], eax
mov eax, dword [0x413e24]
test eax, eax
jne 0x40c22d
push str.PRf48PBufFile
push 0x1000000
push 0
push 4
push 0
push 0xffffffffffffffff
call esi
test eax, eax
mov dword [0x413e24], eax
jne 0x40c215
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret
push 0x1000000
push 0
push 0
push 6
push eax
call edi
mov dword [0x413d3c], eax
mov dword [0x413d38], eax
pop edi
mov eax, 1
pop esi
ret
Function at 0x10043ba0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1011c92b
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.1010fc68
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10043c22
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1010cb44
mov eax, dword [eax]
push 0x102a8cec
push eax
call fcn.100fd8a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1010fef3
test bl, bl
je 0x10043c22
push 0x102a8cec
lea ecx, [esp + 0xc]
call fcn.10110283
push 0x102a8cf8
lea ecx, [esp + 0xc]
call fcn.10110283
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 0x10043c5e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1010fef3
jmp 0x10043d29
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 0x10043ce2
lea edx, [esp + 0x7c]
push 0x102a8cf4
push edx
call fcn.100fd8a4
add esp, 8
test eax, eax
je 0x10043ce2
lea eax, [esp + 0x7c]
push 0x102a8cf0
push eax
call fcn.100fd8a4
add esp, 8
test eax, eax
je 0x10043ce2
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 0x10043c72
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.1010fef3
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 0x10044540
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1011c9ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x102c06f8]
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 0x10044678
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x100445a6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1010fef3
xor eax, eax
jmp 0x100446ef
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.10110030
push esi
lea ecx, [esp + 0xc]
call fcn.101102bf
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x102a8d2c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x100446cd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x102a8d24
push accept
call fcn.100d3200
test eax, eax
jne 0x100446cd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x102a8d10
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.100d3200
test eax, eax
jne 0x100446cd
lea eax, [esp + 0x14]
push 0x102a8d08
push eax
call fcn.100fe940
mov esi, eax
add esp, 8
test esi, esi
jne 0x100446ac
lea ecx, [esp + 0x14]
push 0x102a8d04
push ecx
call fcn.100fe8c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x100446ac
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x100446af
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1010ffe0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x100445be
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1010fef3
xor eax, eax
jmp 0x100446ef
mov byte [esi], 0
push 0x102a8d00
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.1010fef3
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 0x1004a400
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1011d1b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.101114df
xor ebp, ebp
mov dword [esi], 0x102894e4
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.100b4400
call fcn.1003ada0
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.1010ee2d
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.1003ada0
mov dword [ebx], 0x10289174
mov dword [edi], 0x102893fc
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], 0x10288a50
lea ecx, [esi + 0xb0]
call fcn.1003ada0
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], 0x102894d8
mov byte [esp + 0x38], 5
mov dword [esi], 0x10289404
mov dword [esi + 0xac], ebp
call fcn.1011a790
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.10116d2e
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x1004a5b0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x1011d245
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x10289404
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 4
call fcn.10116d85
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x102888b8
call fcn.1003afa0
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x18], 5
call fcn.10116d85
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x102888b8
call fcn.1003afa0
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.1010ee60
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x102888b8
call fcn.1003afa0
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.10118895
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1005a560
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 0x1005a5ce
cmp si, 0x69
ja 0x1005a5ce
add esi, 0xffd0
cmp si, 0x11
je 0x1005a59e
push 0x11
call edi
test ax, ax
jge 0x1005a59e
or esi, 0x2000
cmp si, 0x10
je 0x1005a5b3
push 0x10
call edi
test ax, ax
jge 0x1005a5b3
or esi, 0x4000
cmp si, 0x12
je 0x1005a5c8
push 0x12
call edi
test ax, ax
jge 0x1005a5c8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1005a5db
mov esi, 0xbd
jmp 0x1005a58f
cmp si, 0x6e
jne 0x1005a5e8
mov esi, 0xbe
jmp 0x1005a58f
cmp si, 0x6f
jne 0x1005a589
mov esi, 0xbf
jmp 0x1005a58f

Function at 0x1005bde0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x102d10c0]
xor edx, edx
cmp eax, edx
jne 0x1005be06
xor eax, eax
mov byte [eax + 0x102d0fc0], al
inc eax
cmp eax, 0x100
jl 0x1005bdee
mov dword [0x102d10c0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x102d0fc0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1005be97
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 0x1005be6a
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 0x1005be38
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1005bea0
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 0x1005bef3
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 0x1005beda
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