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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov word [ebp - 4], 0xe0da
xor ecx, ecx
mov byte [ebp - 2], 0xd4
mov al, byte [ebp + ecx - 4]
sub al, 0x6d
mov byte [ebp + ecx - 8], al
inc ecx
cmp ecx, 3
jl 0x41b1db
mov byte [ebp - 5], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0xa4a1afac
mov dword [ebp - 0x10], 0xafa3b2a5
mov word [ebp - 0xc], 0xa5a4
mov al, byte [ebp + ecx - 0x14]
xor al, 0xc0
mov byte [ebp + ecx - 0x20], al
inc ecx
cmp ecx, 0xa
jl 0x41b205
imul eax, dword [0x42ca60], 0xded8
lea edx, [ebp - 0x20]
push esi
lea ecx, [ebp - 8]
mov byte [ebp - 0x16], 0
mov word [0x42ca74], ax
movzx eax, byte [0x42ca72]
or eax, 0xa0bb54a4
mov dword [0x42ca60], eax
call fcn.0041d967
mov cl, byte [0x42ca6a]
mov esi, eax
and dword [0x42ca60], 0xfe4d8143
sub cl, 0xa
mov byte [0x42ca72], cl
test esi, esi
je 0x41b3bc
and cl, 0xaf
movzx eax, cl
mov ecx, 0x1634
add ax, cx
mov word [0x42ca74], ax
add al, 0x49
mov byte [0x42ca72], al
add al, 0x1a
mov byte [0x42ca6a], al
lea eax, [ebp - 4]
push ebx
push eax
push esi
call fcn.00405b40
pop ecx
mov edx, eax
mov ecx, esi
call fcn.0040f780
mov ebx, eax
mov al, byte [0x42ca72]
mov dl, al
and dl, 0xb0
pop ecx
test ebx, ebx
je 0x41b39e
movzx ecx, word [0x42ca74]
or al, 0x1c
mov byte [0x42ca72], al
add ecx, 0x538be79d
movzx eax, dl
imul eax, eax, 0xc5
push edi
mov dword [ebp - 0x14], ebx
mov byte [0x42ca6a], al
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, ecx
and eax, 0x1bc3
mov word [0x42ca74], ax
imul eax, ecx, 0x8832979a
xor ecx, ecx
push ecx
push ecx
mov dword [0x42ca60], eax
lea eax, [ebp - 0x14]
push eax
push 0x41b3bf
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dl, byte [0x42ca6a]
mov edi, eax
add dl, 2
mov byte [0x42ca6a], dl
test edi, edi
je 0x41b37c
mov cx, word [0x42ca74]
push 0xffffffffffffffff
push edi
lea eax, [ecx - 0x3d]
or al, 0x14
mov byte [0x42ca72], al
mov eax, 0xf8eb
xor cx, ax
movzx eax, dl
and eax, 0x2386c551
mov word [0x42ca74], cx
mov dword [0x42ca60], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, byte [0x42ca74]
or byte [0x42ca72], 0xc5
shl al, 6
xor al, 0x30
push edi
mov byte [0x42ca6a], al
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dl, byte [0x42ca6a]
movzx eax, dl
add eax, 0xf0d2ccf4
mov dword [0x42ca60], eax
or al, 0x46
push ebx
mov byte [0x42ca6a], al
call fcn.004056f0
mov dl, byte [0x42ca6a]
pop ecx
pop edi
add dl, 0xf2
movzx eax, dl
and eax, 0xe68a66f0
mov byte [0x42ca6a], dl
push esi
mov dword [0x42ca60], eax
call fcn.004056f0
pop ecx
pop ebx
pop esi
leave
ret
Function at 0x41cd87
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
xor ebx, ebx
mov dword [esp + 0xc], 0xbfb1b5ae
push edi
mov ebp, edx
mov byte [esp + 0x14], 0xb4
mov edi, ecx
mov esi, ebx
mov al, byte [esp + esi + 0x10]
xor al, 0xda
mov byte [esp + esi + 0x18], al
inc esi
cmp esi, 5
jl 0x41cda3
mov eax, dword [0x42cb48]
xor ecx, ecx
add eax, 0xf9af851f
mov byte [esp + 0x1d], bl
xor eax, 0x8f8be7ac
mov esi, 0x42e0fc
mov dword [0x42cb48], eax
mov edx, 0x9e7f4339
imul eax, eax, 0xdddcd018
inc ecx
push esi
xor eax, 0x5224d9b5
mov dword [0x42caac], eax
call fcn.00415333
call eax
push eax
push esi
lea edx, [esp + 0x20]
mov ecx, edi
call fcn.0041d179
pop ecx
pop ecx
test al, al
je 0x41ce2c
mov eax, dword [0x42cb48]
mov edx, ebp
push dword [esp + 0x24]
sub eax, 0x525b9da6
mov ecx, edi
mov dword [0x42cb48], eax
or eax, 0x132c47e9
mov dword [0x42caac], eax
call fcn.0041ce48
pop ecx
mov bl, al
mov ecx, dword [0x42caac]
mov al, bl
pop edi
pop esi
or ecx, 0xbe502a21
pop ebp
mov dword [0x42cb48], ecx
pop ebx
add esp, 0x10
ret

Function at 0x41cfbe
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x1c
push ebx
mov bl, byte [0x42cb14]
xor bh, bh
movzx eax, bl
add bl, 0xeb
add eax, 0x469d
mov dword [esp + 8], edx
xor eax, 0xf17f
mov byte [0x42cb14], bl
or eax, 0x503d
lea edx, [esp + 4]
sub eax, 0x3f5d
push ebp
mov ebp, ecx
mov word [0x42cb1c], ax
movzx eax, bl
mov ecx, 0x9624
xor ax, cx
mov ecx, dword [esp + 0x2c]
push esi
push edi
mov word [0x42cb3c], ax
call fcn.00423df5
mov dl, byte [0x42cb3c]
mov edi, eax
mov si, word [0x42cb1c]
mov eax, 0x8acd
and dl, 0xe2
xor ax, si
mov byte [0x42cb14], dl
mov word [0x42cb3c], ax
test edi, edi
je 0x41d15e
mov dword [esp + 0x18], 0x767f7a75
xor ecx, ecx
mov dword [esp + 0x1c], 0x767e727d
mov al, byte [esp + ecx + 0x18]
xor al, 0x13
mov byte [esp + ecx + 0x20], al
inc ecx
cmp ecx, 8
jl 0x41d057
push dword [esp + 0x10]
add dl, 0x2b
mov byte [esp + 0x2c], 0
or dl, 0x30
mov eax, 0x598
add si, ax
mov byte [0x42cb14], dl
movzx eax, dl
mov ecx, 0xfd72
sub ax, 0x70
mov word [0x42cb1c], si
or ax, cx
lea edx, [esp + 0x24]
push edi
mov ecx, ebp
mov word [0x42cb3c], ax
call fcn.0041d179
movzx edx, word [0x42cb3c]
mov bh, al
mov eax, 0x3c7d
and dx, ax
mov word [0x42cb1c], dx
pop ecx
pop ecx
lea ecx, [edx - 0xa34]
mov word [0x42cb3c], cx
test bh, bh
je 0x41d12d
mov dword [esp + 0x10], 0xfbf2f7f8
xor ecx, ecx
mov al, byte [esp + ecx + 0x10]
xor al, 0x9e
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 4
jl 0x41d0e1
push dword [esp + 0x30]
mov eax, 0x74df
mov byte [esp + 0x20], 0
push dword [esp + 0x18]
and dx, ax
mov ecx, ebp
movzx eax, byte [0x42cb14]
imul eax, eax, 0x12
mov word [0x42cb3c], dx
lea edx, [esp + 0x20]
or al, 0x7d
mov byte [0x42cb14], al
call fcn.0041d179
pop ecx
pop ecx
mov bh, al
movzx eax, byte [0x42cb14]
imul eax, eax, 0xa0
push edi
movzx ecx, al
mov byte [0x42cb14], al
mov eax, 0xb99b
imul ecx, eax
mov word [0x42cb1c], cx
call fcn.004056f0
mov dl, byte [0x42cb14]
pop ecx
pop edi
movzx eax, dl
mov ecx, 0xdc31
and ax, cx
pop esi
mov word [0x42cb1c], ax
mov al, bh
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4212c2
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x18
movaps xmm0, xmmword [0x429f40]
push ebx
push ebp
push esi
mov esi, 0x80000000
mov byte [0x42cbe3], 0x18
push edi
mov edi, ecx
lea ebp, [esp + 0x18]
movups xmmword [esp + 0x18], xmm0
xor ecx, ecx
mov eax, esi
cpuid
mov dword [ebp], eax
mov eax, 0x951c
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], eax
mov word [0x42cbec], ax
cmp ebp, esi
jb 0x4213ef
xor ecx, ecx
lea ebp, [esp + 0x18]
mov eax, esi
cpuid
mov dword [ebp], eax
mov eax, ebp
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x10]
sub al, 0x2c
movzx ecx, al
mov eax, 0x4747
and cx, ax
mov eax, 0x960b
movzx ecx, cx
imul ecx, eax
movzx eax, cx
mov dword [esp + 0x10], ecx
mov word [0x42cbec], cx
cmp esi, 0x80000002
jne 0x4213f7
add eax, 0xffffd099
movzx eax, ax
mov word [0x42cbec], ax
sub al, 0x38
mov byte [0x42cbe3], al
mov eax, ebp
push 0x10
push eax
push edi
call fcn.00401d70
movzx ecx, word [0x42cbec]
add esp, 0xc
mov dword [esp + 0x10], ecx
mov al, cl
and al, 0x63
mov byte [0x42cbe3], al
cmp esi, 0x80000004
jne 0x4213e4
xor al, 0xec
mov ecx, 0x33b3
movzx eax, al
imul eax, eax, 0xea
push 0x10
mov byte [0x42cbe3], al
movzx eax, al
add ax, cx
mov word [0x42cbec], ax
lea eax, [esp + 0x1c]
push eax
lea eax, [edi + 0x20]
push eax
call fcn.00401d70
movzx eax, word [0x42cbec]
add esp, 0xc
mov dword [esp + 0x10], eax
inc esi
cmp esi, dword [esp + 0x14]
jbe 0x421318
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
cmp esi, 0x80000003
jne 0x421394
movzx eax, cl
imul eax, eax, 0xd
push 0x10
and al, 0xcf
movzx eax, al
imul eax, eax, 0x4c
movzx ecx, al
mov byte [0x42cbe3], al
mov eax, 0xe31b
imul ecx, eax
mov eax, 0xc96c
or cx, ax
lea eax, [esp + 0x1c]
push eax
mov word [0x42cbec], cx
lea eax, [edi + 0x10]
jmp 0x4213d0
Function at 0x4229d5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], 0x30e0d26
mov edx, ecx
mov dword [ebp - 8], 0x443d0d00
push esi
mov word [ebp - 4], 0x4412
mov ecx, ebx
mov byte [ebp - 2], 0x19
mov al, byte [ebp + ecx - 0xc]
xor al, 0x61
mov byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 0xb
jl 0x4229fe
movzx eax, byte [0x42cc24]
mov cl, 0xed
imul eax, eax, 0x57
mov esi, 0xed08
push 0xffffffffffffffff
push edx
mov edx, 0x534fbfb6
mov byte [ebp - 0xd], bl
sub cl, al
movzx eax, byte [0x42cc10]
and ax, si
mov byte [0x42cca1], cl
mov word [0x42cc24], ax
xor ecx, ecx
movzx eax, byte [0x42cc10]
sub eax, 0x48474b55
mov dword [0x42cc94], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x11c]
push 0x104
push eax
call fcn.00415333
call eax
mov ax, word [0x42cc24]
mov ecx, 0x118b
add ax, cx
add esp, 0x14
mov word [0x42cc24], ax
xor ecx, ecx
movzx eax, ax
mov edx, 0xd6eb6ff1
and eax, 0x6fa6aa83
inc ecx
mov dword [0x42cc94], eax
lea eax, [ebp - 0x11c]
push eax
push ebx
push ebx
call fcn.00415333
call eax
movzx edx, byte [0x42cc10]
mov esi, eax
mov cl, byte [0x42cc94]
mov eax, 0xdc15
or dx, ax
or cl, 0x1c
movzx ebx, dx
mov word [0x42cc24], dx
mov byte [0x42cc10], cl
test esi, esi
je 0x422b5b
mov al, byte [0x42cca1]
xor ecx, ecx
sub al, 0x5e
xor bl, 0x68
movzx eax, al
mov edx, 0x1c168a16
or eax, 0x8df01c69
mov byte [0x42cc10], bl
inc ecx
mov dword [0x42cc94], eax
call fcn.00415333
call eax
cmp eax, 0xb7
je 0x422b21
imul eax, dword [0x42cc94], 0x7e6e
mov word [0x42cc24], ax
mov eax, esi
jmp 0x422b6a
movzx eax, byte [0x42cc10]
xor ecx, ecx
imul eax, eax, 0xd6
mov edx, 0x251af175
push esi
inc ecx
mov byte [0x42cc10], al
movzx eax, byte [0x42cca1]
or eax, 0x6336d94f
mov dword [0x42cc94], eax
call fcn.00415333
call eax
mov dx, word [0x42cc24]
movzx eax, dx
xor eax, 0x9c619a31
mov dword [0x42cc94], eax
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x422b6e
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc0
push ebx
push ebp
push edi
xor edi, edi
mov dword [esp + 0xc], 0x74737271
mov ebp, ecx
mov dword [esp + 0x10], 0x78777675
mov ebx, edx
mov dword [esp + 0x14], 0x7c7b7a79
mov dword [esp + 0x18], 0x607f7e7d
mov ecx, edi
mov dword [esp + 0x1c], 0x64636261
mov dword [esp + 0x20], 0x68676665
mov dword [esp + 0x24], 0x52516a69
mov dword [esp + 0x28], 0x56555453
mov dword [esp + 0x2c], 0x5a595857
mov dword [esp + 0x30], 0x5e5d5c5b
mov dword [esp + 0x34], 0x4241405f
mov dword [esp + 0x38], 0x46454443
mov dword [esp + 0x3c], 0x4a494847
mov dword [esp + 0x40], 0x23222120
mov dword [esp + 0x44], 0x27262524
mov word [esp + 0x48], 0x2928
mov al, byte [esp + ecx + 0xc]
xor al, 0x10
movzx eax, al
mov word [esp + ecx*2 + 0x4c], ax
inc ecx
cmp ecx, 0x3e
jl 0x422bfe
xor eax, eax
mov word [esp + 0xc8], ax
mov eax, dword [0x42cc5c]
add eax, 0x9217c05b
push edi
mov dword [0x42cc78], eax
call fcn.00405e33
push eax
call fcn.00405e21
mov eax, dword [0x42cc5c]
or eax, 0x55b558d8
mov dword [0x42cc68], eax
pop ecx
pop ecx
test ebx, ebx
je 0x422cb5
push esi
movzx eax, byte [0x42cccd]
imul eax, eax, 0x91
mov byte [0x42cccd], al
movzx ecx, al
movzx eax, al
and eax, 0xc936d0c9
mov dword [0x42cc5c], eax
lea eax, [ecx - 0x276c46a5]
mov dword [0x42cc78], eax
imul eax, ecx, 0x6bffb091
sub eax, 0x1a407375
mov dword [0x42cc68], eax
lea eax, [esp + 0x50]
push eax
call fcn.0040581e
pop ecx
mov esi, eax
call fcn.00405e00
xor edx, edx
div esi
mov ax, word [esp + edx*2 + 0x50]
mov word [ebp + edi*2], ax
inc edi
cmp edi, ebx
jb 0x422c4d
mov eax, dword [0x42cc68]
pop esi
add eax, 0xea17a5fb
mov dword [0x42cc78], eax
xor eax, eax
pop edi
mov word [ebp + ebx*2], ax
pop ebp
pop ebx
add esp, 0xc0
ret
Function at 0x42300e
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 0x40], 0x47404142
xor ecx, ecx
mov dword [ebp - 0x3c], 0x4b444546
mov dword [ebp - 0x38], 0x4f48494a
mov dword [ebp - 0x34], 0x534c4d4e
mov dword [ebp - 0x30], 0x57505152
mov dword [ebp - 0x2c], 0x5b545556
mov dword [ebp - 0x28], 0x6162595a
mov dword [ebp - 0x24], 0x65666760
mov dword [ebp - 0x20], 0x696a6b64
mov dword [ebp - 0x1c], 0x6d6e6f68
mov dword [ebp - 0x18], 0x7172736c
mov dword [ebp - 0x14], 0x75767770
mov dword [ebp - 0x10], 0x797a7b74
mov dword [ebp - 0xc], 0x10111213
mov dword [ebp - 8], 0x14151617
mov word [ebp - 4], 0x1a1b
mov al, byte [ebp + ecx - 0x40]
xor al, 0x23
mov byte [ebp + ecx - 0x80], al
inc ecx
cmp ecx, 0x3e
jl 0x423088
movzx ecx, word [0x42cc48]
mov eax, 0x7c4a
imul ecx, eax
mov eax, 0x3e2
push esi
push edi
push 0
mov byte [ebp - 0x42], 0
add cx, ax
movzx eax, cx
imul eax, eax, 0x41f1c6a
mov word [0x42cc48], cx
mov dword [0x42ccc8], eax
call fcn.00405e33
push eax
call fcn.00405e21
pop ecx
pop ecx
mov cx, word [0x42cc48]
xor edi, edi
mov eax, 0x520a
or cx, ax
movzx eax, cx
xor eax, 0x8fdb8b6c
mov word [0x42cc48], cx
mov dword [0x42ccc8], eax
lea eax, [ebp - 0x80]
push eax
call fcn.00405b40
pop ecx
mov esi, eax
call fcn.00405e00
xor edx, edx
mov ecx, dword [0x42ccc8]
div esi
add ecx, 0xffffe946
movzx esi, cx
mov word [0x42cc48], cx
mov al, byte [ebp + edx - 0x80]
mov byte [edi + 0x42dfe0], al
inc edi
cmp edi, 0x14
jb 0x4230e2
xor esi, 0xa573936c
mov byte [0x42dff4], 0
pop edi
mov dword [0x42ccc8], esi
pop esi
leave
ret
Function at 0x409470
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4683db
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.0045ca3d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4094f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045a85d
mov eax, dword [eax]
push 0x47e1d0
push eax
call fcn.0044cd14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0045ccc8
test bl, bl
je 0x4094f2
push 0x47e1d0
lea ecx, [esp + 0xc]
call fcn.0045d058
push 0x481d4c
lea ecx, [esp + 0xc]
call fcn.0045d058
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 0x40952e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0045ccc8
jmp 0x4095f9
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 0x4095b2
lea edx, [esp + 0x7c]
push 0x481d48
push edx
call fcn.0044cd14
add esp, 8
test eax, eax
je 0x4095b2
lea eax, [esp + 0x7c]
push 0x481d44
push eax
call fcn.0044cd14
add esp, 8
test eax, eax
je 0x4095b2
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 0x409542
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.0045ccc8
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 0x409df0
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 0x409e52
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 0x409e60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46845b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x488494]
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 0x409f98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x409ec6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045ccc8
xor eax, eax
jmp 0x40a00f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0045ce05
push esi
lea ecx, [esp + 0xc]
call fcn.0045d094
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 0x409fed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00409df0
test eax, eax
jne 0x409fed
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 accept
mov ecx, edi
call fcn.00409df0
test eax, eax
jne 0x409fed
lea eax, [esp + 0x14]
push 0x481d60
push eax
call fcn.0044dd50
mov esi, eax
add esp, 8
test esi, esi
jne 0x409fcc
lea ecx, [esp + 0x14]
push 0x481d5c
push ecx
call fcn.0044dcd0
mov esi, eax
add esp, 8
test esi, esi
jne 0x409fcc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x409fcf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0045cdb5
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409ede
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0045ccc8
xor eax, eax
jmp 0x40a00f
mov byte [esi], 0
push 0x481d58
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.0045ccc8
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 0x41a900
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 0x41a96e
cmp si, 0x69
ja 0x41a96e
add esi, 0xffd0
cmp si, 0x11
je 0x41a93e
push 0x11
call edi
test ax, ax
jge 0x41a93e
or esi, 0x2000
cmp si, 0x10
je 0x41a953
push 0x10
call edi
test ax, ax
jge 0x41a953
or esi, 0x4000
cmp si, 0x12
je 0x41a968
push 0x12
call edi
test ax, ax
jge 0x41a968
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41a97b
mov esi, 0xbd
jmp 0x41a92f
cmp si, 0x6e
jne 0x41a988
mov esi, 0xbe
jmp 0x41a92f
cmp si, 0x6f
jne 0x41a929
mov esi, 0xbf
jmp 0x41a92f

Function at 0x41c020
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x498b88]
xor edx, edx
cmp eax, edx
jne 0x41c046
xor eax, eax
mov byte [eax + 0x498a88], al
inc eax
cmp eax, 0x100
jl 0x41c02e
mov dword [0x498b88], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x498a88
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41c0d7
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 0x41c0aa
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 0x41c078
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41c150
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 0x41c1a3
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 0x41c18a
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 0x422be0
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 0x422d78
cmp ebp, ebx
jle 0x422d78
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x422c3e
dec eax
or eax, 0xfffffff8
inc eax
je 0x422c45
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x422c54
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x422c5b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0045ca09
add esp, 4
cmp eax, ebx
je 0x422c7c
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.0045ca09
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 0x422d6e
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 0x422d55
mov al, byte [edx]
cmp al, 0xc0
jbe 0x422d41
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x422d36
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 0x422d44
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x422d44
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x422ce0
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 0x422cd1
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