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

Disassembly:
mov eax, 0x418858
call fcn.00445400
sub esp, 0x90
push ebx
push esi
mov ebx, 0x42fcbc
push edi
push ebx
call dword [fcn.004190e4]
xor edi, edi
cmp byte [0x42fcdc], 0
mov dword [ebp - 4], edi
jne 0x437042
cmp dword [0x42fcd4], edi
jne 0x437035
push dword [0x42d180]
call dword [fcn.00419518]
push edi
mov dword [0x42fcd4], eax
call dword [fcn.00419508]
mov esi, eax
call dword [fcn.0041952c]
add esi, eax
push esi
call dword [fcn.00419504]
add esp, 0xc
mov esi, 0x80
call dword [fcn.004194f0]
mov byte [ebp + edi - 0x9c], al
inc edi
cmp edi, esi
jl 0x436fdb
mov ecx, dword [0x42fcd8]
lea eax, [ebp - 0x9c]
push esi
push eax
mov eax, dword [0x42fcd4]
add ecx, eax
push ecx
call fcn.00445438
add dword [0x42fcd8], esi
add esp, 0xc
xor eax, eax
xor byte [ebp + eax - 0x9c], 0xbb
inc eax
cmp eax, esi
jl 0x437013
push 0x42fbb0
lea eax, [ebp - 0x9c]
push esi
push eax
call fcn.00439937
add esp, 0xc
mov eax, dword [0x42fcd8]
cmp eax, dword [0x42d180]
jl 0x43704e
push ebx
call dword [fcn.004190e0]
jmp 0x43715a
lea ecx, [ebp - 0x14]
call fcn.00444f78
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
push dword [ebp + 8]
call fcn.004453c8
lea eax, [ebp - 0x1c]
push eax
call fcn.004453c2
mov eax, dword [eax]
push 0x42d184
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.004453bc
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call fcn.00445368
test byte [0x42fba8], 1
mov edi, 0x42fb90
jne 0x4370d5
or byte [0x42fba8], 1
push 0
mov ecx, 0x42fb88
call fcn.004453b6
push edi
mov dword [0x42fb88], 0x41ab90
call dword [fcn.004190c4]
push 0x409575
call fcn.004455e0
pop ecx
push edi
call dword [fcn.004190e4]
mov eax, dword [ebp - 0x10]
mov esi, dword [eax - 8]
mov eax, dword [0x42fcd8]
add eax, esi
cmp eax, dword [0x42d180]
jge 0x437130
lea eax, [esi + 1]
lea ecx, [ebp - 0x10]
push eax
call fcn.0044534a
push 0x42fbb0
push esi
push eax
call fcn.004399a8
add esp, 0xc
lea ecx, [ebp - 0x10]
push 0xffffffffffffffff
call fcn.00445344
mov eax, dword [0x42fcd4]
mov ecx, dword [0x42fcd8]
push esi
add ecx, eax
push dword [ebp - 0x10]
push ecx
call fcn.00445438
add esp, 0xc
add dword [0x42fcd8], esi
mov esi, dword [fcn.004190e0]
push edi
call esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00444f6c
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00444f6c
push ebx
call esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43725b
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4188b7
call fcn.00445400
push ecx
mov al, byte [ebp + 0xb]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi], 0x41abe8
mov dword [ebp - 0x10], esi
mov byte [esi + 0x3c], al
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov al, byte [ebp + 0xb]
mov dword [ebp - 4], ebx
mov byte [esi + 0x4c], al
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov edi, 0x409848
push 0x40b0b8
push edi
push 4
lea eax, [esi + 0x5c]
push 0x10
push eax
mov byte [ebp - 4], 1
call fcn.0044543e
push 0x40b0b8
push edi
push 4
lea eax, [esi + 0x9c]
push 0x10
push eax
mov byte [ebp - 4], 2
call fcn.0044543e
mov al, byte [ebp + 0xb]
lea ecx, [esi + 0xfc]
push ebx
mov byte [ebp - 4], 3
mov byte [ecx], al
call dword [fcn.0041948c]
lea ecx, [esi + 0x11c]
mov byte [ebp - 4], 4
call fcn.00437371
mov eax, dword [ebp + 8]
mov dword [esi], 0x41abb0
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xf0], eax
lea eax, [esi + 0x15c]
push eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xf4], ebx
mov byte [esi + 0xf8], bl
call dword [fcn.004190c4]
or dword [esi + 0x30], 0xffffffff
push 6
lea edi, [esi + 0x10]
pop ecx
xor eax, eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x34], bl
mov dword [esi + 0x110], ebx
mov dword [esi + 0x114], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0x35], bl
rep stosd dword es:[edi], eax
mov eax, esi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x43990a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add ecx, eax
cmp eax, ecx
jae 0x439932
push esi
movzx edx, byte [eax]
movzx esi, byte [ebp + 0x10]
xor edx, esi
inc eax
cmp eax, ecx
mov dl, byte [edx + 0x41ac68]
mov byte [ebp + 0x10], dl
jb 0x43991a
pop esi
mov al, byte [ebp + 0x10]
pop ebp
ret

Function at 0x439937
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
xor edx, edx
xor eax, eax
mov ecx, edi
mov byte [ecx], al
inc eax
inc ecx
cmp ax, 0x100
jl 0x439947
mov byte [edi + 0x100], dl
mov byte [edi + 0x101], dl
xor ebx, ebx
mov dword [ebp + 0x10], edi
mov dword [ebp - 4], 0x100
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
movzx esi, dl
movzx edx, byte [esi + eax]
movzx eax, byte [ecx]
add ebx, edx
add eax, ebx
mov ebx, 0x100
cdq
idiv ebx
movzx ebx, dl
lea eax, [ebx + edi]
push eax
push ecx
call fcn.00439a5d
lea eax, [esi + 1]
pop ecx
cdq
idiv dword [ebp + 0xc]
inc dword [ebp + 0x10]
dec dword [ebp - 4]
pop ecx
jne 0x439969
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4399a8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0x10]
xor edx, edx
cmp dword [ebp + 0xc], edx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
mov dword [ebp - 6], edx
jle 0x439a4e
push ebx
push edi
movzx edi, al
movzx ecx, cl
mov dword [ebp - 0xc], edx
jmp 0x4399dc
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 1]
mov edi, 0x100
cdq
idiv edi
movzx edi, dl
mov byte [ebp + 0x13], dl
lea ebx, [edi + esi]
movzx eax, byte [ebx]
add eax, ecx
mov ecx, 0x100
cdq
idiv ecx
movzx eax, dl
mov dword [ebp - 0x10], eax
add eax, esi
push eax
push ebx
mov byte [ebp - 1], dl
mov dword [ebp - 0x14], eax
call fcn.00439a5d
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ebx]
add ecx, eax
mov eax, dword [ebp - 0x14]
mov ebx, 0x100
movzx eax, byte [eax]
add eax, edx
cdq
idiv ebx
movzx eax, dl
mov al, byte [eax + esi]
xor byte [ecx], al
inc dword [ebp - 6]
movsx eax, word [ebp - 6]
cmp eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
jl 0x4399d9
mov al, byte [ebp + 0x13]
mov cl, byte [ebp - 1]
pop edi
pop ebx
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
leave
ret
Function at 0x43bd96
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.00445600
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x18]
xor eax, eax
push edi
and byte [ebp - 1], al
push eax
push eax
mov edi, 0x42eeb0
push dword [ebp + 0x1c]
mov dword [ebx], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push 3
push edi
mov dword [esi], eax
mov dword [ebp + 0x18], eax
mov dword [ebp - 0x18], 0x42ea20
mov dword [ebp - 0x14], eax
call dword [0x4196a4]
test eax, eax
mov dword [ebp + 0x1c], eax
je 0x43bf14
push 0
push 0x100
push 3
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [0x4196a0]
test eax, eax
mov dword [ebp - 8], eax
je 0x43bf14
xor ecx, ecx
mov eax, 0x42ea18
cmp dword [ebp + 0x24], ecx
jne 0x43be1a
mov eax, 0x42ea14
push ecx
lea edx, [ebp - 0x18]
push 0x4000000
push edx
push ecx
push 0x42ea08
push dword [ebp + 0x10]
push eax
push dword [ebp - 8]
call dword [0x41969c]
mov edi, eax
test edi, edi
mov dword [ebp - 0xc], edi
je 0x43bf14
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push 0
push 0
push edi
call dword [0x419698]
test eax, eax
je 0x43bf14
lea eax, [ebp - 0x10]
push 0
push eax
lea eax, [ebp + 0x18]
push eax
push 0x20000013
push edi
mov dword [ebp - 0x10], 4
call dword [0x419694]
test eax, eax
je 0x43bf14
cmp dword [ebp + 0x18], 0xc8
jne 0x43bf14
lea eax, [ebp + 0x14]
mov dword [esi], 1
and dword [ebx], 0
push eax
lea eax, [ebp - 0x1018]
push 0x1000
push eax
push edi
mov edi, dword [0x4196c4]
jmp 0x43befe
cmp dword [ebp + 0x14], 0
je 0x43bf04
mov eax, dword [esi]
add eax, dword [ebp + 0x14]
push eax
push dword [ebx]
call dword [fcn.004194c8]
pop ecx
mov dword [ebx], eax
test eax, eax
pop ecx
je 0x43bf14
push dword [ebp + 0x14]
lea ecx, [ebp - 0x1018]
push ecx
mov ecx, dword [esi]
lea eax, [ecx + eax - 1]
push eax
call fcn.00445438
mov eax, dword [ebp + 0x14]
add esp, 0xc
add dword [esi], eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x1018]
push 0x1000
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x43beb1
dec dword [esi]
mov esi, dword [esi]
je 0x43bf14
mov eax, dword [ebx]
mov byte [ebp - 1], 1
and byte [esi + eax], 0
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x43bf20
mov ecx, dword [ebp + 0x18]
mov dword [eax], ecx
cmp dword [ebp - 0xc], 0
mov esi, dword [0x4196a8]
je 0x43bf31
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 8], 0
je 0x43bf3c
push dword [ebp - 8]
call esi
cmp dword [ebp + 0x1c], 0
je 0x43bf47
push dword [ebp + 0x1c]
call esi
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43d5e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
xor ebx, ebx
push edi
xor eax, eax
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x43d5ed
mov byte [ebp + 0x100], bl
mov byte [ebp + 0x101], bl
mov byte [esp + 0x20], bl
xor esi, esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
and edi, 0xff
xor ecx, ecx
lea eax, [ebx + ebp]
mov cl, byte [edi + edx]
xor edx, edx
mov dl, byte [eax]
add esi, ecx
add edx, esi
and edx, 0x800000ff
jns 0x43d638
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x10], dl
mov esi, dword [esp + 0x10]
and esi, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
call fcn.0043d790
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x1c]
inc ebx
cmp ebx, 0x100
mov byte [esp + 0x20], dl
jl 0x43d60a
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x43d670
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x18]
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov al, byte [ecx + 0x100]
mov dl, byte [ecx + 0x101]
xor ebp, ebp
mov byte [esp + 8], al
test esi, esi
mov byte [esp + 0xc], dl
jle 0x43d771
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, dword [esp + 0x14]
and esi, 0xff
and edi, 0xff
jmp 0x43d6b7
mov ecx, dword [esp + 0x28]
lea eax, [esi + 1]
and eax, 0x800000ff
jns 0x43d6c8
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x10], al
xor eax, eax
mov esi, dword [esp + 0x10]
and esi, 0xff
mov al, byte [esi + ecx]
lea ebx, [esi + ecx]
add eax, edi
and eax, 0x800000ff
jns 0x43d6ee
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x14], al
mov edi, dword [esp + 0x14]
and edi, 0xff
lea eax, [edi + ecx]
push eax
push ebx
mov dword [esp + 0x20], eax
call fcn.0043d790
mov edx, dword [esp + 0x20]
xor ecx, ecx
xor eax, eax
add esp, 8
mov cl, byte [edx]
mov al, byte [ebx]
add ecx, eax
and ecx, 0x800000ff
jns 0x43d72b
dec ecx
or ecx, 0xffffff00
inc ecx
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
and ecx, 0xff
mov cl, byte [ecx + edx]
mov dl, byte [eax + ebp]
xor dl, cl
mov byte [eax + ebp], dl
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jl 0x43d6b3
mov eax, dword [esp + 0x28]
mov dl, byte [esp + 0x10]
mov cl, byte [esp + 0x14]
pop edi
pop ebx
pop esi
mov byte [eax + 0x100], dl
mov byte [eax + 0x101], cl
pop ebp
add esp, 0xc
ret
pop esi
mov byte [ecx + 0x100], al
mov byte [ecx + 0x101], dl
pop ebp
add esp, 0xc
ret

Function at 0x43e970
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 8]
lea edx, [ecx + eax]
cmp ecx, edx
jae 0x43e9a1
push esi
mov esi, dword [esp + 0x10]
xor eax, eax
mov al, byte [ecx]
and esi, 0xff
xor eax, esi
inc ecx
cmp ecx, edx
mov al, byte [eax + 0x41ae60]
mov byte [esp + 0x10], al
jb 0x43e980
pop esi
ret
mov al, byte [esp + 0xc]
ret
Function at 0x43ed20
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 1
push 0x258
call fcn.00440b40
add esp, 8
mov ebx, eax
call fcn.0043eaa0
mov eax, dword [0x4381a0]
mov edx, dword [esp + 0x10]
mov ecx, 0x96
mov edi, ebx
lea esi, [eax + 0x437cf0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword [ecx], 0x258
mov dword [edx], ebx
pop ebx
jmp fcn.0043eaa0
Function at 0x440250
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x148
mov ecx, 0x10
mov edx, 0x40
push ebx
push ebp
push esi
mov esi, dword [esp + 0x15c]
push edi
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x20]
mov eax, dword [ecx + 0x2c]
mov edi, dword [ecx + 0x18]
mov esi, dword [ecx - 8]
mov ebp, dword [ecx]
xor eax, edi
add ecx, 4
xor eax, esi
xor eax, ebp
mov esi, eax
add eax, eax
shr esi, 0x1f
or esi, eax
dec edx
mov dword [ecx + 0x34], esi
jne 0x440275
mov edi, dword [esp + 0x15c]
mov dword [esp + 0x10], 0
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
mov esi, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x14], edi
mov ebx, eax
mov edi, edx
not ebx
and ebx, esi
and edi, eax
or ebx, edi
mov edi, ecx
mov ebp, ecx
shr edi, 0x1b
shl ebp, 5
or edi, ebp
add ebx, edi
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + edi*4 + 0x18]
add ebx, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x14], esi
mov esi, edx
mov edx, eax
lea ebx, [ebx + ebp + 0x5a827999]
shl edx, 0x1e
shr eax, 2
or edx, eax
inc edi
mov eax, ecx
cmp edi, 0x14
mov ecx, ebx
mov dword [esp + 0x10], edi
jl 0x4402b9
mov edi, 0x14
mov ebx, ecx
mov ebp, ecx
shr ebx, 0x1b
shl ebp, 5
or ebx, ebp
mov ebp, esi
xor ebp, edx
xor ebp, eax
add ebx, ebp
mov ebp, dword [esp + edi*4 + 0x18]
add ebx, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x14], esi
mov esi, edx
mov edx, eax
lea ebx, [ebx + ebp + 0x6ed9eba1]
shl edx, 0x1e
shr eax, 2
or edx, eax
inc edi
mov eax, ecx
cmp edi, 0x28
mov ecx, ebx
jl 0x44030b
mov dword [esp + 0x10], 0x28
mov edi, edx
mov ebx, edx
or edi, eax
and ebx, eax
and edi, esi
mov ebp, ecx
or edi, ebx
mov ebx, ecx
shr ebx, 0x1b
shl ebp, 5
or ebx, ebp
add edi, ebx
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + ebx*4 + 0x18]
add edi, ebp
mov ebp, dword [esp + 0x14]
lea ebp, [edi + ebp - 0x70e44324]
mov edi, esi
mov esi, edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
or edx, eax
inc ebx
mov eax, ecx
cmp ebx, 0x3c
mov dword [esp + 0x14], edi
mov ecx, ebp
mov dword [esp + 0x10], ebx
jl 0x440352
mov dword [esp + 0x10], 0x3c
mov ebx, ecx
mov ebp, ecx
shr ebx, 0x1b
shl ebp, 5
or ebx, ebp
mov ebp, esi
xor ebp, edx
xor ebp, eax
add ebx, ebp
mov ebp, dword [esp + 0x10]
add ebx, dword [esp + ebp*4 + 0x18]
lea ebx, [ebx + edi - 0x359d3e2a]
mov edi, esi
mov esi, edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
or edx, eax
inc ebp
mov eax, ecx
cmp ebp, 0x50
mov ecx, ebx
mov dword [esp + 0x10], ebp
jl 0x4403a9
mov ecx, dword [esp + 0x15c]
mov ebp, dword [ecx]
add ebp, ebx
mov ebx, dword [ecx + 4]
add ebx, eax
mov eax, dword [ecx + 8]
add eax, edx
mov dword [ecx], ebp
mov dword [ecx + 8], eax
mov eax, dword [ecx + 0xc]
add eax, esi
mov dword [ecx + 4], ebx
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 0x10]
add eax, edi
pop edi
pop esi
pop ebp
mov dword [ecx + 0x10], eax
pop ebx
add esp, 0x148
ret
Function at 0x4098c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4701bb
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.00462cdf
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409942
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046075d
mov eax, dword [eax]
push 0x4891d0
push eax
call fcn.00453414
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00462f6a
test bl, bl
je 0x409942
push 0x4891d0
lea ecx, [esp + 0xc]
call fcn.00463346
push 0x48cd4c
lea ecx, [esp + 0xc]
call fcn.00463346
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 0x40997e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00462f6a
jmp 0x409a49
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 0x409a02
lea edx, [esp + 0x7c]
push 0x48cd48
push edx
call fcn.00453414
add esp, 8
test eax, eax
je 0x409a02
lea eax, [esp + 0x7c]
push 0x48cd44
push eax
call fcn.00453414
add esp, 8
test eax, eax
je 0x409a02
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 0x409992
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.00462f6a
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 0x40a240
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 0x40a2a2
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 0x40a2b0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47023b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x493c28]
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 0x40a3e8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a316
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00462f6a
xor eax, eax
jmp 0x40a45f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004630f3
push esi
lea ecx, [esp + 0xc]
call fcn.00463382
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 0x40a43d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.0040a240
test eax, eax
jne 0x40a43d
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 0x80000000
mov ecx, edi
call fcn.0040a240
test eax, eax
jne 0x40a43d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.004544f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a41c
lea ecx, [esp + 0x14]
push 0x48cd5c
push ecx
call fcn.00454470
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a41c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40a41f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004630a3
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a32e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00462f6a
xor eax, eax
jmp 0x40a45f
mov byte [esi], 0
push 0x48cd58
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.00462f6a
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 0x41ae70
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 0x41aede
cmp si, 0x69
ja 0x41aede
add esi, 0xffd0
cmp si, 0x11
je 0x41aeae
push 0x11
call edi
test ax, ax
jge 0x41aeae
or esi, 0x2000
cmp si, 0x10
je 0x41aec3
push 0x10
call edi
test ax, ax
jge 0x41aec3
or esi, 0x4000
cmp si, 0x12
je 0x41aed8
push 0x12
call edi
test ax, ax
jge 0x41aed8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41aeeb
mov esi, 0xbd
jmp 0x41ae9f
cmp si, 0x6e
jne 0x41aef8
mov esi, 0xbe
jmp 0x41ae9f
cmp si, 0x6f
jne 0x41ae99
mov esi, 0xbf
jmp 0x41ae9f

Function at 0x41c590
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4a49c8]
xor edx, edx
cmp eax, edx
jne 0x41c5b6
xor eax, eax
mov byte [eax + 0x4a48c8], al
inc eax
cmp eax, 0x100
jl 0x41c59e
mov dword [0x4a49c8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4a48c8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41c647
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 0x41c61a
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 0x41c5e8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41c6c0
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 0x41c713
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 0x41c6fa
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