joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10174003
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x101c6444]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.10173f98
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.101580b0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x10174052
cmp dword [ebp - 0x1c], 5
jb 0x1017406a
jmp 0x10174066
cmp dword [ebp - 0x10], 1
jne 0x1017406a
cmp dword [ebp - 0x1c], 4
ja 0x10174066
jne 0x1017406a
cmp dword [ebp - 0x18], 0
jbe 0x1017406a
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x101a09c8
call fcn.100e88d0
test eax, eax
jge 0x1017408b
mov byte [0x101c8fc5], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.101586e7
add ebp, 0x78
leave
ret

Function at 0x101746c6
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push edi
mov edi, eax
push dword [edi]
call esi
push dword [edi + 4]
mov ebx, eax
call esi
and dword [ebp - 4], 0
mov edi, eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 8], eax
jmp 0x101746f8
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
push dword [ebp + eax - 0x18]
call esi
mov ecx, dword [ebp - 4]
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
mov dword [ebp + ecx*4 - 0x18], eax
jl 0x101746f5
push 0xd
xor eax, eax
pop ecx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 0x14]
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x18]
sub eax, 0x61c88647
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
add ebx, edx
mov edx, ebx
shr edx, 5
add edx, dword [ebp - 0xc]
mov esi, ebx
shl esi, 4
add esi, dword [ebp - 0x10]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add edi, edx
dec ecx
jne 0x10174719
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push ebx
call esi
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebx], eax
call esi
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebx
leave
ret
Function at 0x1017476c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x101c6444]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x18]
cmp dword [ebx], 0x13
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
jae 0x101747a4
or eax, 0xffffffff
jmp 0x10174941
and word [edi], 0
push 3
mov dword [ebp - 0x10], 0xa87f
mov ax, word [ebp - 0x10]
mov ecx, edi
pop edx
xor ax, word [ecx]
inc ecx
inc ecx
dec edx
jne 0x101747b8
push 0x10
mov word [edi], ax
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.101580b0
push esi
call fcn.1015d080
push 6
push dword [ebp - 8]
mov esi, eax
lea eax, [ebp - 0x24]
push eax
call fcn.10158c60
add esp, 0x1c
cmp esi, 8
jb 0x101747fc
mov eax, dword [ebp - 0x2c]
lea eax, [eax + esi - 8]
push 8
push eax
lea eax, [ebp - 0x1c]
jmp 0x10174805
push esi
push dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
sub eax, esi
push eax
call fcn.10158c60
mov esi, dword [ebp - 0x28]
add esp, 0xc
mov byte [esi], 0x30
push 6
inc esi
lea eax, [ebp - 0x14]
push edi
mov byte [esi], 0x31
push eax
inc esi
call fcn.10158c60
add esp, 0xc
push 6
pop edi
call fcn.10158a8d
mov byte [ebp + edi - 0x14], al
inc edi
cmp edi, 8
jb 0x1017482b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
call fcn.101746c6
movzx eax, byte [ebp - 0xc]
pop ecx
pop ecx
mov ecx, eax
shr ecx, 4
mov cl, byte [ecx + 0x101a0a20]
mov byte [esi], cl
inc esi
push 0xf
pop ecx
and eax, ecx
mov al, byte [eax + 0x101a0a20]
mov byte [esi], al
movzx eax, byte [ebp - 0xb]
mov edx, eax
shr edx, 4
mov dl, byte [edx + 0x101a0a20]
and eax, ecx
inc esi
mov byte [esi], dl
mov al, byte [eax + 0x101a0a20]
inc esi
mov byte [esi], al
movzx eax, byte [ebp - 0xa]
mov edx, eax
shr edx, 4
mov dl, byte [edx + 0x101a0a20]
and eax, ecx
inc esi
mov byte [esi], dl
mov al, byte [eax + 0x101a0a20]
inc esi
mov byte [esi], al
movzx eax, byte [ebp - 9]
mov edx, eax
shr edx, 4
mov dl, byte [edx + 0x101a0a20]
and eax, ecx
inc esi
mov byte [esi], dl
mov al, byte [eax + 0x101a0a20]
inc esi
mov byte [esi], al
movzx eax, byte [ebp - 8]
mov edx, eax
shr edx, 4
mov dl, byte [edx + 0x101a0a20]
and eax, ecx
inc esi
mov byte [esi], dl
mov al, byte [eax + 0x101a0a20]
inc esi
mov byte [esi], al
movzx eax, byte [ebp - 7]
mov edx, eax
shr edx, 4
mov dl, byte [edx + 0x101a0a20]
and eax, ecx
inc esi
mov byte [esi], dl
mov al, byte [eax + 0x101a0a20]
inc esi
mov byte [esi], al
movzx eax, byte [ebp - 6]
mov edx, eax
shr edx, 4
mov dl, byte [edx + 0x101a0a20]
inc esi
mov byte [esi], dl
and eax, ecx
mov al, byte [eax + 0x101a0a20]
inc esi
mov byte [esi], al
movzx eax, byte [ebp - 5]
inc esi
mov edx, eax
shr edx, 4
mov dl, byte [edx + 0x101a0a20]
mov byte [esi], dl
and eax, ecx
mov al, byte [eax + 0x101a0a20]
inc esi
mov byte [esi], al
inc esi
mov byte [esi], 0
sub esi, dword [ebp - 0x28]
xor eax, eax
mov dword [ebx], esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101586e7
leave
ret
Function at 0x10175705
Capabilities:
Hash data with md5

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x92afa8
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x92aff1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00944380
add esp, 8
test eax, eax
jne 0x92afef
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x92aff3
jmp 0x92af9f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x93721a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x93722a
xor eax, eax
jmp 0x9373f3
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x9373ab
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x968a8c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x968a8c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x968a8c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x968a8c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x968a8c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x968a8c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x968a8c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x968a8c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x937233
cmp dword [ebp + 0x10], 0
je 0x9373ed
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x968a8c]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x9373b1
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x401000
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [0x40b738]
mov ecx, dword [eax + 0x50]
mov dword [0x40b730], ecx
movzx ecx, word [eax + 6]
push ebx
mov ebx, dword [eax + 0x3c]
mov edx, ecx
push esi
movzx esi, word [eax + 0x14]
lea ecx, [ecx + ecx*4]
lea ecx, [esi + ecx*8]
sub ecx, dword [0x40b760]
test edx, edx
push edi
mov edi, dword [eax + 0x38]
lea eax, [ecx + eax + 0x18]
mov dword [0x40b764], edi
mov dword [0x40b740], ebx
mov dword [0x40b75c], edx
mov dword [0x40b728], eax
jbe 0x401089
mov ecx, dword [0x40b748]
push ebp
add ecx, 0x10
mov ebp, edx
mov edx, dword [ecx]
lea eax, [ebx + edx - 1]
xor edx, edx
div ebx
xor edx, edx
mov esi, eax
mov eax, dword [ecx - 8]
imul esi, ebx
lea eax, [eax + edi - 1]
div edi
mov dword [ecx], esi
imul eax, edi
cmp esi, eax
mov dword [ecx - 8], eax
jbe 0x401080
mov dword [ecx], eax
add ecx, 0x28
sub ebp, 1
jne 0x401058
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4015b0
Capabilities:
Parse pe header

Disassembly:
push ecx
push esi
push edi
mov edi, dword [0x408008]
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push 0x40b768
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x401621
mov eax, dword [0x40928c]
mov ecx, dword [0x409290]
mov edx, dword [0x409294]
mov dword [0x40b870], eax
mov eax, dword [0x409298]
mov dword [0x40b874], ecx
mov ecx, dword [0x40929c]
mov dword [0x40b878], edx
mov edx, dword [0x4092a0]
pop edi
mov dword [0x40b87c], eax
mov dword [0x40b880], ecx
mov dword [0x40b884], edx
pop esi
pop ecx
ret
push ebx
push 0
push esi
call dword [0x40800c]
push 4
push 0x1000
push eax
push 0
mov dword [0x40b754], eax
call dword [0x408024]
mov edx, dword [0x40b754]
push 0
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
push esi
mov dword [0x40b760], eax
call dword [0x408010]
mov ebx, dword [0x408018]
push esi
call ebx
mov eax, dword [0x40b760]
cmp word [eax], 0x5a4d
mov dword [0x40b74c], eax
jne 0x401715
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
mov dword [0x40b738], ecx
jne 0x401715
cmp word [ecx + 4], 0x14c
jne 0x401715
cmp word [ecx + 0x18], 0x10b
jne 0x401715
movzx eax, word [ecx + 0x14]
lea ecx, [eax + ecx + 0x18]
mov dword [0x40b748], ecx
call entry0
call fcn.00401090
call fcn.00401130
test eax, eax
jne 0x40174d
call fcn.00401530
mov eax, dword [0x4092b4]
mov ecx, dword [0x4092b8]
mov edx, dword [str._PE]
pop ebx
mov dword [0x40b870], eax
mov eax, dword [0x4092c0]
mov dword [0x40b874], ecx
mov cx, word [0x4092c4]
mov dword [0x40b878], edx
mov dl, byte [0x4092c6]
pop edi
mov dword [0x40b87c], eax
mov word [0x40b880], cx
mov byte [0x40b882], dl
pop esi
pop ecx
ret
call fcn.00401530
mov edx, dword [0x4092a4]
mov eax, dword [0x4092a8]
mov ecx, dword [0x4092ac]
pop ebx
mov dword [0x40b870], edx
mov edx, dword [0x4092b0]
pop edi
mov dword [0x40b874], eax
mov dword [0x40b878], ecx
mov dword [0x40b87c], edx
pop esi
pop ecx
ret
mov eax, dword [esp + 0x14]
push eax
call fcn.00401290
add esp, 4
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push 0x40b768
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x401796
call fcn.00401530
mov ecx, 6
mov esi, 0x4092c8
mov edi, 0x40b870
rep movsd dword es:[edi], dword [esi]
pop ebx
movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ecx
ret
mov edx, dword [0x40b750]
mov eax, dword [0x40b73c]
push 0
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
push esi
call dword [0x408020]
push esi
call ebx
push 0x5c
push 0x40b768
call fcn.004019f0
add eax, 1
mov edx, 0x40b870
add esp, 8
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x4017d0
call fcn.00401530
mov eax, 0x40b870
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x4017f0
mov ecx, dword [0x4092e4]
mov edx, dword [0x4092e8]
mov dword [eax], ecx
mov ecx, dword [0x4092ec]
mov dword [eax + 4], edx
mov edx, dword [0x4092f0]
mov dword [eax + 8], ecx
mov cx, word [0x4092f4]
pop ebx
pop edi
mov dword [eax + 0xc], edx
mov word [eax + 0x10], cx
pop esi
pop ecx
ret
Function at 0x4061f5
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x406217
mov eax, 0xfffffffd
jmp 0x4062f4
mov ebx, dword [0x4a345c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4062c2
mov ebx, dword [0x4a345c]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x406266
mov ebx, dword [0x4a345c]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x406266
mov eax, 1
jmp 0x406268
xor eax, eax
test eax, eax
je 0x406294
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x40627d
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x4a345c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x4062ea
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x4062f4
mov esp, ebp
pop ebp
ret 4

Function at 0x406fd3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
call fcn.004064cb
test eax, eax
je 0x40700a
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x40700a
cmp word [eax], 0x5a4d
jne 0x40700a
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x40700a
mov dword [ebp + 8], eax
call fcn.004065f1
mov eax, dword [ebp + 8]
jmp 0x407017
mov esp, ebp
pop ebp
ret 4

Function at 0x4129fd
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
and eax, 1
leave
ret
Function at 0x41c3d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x479c4b
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.0046ea62
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41c452
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046c974
mov eax, dword [eax]
push 0x498cb0
push eax
call fcn.0045f744
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046eced
test bl, bl
je 0x41c452
push 0x498cb0
lea ecx, [esp + 0xc]
call fcn.0046f07d
push 0x498cbc
lea ecx, [esp + 0xc]
call fcn.0046f07d
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 0x41c48e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046eced
jmp 0x41c559
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 0x41c512
lea edx, [esp + 0x7c]
push 0x498cb8
push edx
call fcn.0045f744
add esp, 8
test eax, eax
je 0x41c512
lea eax, [esp + 0x7c]
push 0x498cb4
push eax
call fcn.0045f744
add esp, 8
test eax, eax
je 0x41c512
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 0x41c4a2
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.0046eced
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 0x41cd70
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 0x41cdd2
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 0x41cde0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x479ccb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x49f480]
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 0x41cf18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41ce46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046eced
xor eax, eax
jmp 0x41cf8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046ee2a
push esi
lea ecx, [esp + 0xc]
call fcn.0046f0b9
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 0x41cf6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0041cd70
test eax, eax
jne 0x41cf6d
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.0041cd70
test eax, eax
jne 0x41cf6d
lea eax, [esp + 0x14]
push 0x498ccc
push eax
call fcn.004607c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41cf4c
lea ecx, [esp + 0x14]
push 0x498cc8
push ecx
call fcn.00460740
mov esi, eax
add esp, 8
test esi, esi
jne 0x41cf4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41cf4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046edda
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41ce5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046eced
xor eax, eax
jmp 0x41cf8f
mov byte [esi], 0
push 0x498cc4
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.0046eced
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 0x42efa0
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 0x42f00e
cmp si, 0x69
ja 0x42f00e
add esi, 0xffd0
cmp si, 0x11
je 0x42efde
push 0x11
call edi
test ax, ax
jge 0x42efde
or esi, 0x2000
cmp si, 0x10
je 0x42eff3
push 0x10
call edi
test ax, ax
jge 0x42eff3
or esi, 0x4000
cmp si, 0x12
je 0x42f008
push 0x12
call edi
test ax, ax
jge 0x42f008
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42f01b
mov esi, 0xbd
jmp 0x42efcf
cmp si, 0x6e
jne 0x42f028
mov esi, 0xbe
jmp 0x42efcf
cmp si, 0x6f
jne 0x42efc9
mov esi, 0xbf
jmp 0x42efcf

Function at 0x4307e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4afc50]
xor edx, edx
cmp eax, edx
jne 0x430806
xor eax, eax
mov byte [eax + 0x4afb50], al
inc eax
cmp eax, 0x100
jl 0x4307ee
mov dword [0x4afc50], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4afb50
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x430897
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 0x43086a
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 0x430838
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x430910
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 0x430963
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 0x43094a
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