joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d130
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43c8db
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x44c274]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x44c274]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x12c]
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.0042f930
push 0x104
lea eax, [esp + 0x18]
push 0
push eax
mov dword [esp + 0x130], 0
call fcn.00414950
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.mylicense.lic
lea edx, [esp + 0x18]
push 0x104
push edx
call fcn.0041f4a9
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call sub.SHLWAPI.dll_PathFileExistsA
test eax, eax
je 0x42d1df
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
call fcn.0042f440
mov esi, eax
push ebx
push esi
lea ecx, [esp + 0x18]
call fcn.0042f4a0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x130]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0042bc40
lea ecx, [esp + 0x10]
mov esi, eax
mov dword [esp + 0x124], 0xffffffff
call fcn.0042f410
mov eax, esi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.004144f2
add esp, 0x118
ret 8
Function at 0x42ee40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0x44d578
push edx
push ecx
mov esi, dword [ebp + 0xc]
sub eax, eax
test esi, esi
je 0x42ef11
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
not eax
test ecx, ecx
je 0x42ef0f
test esi, 3
je 0x42ee87
xor al, byte [esi]
inc esi
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x42ee70
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x42eef5
jmp 0x42eea0
xor eax, dword [esi]
add esi, 4
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x42eea0
mov ecx, edx
jecxz 0x42ef0f
lea esp, [esp]
xor al, byte [esi]
inc esi
movzx ebx, al
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x42ef00
not eax
pop ecx
pop edx
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42f4a0
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov eax, edx
push esi
lea esi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42f4b0
push 0
lea ecx, [esp + 0x10]
push ecx
sub eax, esi
push eax
push edx
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 1
pop esi
ret 8

Function at 0x42f4e0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
push esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
jne 0x42f508
pop esi
ret 0xc
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push edi
push 0
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
neg eax
sbb eax, eax
and eax, dword [esp + 0x14]
pop edi
pop esi
ret 0xc
Function at 0x42f720
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x18
push esi
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42f7ae
push 0
push 0x80
push 3
push 0
push 5
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x42f7ae
cmp esi, 0xffffffff
je 0x42f7ae
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x42f7ae
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push eax
lea ecx, [esp + 8]
push ecx
call esi
mov edx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x10]
push eax
call esi
mov ecx, dword [esp + 0x2c]
push ecx
lea edx, [esp + 0x18]
push edx
call esi
mov eax, 1
pop esi
add esp, 0x18
ret 0x10
xor eax, eax
pop esi
add esp, 0x18
ret 0x10

Function at 0x42f7c0
Capabilities:
Check if file exists
Timestomp file

Disassembly:
sub esp, 0x18
push esi
mov esi, dword [esp + 0x20]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42f843
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x42f843
cmp esi, 0xffffffff
je 0x42f843
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x3c]
push eax
call edi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x4c]
push edx
call edi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
pop edi
jne 0x42f84c
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop esi
add esp, 0x18
ret 0x34
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
add esp, 0x18
ret 0x34

Function at 0x42f940
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x44c274]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [str.echoyu_19810706]
mov edx, dword [0x443090]
mov ecx, dword [0x44308c]
push ebx
mov dword [esp + 4], eax
mov eax, dword [0x443094]
push esi
mov dword [esp + 0x14], eax
lea eax, [esp + 8]
push edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov edi, 0x5be3b238
mov ebx, 0x708d1
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42f988
sub eax, edx
mov esi, eax
xor ecx, ecx
test esi, esi
jle 0x42f9b6
jmp 0x42f9a0
movsx eax, byte [esp + ecx + 0xc]
or eax, 0x80
cdq
add ecx, 1
xor edi, eax
xor ebx, edx
cmp ecx, esi
jl 0x42f9a0
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov edx, ebx
pop ebx
xor ecx, esp
call fcn.004144f2
add esp, 0x14
ret
Function at 0x42f9d0
Capabilities:
Check if file exists
Delete file
Encode data using xor
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43cbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x44c274]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44c274]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
lea ecx, [esp + 0x14]
call fcn.0042f930
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0
call sub.SHLWAPI.dll_PathFileExistsA
test eax, eax
jne 0x42fa43
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0042f410
xor eax, eax
jmp 0x42fb7a
mov ecx, esi
call fcn.0042f940
push ebp
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
call sub.SHLWAPI.dll_PathFileExistsA
test eax, eax
je 0x42fa67
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
lea ecx, [esp + 0x18]
call fcn.0042f540
mov ebx, eax
lea eax, [ebx + 1]
push eax
call fcn.004149ca
add esp, 4
push edi
mov esi, eax
push ebx
push esi
lea ecx, [esp + 0x20]
mov dword [esi], 0
call fcn.0042f4e0
cmp ebx, eax
mov dword [esp + 0x18], eax
jne 0x42fa2b
xor eax, eax
test ebx, ebx
jle 0x42fab5
mov cl, byte [eax + esi]
xor cl, bl
xor cl, byte [esp + 0x1c]
add eax, 1
cmp eax, ebx
mov byte [eax + esi - 1], cl
jl 0x42faa1
push ebp
lea ecx, [esp + 0x18]
call fcn.0042f440
mov edi, eax
test edi, edi
je 0x42fa2b
push 0
lea edx, [esp + 0x1c]
push edx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call fcn.00414e0e
mov eax, dword [str.echoyu_1981]
mov ecx, dword [0x44309c]
mov edx, dword [0x4430a0]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
add esp, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x42fb08
sub eax, esi
test eax, eax
jle 0x42fb41
jmp 0x42fb20
mov al, byte [esp + 0x1c]
xor byte [esp + ecx + 0x24], al
lea eax, [esp + 0x24]
add ecx, 1
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x42fb32
sub eax, esi
cmp ecx, eax
jl 0x42fb20
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0x24]
push ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.0042f4a0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0042f410
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004144f2
add esp, 0x2c
ret 8
Function at 0x4308a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43cd61
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44c274]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x24], ecx
xor edi, edi
mov dword [esp + 0x1c], edi
mov eax, dword [0x44e33c]
mov edx, dword [eax + 0xc]
mov esi, 1
mov ecx, 0x44e33c
mov dword [esp + 0x38], esi
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, dword [0x44e33c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44e33c
mov byte [esp + 0x38], 2
call edx
mov ebp, dword [esp + 0x40]
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax - 0xc]
cmp eax, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], edi
jle 0x4309f4
mov ecx, dword [esp + 0x14]
push 2
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x50]
call fcn.00428d80
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 3
call fcn.00426850
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430972
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00426480
mov ecx, dword [esp + 0x2c]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00430770
mov bl, al
mov eax, dword [ebp]
mov edi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x4309bb
push esi
mov ecx, ebp
call fcn.004041c0
test esi, esi
mov eax, dword [ebp]
mov byte [eax + edi], bl
jl 0x430a56
mov eax, dword [ebp]
cmp esi, dword [eax - 8]
jg 0x430a56
mov dword [eax - 0xc], esi
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp]
add eax, 2
cmp eax, dword [esp + 0x28]
mov byte [esi + ecx], 0
mov dword [esp + 0x14], eax
jl 0x430929
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x430a19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430a3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
push 0x80070057
call fcn.00401000
int3
Function at 0x430a70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x43cd8b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44c274]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x4430a8
mov eax, dword [0x44e33c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44e33c
lea edi, [esi + 4]
call edx
add eax, 0x10
mov dword [edi], eax
push 0
push 0x44161a
mov ecx, edi
mov dword [esp + 0x20], 0
mov dword [esi + 8], 0x13579bdf
mov dword [esi + 0xc], 0x2468ace0
mov dword [esi + 0x10], 0xfdb97531
mov dword [esi + 0x14], 0x80000062
mov dword [esi + 0x18], 0x40000020
mov dword [esi + 0x1c], 0x10000002
mov dword [esi + 0x20], SysReAllocStringLen
mov dword [esi + 0x24], 0x3fffffff
mov dword [esi + 0x28], 0xfffffff
mov dword [esi + 0x2c], SysReAllocStringLen
mov dword [esi + 0x30], 0xc0000000
mov dword [esi + 0x34], 0xf0000000
call fcn.00426590
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x431b10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp]
push eax
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 8
ret 8
Function at 0x1ef2860
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x193e000]
push edi
or ebp, 0xffffffff
jmp 0x1ef2882
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1ef2889
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ef2878
mov eax, 1
add ebx, ebx
jne 0x1ef289b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1ef28ac
jne 0x1ef28cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ef28cb
dec eax
add ebx, ebx
jne 0x1ef28b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1ef2890
add ebx, ebx
jne 0x1ef28c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1ef291d
xor ecx, ecx
sub eax, 3
jb 0x1ef28e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1ef2952
sar eax, 1
mov ebp, eax
jmp 0x1ef28ee
add ebx, ebx
jne 0x1ef28ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ef28bc
inc ecx
add ebx, ebx
jne 0x1ef28fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1ef28bc
add ebx, ebx
jne 0x1ef2909
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1ef28fe
jne 0x1ef291a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1ef28fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1ef293c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1ef292e
jmp 0x1ef287e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1ef293c
add edi, ecx
jmp 0x1ef287e
pop esi
mov edi, esi
mov ecx, 0x4c4b08
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1ef2977
cmp byte [edi], 0x26
jne 0x1ef295c
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1ef295a
lea edi, [esi + 0x1ab6000]
mov eax, dword [edi]
or eax, eax
je 0x1ef29bf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2f499ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2f49adc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1ef297d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2f49ae4]
or eax, eax
je 0x1ef29b9
mov dword [ebx], eax
add ebx, 4
jmp 0x1ef299a
call dword [esi + 0x2f49ae0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1ef29f0
cmp al, 0xef
ja 0x1ef29e3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1ef29c5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1ef29d2
mov ebp, dword [esi + 0x2f49ae8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x1ef2a24
sub esp, 0xffffff80
jmp 0x919f70
Function at 0x4324e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bac8b
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.004ae73e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x432562
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004ab651
mov eax, dword [eax]
push 0x5af224
push eax
call fcn.0049d354
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ae9c9
test bl, bl
je 0x432562
push 0x5af224
lea ecx, [esp + 0xc]
call fcn.004aed59
push 0x5b2d9c
lea ecx, [esp + 0xc]
call fcn.004aed59
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 0x43259e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ae9c9
jmp 0x432669
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 0x432622
lea edx, [esp + 0x7c]
push 0x5b2d98
push edx
call fcn.0049d354
add esp, 8
test eax, eax
je 0x432622
lea eax, [esp + 0x7c]
push 0x5b2d94
push eax
call fcn.0049d354
add esp, 8
test eax, eax
je 0x432622
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 0x4325b2
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.004ae9c9
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 0x432e60
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 0x432ec2
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 0x432ed0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4bad0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5bc464]
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 0x433008
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x432f36
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ae9c9
xor eax, eax
jmp 0x43307f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004aeb06
push esi
lea ecx, [esp + 0xc]
call fcn.004aed95
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 0x43305d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00432e60
test eax, eax
jne 0x43305d
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 SysReAllocString
mov ecx, edi
call fcn.00432e60
test eax, eax
jne 0x43305d
lea eax, [esp + 0x14]
push 0x5b2db0
push eax
call fcn.0049e460
mov esi, eax
add esp, 8
test esi, esi
jne 0x43303c
lea ecx, [esp + 0x14]
push 0x5b2dac
push ecx
call fcn.0049e3e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43303c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43303f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004aeab6
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x432f4e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ae9c9
xor eax, eax
jmp 0x43307f
mov byte [esi], 0
push 0x5b2da8
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.004ae9c9
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 0x4473f0
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 0x44745e
cmp si, 0x69
ja 0x44745e
add esi, 0xffd0
cmp si, 0x11
je 0x44742e
push 0x11
call edi
test ax, ax
jge 0x44742e
or esi, 0x2000
cmp si, 0x10
je 0x447443
push 0x10
call edi
test ax, ax
jge 0x447443
or esi, 0x4000
cmp si, 0x12
je 0x447458
push 0x12
call edi
test ax, ax
jge 0x447458
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x44746b
mov esi, 0xbd
jmp 0x44741f
cmp si, 0x6e
jne 0x447478
mov esi, 0xbe
jmp 0x44741f
cmp si, 0x6f
jne 0x447419
mov esi, 0xbf
jmp 0x44741f

Function at 0x448c20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5cccd0]
xor edx, edx
cmp eax, edx
jne 0x448c46
xor eax, eax
mov byte [eax + 0x5ccbd0], al
inc eax
cmp eax, 0x100
jl 0x448c2e
mov dword [0x5cccd0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5ccbd0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x448cd7
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 0x448caa
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 0x448c78
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x448d50
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 0x448da3
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 0x448d8a
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