joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440600
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4711d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x48ac94]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
push 0
push 0x4764f8
push esi
call fcn.00445f50
mov edi, dword [esp + 0x38]
push 0
push 0x4764e8
push esi
mov dword [edi], eax
call fcn.00445f50
push 0x7fffffff
push 0x4751dc
push esi
mov dword [edi + 0x34], eax
call fcn.00445d30
push 0x7fffffff
push 0x4751d4
push esi
mov dword [edi + 0x2c], eax
call fcn.00445d30
mov dword [edi + 0x30], eax
lea eax, [edi + 0xc]
push eax
push 0x4764e0
push esi
call fcn.00445db0
or ebp, 0xffffffff
push ebp
push 0x4764d4
push esi
call fcn.00446020
add esp, 0x48
cmp eax, ebp
je 0x4406a2
mov dword [edi + 4], 1
mov dword [edi + 8], eax
push 0x4764c8
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00447fc0
lea ecx, [edi + 0x1c]
push eax
mov dword [esp + 0x24], 0
call fcn.00416bf0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x20], ebp
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4406e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x475280
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00447fc0
lea ecx, [edi + 0x20]
push eax
mov dword [esp + 0x24], 1
call fcn.00416bf0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x20], ebp
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44072c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x47537c
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00447fc0
push 0x475b9c
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
mov dword [esp + 0x28], 2
call fcn.00447fc0
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], 0
mov byte [esp + 0x20], 3
je 0x440772
lea edx, [esp + 0x10]
lea ecx, [edi + 0x24]
push edx
call fcn.00416bf0
mov eax, dword [esp + 0x28]
cmp dword [eax - 0xc], 0
je 0x440789
lea edx, [esp + 0x28]
lea ecx, [edi + 0x28]
push edx
call fcn.00416bf0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x20], 2
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4407ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x20], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x4407ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 8
Function at 0x4413c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47133c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48ac94]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or eax, 0xffffffff
mov ebx, 1
xor ebp, ebp
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebp
mov eax, dword [0x48c038]
mov edx, dword [eax + 0xc]
mov ecx, 0x48c038
lea edi, [esi + 0x1c]
call edx
add eax, 0x10
mov dword [edi], eax
mov eax, dword [0x48c038]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], ebp
mov ecx, 0x48c038
lea ebp, [esi + 0x20]
call edx
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [0x48c038]
mov edx, dword [eax + 0xc]
mov byte [esp + 0x20], bl
mov ecx, 0x48c038
lea ebx, [esi + 0x24]
call edx
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [0x48c038]
mov edx, dword [eax + 0xc]
mov ecx, 0x48c038
mov byte [esp + 0x20], 2
call edx
add eax, 0x10
mov dword [esi + 0x28], eax
or eax, 0xffffffff
push 0
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x47f38c
mov ecx, edi
mov byte [esp + 0x28], 3
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.00414db0
push 0
push 0x47f38c
mov ecx, ebp
call fcn.00414db0
push 0
push 0x47f38c
mov ecx, ebx
mov dword [esi + 0x34], 0
call fcn.00414db0
push 0xa
push 0x475b9c
lea ecx, [esi + 0x28]
call fcn.00414db0
mov eax, 0x7fffffff
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x441ec0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47115f
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x48ac94]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], 0x4764a8
mov eax, dword [0x48c038]
mov edx, dword [eax + 0xc]
mov ecx, 0x48c038
lea ebp, [esi + 8]
call edx
add eax, 0x10
mov dword [ebp], eax
xor edi, edi
lea ecx, [esi + 0x4c]
mov dword [esp + 0x1c], edi
call fcn.0043ae90
lea ecx, [esi + 0x6c]
mov byte [esp + 0x1c], 1
call fcn.0043ae90
lea ecx, [esi + 0x8c]
mov byte [esp + 0x1c], 2
call fcn.00448a60
push edi
push 0x47f38c
mov ecx, ebp
mov byte [esp + 0x24], 3
mov dword [esi + 4], 1
call fcn.00414db0
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x4432e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4715f0
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48ac94]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, ecx
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
push esi
push edi
call fcn.00440ec0
lea eax, [esp + 0x28]
push eax
xor ebx, ebx
push edi
mov ecx, ebp
mov dword [esp + 0x30], ebx
call fcn.0043f8e0
mov ecx, dword [esp + 0x28]
push 0x475280
lea edx, [esp + 0x2c]
mov dword [esi + 0x88], ecx
push edx
mov ecx, edi
call fcn.00447fc0
lea ecx, [esi + 0x58]
push eax
mov dword [esp + 0x20], ebx
call fcn.00416bf0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x443378
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x4764c8
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.00447fc0
mov edx, dword [eax]
mov dword [esp + 0x1c], 1
lea ebx, [esi + 0x9c]
test edx, edx
jne 0x4433a1
xor eax, eax
jmp 0x4433bb
mov eax, edx
lea ecx, [eax + 1]
mov dword [esp + 0x28], ecx
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4433b0
sub eax, dword [esp + 0x28]
push eax
push edx
mov ecx, ebx
call fcn.00414db0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4433ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0x5c]
push ecx
push edi
mov ecx, ebp
call fcn.00442690
push 0
push 0x4768e0
push edi
call fcn.00445f50
mov dword [esi + 0x7c], eax
add esp, 0xc
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8

Function at 0x444ab0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x445810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
test ebx, ebx
je 0x4458aa
mov eax, dword [ebx + 0x18]
mov ebp, dword [eax]
mov edi, dword [ebx + 4]
lea esp, [esp]
mov esi, dword [ebx + 0x18]
mov eax, dword [ebx + 4]
test edi, edi
je 0x44583e
cmp edi, eax
je 0x445844
call dword [0x4743d8]
cmp ebp, esi
je 0x4458a6
mov esi, dword [0x4743d8]
test edi, edi
jne 0x445887
call esi
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x44585d
call esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x445873
cmp dword [eax + 0x3c], 6
jne 0x445873
mov ecx, dword [esp + 0x18]
cmp dword [eax + 0x74], ecx
je 0x44588f
test edi, edi
jne 0x44588b
call esi
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x445882
call esi
mov ebp, dword [ebp]
jmp 0x445830
mov eax, dword [edi]
jmp 0x445856
mov eax, dword [edi]
jmp 0x44587b
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [ecx + 8], eax
pop ebx
add esp, 4
mov dword [esp + 4], eax
jmp fcn.004456e0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [ecx + 8], 0
pop ebx
pop ecx
ret 4

Function at 0x447010
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x471893
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x48ac94]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
push ebx
call fcn.00446b20
lea ecx, [esi + 0x34]
mov dword [esi], 0x476bd4
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x48bc88
or eax, 0xffffffff
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x47f38c
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.00452790
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x44a560
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x471b63
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x48ac94]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.004526a0
mov dword [esi], 0x476e70
mov eax, dword [0x48c038]
mov edx, dword [eax + 0xc]
xor edi, edi
mov ecx, 0x48c038
mov dword [esp + 0x1c], edi
lea ebx, [esi + 0x14]
call edx
add eax, 0x10
mov dword [ebx], eax
push 9
push 0x47537c
mov ecx, ebx
mov byte [esp + 0x24], 1
mov dword [esi + 0x10], edi
call fcn.00414db0
mov eax, 0x12
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov eax, 3
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x451790
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471c5b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x48ac94]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov dword [esi], 0x476ff8
xor edi, edi
or eax, 0xffffffff
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 2
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov eax, dword [0x48c038]
mov edx, dword [eax + 0xc]
mov ecx, 0x48c038
lea ebx, [esi + 0x64]
call edx
add eax, 0x10
mov dword [ebx], eax
xor eax, eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
push edi
mov dword [esi + 0x5c], eax
push 0x47f38c
mov ecx, ebx
mov dword [esp + 0x24], edi
mov dword [esi + 0x60], edi
call fcn.00414db0
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x45be60
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x45be8f
push esi
call fcn.00464930
add esp, 4
cmp byte [esi + 0x40], 0
je 0x45be88
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x45bf09
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x45bef9
mov eax, dword [esi + 8]
test eax, eax
je 0x45beb4
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x45bef5
cmp eax, 2
je 0x45bef9
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45bea5
cmp eax, 3
je 0x45bedc
cmp eax, 1
jne 0x45bea5
inc dword [ecx + 4]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x45bea5
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x45bea5
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.0045bcf0
pop esi
ret
cmp eax, 0xcc
je 0x45bf2b
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.0045bcf0
pop esi
ret
Function at 0x46c770
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x14
push esi
push edi
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [esp + 0x18], esi
jne 0x46c797
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x46c7a3
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0xc], ecx
jle 0x46c899
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x18], edx
jmp 0x46c7ec
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebp, dword [edx]
cdq
idiv ebp
cmp dword [esp + 0x10], 0
mov dword [esp + 0x1c], eax
je 0x46c80d
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov edi, dword [edx + ecx*4]
dec ebp
mov ecx, ebp
xor eax, eax
xor ebx, ebx
call fcn.0046c5e0
mov ecx, eax
xor esi, esi
cmp esi, ecx
jle 0x46c837
inc ebx
mov ecx, ebp
mov eax, ebx
call fcn.0046c5e0
mov ecx, eax
cmp esi, ecx
jg 0x46c827
mov al, byte [esp + 0x1c]
imul bl
mov byte [esi + edi], al
inc esi
cmp esi, 0xff
jle 0x46c823
cmp dword [esp + 0x10], 0
je 0x46c87c
mov eax, 1
lea ecx, [edi - 1]
jmp 0x46c860
movzx edx, byte [edi]
mov byte [ecx], dl
movzx edx, byte [edi + 0xff]
mov byte [edi + eax + 0xff], dl
inc eax
dec ecx
cmp eax, 0xff
jle 0x46c860
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add dword [esp + 0x18], 4
inc eax
cmp eax, dword [ecx + 0x64]
mov dword [esp + 0x14], eax
jl 0x46c7e0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x407a90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46344b
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.00458168
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407b12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004560b7
mov eax, dword [eax]
push 0x47e1c0
push eax
call fcn.00448fb4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004583f3
test bl, bl
je 0x407b12
push 0x47e1c0
lea ecx, [esp + 0xc]
call fcn.00458783
push 0x481d20
lea ecx, [esp + 0xc]
call fcn.00458783
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 0x407b4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004583f3
jmp 0x407c19
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 0x407bd2
lea edx, [esp + 0x7c]
push 0x481d1c
push edx
call fcn.00448fb4
add esp, 8
test eax, eax
je 0x407bd2
lea eax, [esp + 0x7c]
push 0x481d18
push eax
call fcn.00448fb4
add esp, 8
test eax, eax
je 0x407bd2
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 0x407b62
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.004583f3
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 0x408e70
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 0x408ed2
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 0x408ee0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4635ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4881c0]
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 0x409018
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x408f46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004583f3
xor eax, eax
jmp 0x40908f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00458530
push esi
lea ecx, [esp + 0xc]
call fcn.004587bf
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 0x40906d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00408e70
test eax, eax
jne 0x40906d
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.00408e70
test eax, eax
jne 0x40906d
lea eax, [esp + 0x14]
push 0x481d34
push eax
call fcn.00449ff0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40904c
lea ecx, [esp + 0x14]
push 0x481d30
push ecx
call fcn.00449f70
mov esi, eax
add esp, 8
test esi, esi
jne 0x40904c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40904f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004584e0
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x408f5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004583f3
xor eax, eax
jmp 0x40908f
mov byte [esi], 0
push 0x481d2c
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.004583f3
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 0x419680
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 0x4196ee
cmp si, 0x69
ja 0x4196ee
add esi, 0xffd0
cmp si, 0x11
je 0x4196be
push 0x11
call edi
test ax, ax
jge 0x4196be
or esi, 0x2000
cmp si, 0x10
je 0x4196d3
push 0x10
call edi
test ax, ax
jge 0x4196d3
or esi, 0x4000
cmp si, 0x12
je 0x4196e8
push 0x12
call edi
test ax, ax
jge 0x4196e8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4196fb
mov esi, 0xbd
jmp 0x4196af
cmp si, 0x6e
jne 0x419708
mov esi, 0xbe
jmp 0x4196af
cmp si, 0x6f
jne 0x4196a9
mov esi, 0xbf
jmp 0x4196af

Function at 0x41ada0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4987f8]
xor edx, edx
cmp eax, edx
jne 0x41adc6
xor eax, eax
mov byte [eax + 0x4986f8], al
inc eax
cmp eax, 0x100
jl 0x41adae
mov dword [0x4987f8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4986f8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41ae57
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 0x41ae2a
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 0x41adf8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41aed0
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 0x41af23
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 0x41af0a
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