joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c20a0
Capabilities:
Check if file exists
Get disk information

Disassembly:
sub esp, 0x404
mov eax, dword [esp + 0x418]
push ebx
push ebp
mov ebp, dword [esp + 0x410]
push esi
push edi
lea ecx, [esp + 0x14]
push 0x200
xor ebx, ebx
push ecx
push ebp
mov byte [esp + 0x1f], 0
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jne 0x4c214f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4c2145
mov eax, dword [0x4a78fc]
mov cl, byte [0x4a7900]
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], cl
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4a78f8]
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 0x14], edx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x14]
and ecx, 3
push eax
push ebp
push 1
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test eax, eax
jne 0x4c21fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
jne 0x4c2237
mov ecx, dword [0x4a78f0]
mov edi, ebp
mov dword [esp + 0x214], ecx
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [0x4a78f4]
repne scasb al, byte es:[edi]
not ecx
mov byte [esp + 0x218], dl
sub edi, ecx
lea edx, [esp + 0x214]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
push 3
push eax
mov ecx, edx
push 1
push eax
and ecx, 3
lea eax, [esp + 0x22c]
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4c2204
mov ecx, dword [esp + 0x428]
mov edx, dword [esp + 0x424]
mov eax, dword [esp + 0x420]
push 0
push ecx
push edx
push eax
lea ecx, [esp + 0x42c]
push 4
push ecx
push 0x170002
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4c21f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4c220c
mov byte [esp + 0x13], 1
jmp 0x4c214f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov al, byte [esp + 0x13]
test al, al
je 0x4c2237
lea edx, [esp + 0x14]
push edx
push ebp
push 7
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceA]
test eax, eax
jne 0x4c2237
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x404
ret
Function at 0x4c25f0
Capabilities:
Check if file exists

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x10
lea ecx, [esp]
push esi
push eax
push ecx
call fcn.004c25b0
push 0
push 0x80
push 3
push 0
push 3
lea edx, [esp + 0x18]
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov esi, dword [esp + 0x18]
mov dword [esi], eax
jne 0x4c265f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x4c2646
cmp eax, 3
ja 0x4c2646
mov ax, 0x20c
pop esi
add esp, 0x10
ret 8
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4c2654
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ax, 0x20b
pop esi
add esp, 0x10
ret 8
mov ax, 0x200
pop esi
add esp, 0x10
ret 8

Function at 0x4c2670
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x10
mov al, 0x5c
push esi
mov byte [esp + 4], al
mov byte [esp + 5], al
mov byte [esp + 7], al
push 0
mov al, 0x6e
push 0x80
push 3
mov byte [esp + 0x15], al
mov byte [esp + 0x17], al
push 0
push 3
lea eax, [esp + 0x18]
push 0xc0000000
push eax
mov byte [esp + 0x22], 0x2e
mov byte [esp + 0x24], 0x53
mov byte [esp + 0x26], 0x74
mov byte [esp + 0x28], 0x6c
mov byte [esp + 0x29], 0x55
mov byte [esp + 0x2a], 0x73
mov byte [esp + 0x2b], 0x62
mov byte [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov esi, dword [esp + 0x18]
mov dword [esi], eax
jne 0x4c2710
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x4c26f7
cmp eax, 3
ja 0x4c26f7
mov ax, 0x20c
pop esi
add esp, 0x10
ret 8
mov esi, dword [esi]
cmp esi, 0xffffffff
je 0x4c2705
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ax, 0x20b
pop esi
add esp, 0x10
ret 8
mov ax, 0x200
pop esi
add esp, 0x10
ret 8

Function at 0x4c8dc0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ebx, 4
sub esi, ecx
lea eax, [edi + ecx]
lea edx, [esp + ebp + 0x10]
add edi, ebx
mov cl, byte [esi + eax]
mov byte [edx], cl
mov byte [eax], cl
add edx, 4
inc eax
dec ebx
jne 0x4c8de3
inc ebp
cmp ebp, 4
jl 0x4c8dcb
cmp edi, 0xb0
jge 0x4c8e9a
mov ebp, 0x4a81f0
xor eax, eax
lea ecx, [esp + 0x10]
inc eax
mov edx, eax
and edx, reloc.WSOCK32.dll_closesocket
jns 0x4c8e1e
dec edx
or edx, 0xfffffffc
inc edx
xor ebx, ebx
add ecx, 4
mov bl, byte [esp + edx*4 + 0x13]
mov dl, byte [ebx + 0x4a7ff0]
mov bl, byte [ecx - 4]
xor bl, dl
cmp eax, 4
mov byte [ecx - 4], bl
jl 0x4c8e0e
mov al, byte [ebp]
mov cl, byte [esp + 0x10]
xor cl, al
add ebp, 4
mov byte [esp + 0x10], cl
mov esi, 1
lea eax, [esp + esi + 0x10]
mov ecx, 4
mov dl, byte [eax - 1]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
add eax, 4
dec ecx
jne 0x4c8e58
inc esi
cmp esi, 4
jl 0x4c8e4f
xor esi, esi
lea eax, [esp + esi + 0x10]
mov ecx, 4
mov ebx, dword [esp + 0x24]
mov dl, byte [eax]
add eax, 4
mov byte [edi + ebx], dl
inc edi
dec ecx
jne 0x4c8e78
inc esi
cmp esi, 4
jl 0x4c8e6f
cmp edi, 0xb0
jl 0x4c8e08
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4c8eb0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
push ebp
push esi
call fcn.004c8f40
add esp, 8
lea edi, [ebp + 0x10]
mov ebx, 9
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x4a7ff0]
mov byte [eax + esi - 1], dl
jl 0x4c8ed0
push 0
push esi
call fcn.004c8f70
push esi
call fcn.004c8fc0
push edi
push esi
call fcn.004c8f40
add esp, 0x14
add edi, 0x10
dec ebx
jne 0x4c8ece
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x4a7ff0]
mov byte [eax + esi - 1], dl
jl 0x4c8f05
push 0
push esi
call fcn.004c8f70
add ebp, 0xa0
push ebp
push esi
call fcn.004c8f40
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4c8f40
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push ebx
push esi
sub ecx, eax
mov esi, 0x10
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x4c8f51
pop esi
pop ebx
ret

Function at 0x4c90e0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
lea eax, [ebp + 0xa0]
push eax
push esi
call fcn.004c8f40
add esp, 8
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x4a80f0]
mov byte [eax + esi - 1], dl
jl 0x4c90fe
push 0x10
push esi
call fcn.004c8f70
add esp, 8
lea edi, [ebp + 0x90]
mov ebx, 9
push edi
push esi
call fcn.004c8f40
push esi
call fcn.004c9170
add esp, 0xc
xor eax, eax
xor ecx, ecx
mov cl, byte [eax + esi]
inc eax
cmp eax, 0x10
mov dl, byte [ecx + 0x4a80f0]
mov byte [eax + esi - 1], dl
jl 0x4c913b
push 0x10
push esi
call fcn.004c8f70
add esp, 8
sub edi, 0x10
dec ebx
jne 0x4c9129
push ebp
push esi
call fcn.004c8f40
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4c9170
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
xor edi, edi
lea eax, [esp + edi + 0x14]
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], eax
mov eax, ebp
sub eax, ecx
mov esi, 1
mov dword [esp + 0x10], eax
lea edx, [esi - 2]
and edx, 3
add edx, edi
mov al, byte [edx + ebp]
push eax
push 9
call fcn.004c9090
lea ecx, [esi + 1]
mov bl, al
and ecx, 3
add ecx, edi
mov dl, byte [ecx + ebp]
push edx
push 0xd
call fcn.004c9090
xor bl, al
mov eax, esi
and eax, 3
add eax, edi
mov cl, byte [eax + ebp]
push ecx
push 0xb
call fcn.004c9090
mov edx, dword [esp + 0x28]
xor bl, al
mov eax, dword [esp + 0x40]
mov cl, byte [edx + eax]
push ecx
push 0xe
call fcn.004c9090
add esp, 0x20
xor bl, al
mov eax, dword [esp + 0x28]
inc esi
mov byte [eax], bl
lea edx, [esi - 1]
inc eax
cmp edx, 4
mov dword [esp + 0x28], eax
jl 0x4c9196
add edi, 4
cmp edi, 0x10
jl 0x4c917d
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [ebp], eax
mov eax, dword [esp + 0x20]
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
pop edi
mov dword [ebp + 0xc], eax
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x4d69e0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
mov bx, word [esp + 0x48]
push esi
mov esi, dword [esp + 0x50]
cmp bx, 4
mov word [esi], 0
jbe 0x4d6a03
pop esi
xor al, al
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.004d66d0
lea ecx, [esp + 0x38]
push 0x10
push ecx
call fcn.004d6720
lea edx, [esp + 0x18]
push 0x10
push edx
call fcn.004d67c0
lea eax, [esp + 0x18]
add bl, 0x31
push eax
call fcn.004b4740
and eax, 0xffff
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xc]
mov byte [esp + eax + 0x1c], bl
push 0x10
push edx
lea eax, [esp + 0x24]
push 0x4a8a64
lea ecx, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4d6ab3
lea edx, [esp + 8]
push 0x2c
push edx
call fcn.004d69b0
test ax, ax
je 0x4d6a7d
and eax, 0xffff
mov byte [esp + eax + 8], 0
cmp byte [esp + 8], 0x30
jne 0x4d6a9f
mov al, byte [esp + 9]
and al, 0xdf
cmp al, 0x58
jne 0x4d6a9f
lea ecx, [esp + 0xa]
push esi
push ecx
call fcn.004b4850
test al, al
jne 0x4d6ab3
jmp 0x4d6aae
lea edx, [esp + 8]
push esi
push edx
call fcn.004b47b0
test al, al
jne 0x4d6ab3
mov word [esi], 0
mov ax, word [esi]
test ax, ax
je 0x4d6ace
cmp ax, 0xffff
je 0x4d6ace
pop esi
mov eax, 1
pop ebx
add esp, 0x40
ret 8
pop esi
xor eax, eax
pop ebx
add esp, 0x40
ret 8
Function at 0x4d6ae0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40
push ebx
mov bx, word [esp + 0x48]
push esi
mov esi, dword [esp + 0x50]
cmp bx, 4
mov word [esi], 0
jbe 0x4d6b03
pop esi
xor al, al
pop ebx
add esp, 0x40
ret 8
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.004d66d0
lea ecx, [esp + 0x38]
push 0x10
push ecx
call fcn.004d6720
lea edx, [esp + 0x18]
push 0x10
push edx
call fcn.004d67c0
lea eax, [esp + 0x18]
add bl, 0x31
push eax
call fcn.004b4740
and eax, 0xffff
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xc]
mov byte [esp + eax + 0x1c], bl
push 0x10
push edx
lea eax, [esp + 0x24]
push 0x4a8a64
lea ecx, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4d6bae
lea edx, [esp + 8]
push 0x2c
push edx
call fcn.004d69b0
test ax, ax
je 0x4d6bae
and eax, 0xffff
mov cl, byte [esp + eax + 9]
and cl, 0xdf
cmp cl, 0x54
jne 0x4d6bae
cmp byte [esp + eax + 0xa], 0x3a
jne 0x4d6bae
lea edx, [esp + eax + 0xb]
push esi
push edx
call fcn.004b47b0
test al, al
je 0x4d6ba9
mov ax, word [esi]
cmp ax, 1
jl 0x4d6ba9
cmp ax, 7
jle 0x4d6bae
mov word [esi], 0
xor eax, eax
cmp word [esi], ax
pop esi
pop ebx
setne al
add esp, 0x40
ret 8

Function at 0x4d6bc0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x50
lea eax, [esp]
push esi
push 0x10
push eax
call fcn.004d66d0
lea ecx, [esp + 0x24]
push 0x10
push ecx
call fcn.004d6720
lea edx, [esp + 0x14]
push 0x10
push edx
call fcn.004d6880
lea eax, [esp + 0x44]
push 0x10
push eax
call fcn.004d6840
lea ecx, [esp + 4]
lea edx, [esp + 0x34]
push ecx
push 0x10
push edx
lea eax, [esp + 0x20]
push 0x4a8a64
lea ecx, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
test esi, esi
je 0x4d6c30
lea edx, [esp + 0x34]
lea eax, [esp + 0x44]
push edx
push eax
call fcn.004b45f0
mov ecx, dword [esp + 0x5c]
mov byte [ecx], al
xor eax, eax
test esi, esi
setne al
pop esi
add esp, 0x50
ret 8

Function at 0x4d6c40
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x30
lea eax, [esp]
push 0x10
push eax
call fcn.004d66d0
lea ecx, [esp + 0x20]
push 0x10
push ecx
call fcn.004d6720
lea edx, [esp + 0x10]
push 0x10
push edx
call fcn.004d6800
lea eax, [esp]
lea ecx, [esp + 0x10]
push eax
push 0
lea edx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor edx, edx
mov ecx, dword [esp + 0x34]
test eax, eax
setne dl
mov word [ecx], ax
mov al, dl
add esp, 0x30
ret 4
Function at 0x4d6ca0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x70
lea eax, [esp]
push esi
mov esi, dword [esp + 0x78]
push 0x10
push 0
push eax
mov word [esi], 0
call fcn.004b4760
lea ecx, [esp + 0x14]
push 0x10
push ecx
call fcn.004d66d0
lea edx, [esp + 0x34]
push 0x10
push edx
call fcn.004d6720
lea eax, [esp + 0x24]
push 0x10
push eax
call fcn.004d6770
lea ecx, [esp + 0x44]
push 0x10
push ecx
call fcn.004d68d0
lea edx, [esp + 0x54]
push 0x10
push edx
call fcn.004d6960
lea eax, [esp + 0x64]
push 0x10
push eax
call fcn.004d6920
lea ecx, [esp + 0x14]
lea edx, [esp + 4]
push ecx
push 0x10
push edx
lea eax, [esp + 0x30]
push 0x4a8a64
lea ecx, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4d6d8e
lea edx, [esp + 0x44]
lea eax, [esp + 4]
push edx
push eax
call fcn.004b45f0
test al, al
je 0x4d6d4f
xor eax, eax
mov word [esi], 2
cmp word [esi], ax
pop esi
setne al
add esp, 0x70
ret 4
lea ecx, [esp + 0x54]
lea edx, [esp + 4]
push esp
and al, 4
Function at 0x4ee3a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc7000]
push edi
or ebp, 0xffffffff
jmp 0x4ee3c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ee3c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ee3b8
mov eax, 1
add ebx, ebx
jne 0x4ee3db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ee3ec
jne 0x4ee40b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ee40b
dec eax
add ebx, ebx
jne 0x4ee3f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ee3d0
add ebx, ebx
jne 0x4ee407
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4ee45d
xor ecx, ecx
sub eax, 3
jb 0x4ee423
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ee492
sar eax, 1
mov ebp, eax
jmp 0x4ee42e
add ebx, ebx
jne 0x4ee42e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ee3fc
inc ecx
add ebx, ebx
jne 0x4ee43c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ee3fc
add ebx, ebx
jne 0x4ee449
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ee43e
jne 0x4ee45a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ee43e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ee47c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ee46e
jmp 0x4ee3be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ee47c
add edi, ecx
jmp 0x4ee3be
pop esi
mov edi, esi
mov ecx, 0x866
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ee49a
cmp byte [edi], 0xa
jne 0x4ee49a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4ee49f
lea edi, [esi + 0xec000]
mov eax, dword [edi]
or eax, eax
je 0x4ee517
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xee6b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xee804]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ee4cc
mov ecx, edi
jns 0x4ee4fb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xee808]
or eax, eax
je 0x4ee511
mov dword [ebx], eax
add ebx, 4
jmp 0x4ee4e9
call dword [esi + 0xee818]
mov ebp, dword [esi + 0xee80c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4ee54b
sub esp, 0xffffff80
jmp 0x465d14
Function at 0x4239f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4896eb
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.0047e14f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x423a72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0047b8bd
mov eax, dword [eax]
push 0x7f0210
push eax
call fcn.0046df64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0047e3da
test bl, bl
je 0x423a72
push 0x7f0210
lea ecx, [esp + 0xc]
call fcn.0047e76a
push 0x7f3db4
lea ecx, [esp + 0xc]
call fcn.0047e76a
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 0x423aae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0047e3da
jmp 0x423b79
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 0x423b32
lea edx, [esp + 0x7c]
push 0x7f3db0
push edx
call fcn.0046df64
add esp, 8
test eax, eax
je 0x423b32
lea eax, [esp + 0x7c]
push 0x7f3dac
push eax
call fcn.0046df64
add esp, 8
test eax, eax
je 0x423b32
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 0x423ac2
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.0047e3da
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 0x424370
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 0x4243d2
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 0x4243e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48976b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x7fa3b0]
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 0x424518
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x424446
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047e3da
xor eax, eax
jmp 0x42458f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0047e517
push esi
lea ecx, [esp + 0xc]
call fcn.0047e7a6
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 0x42456d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00424370
test eax, eax
jne 0x42456d
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 closesocket
mov ecx, edi
call fcn.00424370
test eax, eax
jne 0x42456d
lea eax, [esp + 0x14]
push 0x7f3dc8
push eax
call fcn.0046f070
mov esi, eax
add esp, 8
test esi, esi
jne 0x42454c
lea ecx, [esp + 0x14]
push 0x7f3dc4
push ecx
call fcn.0046eff0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42454c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42454f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0047e4c7
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42445e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0047e3da
xor eax, eax
jmp 0x42458f
mov byte [esi], 0
push 0x7f3dc0
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.0047e3da
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 0x437730
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 0x43779e
cmp si, 0x69
ja 0x43779e
add esi, 0xffd0
cmp si, 0x11
je 0x43776e
push 0x11
call edi
test ax, ax
jge 0x43776e
or esi, 0x2000
cmp si, 0x10
je 0x437783
push 0x10
call edi
test ax, ax
jge 0x437783
or esi, 0x4000
cmp si, 0x12
je 0x437798
push 0x12
call edi
test ax, ax
jge 0x437798
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4377ab
mov esi, 0xbd
jmp 0x43775f
cmp si, 0x6e
jne 0x4377b8
mov esi, 0xbe
jmp 0x43775f
cmp si, 0x6f
jne 0x437759
mov esi, 0xbf
jmp 0x43775f

Function at 0x438f60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x80ad80]
xor edx, edx
cmp eax, edx
jne 0x438f86
xor eax, eax
mov byte [eax + 0x80ac80], al
inc eax
cmp eax, 0x100
jl 0x438f6e
mov dword [0x80ad80], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x80ac80
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x439017
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 0x438fea
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 0x438fb8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x439090
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 0x4390e3
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 0x4390ca
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