joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45afc0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a4be4]
cmp dword [eax + 0x30], 0
je 0x45b06a
cmp dword [ebx + 0x94], 0
jne 0x45b064
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45af50
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45b064
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je fcn.0045b02a
mov dword [esp], 0xfffffffe

Function at 0x45bbc8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45bbfd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004046c4
jmp 0x45bc0a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404628
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45cdd4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45ce15
mov eax, esi
call fcn.00443268
test al, al
je 0x45ce15
mov eax, dword [ebx + 0x84]
call fcn.00442f64
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45ce15
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442f64
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x460500
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46052e
mov eax, ebx
call fcn.00460fb4
cmp dword [ebx + 0x40], 0
je 0x460527
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46059f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x460591
cmp dword [ebx + 8], 0
je 0x460550
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x460562
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x460591
cmp dword [ebx + 8], 0
je 0x460543
cmp eax, 3
je 0x460575
dec eax
jne 0x460543
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x460543
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x460543
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4605bd
cmp dword [ebx + 0x14], 0xcc
je 0x4605bd
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004605c8
pop ebx
ret
Function at 0x47e754
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x47e75c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47e94e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x47e964
mov eax, esi
call fcn.0047c5e0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404628
lea ecx, [ebp - 0x10]
mov edx, 0x47e978
mov eax, esi
call fcn.0047c5e0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404628
lea ecx, [ebp - 0x14]
mov edx, 0x47e990
mov eax, esi
call fcn.0047c5e0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404628
lea ecx, [ebp - 0x18]
mov edx, 0x47e9ac
mov eax, esi
call fcn.0047c5e0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404628
lea ecx, [ebp - 0x1c]
mov edx, 0x47e9c8
mov eax, esi
call fcn.0047c5e0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404628
lea ecx, [ebp - 0x24]
mov edx, 0x47e9e0
mov eax, esi
call fcn.0047c5e0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004089bc
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408db0
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x47e9f8
mov eax, esi
call fcn.0047c5e0
mov eax, dword [ebp - 0x28]
call fcn.004760b8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x47ea08
mov eax, esi
call fcn.0047c5e0
mov eax, dword [ebp - 0x2c]
call fcn.004760b8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x47ea20
mov eax, esi
call fcn.0047c5e0
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408db0
inc eax
je 0x47e8f1
lea ecx, [ebp - 0x34]
mov edx, 0x47ea20
mov eax, esi
call fcn.0047c5e0
mov eax, dword [ebp - 0x34]
call fcn.00408d74
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a340
fstp qword [ebp - 0x3c]
wait
call fcn.0040a6b0
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x47e90c
lea ecx, [ebp - 0x40]
mov edx, 0x47ea20
mov eax, esi
call fcn.0047c5e0
mov eax, dword [ebp - 0x40]
call fcn.004760b8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x47ea30
mov eax, esi
call fcn.0047c5e0
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404628
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e955
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004045f8
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004045f8
ret
Function at 0x4856e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x48573a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004856d0
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00474d24
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00474924
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485741
lea eax, [ebp - 4]
call fcn.004045d4
ret

Function at 0x489114
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41567c]
call fcn.00404f90
xor eax, eax
push ebp
push 0x489258
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a0f14], 0
jne 0x489167
mov ecx, dword [0x4a3264]
mov dl, 1
mov eax, dword [0x407a68]
call fcn.0040c53c
call fcn.00403f64
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040314c
mov eax, ebx
call fcn.00404e3c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x489268
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004060e4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e4c
test eax, eax
jle 0x4891ff
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4891f8
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040485c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404844
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040894c
test eax, eax
jne 0x4891f8
mov ebx, 0x15
jmp 0x489204
mov ebx, 0x10
jmp 0x489204
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4a0f14]
call fcn.00489010
mov eax, dword [ebp - 8]
call fcn.00489010
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004060fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48925f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045f8
lea eax, [ebp - 0x10]
mov edx, dword [0x41567c]
call fcn.00405060
ret
Function at 0x4901c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x24]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x6c]
sub edi, dword [ebx + 0x64]
test edi, edi
jne 0x4901ea
cmp dword [ebx + 0x64], 0
jne 0x4901ea
cmp dword [ebx + 0x6c], 0
jne 0x4901ea
mov edi, esi
jmp 0x490271
cmp edi, 0xffffffff
jne 0x4901f2
dec edi
jmp 0x490271
mov eax, dword [ebx + 0x24]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x64]
ja 0x490271
push esi
mov eax, dword [ebx + 0x30]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0048f5bc
add esp, 0xc
sub dword [ebx + 0x68], esi
sub dword [ebx + 0x64], esi
sub dword [ebx + 0x54], ebp
mov eax, dword [ebx + 0x44]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3c]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x49023f
mov cx, word [esp]
sub cx, si
jmp 0x490241
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x490228
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x38]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x490267
mov cx, word [esp]
sub cx, si
jmp 0x490269
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x490250
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4902ce
mov edx, dword [ebx + 0x30]
mov ecx, edi
add edx, dword [ebx + 0x64]
mov eax, ebp
add edx, dword [ebx + 0x6c]
call fcn.0048ff5c
add dword [ebx + 0x6c], eax
cmp dword [ebx + 0x6c], 3
jb 0x4902b9
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x64]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x40], eax
mov ecx, dword [ebx + 0x50]
shl eax, cl
mov edx, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x64]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp dword [ebx + 0x6c], 0x106
jae 0x4902ce
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4901ca
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x496524
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x4a4f90
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x496546
shr eax, 1
xor eax, 0xedb88320
jmp 0x496548
shr eax, 1
dec edx
jne 0x496534
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x49652d
mov byte [0x4a5390], 1
pop esi
pop ebx
ret

Function at 0x496564
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x4a5390], 0
jne 0x49657b
call fcn.00496524
mov eax, edi
dec eax
test eax, eax
jl 0x4965a4
inc eax
xor edx, edx
xor ecx, ecx
mov cl, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4a4f90]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x496585
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x498b78
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x498ba9
dec al
je 0x498be5
dec al
je 0x498c29
dec al
je 0x498c94
jmp 0x498d1e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x498d1e
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x498bb9
jmp 0x498d1e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x498d1e
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x498bf5
jmp 0x498d1e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x498d1e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x498c57
xor ebp, ebp
jmp 0x498c68
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x498c71
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x498c39
jmp 0x498d1e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x498d1e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x498cec
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.004965ac
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x498ca8
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x53cab0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd0000]
push edi
or ebp, 0xffffffff
jmp 0x53cad2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x53cad9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53cac8
mov eax, 1
add ebx, ebx
jne 0x53caeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x53cafc
jne 0x53cb1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53cb1b
dec eax
add ebx, ebx
jne 0x53cb08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x53cae0
add ebx, ebx
jne 0x53cb17
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x53cb6d
xor ecx, ecx
sub eax, 3
jb 0x53cb33
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53cba2
sar eax, 1
mov ebp, eax
jmp 0x53cb3e
add ebx, ebx
jne 0x53cb3e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53cb0c
inc ecx
add ebx, ebx
jne 0x53cb4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53cb0c
add ebx, ebx
jne 0x53cb59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x53cb4e
jne 0x53cb6a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x53cb4e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x53cb8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x53cb7e
jmp 0x53cace
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x53cb8c
add edi, ecx
jmp 0x53cace
pop esi
mov edi, esi
mov ecx, 0x4401
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x53cbaa
cmp byte [edi], 0x1e
jne 0x53cbaa
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 0x53cbaf
lea edi, [esi + 0x139000]
mov eax, dword [edi]
or eax, eax
je 0x53cc27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x13ddec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13df10]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x53cbdc
mov ecx, edi
jns 0x53cc0b
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 + 0x13df18]
or eax, eax
je 0x53cc21
mov dword [ebx], eax
add ebx, 4
jmp 0x53cbf9
call dword [esi + 0x13df14]
mov ebp, dword [esi + 0x13df1c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0x53cc5b
sub esp, 0xffffff80
jmp 0x498f99
Function at 0x421d20
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47cfab
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.00471a06
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x421da2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046f91d
mov eax, dword [eax]
push 0x4b01e0
push eax
call fcn.00462784
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00471c91
test bl, bl
je 0x421da2
push 0x4b01e0
lea ecx, [esp + 0xc]
call fcn.00472021
push 0x4b3d5c
lea ecx, [esp + 0xc]
call fcn.00472021
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 0x421dde
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00471c91
jmp 0x421ea9
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 0x421e62
lea edx, [esp + 0x7c]
push 0x4b3d58
push edx
call fcn.00462784
add esp, 8
test eax, eax
je 0x421e62
lea eax, [esp + 0x7c]
push 0x4b3d54
push eax
call fcn.00462784
add esp, 8
test eax, eax
je 0x421e62
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 0x421df2
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.00471c91
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 0x4226a0
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 0x422702
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 0x422710
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47d02b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ba200]
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 0x422848
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x422776
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00471c91
xor eax, eax
jmp 0x4228bf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00471dce
push esi
lea ecx, [esp + 0xc]
call fcn.0047205d
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 0x42289d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.004226a0
test eax, eax
jne 0x42289d
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.004226a0
test eax, eax
jne 0x42289d
lea eax, [esp + 0x14]
push 0x4b3d70
push eax
call fcn.00463890
mov esi, eax
add esp, 8
test esi, esi
jne 0x42287c
lea ecx, [esp + 0x14]
push 0x4b3d6c
push ecx
call fcn.00463810
mov esi, eax
add esp, 8
test esi, esi
jne 0x42287c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42287f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00471d7e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x42278e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00471c91
xor eax, eax
jmp 0x4228bf
mov byte [esi], 0
push 0x4b3d68
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.00471c91
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 0x432e80
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 0x432eee
cmp si, 0x69
ja 0x432eee
add esi, 0xffd0
cmp si, 0x11
je 0x432ebe
push 0x11
call edi
test ax, ax
jge 0x432ebe
or esi, 0x2000
cmp si, 0x10
je 0x432ed3
push 0x10
call edi
test ax, ax
jge 0x432ed3
or esi, 0x4000
cmp si, 0x12
je 0x432ee8
push 0x12
call edi
test ax, ax
jge 0x432ee8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x432efb
mov esi, 0xbd
jmp 0x432eaf
cmp si, 0x6e
jne 0x432f08
mov esi, 0xbe
jmp 0x432eaf
cmp si, 0x6f
jne 0x432ea9
mov esi, 0xbf
jmp 0x432eaf

Function at 0x434620
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4ca8c0]
xor edx, edx
cmp eax, edx
jne 0x434646
xor eax, eax
mov byte [eax + 0x4ca7c0], al
inc eax
cmp eax, 0x100
jl 0x43462e
mov dword [0x4ca8c0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4ca7c0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4346d7
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 0x4346aa
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 0x434678
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x434750
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 0x4347a3
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 0x43478a
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