joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40db90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov eax, dword [0x447bc0]
mov edi, dword [ebp + 8]
test eax, eax
je 0x40dc24
mov esi, dword [eax + 0x30]
test esi, esi
js 0x40dc40
mov ebx, dword [eax + 0x30]
test ebx, ebx
jne 0x40dc60
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x40dc18
lea edx, [ebp - 0x14]
mov eax, edi
call sym.__Unwind_RaiseException_Phase2
cmp eax, 7
jne 0x40dcdf
mov eax, dword [0x447bc0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40dcb6
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40dcd0
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40dc90
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
lea edx, [ebp - 0x14]
mov eax, edi
call sym.__Unwind_ForcedUnwind_Phase2
jmp 0x40dbd5
call sym.___w32_sharedptr_initialize
mov eax, dword [0x447bc0]
mov esi, dword [eax + 0x30]
test esi, esi
jns 0x40dbb0
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x447bc0]
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x40dbbb
lea esi, [esi]
lea edi, [edi]
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x40dbbe
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40dc07
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40dc07
call sym.___w32_sharedptr_initialize
mov eax, dword [0x447bc0]
mov edx, dword [eax + 0x30]
test edx, edx
jns 0x40dbf9
nop
lea esi, [esi]
call sym._fc_key_init_once
mov eax, dword [0x447bc0]
jmp 0x40dbf9
call sym._abort
lea esi, [esi]
lea edi, [edi]
Function at 0x40dcf0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov esi, dword [edi + 0xc]
test esi, esi
je 0x40dd82
mov eax, dword [0x447bc0]
test eax, eax
je 0x40dd76
mov ebx, dword [eax + 0x30]
test ebx, ebx
js 0x40ddf1
mov ecx, dword [eax + 0x30]
test ecx, ecx
jne 0x40dd97
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
mov eax, edi
call sym.__Unwind_ForcedUnwind_Phase2
cmp eax, 7
jne 0x40de0f
mov eax, dword [0x447bc0]
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x40dde2
mov edx, dword [eax + 0x30]
test edx, edx
js 0x40de00
mov edi, dword [eax + 0x30]
test edi, edi
jne 0x40ddc3
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 0x14]
lea edx, [eax + 0x20]
mov ecx, dword [edx + 4]
mov ebp, dword [eax + 0x20]
mov esp, dword [edx + 8]
jmp ecx
call sym.___w32_sharedptr_initialize
mov eax, dword [0x447bc0]
jmp 0x40dd12
mov dword [esp], edi
call sym.__Unwind_SjLj_RaiseException
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
sub esp, 4
jmp 0x40dd27
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
test eax, eax
jne 0x40dd65
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40dd65
call sym.___w32_sharedptr_initialize
mov eax, dword [0x447bc0]
jmp 0x40dd50
call sym._fc_key_init_once
mov eax, dword [0x447bc0]
jmp 0x40dd1d
call sym._fc_key_init_once
mov eax, dword [0x447bc0]
jmp 0x40dd5b
call sym._abort
lea esi, [esi]
lea edi, [edi]

Function at 0x40dfc0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov edx, eax
je 0x40dff0
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym.___mingwthr_key_dtor
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret
Function at 0x410cf0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.___do_sjlj_init

Function at 0x411660
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
call sym._fread
test eax, eax
mov edx, eax
jle 0x4116b0
movzx eax, byte [esi + eax - 1]
mov dword [ebx + 0x24], eax
mov ebx, dword [ebp - 8]
mov eax, edx
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0x24], 0xffffffff
mov eax, edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x100198b
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
and byte [ebp - 0x118], 0
push esi
push edi
and byte [ebp - 0x21c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x117]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x40
pop ecx
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x21b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
push eax
xor esi, esi
lea eax, [ebp - 8]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
mov dword [ebp - 0xc], esi
call dword [0x1001030]
test eax, eax
jne 0x1001b87
push ebx
mov dword [ebp - 4], esi
mov edi, 0x100a2e0
mov ebx, pe_nt_image_headers32
push dword [ebp - 4]
push str.wextract_cleanup_d
push edi
call dword [fcn.01001184]
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push esi
push edi
push dword [ebp - 8]
call dword [fcn.0100102c]
test eax, eax
jne 0x1001a2f
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x1001a00
cmp dword [ebp - 4], ebx
jne 0x1001a49
push dword [ebp - 8]
call dword [fcn.0100101c]
and byte [0x100a2e0], 0
jmp 0x1001b86
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x21c]
push eax
call dword [fcn.01001064]
push 0x1001278
lea eax, [ebp - 0x21c]
push eax
call fcn.01005b32
lea eax, [ebp - 0x21c]
push eax
call dword [fcn.01001164]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x1001b0b
push 0x1001268
push eax
call dword [fcn.010010c0]
push dword [ebp - 4]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov dword [ebp - 0xc], esi
call dword [fcn.01001174]
test esi, esi
je 0x1001b0b
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [fcn.01001064]
test eax, eax
je 0x1001acc
push 0x1001251
lea eax, [ebp - 0x118]
push eax
call fcn.01005b32
mov esi, dword [0x1001060]
push 0x100ac44
call esi
mov ebx, eax
lea eax, [ebp - 0x118]
push eax
call esi
lea eax, [ebx + eax + 0x50]
push eax
push 0x40
call dword [0x1001050]
mov ebx, eax
xor eax, eax
cmp ebx, eax
jne 0x1001b2e
push eax
push 0x10
push eax
push eax
push 0x4b5
push eax
call fcn.010038cc
jmp 0x1001b23
push ebx
lea eax, [ebp - 0x118]
push eax
push dword [0x100b4a4]
call dword [0x100105c]
test eax, eax
jne 0x1001acc
push dword [ebp - 8]
call dword [fcn.0100101c]
jmp 0x1001b86
xor ecx, ecx
cmp dword [ebp - 0xc], eax
sete cl
cmp dword [ebp - 0xc], eax
mov eax, str.rundll32.exe__sadvpack.dll_DelNodeRunDLL32___s_
mov dword [0x100a330], ecx
jne 0x1001b4b
mov eax, str._s__D:_s
push 0x100ac44
lea ecx, [ebp - 0x118]
push ecx
push eax
push ebx
call dword [fcn.01001184]
add esp, 0x10
push ebx
call esi
inc eax
push eax
push ebx
push 1
push 0
push edi
push dword [ebp - 8]
call dword [fcn.01001028]
push dword [ebp - 8]
call dword [fcn.0100101c]
push ebx
call dword [0x100104c]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x1001b8b
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
push ebx
xor ebx, ebx
cmp byte [0x100a2e0], bl
je 0x1001c7c
lea eax, [ebp - 4]
push eax
push 0x2001f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call dword [fcn.01001024]
test eax, eax
jne 0x1001c7c
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x344]
push eax
push ebx
push ebx
mov esi, 0x100a2e0
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 0x238
call dword [fcn.0100102c]
test eax, eax
jne 0x1001c72
push edi
push 0x40
pop ecx
mov byte [ebp - 0x10c], bl
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x10c]
push eax
call dword [fcn.01001064]
test eax, eax
pop edi
je 0x1001c2e
push 0x1001251
lea eax, [ebp - 0x10c]
push eax
call fcn.01005b32
push 0x100ac44
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x344]
push str.rundll32.exe__sadvpack.dll_DelNodeRunDLL32___s_
push eax
call dword [fcn.01001184]
add esp, 0x10
lea eax, [ebp - 0x344]
push eax
call dword [0x1001060]
inc eax
push eax
lea eax, [ebp - 0x344]
push eax
push 1
push ebx
push esi
push dword [ebp - 4]
call dword [fcn.01001028]
push dword [ebp - 4]
call dword [fcn.0100101c]
pop esi
pop ebx
leave
ret

Function at 0x1007083
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x10070be
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x100709b
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x10070da
dec esi
je 0x10070d3
dec esi
jne 0x10070df
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc
Function at 0x408890
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
jmp 0x4088aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4088b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4088a0
mov eax, 1
add ebx, ebx
jne 0x4088c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4088b8
jne 0x4088d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4088b8
xor ecx, ecx
sub eax, 3
jb 0x4088e8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40895a
mov ebp, eax
add ebx, ebx
jne 0x4088f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x408900
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x408924
inc ecx
add ebx, ebx
jne 0x408910
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x408905
jne 0x408921
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408905
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x408944
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x408935
jmp 0x4088a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x408944
add edi, ecx
jmp 0x4088a6
pop esi
mov edi, esi
mov ecx, 0x1f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x408962
cmp byte [edi], 0
jne 0x408962
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 0x408967
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x4089df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa804]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa898]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x408994
mov ecx, edi
jns 0x4089c3
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 + 0xa8a0]
or eax, eax
je 0x4089d9
mov dword [ebx], eax
add ebx, 4
jmp 0x4089b1
call dword [esi + 0xa89c]
mov ebp, dword [esi + 0xa8a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x408a13
sub esp, 0xffffff80
jmp 0x401610

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x421f74
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x421fcd
test eax, edx
je 0x421fd0
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x421f8b
movzx eax, word [eax]
sub eax, ecx
jmp 0x421fb2
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x421fb3
add ecx, 4
js 0x421fa3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x421fb0
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x421fb2
xor eax, eax
ret
test eax, eax
je 0x421fdc
test edx, edx
jne 0x421f7c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x429c90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00409640
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040cda4
mov edi, eax
cmp edi, 0x104
jbe 0x429c37
mov eax, edi
add eax, eax
call fcn.004063fc
mov esi, eax
jmp 0x429c39
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040cda4
mov eax, esi
push eax
call fcn.00411b74
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x429c74
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x429c5e
mov eax, esp
cmp esi, eax
je 0x429c81
mov eax, esi
call fcn.00406418
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x429cbc
cmp bl, 0
je 0x429cb8
cmp bl, 0x41
jl 0x429cb3
cmp bl, 0x5a
jg 0x429cb3
or bl, 0x20
xor al, bl
inc esi
jmp 0x429c97
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x429bf8
Function at 0x4f5328
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4f532e
ret

Function at 0x500350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5004fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x5004da
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x5004da
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x500318]
call fcn.0040b170
add esp, 4
lea eax, [ebp - 4]
call fcn.0040c80c
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x69b30c]
push eax
call fcn.004e9700
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.0040af54
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.00406f08
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x4f3a64]
call fcn.004fcce4
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x5004b8
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.004fe95c
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
push 0
call fcn.00411a8c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.004fd96c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5004da
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500505
lea eax, [ebp - 8]
mov edx, dword [0x500318]
call fcn.0040b294
lea eax, [ebp - 4]
call fcn.0040c80c
ret
Function at 0x619828
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x6b50dc], 0
jne 0x61983f
call fcn.006197e4
mov eax, edi
dec eax
test eax, eax
jl 0x619867
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6b4cdc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x619849
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x61c524
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x61c5be.0
jmp dword [ecx*4 + 0x61c557]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x61c589
sub dl, 8
je 0x61c598
jmp case.0x61c5be.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x61c1f0
jmp case.0x61c5be.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x61c244
jmp case.0x61c5be.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x61c5be.0
movzx ecx, byte [ecx + 0x61c5c5]
jmp dword [ecx*4 + 0x61c5d6]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x61c2e4
jmp case.0x61c5be.0
cmp dl, 3
jne 0x61c603
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x61c33c
jmp case.0x61c5be.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x61c2f8
jmp case.0x61c5be.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x61c380
jmp case.0x61c5be.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x61c62e
sub dl, 8
je 0x61c63a
jmp case.0x61c5be.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x61c3ac
jmp case.0x61c5be.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x61c410
jmp case.0x61c5be.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x61c659
sub dl, 8
je 0x61c665
jmp case.0x61c5be.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x61c4c0
jmp case.0x61c5be.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x61c4e8
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x10], edx
mov esi, ecx
test esi, esi
jb 0x61c707
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0061b72c
test eax, eax
je 0x61c707
mov eax, ebx
call fcn.0061c710
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x61c6a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1008a02
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp dword [0x1020220], esi
push edi
mov edi, dword [ebp + 0xc]
jne 0x1008b58
cmp dword [0x1020224], esi
jne 0x1008b58
cmp edi, 0x10
je 0x1008b29
cmp edi, 0x8000
je 0x1008b11
cmp dword [0x1020228], esi
jne 0x1008b58
cmp edi, 0x1c
ja 0x1008a75
je 0x1008a70
cmp edi, 0x18
jne 0x1008b58
cmp dword [ebp + 0x10], esi
je 0x1008b58
push esi
call dword [sym.imp.USER32.dll_SetCursor]
jmp 0x1008b58
cmp dword [ebp + 0x10], esi
jmp 0x1008a9e
mov eax, edi
sub eax, 0x20
je 0x1008b05
sub eax, 0xe0
je 0x1008af8
sub eax, 4
je 0x1008af8
sub eax, 0xfc
je 0x1008aa5
dec eax
je 0x1008af8
sub eax, 3
je 0x1008af8
sub eax, 3
je 0x1008af8
jmp 0x1008b58
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 8]
sub ecx, dword [0x1020210]
je 0x1008ac0
cmp ecx, esi
jge 0x1008ac0
neg ecx
mov eax, dword [ebp - 4]
sub eax, dword [0x1020214]
je 0x1008ad1
cmp eax, esi
jge 0x1008ad1
neg eax
add ecx, eax
cmp ecx, dword [0x101b45c]
jbe 0x1008b58
push esi
push esi
push 0x10
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp - 8]
mov dword [0x1020210], eax
mov eax, dword [ebp - 4]
mov dword [0x1020214], eax
jmp 0x1008b58
push esi
push esi
push 0x10
push ebx
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x1008b58
push esi
call dword [sym.imp.USER32.dll_SetCursor]
push 1
pop eax
jmp 0x1008b66
cmp dword [0x1020244], esi
je 0x1008b58
mov eax, dword [0x1020230]
cmp eax, esi
je 0x1008b0c
push dword [ebp + 8]
call eax
jmp 0x1008b66
cmp dword [0x1020244], esi
je 0x1008b4a
push ebx
call fcn.01008de4
test eax, eax
jne 0x1008b4a
push 0x1020210
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
jmp 0x1008b66
push esi
push esi
push 0x403
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcA]
pop edi
pop esi
pop ebx
leave
ret 0x10