joyce8/EMBER2024-capa huggingface dataset:
Function at 0x65e940
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x94
mov eax, dword [esp + 0x9c]
push esi
push 0x40
lea ecx, [esp + 0x1c]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x24], 0x67452301
mov dword [esp + 0x28], 0xefcdab89
mov dword [esp + 0x2c], 0x98badcfe
mov dword [esp + 0x30], 0x10325476
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.0065e750
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.0065e880
mov esi, dword [esp + 0xb0]
add esp, 0x14
xor edx, edx
mov cl, byte [esp + edx + 4]
mov al, cl
and cl, 0xf
sar al, 4
and al, 0xf
cmp al, 0xa
movsx eax, al
jge 0x65e9ba
add eax, 0x30
jmp 0x65e9bd
add eax, 0x57
mov byte [esi], al
cmp cl, 0xa
movsx eax, cl
jge 0x65e9cc
add eax, 0x30
jmp 0x65e9cf
add eax, 0x57
mov byte [esi + 1], al
inc edx
add esi, 2
cmp edx, 0x10
jl 0x65e9a0
pop esi
add esp, 0x94
ret

Function at 0x65e9f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x90]
push esi
push edi
mov ecx, 0x10
xor eax, eax
mov edi, ebp
mov esi, dword [esp + 0xa0]
rep stosd dword es:[edi], eax
mov ecx, 8
mov edi, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x20
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
test esi, esi
mov dword [esp + 0x14], 0x9d14e9a1
mov dword [esp + 0x18], 0x593b6b0e
je 0x65ea7b
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x28
jne 0x65ea5f
mov byte [esi + 0x20], al
mov ecx, 0x20
jmp 0x65ea69
cmp ecx, 0x38
jle 0x65ea69
mov ecx, 0x38
mov eax, ecx
lea edi, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x75c70c
test ecx, ecx
je 0x65eaaf
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x38
jle 0x65ea9a
mov ecx, 0x38
xor eax, eax
test ecx, ecx
jle 0x65eaaf
mov dl, byte [eax + 0x75c70c]
xor byte [esp + eax + 0x1c], dl
inc eax
cmp eax, ecx
jl 0x65eaa0
lea eax, [esp + 0x14]
push eax
push ebp
call fcn.0065e940
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.01d0a8e3
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea esi, [edx + ebp]
sub edi, ecx
mov eax, ecx
mov dword [esp + 0x10], esi
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
cdq
and edx, 3
and ecx, 3
add eax, edx
rep movsb byte es:[edi], byte [esi]
sar eax, 2
xor ecx, ecx
test eax, eax
jle 0x65eb14
mov esi, ebp
mov dl, byte [esi]
add esi, 4
mov byte [ecx + ebx], dl
inc ecx
cmp ecx, eax
jl 0x65eb07
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret
Function at 0x65f6e0
Capabilities:
Encode data using base64
Terminate process

Disassembly:
sub esp, 0x118
mov ecx, 0x3f
mov eax, 0x80808080
push ebx
push ebp
push esi
push edi
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0x41
mov cl, al
sub cl, 0x41
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x5a
jle 0x65f702
mov eax, 0x61
mov dl, al
sub dl, 0x47
mov byte [esp + eax + 0x28], dl
inc eax
cmp eax, 0x7a
jle 0x65f716
mov eax, 0x30
mov cl, al
add cl, 4
mov byte [esp + eax + 0x28], cl
inc eax
cmp eax, 0x39
jle 0x65f72a
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x53], 0x3e
mov byte [esp + 0x57], 0x3f
mov byte [esp + 0x65], 0
mov dword [esp + 0x18], ebp
je 0x65f8bd
mov ebx, dword [esp + 0x130]
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 4
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x12c]
xor eax, eax
lea esi, [edx + ecx]
movsx ecx, byte [esi + eax]
mov dl, byte [esp + ecx + 0x28]
test dl, 0x80
jne 0x65f88e
mov byte [esp + eax + 0x20], cl
mov byte [esp + eax + 0x1c], dl
inc eax
cmp eax, 4
jl 0x65f78c
mov esi, dword [esp + 0x138]
mov edx, dword [esp + 0x10]
cmp edx, dword [esi]
jle 0x65f7f6
mov eax, dword [esp + 0x14]
push eax
call fcn.0069faa7
mov ecx, dword [esi]
mov esi, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
mov dword [esp + 0x2c], eax
rep movsb byte es:[edi], byte [esi]
call fcn.0069f9be
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
add esp, 8
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov dl, ch
mov al, cl
sar dl, 4
shl al, 2
or dl, al
mov eax, dword [esp + 0x14]
mov byte [ebx + ebp], dl
inc ebp
inc eax
mov cl, ch
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x1e]
mov dl, al
inc edi
sar dl, 2
shl cl, 4
or dl, cl
mov ecx, dword [esp + 0x14]
shl al, 6
or al, byte [esp + 0x1f]
mov byte [ebx + ebp], dl
inc ebp
mov edx, edi
inc ecx
inc edx
mov byte [ebx + ebp], al
mov al, byte [esp + 0x22]
inc ebp
inc ecx
inc edx
mov dword [esp + 0x10], edi
cmp al, 0x3d
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
je 0x65f8a3
mov cl, byte [esp + 0x23]
xor eax, eax
cmp cl, 0x3d
setne al
add eax, 2
cmp eax, 3
jl 0x65f8a3
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add edx, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], edx
cmp edx, ecx
jae 0x65f8c4
jmp 0x65f77c
push ecx
push str.Illegal_character__c_in_input._n
call fcn.006a16f7
add esp, 8
push 1
call fcn.006a2493
mov eax, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [eax], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
mov ebx, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov byte [ebx + ebp], 0
pop edi
pop esi
mov dword [ecx], ebp
mov eax, ebx
pop ebp
pop ebx
add esp, 0x118
ret
Function at 0x6753f0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.0067b800
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x6754e9
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.004e37c0
test eax, eax
jne 0x6754e9
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, esi
call fcn.004e37c0
test eax, eax
jne 0x6754e9
lea edx, [esp + 0x10]
push 0x85dd74
push edx
call fcn.006a0250
mov esi, eax
add esp, 8
test esi, esi
jne 0x6754ba
lea eax, [esp + 0x10]
push 0x85dd70
push eax
call fcn.006a0250
mov esi, eax
add esp, 8
test esi, esi
jne 0x6754ba
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x6754bd
mov byte [esi], 0
push 0x85d538
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x67b740
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x6d9318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x67b7f0
mov eax, dword [0x8690f8]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.006c115c
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.006c11ab
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.006c1108
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x67b7d7
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x67b7d7
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.006c0d78
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x67e8f0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6d97a0
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x67ea97
mov ecx, dword [0x8690f8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x67e9ec
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.0067d610
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.006c0e65
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.006c0d78
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x85d538
call fcn.006c0de6
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.0067d9d0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.006c0e65
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.006c0d78
lea ecx, [esp + 0xc]
call fcn.006c1267
mov ecx, dword [esp + 0xc]
push 0x85df74
push ecx
call fcn.0069eef4
add esp, 8
test eax, eax
je 0x67ea14
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x67e94d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.006c0d78
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.006c0d78
jmp 0x67ea9b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0067e690
test eax, eax
push 0
je 0x67ea7f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.0067cd30
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x67ea65
cmp eax, 0x64
jg 0x67ea53
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x67e9f0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x67e9f0
cmp eax, 0x64
jge 0x67e9ec
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x67e9f0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.0067cd30
mov esi, eax
jmp 0x67e9f0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x67eaa5
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x688e90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x8ddf18]
xor edx, edx
cmp eax, edx
jne 0x688eb6
xor eax, eax
mov byte [eax + 0x8dde18], al
inc eax
cmp eax, 0x100
jl 0x688e9e
mov dword [0x8ddf18], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x8dde18
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x688f47
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 0x688f1a
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 0x688ee8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x688f50
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 0x688fa3
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 0x688f8a
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

Function at 0x68f950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6d9aee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00690270
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x75cffc
call fcn.006c0ab9
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x68f9e3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006c0ab9
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x68f9dc
push 0
mov ecx, eax
call fcn.00686ac0
mov dword [esi + 0xc], eax
jmp 0x68f9e5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x68f9e5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x6c31ec
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x6c3224
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.006c11d3
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.006c11ab
jmp 0x6c3230
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x6c4b69
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x6c4bab
call fcn.006cb72f
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x6c4bab
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x6c4ba2
xor eax, eax
jmp 0x6c4bb3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.006c4bb9
pop edi
pop esi
pop ebx
ret 4

Function at 0x6cbc5f
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x6cbc8d
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x6cbcab
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.006cbbc5
jmp 0x6cbcab
mov eax, dword [esi + 0x14]
test eax, eax
je 0x6cbcab
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.006cbbc5
test edi, edi
mov eax, edi
jne 0x6cbc95
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x6ce5af
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x6ce5d7
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x6ce5e8
push 2
call edi
test ax, ax
jge 0x6ce5e8
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.006c2822
cmp dword [esi + 0x30], ebx
jne 0x6ce6c2
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.006c2822
cmp eax, dword [esp + 0x34]
jne 0x6ce6c2
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x6ce65e
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x6ce6a3
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x6ce6c2
cmp eax, 0x205
je 0x6ce6c2
cmp eax, 0x201
je 0x6ce6c2
cmp eax, 0x204
je 0x6ce6c2
cmp eax, ebx
jne 0x6ce689
cmp dword [esp + 0x1c], 0x1b
je 0x6ce6c2
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x8efa5c]
jbe 0x6ce6b8
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x6ce61b
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x100225d0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1002279d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
jmp 0x100225fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10022601
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x100225f0
mov eax, 1
add ebx, ebx
jne 0x10022613
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10022608
jne 0x10022624
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10022608
xor ecx, ecx
sub eax, 3
jb 0x10022638
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100226aa
mov ebp, eax
add ebx, ebx
jne 0x10022643
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10022650
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x10022674
inc ecx
add ebx, ebx
jne 0x10022660
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10022655
jne 0x10022671
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10022655
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10022694
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10022685
jmp 0x100225f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10022694
add edi, ecx
jmp 0x100225f6
pop esi
mov edi, esi
mov ecx, 0x3ca
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x100226b2
cmp byte [edi], 0xd
jne 0x100226b2
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 0x100226b7
lea edi, [esi + 0x20000]
mov eax, dword [edi]
or eax, eax
je 0x1002272f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x22000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100226e4
mov ecx, edi
jns 0x10022713
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 + 0x22054]
or eax, eax
je 0x10022729
mov dword [ebx], eax
add ebx, 4
jmp 0x10022701
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10022760
cmp al, 0xef
ja 0x10022753
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10022735
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10022742
mov ebp, dword [esi + 0x22058]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x10022794
sub esp, 0xffffff80
jmp 0x1000407c
Function at 0x417a10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov cl, byte [0x4c1046]
sub esp, 0x620
and byte [esi], al
add byte [eax], al
mov al, cl
push ebx
mov bl, byte [str.7SDL]
and al, bl
push ebp
mov ebp, dword [0x4c1034]
xor al, 0xf5
mov byte [str.7SDL], al
mov eax, dword [0x4c1030]
mov edx, eax
and eax, 8
shr edx, 5
and ebp, edx
xor edx, edx
mov dl, cl
push esi
imul eax, edx
push edi
mov edi, dword [0x4c103c]
adc byte [eax + eax + 0xb], cl
clc
mov dword [0x4c1034], ebp
mov dword [0x4c103c], edi
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetThreadLocale
mov ebp, dword [esp + 0x638]
mov esi, dword [esp + 0x634]
push ebp
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x417b6d
push 0x2a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x417aa5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x620
ret 8
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call ebx
mov cl, byte [0x4c1042]
push ebp
mov dword [esp + 0x18], eax
sbb byte [eax + 0x4c104f], ah
xor cl, al

Function at 0x417a18
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov cl, byte [0x4c1046]
sub esp, 0x620
and byte [esi], al
add byte [eax], al
mov al, cl
push ebx
mov bl, byte [str.7SDL]
and al, bl
push ebp
mov ebp, dword [0x4c1034]
xor al, 0xf5
mov byte [str.7SDL], al
mov eax, dword [0x4c1030]
mov edx, eax
and eax, 8
shr edx, 5
and ebp, edx
xor edx, edx
mov dl, cl
push esi
imul eax, edx
push edi
mov edi, dword [0x4c103c]
adc byte [eax + eax + 0xb], cl
clc
mov dword [0x4c1034], ebp
mov dword [0x4c103c], edi
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetThreadLocale
mov ebp, dword [esp + 0x638]
mov esi, dword [esp + 0x634]
push ebp
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x417b6d
push 0x2a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x417aa5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x620
ret 8
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call ebx
mov cl, byte [0x4c1042]
push ebp
mov dword [esp + 0x18], eax
sbb byte [eax + 0x4c104f], ah
xor cl, al

Function at 0x417a50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov cl, byte [0x4c1046]
sub esp, 0x620
and byte [esi], al
add byte [eax], al
mov al, cl
push ebx
mov bl, byte [str.7SDL]
and al, bl
push ebp
mov ebp, dword [0x4c1034]
xor al, 0xf5
mov byte [str.7SDL], al
mov eax, dword [0x4c1030]
mov edx, eax
and eax, 8
shr edx, 5
and ebp, edx
xor edx, edx
mov dl, cl
push esi
imul eax, edx
push edi
mov edi, dword [0x4c103c]
adc byte [eax + eax + 0xb], cl
clc
mov dword [0x4c1034], ebp
mov dword [0x4c103c], edi
add bh, bh
adc eax, sym.imp.KERNEL32.dll_GetThreadLocale
mov ebp, dword [esp + 0x638]
mov esi, dword [esp + 0x634]
push ebp
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x417b6d
push 0x2a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x417aa5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x620
ret 8
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call ebx
mov cl, byte [0x4c1042]
push ebp
mov dword [esp + 0x18], eax
sbb byte [eax + 0x4c104f], ah
xor cl, al