joyce8/EMBER2024-capa huggingface dataset:
Function at 0x309209fe
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x30920a32
jmp fcn.30919e9e
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x30920aa3
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x30920b9c
cmp eax, dword [edi + 0xc]
jge 0x30920b9c
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x30920af4
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x30920b85
cmp dword [ebp + 0xc], ebx
je 0x30920b85
jmp 0x30920b1e
push 0x10
call fcn.30920736
cmp eax, ebx
je 0x30920b0a
mov ecx, eax
call fcn.309209f5
mov esi, eax
jmp 0x30920b0c
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x30920b35
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x30920b45
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x30920b57
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.30919e9e
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.3090f870
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x30920b97
cmp ecx, dword [esi + 8]
jge 0x30920b97
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x30920b9d
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10005d70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
test esi, esi
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ecx + 8]
push edi
mov eax, 0x80004005
mov dword [ebp - 4], ebx
je 0x10005e5f
mov edx, dword [ecx + 0x24]
test edx, edx
jle 0x10005e5f
mov edi, dword [ecx + 0x28]
cmp edx, edi
jle 0x10005e5f
mov edx, dword [ecx + 0x2c]
test edx, edx
je 0x10005e5f
test ebx, ebx
je 0x10005e5f
imul edi, edi, 0x73
mov eax, dword [edi + edx + 8]
mov ecx, dword [edi + edx + 0xc]
add edi, edx
push eax
add ecx, eax
push ebx
mov eax, 2
mov edx, esi
call fcn.100061c0
test eax, eax
jl 0x10005e5c
cmp dword [edi + 4], 0
je 0x10005e0d
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov bl, byte [edi + 4]
mov ecx, dword [esi + 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x38]
mov dword [ebp - 8], eax
xor eax, eax
test edx, edx
jle 0x10005e0a
lea ecx, [ecx]
xor byte [ecx + eax], bl
add eax, 1
cmp eax, edx
jl 0x10005e00
mov ebx, dword [ebp - 4]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0x40]
cmp eax, ecx
jbe 0x10005e5a
sub eax, ecx
add eax, dword [edi + 8]
mov edx, esi
push eax
push ebx
mov eax, 3
call fcn.100061c0
test eax, eax
jl 0x10005e5c
cmp dword [edi + 4], 0
je 0x10005e5a
mov eax, dword [esi + 0x40]
mov dl, byte [edi + 4]
mov edi, dword [esi + 0x44]
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x48]
mov dword [ebp - 8], eax
xor eax, eax
test edi, edi
jle 0x10005e5a
nop
xor byte [ecx + eax], dl
add eax, 1
cmp eax, edi
jl 0x10005e50
xor eax, eax
mov ecx, dword [ebp + 8]
add dword [ecx + 0x28], 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10007cc0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, edx
test edi, edi
mov ebx, eax
je 0x10007eb5
test ebx, ebx
je 0x10007eb5
push esi
mov esi, ecx
shr esi, 0x10
and ecx, 0xffff
cmp ebx, 0x15b0
jb 0x10007dc9
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp - 4], edx
nop
sub ebx, 0x15b0
mov eax, 0x15b
jmp 0x10007d10
movzx edx, byte [edi]
add ecx, edx
movzx edx, byte [edi + 1]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 2]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 3]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 4]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 5]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 6]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 7]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 8]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 9]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 0xa]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 0xb]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 0xc]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 0xd]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 0xe]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 0xf]
add esi, ecx
add ecx, edx
add esi, ecx
add edi, 0x10
sub eax, 1
jne 0x10007d10
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul edx, edx, 0xffff000f
add esi, edx
sub dword [ebp - 4], 1
jne 0x10007d00
test ebx, ebx
je 0x10007ea7
cmp ebx, 0x10
jb 0x10007e6e
mov eax, ebx
shr eax, 4
nop
movzx edx, byte [edi]
add ecx, edx
movzx edx, byte [edi + 1]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 2]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 3]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 4]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 5]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 6]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 7]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 8]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 9]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 0xa]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 0xb]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 0xc]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 0xd]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 0xe]
add esi, ecx
add ecx, edx
movzx edx, byte [edi + 0xf]
add esi, ecx
add ecx, edx
sub ebx, 0x10
add esi, ecx
add edi, 0x10
sub eax, 1
jne 0x10007de0
test ebx, ebx
je 0x10007e83
movzx eax, byte [edi]
add ecx, eax
sub ebx, 1
add edi, 1
add esi, ecx
test ebx, ebx
jne 0x10007e72
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul edx, edx, 0xffff000f
add esi, edx
mov eax, esi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000db92
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001601c]
jne 0x1000db9c
repz ret
jmp fcn.1000dfb0

Function at 0x432001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x56d93a9e
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..text_1
mov ebx, 0x42f314
nop
mov ecx, 0x714026d6
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x4278f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.LYzrrUgK
lea edi, [esi - 0x10000]
mov dword [edi + 0x1c708], 0x10d12fd2
push edi
or ebp, 0xffffffff
jmp 0x42791a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427921
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427910
mov eax, 1
add ebx, ebx
jne 0x427933
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427928
jne 0x427944
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427928
xor ecx, ecx
sub eax, 3
jb 0x427958
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4279ca
mov ebp, eax
add ebx, ebx
jne 0x427963
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427970
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427994
inc ecx
add ebx, ebx
jne 0x427980
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427975
jne 0x427991
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427975
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4279b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4279a5
jmp 0x427916
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4279b4
add edi, ecx
jmp 0x427916
pop esi
lea edi, [esi + 0x25000]
mov eax, dword [edi]
or eax, eax
je 0x427a13
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x27218]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x27284]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4279d1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2728c]
or eax, eax
je 0x427a0d
mov dword [ebx], eax
add ebx, 4
jmp 0x4279ee
call dword [esi + 0x27288]
mov ebp, dword [esi + 0x27290]
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 0x427a47
sub esp, 0xffffff80
jmp section.WRgfGBxY
Function at 0x9088f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1fd000]
push edi
or ebp, 0xffffffff
jmp 0x908912
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x908919
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x908908
mov eax, 1
add ebx, ebx
jne 0x90892b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x908920
jne 0x90893c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x908920
xor ecx, ecx
sub eax, 3
jb 0x908950
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9089c2
mov ebp, eax
add ebx, ebx
jne 0x90895b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x908968
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x90898c
inc ecx
add ebx, ebx
jne 0x908978
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x90896d
jne 0x908989
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x90896d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9089ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x90899d
jmp 0x90890e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9089ac
add edi, ecx
jmp 0x90890e
pop esi
mov edi, esi
mov ecx, 0x779
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9089ca
cmp byte [edi], 2
jne 0x9089ca
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 0x9089cf
lea edi, [esi + 0x505000]
mov eax, dword [edi]
or eax, eax
je 0x908a3e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5081e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5082f8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9089fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x508300]
or eax, eax
je 0x908a38
mov dword [ebx], eax
add ebx, 4
jmp 0x908a19
call dword [esi + 0x5082fc]
mov ebp, dword [esi + 0x508304]
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 0x908a72
sub esp, 0xffffff80
jmp 0x410bc4

Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x6d797713
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x73527479
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x430260
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x19000]
push edi
or ebp, 0xffffffff
jmp 0x430282
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x430289
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x430278
mov eax, 1
add ebx, ebx
jne 0x43029b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x430290
jne 0x4302ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x430290
xor ecx, ecx
sub eax, 3
jb 0x4302c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x430332
mov ebp, eax
add ebx, ebx
jne 0x4302cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4302d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4302fc
inc ecx
add ebx, ebx
jne 0x4302e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4302dd
jne 0x4302f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4302dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43031c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43030d
jmp 0x43027e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43031c
add edi, ecx
jmp 0x43027e
pop esi
mov edi, esi
mov ecx, 0xc64
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43033a
cmp byte [edi], 9
jne 0x43033a
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 eax, ebx
loop 0x43033f
lea edi, [esi + 0x2d000]
mov eax, dword [edi]
or eax, eax
je 0x4303ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x314c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x31568]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43036c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3156c]
or eax, eax
je 0x4303a8
mov dword [ebx], eax
add ebx, 4
jmp 0x430389
call dword [esi + 0x31570]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4303df
cmp al, 0xef
ja 0x4303d2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4303b4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4303c1
popal
jmp 0x4172d0
Function at 0x4197c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47ee0b
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.0047335a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x419842
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00470a3a
mov eax, dword [eax]
push 0x4a11e4
push eax
call fcn.00463704
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004735e5
test bl, bl
je 0x419842
push 0x4a11e4
lea ecx, [esp + 0xc]
call fcn.00473975
push 0x4a4d54
lea ecx, [esp + 0xc]
call fcn.00473975
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 0x41987e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004735e5
jmp 0x419949
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 0x419902
lea edx, [esp + 0x7c]
push 0x4a4d50
push edx
call fcn.00463704
add esp, 8
test eax, eax
je 0x419902
lea eax, [esp + 0x7c]
push 0x4a4d4c
push eax
call fcn.00463704
add esp, 8
test eax, eax
je 0x419902
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 0x419892
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.004735e5
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 0x41aba0
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 0x41ac02
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 0x41ac10
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47ef6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ab594]
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 0x41ad48
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41ac76
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004735e5
xor eax, eax
jmp 0x41adbf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00473722
push esi
lea ecx, [esp + 0xc]
call fcn.004739b1
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 0x41ad9d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.0041aba0
test eax, eax
jne 0x41ad9d
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.0041aba0
test eax, eax
jne 0x41ad9d
lea eax, [esp + 0x14]
push 0x4a4d68
push eax
call fcn.00464810
mov esi, eax
add esp, 8
test esi, esi
jne 0x41ad7c
lea ecx, [esp + 0x14]
push 0x4a4d64
push ecx
call fcn.00464790
mov esi, eax
add esp, 8
test esi, esi
jne 0x41ad7c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41ad7f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004736d2
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41ac8e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004735e5
xor eax, eax
jmp 0x41adbf
mov byte [esi], 0
push 0x4a4d60
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.004735e5
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 0x42dd30
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 0x42dd9e
cmp si, 0x69
ja 0x42dd9e
add esi, 0xffd0
cmp si, 0x11
je 0x42dd6e
push 0x11
call edi
test ax, ax
jge 0x42dd6e
or esi, 0x2000
cmp si, 0x10
je 0x42dd83
push 0x10
call edi
test ax, ax
jge 0x42dd83
or esi, 0x4000
cmp si, 0x12
je 0x42dd98
push 0x12
call edi
test ax, ax
jge 0x42dd98
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42ddab
mov esi, 0xbd
jmp 0x42dd5f
cmp si, 0x6e
jne 0x42ddb8
mov esi, 0xbe
jmp 0x42dd5f
cmp si, 0x6f
jne 0x42dd59
mov esi, 0xbf
jmp 0x42dd5f

Function at 0x42f5f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4bbd10]
xor edx, edx
cmp eax, edx
jne 0x42f616
xor eax, eax
mov byte [eax + 0x4bbc10], al
inc eax
cmp eax, 0x100
jl 0x42f5fe
mov dword [0x4bbd10], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4bbc10
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42f6a7
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 0x42f67a
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 0x42f648
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42f720
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 0x42f773
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 0x42f75a
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