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

Disassembly:
mov eax, 0x51fd7b
call fcn.00451954
sub esp, 0x10
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0040215e
mov byte [ebp - 4], 1
mov byte [ebp - 4], bl
call fcn.00403bbb
pop ecx
cmp eax, 0xa
jne 0x403fe9
lea eax, [ebp - 0x1c]
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0040215e
mov byte [ebp - 4], 2
mov byte [ebp - 4], bl
call fcn.00403d6b
pop ecx
pop ecx
xor ecx, ecx
mov eax, ecx
cdq
push 5
pop esi
idiv esi
lea eax, [ebp + edx - 0x17]
mov dl, byte [ebp + ecx - 0x1c]
xor byte [eax], dl
inc ecx
cmp ecx, esi
jl 0x403fb7
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x17]
push eax
push esi
call fcn.00451a50
xor ebx, ebx
add esp, 0xc
mov dword [esi + 0x10], 0x3fe
inc ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402189
mov ecx, dword [ebp - 0xc]
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x404431
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x51fe03
call fcn.00451954
sub esp, 0x6c
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00402133
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x78]
sub eax, edx
lea edx, [eax + ecx*2]
mov edi, 0x9234
xor di, word [ebp + edx - 0x78]
inc ecx
cmp ecx, 0x32
mov word [ebp + ecx*2 - 0x7a], di
jl 0x404452
xor eax, eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
call fcn.004026dc
nop
nop
nop
nop
nop
nop
nop
nop
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x40469f
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x51fea4
call fcn.00451954
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 6
lea ecx, [esi + 0x40]
call fcn.004043e4
mov byte [ebp - 4], 5
lea ecx, [esi + 0x30]
call fcn.004043e4
mov byte [ebp - 4], 4
lea ecx, [esi + 0x20]
call fcn.00403b47
mov byte [ebp - 4], 3
lea ecx, [esi + 0x10]
call fcn.00404681
mov byte [ebp - 4], 2
push dword [esi + 0xc]
call fcn.0045143a
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov byte [ebp - 4], 1
push dword [esi + 8]
call fcn.0045143a
mov dword [esi + 8], ebx
mov byte [ebp - 4], bl
push dword [esi + 4]
call fcn.0045143a
mov dword [esi + 4], ebx
or dword [ebp - 4], 0xffffffff
push dword [esi]
call fcn.0045143a
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword [esi], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4046ab
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x51fea4
call fcn.00451954
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 6
lea ecx, [esi + 0x40]
call fcn.004043e4
mov byte [ebp - 4], 5
lea ecx, [esi + 0x30]
call fcn.004043e4
mov byte [ebp - 4], 4
lea ecx, [esi + 0x20]
call fcn.00403b47
mov byte [ebp - 4], 3
lea ecx, [esi + 0x10]
call fcn.00404681
mov byte [ebp - 4], 2
push dword [esi + 0xc]
call fcn.0045143a
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov byte [ebp - 4], 1
push dword [esi + 8]
call fcn.0045143a
mov dword [esi + 8], ebx
mov byte [ebp - 4], bl
push dword [esi + 4]
call fcn.0045143a
mov dword [esi + 4], ebx
or dword [ebp - 4], 0xffffffff
push dword [esi]
call fcn.0045143a
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword [esi], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406a2d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax + 1]
test eax, eax
jle 0x406a58
mov edx, eax
push esi
xor ecx, ecx
mov eax, dword [ebp + 8]
lea eax, [eax + ecx*2]
mov esi, 0x9234
xor word [eax], si
inc ecx
cmp ecx, 0x32
jl 0x406a40
dec edx
jne 0x406a3e
pop esi
pop ebp
ret
Function at 0x428cd6
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x524b49
call fcn.00451954
push ecx
push ebx
push esi
push edi
push dword [ebp + 0x18]
mov esi, ecx
push dword [ebp + 0x14]
mov dword [ebp - 0x10], esi
push dword [ebp + 0x10]
call fcn.00411cad
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 0x64]
mov dword [esi], 0x532494
call fcn.00418415
mov byte [ebp - 4], 1
mov dword [esi + 0xa0], edi
mov byte [ebp - 4], 2
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov edi, dword [ebp + 0xc]
push ecx
lea eax, [edi + 4]
mov ecx, esp
mov dword [ebp + 0x18], esp
push eax
call fcn.0040215e
mov byte [ebp - 4], 3
lea ebx, [edi + 0x13c]
push ebx
lea ecx, [esi + 0xb0]
mov byte [ebp - 4], 2
call fcn.004279bc
mov byte [ebp - 4], 4
lea eax, [edi + 0x128]
push eax
lea ecx, [esi + 0x170]
call fcn.0042788d
mov byte [ebp - 4], 5
push ebx
lea eax, [edi + 0x108]
push eax
push dword [ebp + 8]
lea ecx, [esi + 0x220]
call fcn.0042725c
mov byte [ebp - 4], 6
lea eax, [edi + 0xb0]
push eax
lea ecx, [esi + 0x340]
call fcn.004275db
mov byte [ebp - 4], 7
lea ecx, [esi + 0x1438]
call fcn.004289c7
mov byte [ebp - 4], 8
lea eax, [edi + 0xd8]
push eax
lea ecx, [esi + 0x14e4]
call fcn.0042779d
mov byte [ebp - 4], 9
push edi
lea ecx, [esi + 0x1dbc]
call fcn.004286e0
mov byte [ebp - 4], 0xa
lea eax, [edi + 0x60]
push eax
lea ecx, [esi + 0x1edc]
call fcn.00428bf8
mov byte [ebp - 4], 0xb
lea eax, [edi + 0x48]
push eax
lea ecx, [esi + 0x1f90]
call fcn.00428ad3
mov byte [ebp - 4], 0xc
lea eax, [edi + 0xf0]
push eax
lea ecx, [esi + 0x204c]
call fcn.00427c62
mov byte [ebp - 4], 0xd
lea eax, [edi + 0x30]
push eax
lea ecx, [esi + 0x2918]
call fcn.004288a2
mov byte [ebp - 4], 0xe
lea eax, [edi + 0x10c]
push eax
lea ecx, [esi + 0x29d4]
call fcn.0042752e
mov byte [ebp - 4], 0xf
add edi, 0x68
push edi
lea ecx, [esi + 0x2a80]
call fcn.00427ade
mov byte [ebp - 4], 0x10
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [esi + 0x240]
push eax
mov ecx, esi
mov dword [esi + 0x28], 0x2000382
mov dword [esi + 0x48], 0x410684
call fcn.00411d31
lea eax, [esi + 0x29f4]
push eax
mov ecx, esi
call fcn.00411d31
lea eax, [esi + 0x360]
push eax
mov ecx, esi
call fcn.00411d31
lea eax, [esi + 0x1504]
push eax
mov ecx, esi
call fcn.00411d31
lea eax, [esi + 0x190]
push eax
mov ecx, esi
call fcn.00411d31
lea eax, [esi + 0xd0]
push eax
mov ecx, esi
call fcn.00411d31
lea eax, [esi + 0x2aa0]
push eax
mov ecx, esi
call fcn.00411d31
lea eax, [esi + 0x206c]
push eax
mov ecx, esi
call fcn.00411d31
lea eax, [esi + 0x1ddc]
push eax
mov ecx, esi
call fcn.00411d31
lea eax, [esi + 0x2938]
push eax
mov ecx, esi
call fcn.00411d31
lea eax, [esi + 0x1458]
push eax
mov ecx, esi
call fcn.00411d31
lea eax, [esi + 0x1fb0]
push eax
mov ecx, esi
call fcn.00411d31
lea eax, [esi + 0x1efc]
push eax
mov ecx, esi
call fcn.00411d31
nop
nop
nop
nop
nop
nop
nop
nop
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x432317
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x43294f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov esi, ecx
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x58]
push eax
call fcn.00432317
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.004327ed
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.00432888
xor eax, eax
inc eax
add esp, 0x18
cmp dword [esi + 0x10], eax
mov dword [ebp + 8], eax
jle 0x4329e4
lea eax, [ebp - 0x58]
push eax
call fcn.00432317
cmp byte [esi + 0x18], 0
pop ecx
je 0x4329bf
xor ecx, ecx
cmp dword [esi + 0x14], ecx
jle 0x4329bf
mov eax, ecx
cdq
idiv dword [ebp + 0xc]
mov al, byte [edx + ebx]
xor byte [ecx + edi], al
inc ecx
cmp ecx, dword [esi + 0x14]
jl 0x4329ad
push dword [esi + 0x14]
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.004327ed
lea eax, [ebp - 0x58]
push eax
push edi
call fcn.00432888
add esp, 0x14
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x10]
jl 0x432996
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x432dd7
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 0x434b43
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
nop
nop
nop
nop
nop
nop
nop
nop
or eax, 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x434b79
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
dec dword [ebp + 0xc]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x5985b0]
inc ecx
cmp dword [ebp + 0xc], 0
jne 0x434b5a
nop
nop
nop
nop
nop
nop
nop
nop
not eax
pop ebp
ret

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

Disassembly:
mov eax, 0x527611
call fcn.00451954
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x14]
mov dword [esi], eax
lea eax, [ebp + 0x18]
push eax
lea ecx, [esi + 4]
call fcn.0040215e
mov byte [ebp - 4], 2
xor ebx, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov byte [ebp - 4], 3
lea ecx, [esi + 0x18]
call fcn.00402133
mov byte [ebp - 4], 4
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x20]
call fcn.0040215e
mov byte [ebp - 4], 5
lea ecx, [esi + 0x24]
call fcn.00402133
mov byte [ebp - 4], 6
lea ecx, [esi + 0x28]
call fcn.00402133
mov byte [ebp - 4], 7
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.00402189
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.00402189
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x1c
Function at 0x43d1a3
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x528782
call fcn.00451954
push ecx
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
mov dword [ebp - 0x10], esi
mov dword [esi], eax
call fcn.00402133
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 8]
call fcn.00402133
mov byte [ebp - 4], 1
lea ecx, [esi + 0xc]
call fcn.00402133
mov byte [ebp - 4], 2
lea ecx, [esi + 0x14]
mov dword [esi + 0x10], edi
call fcn.0043d151
mov byte [ebp - 4], 3
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x43f72a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
nop
nop
nop
nop
nop
nop
nop
nop
push 0
call fcn.0043e2d8
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x43eb1b
push 0
push 0
call fcn.00454996
add esp, 0x18
mov dword [esi + 0x30], eax
nop
nop
nop
nop
nop
nop
nop
nop
pop esi
leave
ret
Function at 0x443eb0
Capabilities:
Encode data using base64

Disassembly:
mov eax, 0x529c46
call fcn.00451954
sub esp, 0x10
push esi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp + 8]
call fcn.00433a8d
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 1
cmp dword [ebp + 0x10], esi
je 0x444000
push edi
mov edi, dword [ebp + 0xc]
push ebx
mov al, byte [edi]
dec dword [ebp + 0x10]
mov byte [ebp + esi - 0x10], al
mov bl, byte [ebp - 0xf]
inc esi
inc edi
cmp esi, 3
jne 0x443f5a
mov al, byte [ebp - 0x10]
shr al, 2
mov byte [ebp - 0x14], al
mov al, byte [ebp - 0x10]
and al, 3
shl al, 4
mov cl, bl
shr cl, 4
add al, cl
mov cl, byte [ebp - 0xe]
mov byte [ebp - 0x13], al
mov al, bl
and al, 0xf
shl al, 2
shr cl, 6
add al, cl
mov byte [ebp - 0x12], al
mov al, byte [ebp - 0xe]
and al, 0x3f
mov byte [ebp - 0x11], al
xor esi, esi
movzx eax, byte [ebp + esi - 0x14]
push eax
mov ecx, 0x5a56c8
call fcn.00443d52
mov al, byte [eax]
mov ecx, dword [ebp + 8]
mov byte [ebp - 0x1c], al
push dword [ebp - 0x1c]
push 1
call fcn.00443e60
inc esi
cmp esi, 4
jl 0x443f30
xor esi, esi
cmp dword [ebp + 0x10], 0
jne 0x443ee6
xor edi, edi
cmp esi, edi
je 0x443ffe
cmp esi, 3
jge 0x443f86
push 3
pop ecx
sub ecx, esi
push ecx
lea eax, [ebp + esi - 0x10]
push edi
push eax
call fcn.004519d0
mov bl, byte [ebp - 0xf]
add esp, 0xc
mov al, byte [ebp - 0x10]
mov cl, al
shr cl, 2
mov byte [ebp - 0x14], cl
and al, 3
mov cl, bl
shl al, 4
shr cl, 4
add al, cl
mov byte [ebp - 0x13], al
mov al, byte [ebp - 0xe]
and bl, 0xf
mov cl, al
shl bl, 2
shr cl, 6
add bl, cl
mov byte [ebp - 0x12], bl
and al, 0x3f
lea ebx, [esi + 1]
mov byte [ebp - 0x11], al
test ebx, ebx
jle 0x443fe6
movzx eax, byte [ebp + edi - 0x14]
push eax
mov ecx, 0x5a56c8
call fcn.00443d52
mov al, byte [eax]
mov ecx, dword [ebp + 8]
mov byte [ebp + 0x10], al
push dword [ebp + 0x10]
push 1
call fcn.00443e60
inc edi
cmp edi, ebx
jl 0x443fbf
push 3
pop edi
cmp esi, edi
jge 0x443ffe
sub edi, esi
mov ecx, dword [ebp + 8]
push 0x3d
push 1
call fcn.00443e60
dec edi
jne 0x443fef
pop ebx
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4b55d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x4b55e9
mov esi, edi
mov edi, eax
jmp 0x4b55eb
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x4b55fb
mov eax, ebx
jmp 0x4b5605
push eax
push ebx
call fcn.004782d0
add esp, 8
test eax, eax
jne 0x4b560d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x4b5629
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x4b5614
cmp eax, dword [esi + 4]
jge 0x4b5640
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x4b5630
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x4b5661
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x4b565e
dec eax
test eax, eax
jg 0x4b5650
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x4e43e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, eax
cmp edi, 8
mov esi, ecx
jl 0x4e4448
push 0x4c
mov eax, 8
call fcn.004e4260
sub edi, 8
add esp, 4
cmp edi, 8
jl 0x4e4448
push 0x41
mov eax, 8
call fcn.004e4260
sub edi, 8
add esp, 4
cmp edi, 8
jl 0x4e4448
push 0x4d
mov eax, 8
call fcn.004e4260
sub edi, 8
add esp, 4
cmp edi, 8
jl 0x4e4448
push 0x45
mov eax, 8
call fcn.004e4260
add esp, 4
sub edi, 8
cmp edi, 0x20
jl 0x4e44a2
push ebx
call fcn.004e29c0
mov ecx, eax
lea edx, [eax + 1]
mov dword [ebp - 4], ecx
xor ebx, ebx
mov dword [ebp - 8], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4e4460
sub eax, dword [ebp - 8]
test eax, eax
jle 0x4e44a1
jmp 0x4e4473
mov ecx, dword [ebp - 4]
cmp edi, 8
jl 0x4e44a1
movsx eax, byte [ebx + ecx]
push eax
mov eax, 8
sub edi, 8
call fcn.004e4260
mov eax, dword [ebp - 4]
add esp, 4
inc ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4e4494
sub eax, edx
cmp ebx, eax
jl 0x4e4470
pop ebx
cmp edi, 1
jl 0x4e44da
jmp 0x4e44b0
mov ecx, dword [esi + 0xcba8]
push ecx
mov eax, 1
call fcn.004e4260
xor edx, edx
add esp, 4
cmp dword [esi + 0x90], edx
sete dl
xor dword [esi + 0xcba8], edx
sub edi, 1
jne 0x4e44b0
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4e6120
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
xor ecx, ecx
test esi, esi
jle 0x4e615a
mov edx, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
movzx eax, word [edx]
movzx ebx, byte [ecx + edi]
xor ebx, eax
and ebx, 0xff
shr ax, 8
xor ax, word [ebx*4 + 0x55b970]
inc ecx
cmp ecx, esi
mov word [edx], ax
jl 0x4e6135
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x408bc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x464d7b
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.004599bb
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x408c42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045790a
mov eax, dword [eax]
push 0x5431f0
push eax
call fcn.0044a5d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00459c46
test bl, bl
je 0x408c42
push 0x5431f0
lea ecx, [esp + 0xc]
call fcn.00459fd6
push 0x546d50
lea ecx, [esp + 0xc]
call fcn.00459fd6
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 0x408c7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00459c46
jmp 0x408d49
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 0x408d02
lea edx, [esp + 0x7c]
push 0x546d4c
push edx
call fcn.0044a5d4
add esp, 8
test eax, eax
je 0x408d02
lea eax, [esp + 0x7c]
push 0x546d48
push eax
call fcn.0044a5d4
add esp, 8
test eax, eax
je 0x408d02
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 0x408c92
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.00459c46
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 0x409fa0
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 0x40a002
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 0x40a010
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x464edb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x54d2b0]
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 0x40a148
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a076
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00459c46
xor eax, eax
jmp 0x40a1bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00459d83
push esi
lea ecx, [esp + 0xc]
call fcn.0045a012
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 0x40a19d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push 0x80000000
call fcn.00409fa0
test eax, eax
jne 0x40a19d
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.00409fa0
test eax, eax
jne 0x40a19d
lea eax, [esp + 0x14]
push str.__1_
push eax
call fcn.0044b610
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a17c
lea ecx, [esp + 0x14]
push 0x546d60
push ecx
call fcn.0044b590
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a17c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40a17f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00459d33
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a08e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00459c46
xor eax, eax
jmp 0x40a1bf
mov byte [esi], 0
push 0x546d5c
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.00459c46
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 0x41a790
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 0x41a7fe
cmp si, 0x69
ja 0x41a7fe
add esi, 0xffd0
cmp si, 0x11
je 0x41a7ce
push 0x11
call edi
test ax, ax
jge 0x41a7ce
or esi, 0x2000
cmp si, 0x10
je 0x41a7e3
push 0x10
call edi
test ax, ax
jge 0x41a7e3
or esi, 0x4000
cmp si, 0x12
je 0x41a7f8
push 0x12
call edi
test ax, ax
jge 0x41a7f8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41a80b
mov esi, 0xbd
jmp 0x41a7bf
cmp si, 0x6e
jne 0x41a818
mov esi, 0xbe
jmp 0x41a7bf
cmp si, 0x6f
jne 0x41a7b9
mov esi, 0xbf
jmp 0x41a7bf

Function at 0x41be70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x55d908]
xor edx, edx
cmp eax, edx
jne 0x41be96
xor eax, eax
mov byte [eax + 0x55d808], al
inc eax
cmp eax, 0x100
jl 0x41be7e
mov dword [0x55d908], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x55d808
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41bf27
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 0x41befa
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 0x41bec8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41bfa0
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 0x41bff3
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 0x41bfda
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