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

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46bbb8]
cmp dword [eax + 0x30], 0
je 0x44c582
cmp dword [ebx + 0x94], 0
jne 0x44c57c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44c468
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44c57c
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 0x44c542
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44c57c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041435c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44c551
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44d0e4
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 0x44d119
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.00404120
jmp 0x44d126
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404084
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44dff4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44e035
mov eax, esi
call fcn.00434b44
test al, al
je 0x44e035
mov eax, dword [ebx + 0x84]
call fcn.004348e4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44e035
push 0
mov eax, dword [ebx + 0x84]
call fcn.004348e4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45c514
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 0x45c51c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x45c70e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x45c724
mov eax, esi
call fcn.0045a3a0
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404084
lea ecx, [ebp - 0x10]
mov edx, 0x45c738
mov eax, esi
call fcn.0045a3a0
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404084
lea ecx, [ebp - 0x14]
mov edx, 0x45c750
mov eax, esi
call fcn.0045a3a0
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404084
lea ecx, [ebp - 0x18]
mov edx, 0x45c76c
mov eax, esi
call fcn.0045a3a0
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404084
lea ecx, [ebp - 0x1c]
mov edx, 0x45c788
mov eax, esi
call fcn.0045a3a0
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404084
lea ecx, [ebp - 0x24]
mov edx, 0x45c7a0
mov eax, esi
call fcn.0045a3a0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00407e04
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.004081e4
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x45c7b8
mov eax, esi
call fcn.0045a3a0
mov eax, dword [ebp - 0x28]
call fcn.00453e78
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x45c7c8
mov eax, esi
call fcn.0045a3a0
mov eax, dword [ebp - 0x2c]
call fcn.00453e78
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x45c7e0
mov eax, esi
call fcn.0045a3a0
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.004081e4
inc eax
je 0x45c6b1
lea ecx, [ebp - 0x34]
mov edx, 0x45c7e0
mov eax, esi
call fcn.0045a3a0
mov eax, dword [ebp - 0x34]
call fcn.004081a8
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.00409678
fstp qword [ebp - 0x3c]
wait
call fcn.004099dc
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x45c6cc
lea ecx, [ebp - 0x40]
mov edx, 0x45c7e0
mov eax, esi
call fcn.0045a3a0
mov eax, dword [ebp - 0x40]
call fcn.00453e78
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x45c7f0
mov eax, esi
call fcn.0045a3a0
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404084
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c715
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404054
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404054
ret
Function at 0x4634a0
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 0x4634fa
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00463490
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00452ae4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004526e4
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 0x463501
lea eax, [ebp - 4]
call fcn.00404030
ret
Function at 0x43ab70
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f000]
push edi
or ebp, 0xffffffff
jmp 0x43ab92
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43ab99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43ab88
mov eax, 1
add ebx, ebx
jne 0x43abab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43aba0
jne 0x43abbc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43aba0
xor ecx, ecx
sub eax, 3
jb 0x43abd0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43ac42
mov ebp, eax
add ebx, ebx
jne 0x43abdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43abe8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43ac0c
inc ecx
add ebx, ebx
jne 0x43abf8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43abed
jne 0x43ac09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43abed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43ac2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43ac1d
jmp 0x43ab8e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43ac2c
add edi, ecx
jmp 0x43ab8e
pop esi
mov edi, esi
mov ecx, 0x444
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43ac4a
cmp byte [edi], 4
jne 0x43ac4a
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 0x43ac4f
lea edi, [esi + 0x38000]
mov eax, dword [edi]
or eax, eax
je 0x43acc7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3f5a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3f5dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43ac7c
mov ecx, edi
jns 0x43acab
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 + 0x3f5e0]
or eax, eax
je 0x43acc1
mov dword [ebx], eax
add ebx, 4
jmp 0x43ac99
call dword [esi + 0x3f5f0]
mov ebp, dword [esi + 0x3f5e4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x43acfb
sub esp, 0xffffff80
jmp 0x40264c
Function at 0x401608
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
test esi, esi
sete dl
test ebx, ebx
sete al
xor ecx, ecx
or dl, al
jne 0x401727
mov edx, dword [ebp + 0xc]
lea eax, [edx*4 + 0xb]
mov edx, 0xc
mov ecx, edx
cdq
idiv ecx
lea eax, [eax*4 + 1]
cmp dword [ebp + 0x14], eax
jge 0x40168f
push 0x6f
call sub.KERNEL32.DLL_SetLastError
xor ecx, ecx
jmp 0x401727
and eax, 3
shl eax, 4
movzx eax, byte [eax + section.yj61okqx]
mov byte [ecx + 2], 0x3d
mov byte [ecx + 3], 0x3d
mov byte [ecx + 1], al
add ecx, 4
jmp 0x40171f
and eax, 0xf
movzx eax, byte [eax*4 + section.yj61okqx]
mov byte [ecx + 3], 0x3d
mov byte [ecx + 2], al
mov ecx, esi
jmp 0x40171f
xor edi, edi
cmp edi, dword [ebp + 0xc]
mov ecx, esi
jge 0x40171f
movzx eax, byte [ebx]
shr al, 2
movzx eax, al
movzx eax, byte [eax + section.yj61okqx]
mov byte [esi], al
mov esi, dword [ebp + 0xc]
movzx eax, byte [ebx]
sub esi, edi
cmp esi, 1
je 0x401656
mov edx, eax
and edx, 3
shl edx, 4
movzx eax, byte [ebx + 1]
shr al, 4
movzx eax, al
or edx, eax
cmp esi, 2
lea esi, [ecx + 4]
movzx eax, byte [edx + section.yj61okqx]
mov byte [ecx + 1], al
movzx eax, byte [ebx + 1]
je 0x401676
mov edx, eax
movzx eax, byte [ebx + 2]
and edx, 0xf
add edi, 3
shl edx, 2
shr al, 6
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.yj61okqx]
mov byte [ecx + 2], al
movzx eax, byte [ebx + 2]
add ebx, 3
and eax, 0x3f
movzx eax, byte [eax + section.yj61okqx]
mov byte [ecx + 3], al
jmp 0x401691
mov byte [ecx], 0
mov ecx, 1
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x401732
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
push 0
push 0xa7
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 0x10], 0
call sub.KERNEL32.DLL_CreateFileA
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
sete dl
test eax, eax
sete al
xor ecx, ecx
or dl, al
jne 0x401818
push 0
push dword [ebp - 0x18]
call sub.KERNEL32.DLL_GetFileSize
push eax
push 0
mov dword [ebp - 0x14], eax
call sub.KERNEL32.DLL_GetProcessHeap
push eax
call sub.KERNEL32.DLL_HeapAlloc
test eax, eax
mov edi, eax
je 0x4017b9
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x18]
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x4017c5
push edi
push 0
call sub.KERNEL32.DLL_GetProcessHeap
push eax
call sub.KERNEL32.DLL_HeapFree
push dword [ebp - 0x18]
call sub.KERNEL32.DLL_CloseHandle
xor ecx, ecx
jmp 0x401818
mov eax, dword [ebp - 0x14]
mov edx, 0xc
mov ebx, edx
xor edx, edx
lea ecx, [eax*4 + 0xb]
mov eax, ecx
div ebx
lea esi, [eax*4 + 1]
push esi
push 0x40
call sub.KERNEL32.DLL_GlobalAlloc
push esi
mov ebx, eax
push eax
push dword [ebp - 0x14]
push edi
call fcn.00401608
mov edx, dword [ebp + 0xc]
add esp, 0x10
mov dword [edx], eax
push edi
push 0
call sub.KERNEL32.DLL_GetProcessHeap
push eax
call sub.KERNEL32.DLL_HeapFree
push dword [ebp - 0x18]
call sub.KERNEL32.DLL_CloseHandle
mov ecx, ebx
lea esp, [ebp - 0xc]
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x420b4b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420b8a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420b8a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420b8a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420b8a
cmp dword [ecx + 0x74], 0xe
jbe 0x420b8a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43332d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43332d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x64a22f
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get process filename
Parse pe header

Disassembly:
push eax
jmp 0x64a1b1
call 0x64a084
jmp 0x64b043
call fcn.0064a098
pop word [esp]
jmp 0x64a1ef
push eax
pushal
mov ch, byte [esp]
xchg bx, ax
mov dx, bx
mov bx, si
xchg bx, dx
xchg cl, bl
bswap eax
mov bx, 0x4766
xchg cx, ax
not cl
xchg al, cl
popal
pushfd
pop word [esp]
mov word [esp], di
lea esp, [esp + 1]
lea esp, [esp]
mov byte [esp], dh
lea esp, [esp + 1]
pushfd
jmp 0x64a093
mov word [esp], bp
mov word [esp], bx
jmp 0x64a29a
call 0x64a22f
dec esi
outsd dx, dword [esi]
outsd dx, dword [esi]
bound edi, qword [ecx + 0x50]
jb 0x64a28e
je 0x64a286
arpl word [eax + 0x53], si
inc ebp
and byte [ecx], dh
aaa
xor byte cs:[esi], ch
xor byte [eax], al
lea esp, [esp + 4]
pushfd
pop word [esp]
pushfd
push sp
mov dword [esp + 1], ecx
mov dword [esp + 4], eax
push esp
pop word [esp]
mov word [esp], bx
lea esp, [esp]
push word [esp + 1]
push dword [esp]
push word [esp + 5]
pop dword [esp]
lea esp, [esp + 2]
mov dword [esp + 4], ecx
push ecx
mov word [esp + 1], sp
jmp 0x64a142
inc ebx
add byte [eax], al
add byte [ebp - 0x16fbdb9c], cl
aam 0xfd
invalid
lea esp, [esp + 1]
jmp 0x64b147
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
je 0x64b0dc
sub eax, 0x10000
jmp 0x64b047
movzx ebx, word [eax + 0x3c]
add ebx, eax
cmp word [ebx], 0x4550
je 0x646e19
jmp 0x64b052
lea esp, [esp + 1]
mov dword [esp], edx
push ecx
lea esp, [esp + 2]
push word [esp]
mov word [esp], cx
push word [esp + 1]
push ax
push word [esp + 3]
push word [esp + 9]
mov dword [esp + 8], ebx
push edx
lea esp, [esp + 1]
push word [esp + 1]
mov byte [esp], dh
mov byte [esp + 2], al
push word [esp + 4]
pushal
mov dword [esp + 0x14], edx
lea esp, [esp + 3]
mov dword [esp + 0x28], esp
pushal
push word [esp + 0x12]
mov word [esp + 0x1d], cx
lea esp, [esp + 0x1e]
mov word [esp + 1], si
lea esp, [esp]
mov byte [esp + 1], ch
mov dword [esp], edi
lea esp, [esp]
pushfd
lea esp, [esp]
mov dword [esp + 0x2c], ebp
push di
push eax
push word [esp + 2]
pushal
mov byte [esp + 0xd], bh
mov dword [esp + 0x50], esi
push sp
lea esp, [esp]
push word [esp + 1]
pop word [esp]
push word [esp]
pop word [esp]
pushfd
lea esp, [esp + 2]
mov dword [esp + 0x50], edi
lea esp, [esp + 0x50]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x64a07f
Function at 0x40b220
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47395b
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.0046859e
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40b2a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046631d
mov eax, dword [eax]
push 0x48d1c0
push eax
call fcn.00459104
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00468829
test bl, bl
je 0x40b2a2
push 0x48d1c0
lea ecx, [esp + 0xc]
call fcn.00468bb9
push 0x490d34
lea ecx, [esp + 0xc]
call fcn.00468bb9
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 0x40b2de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00468829
jmp 0x40b3a9
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 0x40b362
lea edx, [esp + 0x7c]
push 0x490d30
push edx
call fcn.00459104
add esp, 8
test eax, eax
je 0x40b362
lea eax, [esp + 0x7c]
push 0x490d2c
push eax
call fcn.00459104
add esp, 8
test eax, eax
je 0x40b362
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 0x40b2f2
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.00468829
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 0x40bba0
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 0x40bc02
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 0x40bc10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4739db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x497a20]
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 0x40bd48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40bc76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00468829
xor eax, eax
jmp 0x40bdbf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00468966
push esi
lea ecx, [esp + 0xc]
call fcn.00468bf5
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 0x40bd9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040bba0
test eax, eax
jne 0x40bd9d
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.0040bba0
test eax, eax
jne 0x40bd9d
lea eax, [esp + 0x14]
push 0x490d48
push eax
call fcn.0045a140
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bd7c
lea ecx, [esp + 0x14]
push 0x490d44
push ecx
call fcn.0045a0c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40bd7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40bd7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00468916
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40bc8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00468829
xor eax, eax
jmp 0x40bdbf
mov byte [esi], 0
push 0x490d40
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.00468829
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 0x41c650
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 0x41c6be
cmp si, 0x69
ja 0x41c6be
add esi, 0xffd0
cmp si, 0x11
je 0x41c68e
push 0x11
call edi
test ax, ax
jge 0x41c68e
or esi, 0x2000
cmp si, 0x10
je 0x41c6a3
push 0x10
call edi
test ax, ax
jge 0x41c6a3
or esi, 0x4000
cmp si, 0x12
je 0x41c6b8
push 0x12
call edi
test ax, ax
jge 0x41c6b8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41c6cb
mov esi, 0xbd
jmp 0x41c67f
cmp si, 0x6e
jne 0x41c6d8
mov esi, 0xbe
jmp 0x41c67f
cmp si, 0x6f
jne 0x41c679
mov esi, 0xbf
jmp 0x41c67f

Function at 0x41dd70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4a8078]
xor edx, edx
cmp eax, edx
jne 0x41dd96
xor eax, eax
mov byte [eax + 0x4a7f78], al
inc eax
cmp eax, 0x100
jl 0x41dd7e
mov dword [0x4a8078], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4a7f78
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41de27
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 0x41ddfa
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 0x41ddc8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41dea0
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 0x41def3
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 0x41deda
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