joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5196a8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x5196d9
dec al
je 0x519715
dec al
je 0x519759
dec al
je 0x5197c4
jmp 0x51984e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x51984e
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x5196e9
jmp 0x51984e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x51984e
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x519725
jmp 0x51984e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x51984e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x519787
xor ebp, ebp
jmp 0x519798
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x5197a1
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x519769
jmp 0x51984e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x51984e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x51981c
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00516b94
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5197d8
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5200c4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5200f2
mov eax, ebx
call fcn.00520b78
cmp dword [ebx + 0x40], 0
je 0x5200eb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x520163
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x520155
cmp dword [ebx + 8], 0
je 0x520114
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x520126
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x520155
cmp dword [ebx + 8], 0
je 0x520107
cmp eax, 3
je 0x520139
dec eax
jne 0x520107
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x520107
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x520107
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x520181
cmp dword [ebx + 0x14], 0xcc
je 0x520181
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0052018c
pop ebx
ret

Function at 0x531ea8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x531ed6
mov eax, ebx
call fcn.0053294c
cmp dword [ebx + 0x3c], 0
je 0x531ecf
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x531f47
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x531f39
cmp dword [ebx + 8], 0
je 0x531ef8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x531f0a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x531f39
cmp dword [ebx + 8], 0
je 0x531eeb
cmp eax, 3
je 0x531f1d
dec eax
jne 0x531eeb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x531eeb
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x531eeb
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x531f65
cmp dword [ebx + 0x10], 0xcc
je 0x531f65
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00531f70
pop ebx
ret
Function at 0x556584
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x2c]
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x74]
sub eax, dword [ebx + 0x6c]
mov dword [ebp - 8], eax
jmp 0x5565bf
mov edx, dword [ebx + 0x2c]
sub edx, 0x106
add edx, esi
cmp edx, dword [ebx + 0x6c]
ja 0x556640
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov edi, esi
add edx, edi
push edx
push eax
call fcn.005548e0
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], edi
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x55660d
mov cx, word [ebp - 4]
sub cx, si
jmp 0x55660f
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x5565f6
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x556635
mov cx, word [ebp - 4]
sub cx, si
jmp 0x556637
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x55661e
add dword [ebp - 8], esi
mov edi, dword [ebx]
cmp dword [edi + 4], 0
je 0x5566a2
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebx + 0x38]
add edx, dword [ebx + 0x6c]
add edx, dword [ebx + 0x74]
push edx
push edi
call fcn.00556248
add esp, 0xc
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x55668d
mov ecx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x5566a2
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x556593
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x55b504
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x670ae0
test edx, edx
jne 0x55b523
xor eax, eax
jmp 0x55b641
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x55b540
push esi
push edx
push eax
call fcn.0055b648
add esp, 0xc
jmp 0x55b641
push esi
push edx
push eax
call fcn.0055b908
add esp, 0xc
jmp 0x55b641
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x56dae4
Capabilities:
Write clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
mov edi, dword [ebx + 0x24c]
sub edi, dword [ebx + 0x248]
test edi, edi
jle 0x56dc3e
call fcn.00631bd0
test al, al
je 0x56dc3e
call sub.user32.dll_EmptyClipboard
mov eax, edi
add eax, eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [esp], eax
mov eax, dword [esp]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [esp + 4], eax
mov esi, dword [ebx + 0x248]
xor eax, eax
jmp 0x56db68
mov ecx, dword [esp + 4]
lea ebp, [ecx + eax]
mov edx, dword [ebx + 0x210]
mov dl, byte [edx + esi]
mov byte [ebp], dl
cmp dl, 0xa
jne 0x56db66
mov edx, dword [esp + 4]
mov byte [edx + eax], 0xd
mov edx, dword [esp + 4]
mov byte [edx + eax + 1], 0xa
inc eax
inc eax
inc esi
cmp esi, dword [ebx + 0x24c]
jl 0x56db3c
mov edx, dword [esp + 4]
mov byte [edx + eax], 0
mov eax, dword [esp]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [esp]
push eax
push 1
call sub.user32.dll_SetClipboardData
lea eax, [edi + 1]
imul edx, edi, 0x118
add eax, edx
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [esp], eax
mov eax, dword [esp]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x210]
mov edx, dword [ebx + 0x248]
add eax, edx
mov edx, dword [esp + 8]
mov ecx, edi
call fcn.00402d5c
mov eax, dword [esp + 8]
mov byte [eax + edi], 0
mov esi, dword [ebx + 0x248]
mov ebp, dword [ebx + 0x24c]
dec ebp
sub ebp, esi
jl 0x56dc21
inc ebp
mov eax, dword [ebx + 0x284]
mov edx, dword [eax + esi*4]
mov eax, dword [ebx + 0x280]
call fcn.0041bc38
lea edx, [edi + 1]
mov ecx, esi
sub ecx, dword [ebx + 0x248]
imul ecx, ecx, 0x118
add edx, ecx
mov ecx, dword [esp + 8]
lea edx, [ecx + edx]
mov ecx, 0x118
call fcn.00402d5c
inc esi
dec ebp
jne 0x56dbe5
mov eax, dword [esp]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [esp]
push eax
mov eax, dword [0x69d880]
push eax
call sub.user32.dll_SetClipboardData
call sub.user32.dll_CloseClipboard
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x56dc48
Capabilities:
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, eax
call fcn.00631bd0
test al, al
je 0x56dd1f
mov eax, dword [0x69d880]
push eax
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x56dcd7
mov eax, dword [0x69d880]
push eax
call sub.user32.dll_GetClipboardData
mov edi, eax
test edi, edi
je 0x56dd1a
push edi
call sub.kernel32.dll_GlobalLock
mov dword [esp], eax
mov eax, dword [esp]
call fcn.0040a9a0
mov ebp, eax
xor ebx, ebx
jmp 0x56dcc6
lea eax, [ebp + 1]
imul edx, ebx, 0x118
add eax, edx
mov edx, dword [esp]
lea eax, [edx + eax]
mov edx, dword [esi + 0x258]
mov ecx, 0x118
call fcn.00402d5c
mov eax, dword [esp]
mov dl, byte [eax + ebx]
mov eax, esi
call fcn.0056aeac
inc ebx
mov eax, dword [esp]
cmp byte [eax + ebx], 0
jne 0x56dc97
push edi
call sub.kernel32.dll_GlobalUnlock
jmp 0x56dd1a
push 1
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x56dd1a
push 1
call sub.user32.dll_GetClipboardData
mov edi, eax
test edi, edi
je 0x56dd1a
push edi
call sub.kernel32.dll_GlobalLock
mov dword [esp], eax
jmp 0x56dd0b
cmp bl, 0xd
je 0x56dd08
mov edx, ebx
mov eax, esi
call fcn.0056aeac
inc dword [esp]
mov eax, dword [esp]
mov bl, byte [eax]
test bl, bl
jne 0x56dcfa
push edi
call sub.kernel32.dll_GlobalUnlock
call sub.user32.dll_CloseClipboard
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x589b30
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
jne 0x589b60
mov eax, ebx
call fcn.0058a654
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x589b59
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
mov edx, dword [ebx + 0x14]
cmp edx, 0xcb
jne 0x589bd8
mov ecx, dword [ebx + 0x1b4]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x589bca
mov edx, dword [ebx + 8]
test edx, edx
je 0x589b86
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x589b98
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x589bca
mov edx, dword [ebx + 8]
test edx, edx
je 0x589b78
cmp eax, 3
je 0x589bac
dec eax
jne 0x589b78
mov ecx, dword [ebx + 8]
inc dword [ecx + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 8]
cmp edx, ecx
jl 0x589b78
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x589b78
mov eax, dword [ebx + 0x90]
mov dword [ebx + 0x98], eax
jmp 0x589bf8
mov ecx, dword [ebx + 0x14]
cmp ecx, 0xcc
je 0x589bf8
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00589c04
pop ebx
ret
Function at 0x5b8d98
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
cmp byte [edx + 8], 3
je 0x5b8f2e
mov ecx, dword [edx]
xor ebx, ebx
mov dword [ebp - 4], ecx
xor esi, esi
test byte [edx + 8], 2
je 0x5b8df1
movzx edi, byte [eax]
xor ecx, ecx
mov cl, byte [edx + 9]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
movzx edi, byte [eax + 1]
xor ecx, ecx
mov cl, byte [edx + 9]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
xor ecx, ecx
movzx edi, byte [eax + 2]
inc ebx
mov cl, byte [edx + 9]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
jmp 0x5b8e01
xor ecx, ecx
mov cl, byte [edx + 9]
movzx edi, byte [eax + 3]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
test byte [edx + 8], 4
je 0x5b8e17
xor ecx, ecx
mov cl, byte [edx + 9]
movzx eax, byte [eax + 4]
sub ecx, eax
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
xor ecx, ecx
lea eax, [ebp - 0x20]
cmp ebx, ecx
jle 0x5b8e37
cmp dword [eax], 0
jg 0x5b8e2b
xor edi, edi
mov dword [eax], edi
jmp 0x5b8e2f
mov si, 1
inc ecx
add eax, 4
cmp ebx, ecx
jg 0x5b8e20
test si, si
je 0x5b8f2e
mov al, byte [edx + 9]
sub al, 2
je 0x5b8e5c
sub al, 2
je 0x5b8e7c
sub al, 4
je 0x5b8eb7
sub al, 8
je 0x5b8ede
jmp 0x5b8f2e
mov ecx, dword [edx + 4]
mov eax, dword [ebp + 0xc]
xor edx, edx
cmp ecx, edx
jbe 0x5b8f2e
shr byte [eax], 1
and byte [eax], 0x55
inc eax
inc edx
cmp ecx, edx
ja 0x5b8e6c
jmp 0x5b8f2e
mov esi, dword [ebp - 0x20]
mov ebx, 0xf0
mov ecx, esi
mov edx, dword [edx + 4]
sar ebx, cl
mov ecx, esi
mov esi, 0xf
sar esi, cl
mov ecx, esi
and bl, 0xf0
or bl, cl
xor esi, esi
cmp edx, esi
mov eax, dword [ebp + 0xc]
jbe 0x5b8f2e
mov ecx, dword [ebp - 0x20]
inc esi
shr byte [eax], cl
and byte [eax], bl
inc eax
cmp edx, esi
ja 0x5b8ea8
jmp 0x5b8f2e
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
imul ebx
mov dword [ebp - 8], eax
xor esi, esi
cmp esi, dword [ebp - 8]
jae 0x5b8f2e
mov eax, esi
xor edx, edx
div ebx
mov ecx, dword [ebp + edx*4 - 0x20]
shr byte [edi], cl
inc edi
inc esi
cmp esi, dword [ebp - 8]
jb 0x5b8ec9
jmp 0x5b8f2e
mov edi, dword [ebp + 0xc]
mov eax, ebx
imul dword [ebp - 4]
mov dword [ebp - 0x10], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
jae 0x5b8f2e
movzx esi, byte [edi]
shl esi, 8
xor eax, eax
mov al, byte [edi + 1]
xor edx, edx
add si, ax
mov eax, dword [ebp - 0xc]
div ebx
mov ecx, dword [ebp + edx*4 - 0x20]
shr si, cl
movzx eax, si
sar eax, 8
mov edx, esi
mov byte [edi], al
inc edi
and dl, 0xff
mov byte [edi], dl
inc edi
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
jb 0x5b8ef6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5cd86c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
test dl, dl
je 0x5cd891
add esp, 0xfffffff0
call fcn.004043fc
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x5cd976
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x698bdc]
cmp dword [eax], 0
jne 0x5cd8fb
lea eax, [ebp - 0x105]
push eax
push 0xfa
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x210]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00405164
mov eax, dword [ebp - 0x210]
call fcn.00619d18
lea eax, [ebp - 0x20a]
push eax
push 0
push 0x5cd99c
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetTempFileNameA
jmp 0x5cd91b
lea eax, [ebp - 0x20a]
push eax
push 0
push 0x5cd99c
mov eax, dword [0x698bdc]
mov eax, dword [eax]
call fcn.004053b4
push eax
call sub.kernel32.dll_GetTempFileNameA
push 0xffff
lea eax, [ebp - 0x214]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00405164
mov ecx, dword [ebp - 0x214]
xor edx, edx
mov eax, esi
call fcn.0041eeec
lea eax, [esi + 8]
lea edx, [ebp - 0x20a]
mov ecx, 0x105
call fcn.00405164
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cd97d
lea eax, [ebp - 0x214]
mov edx, 2
call fcn.00404f18
ret

Function at 0x5e4924
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, eax
push esi
push edi
push ebp
mov edx, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov ecx, dword [edx]
mov eax, ecx
movzx eax, word [eax]
cmp eax, esi
jbe 0x5e494b
mov eax, ecx
movzx esi, word [eax + 2]
xor esi, 1
mov eax, dword [eax + 8]
mov dword [edx], eax
jmp 0x5e4959
mov edx, dword [ebx + 0xc]
mov eax, dword [edx]
movzx esi, word [eax + 2]
mov eax, dword [eax + 4]
mov dword [edx], eax
mov edx, dword [ebx + 8]
test edx, edx
jne 0x5e4a28
mov ecx, dword [ebx + 0x20]
test ecx, ecx
jne 0x5e4a1b
mov eax, dword [ebx + 0x18]
test byte [eax + 8], 7
jne 0x5e49c8
mov ebp, dword [ebx + 0x18]
mov eax, dword [ebp + 0x40]
test eax, eax
jl 0x5e499b
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x40]
mov eax, dword [ebp + 0x3c]
cmp ecx, eax
jg 0x5e499b
mov edx, dword [ebx + 0x18]
or dword [edx + 8], 4
or edi, 0xffffffff
jmp 0x5e49cb
mov eax, dword [ebx + 0x18]
dec dword [eax + 0x1c]
jns 0x5e49b4
mov edx, 1
mov eax, dword [ebx + 0x18]
call fcn.005eb99c
mov edi, eax
jmp 0x5e49cb
mov eax, dword [ebx + 0x18]
inc dword [eax + 0x3c]
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x18]
inc dword [edx + 0x18]
movzx edi, byte [ecx]
jmp 0x5e49cb
or edi, 0xffffffff
cmp edi, 0xffffffff
jne 0x5e49dc
mov dword [ebx + 0x20], 1
mov edi, 0xff
mov al, byte [ebx + 0x1c]
mov edx, edi
mov byte [ebx + 0x1c], dl
cmp al, 0xff
jne 0x5e4a0d
cmp edi, 0x8f
jle 0x5e49ff
add dword [ebx], 0xff00
mov dword [ebx + 8], 8
jmp 0x5e4a28
shl edi, 9
add dword [ebx], edi
mov dword [ebx + 8], 7
jmp 0x5e4a28
shl edi, 8
add dword [ebx], edi
mov dword [ebx + 8], 8
jmp 0x5e4a28
add dword [ebx], 0xff00
mov dword [ebx + 8], 8
shl dword [ebx + 4], 1
shl dword [ebx], 1
dec dword [ebx + 8]
test byte [ebx + 5], 0x80
je 0x5e4959
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5e4a44
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, eax
push esi
push edi
push ebp
mov eax, dword [ebx + 0xc]
mov edx, dword [eax]
mov eax, edx
movzx ecx, word [eax]
mov eax, dword [ebx + 4]
cmp ecx, eax
ja 0x5e4a74
mov eax, edx
movzx edx, word [eax]
mov dword [ebx + 4], edx
movzx esi, word [eax + 2]
mov edx, dword [ebx + 0xc]
mov eax, dword [eax + 8]
xor esi, 1
mov dword [edx], eax
jmp 0x5e4a8b
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
movzx edx, word [eax]
mov dword [ebx + 4], edx
movzx esi, word [eax + 2]
mov edx, dword [ebx + 0xc]
mov eax, dword [eax + 4]
mov dword [edx], eax
mov ecx, dword [ebx + 8]
test ecx, ecx
jne 0x5e4b5a
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x5e4b4d
mov edx, dword [ebx + 0x18]
test byte [edx + 8], 7
jne 0x5e4afa
mov ebp, dword [ebx + 0x18]
mov eax, dword [ebp + 0x40]
test eax, eax
jl 0x5e4acd
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x40]
mov eax, dword [ebp + 0x3c]
cmp ecx, eax
jg 0x5e4acd
mov edx, dword [ebx + 0x18]
or dword [edx + 8], 4
or edi, 0xffffffff
jmp 0x5e4afd
mov eax, dword [ebx + 0x18]
dec dword [eax + 0x1c]
jns 0x5e4ae6
mov edx, 1
mov eax, dword [ebx + 0x18]
call fcn.005eb99c
mov edi, eax
jmp 0x5e4afd
mov eax, dword [ebx + 0x18]
inc dword [eax + 0x3c]
mov edx, dword [ebx + 0x18]
mov ecx, dword [edx + 0x18]
inc dword [edx + 0x18]
movzx edi, byte [ecx]
jmp 0x5e4afd
or edi, 0xffffffff
cmp edi, 0xffffffff
jne 0x5e4b0e
mov dword [ebx + 0x20], 1
mov edi, 0xff
mov al, byte [ebx + 0x1c]
mov edx, edi
mov byte [ebx + 0x1c], dl
cmp al, 0xff
jne 0x5e4b3f
cmp edi, 0x8f
jle 0x5e4b31
add dword [ebx], 0xff00
mov dword [ebx + 8], 8
jmp 0x5e4b5a
shl edi, 9
add dword [ebx], edi
mov dword [ebx + 8], 7
jmp 0x5e4b5a
shl edi, 8
add dword [ebx], edi
mov dword [ebx + 8], 8
jmp 0x5e4b5a
add dword [ebx], 0xff00
mov dword [ebx + 8], 8
shl dword [ebx + 4], 1
shl dword [ebx], 1
dec dword [ebx + 8]
test byte [ebx + 5], 0x80
je 0x5e4a8b
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x619cf4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004053b4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x619d0d
test al, 0x10
jne 0x619d11
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x61ba78
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, ecx
mov ebx, edx
mov dword [esp], eax
lea ebp, [esp + 8]
mov byte [esp + 4], 0
mov eax, dword [esp]
call fcn.0061b764
test edi, edi
je 0x61bbc2
mov dword [ebp], ebx
xor ebx, ebx
mov edx, 0x61bbd0
mov ecx, 0xd
mov eax, dword [ebp]
call fcn.0040995c
test al, al
je 0x61bae0
cmp edi, ebx
jle 0x61bae0
mov edx, 0x61bbe0
mov eax, dword [ebp]
add eax, ebx
mov ecx, 6
call fcn.0040995c
test al, al
je 0x61badb
add ebx, 6
jmp 0x61bae0
inc ebx
cmp edi, ebx
jg 0x61babe
cmp edi, ebx
jle 0x61baff
mov eax, dword [ebp]
cmp byte [eax + ebx], 0x1c
je 0x61baff
inc ebx
cmp edi, ebx
jg 0x61bae4
jmp 0x61baff
mov eax, dword [ebp]
cmp byte [eax + ebx + 1], 0x1c
jne 0x61bb06
inc ebx
lea eax, [ebx + 1]
cmp edi, eax
jg 0x61baf4
mov eax, dword [ebp]
cmp byte [eax + ebx], 0x1c
jne 0x61bbbb
inc ebx
lea eax, [ebx + 4]
cmp edi, eax
jle 0x61bbbb
mov eax, dword [ebp]
movzx eax, byte [eax + ebx]
mov dword [esp + 0xc], eax
inc ebx
mov eax, dword [ebp]
xor ecx, ecx
mov cl, byte [eax + ebx]
inc ebx
mov eax, dword [ebp]
test byte [eax + ebx], 0x80
je 0x61bb71
mov eax, dword [ebp]
movzx esi, byte [eax + ebx + 2]
shl esi, 0x18
mov eax, dword [ebp]
movzx eax, byte [eax + ebx + 3]
shl eax, 0x10
add esi, eax
mov eax, dword [ebp]
movzx eax, byte [eax + ebx + 4]
shl eax, 8
add esi, eax
mov eax, dword [ebp]
movzx eax, byte [eax + ebx + 5]
add esi, eax
add ebx, 6
jmp 0x61bb88
mov eax, dword [ebp]
movzx esi, byte [eax + ebx]
shl esi, 8
mov eax, dword [ebp]
movzx eax, byte [eax + ebx + 1]
or esi, eax
add ebx, 2
mov eax, esi
cdq
xor eax, edx
sub eax, edx
mov esi, eax
lea eax, [esi + ebx]
cmp edi, eax
jl 0x61bbbb
mov eax, dword [ebp]
add eax, ebx
push eax
push esi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
call fcn.0061b6fc
add ebx, esi
mov byte [esp + 4], 1
cmp edi, ebx
jg 0x61bb06
mov eax, dword [esp]
mov byte [eax + 0xc], 0
mov al, byte [esp + 4]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x61fbec
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
xor ebx, ebx
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x61fc93
mov eax, dword [esp + 0x10]
dec eax
je 0x61fc16
dec eax
je 0x61fc3b
jmp 0x61fc93
cmp dword [esp + 4], 4
jne 0x61fc93
mov eax, dword [esp + 8]
test eax, eax
jne 0x61fc29
mov bl, 1
jmp 0x61fc93
cmp eax, 0xa
jne 0x61fc32
mov bl, 2
jmp 0x61fc93
cmp eax, 0x5a
jne 0x61fc93
mov bl, 3
jmp 0x61fc93
cmp dword [esp + 4], 4
jne 0x61fc4d
cmp dword [esp + 8], 0
jne 0x61fc4d
mov bl, 4
jmp 0x61fc93
cmp dword [esp + 4], 5
jne 0x61fc5f
cmp dword [esp + 8], 0
jne 0x61fc5f
mov bl, 5
jmp 0x61fc93
cmp dword [esp + 4], 5
jne 0x61fc71
cmp dword [esp + 8], 1
jne 0x61fc71
mov bl, 6
jmp 0x61fc93
cmp dword [esp + 4], 5
jne 0x61fc83
cmp dword [esp + 8], 2
jne 0x61fc83
mov bl, 7
jmp 0x61fc93
cmp dword [esp + 4], 6
jne 0x61fc93
cmp dword [esp + 8], 0
jne 0x61fc93
mov bl, 8
mov eax, ebx
add esp, 0x94
pop ebx
ret