joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cfc83
Capabilities:
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x74f330]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push ebx
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], eax
cmp ecx, eax
je 0x4cfccc
lea edx, [ebp - 0x28]
push edx
push eax
push edi
call fcn.004cf98d
mov ebx, eax
neg ebx
sbb ebx, ebx
and ebx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
jmp 0x4cfcd8
push edi
call dword [0x69b370]
mov dword [ebp - 0x2c], eax
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4cfcea
push edi
call dword [0x69b310]
push eax
call fcn.004cf96a
movzx eax, byte [esi + 0x20]
cmp eax, ebx
je 0x4cfd1e
test bl, 1
je 0x4cfd1e
mov ecx, dword [ebp - 0x34]
push eax
push edi
test ecx, ecx
je 0x4cfd07
call fcn.004cf9dd
jmp 0x4cfd0d
call dword [0x69b35c]
test eax, eax
jne 0x4cfd1e
push edi
call dword [0x69b310]
push eax
call fcn.004cf96a
lea eax, [esi + 8]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x4cfdf2
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.004cfbd0
pop ecx
lea eax, [esi + 0x10]
pop ecx
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x4cfd54
lea ecx, [ebp - 0x44]
push ecx
push eax
call fcn.004cfbd0
pop ecx
lea eax, [ebp - 0x44]
pop ecx
mov dword [ebp - 0x38], eax
mov eax, dword [esi]
or eax, dword [esi + 4]
je 0x4cfd6c
lea eax, [ebp - 0x54]
push eax
push esi
call fcn.004cfbd0
pop ecx
pop ecx
lea esi, [ebp - 0x54]
jmp 0x4cfd6f
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
xor eax, eax
push eax
push 0x80
push 3
push eax
push 1
push 0xc0000000
push edi
cmp ecx, eax
je 0x4cfd90
call fcn.004c5102
jmp 0x4cfd96
call dword [0x69b314]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4cfdaa
push edi
call dword [0x69b310]
push eax
call fcn.004cf96a
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x38]
push esi
push ebx
call dword [0x69b508]
mov esi, dword [0x69b31c]
test eax, eax
jne 0x4cfdd8
call dword [0x69b310]
push ebx
mov dword [ebp - 0x30], eax
call esi
push edi
push dword [ebp - 0x30]
call fcn.004cf96a
push ebx
call esi
test eax, eax
jne 0x4cfdec
push edi
call dword [0x69b310]
push eax
call fcn.004cf96a
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x3c]
movzx eax, byte [esi + 0x20]
cmp eax, ebx
je 0x4cfe26
test bl, 1
jne 0x4cfe26
mov ecx, dword [ebp - 0x34]
push eax
push edi
test ecx, ecx
je 0x4cfe0f
call fcn.004cf9dd
jmp 0x4cfe15
call dword [0x69b35c]
test eax, eax
jne 0x4cfe26
push edi
call dword [0x69b310]
push eax
call fcn.004cf96a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b851f
leave
ret 0xc
Function at 0x4d294d
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x4d2978
call fcn.004c66d7
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x4d299b
push eax
push dword [esi + 4]
call fcn.004d28d3
push esi
push eax
mov ecx, 0x755e20
call fcn.004d2577
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4d9b3c
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x74f330]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [0x69b3ec]
test eax, eax
jne 0x4d9b71
xor eax, eax
jmp 0x4d9bc4
lea eax, [ebp - 0x210]
push eax
call fcn.005bedf1
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x4d9ba2
push 0x6b5318
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005c0daa
add esp, 0xc
test eax, eax
jne 0x4d9b6d
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.005c0daa
add esp, 0xc
test eax, eax
jne 0x4d9b6d
lea eax, [ebp - 0x210]
push eax
call fcn.004be313
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005b851f
leave
ret

Function at 0x4dcd8f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 4], ecx
call fcn.004c66d7
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [0x69b4b0]
test eax, eax
jne 0x4dcdbc
xor eax, eax
jmp 0x4dce63
push eax
push esi
call dword [0x69b338]
mov dword [ebp - 8], eax
test eax, eax
je 0x4dcdb5
push eax
call dword [0x69b334]
mov esi, eax
test esi, esi
je 0x4dcdb5
movzx eax, word [esi + 6]
push ebx
push edi
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b70c2
pop ecx
mov edi, eax
xor ecx, ecx
xor eax, eax
cmp cx, word [esi + 6]
jae 0x4dce14
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 2
cmp eax, edx
jl 0x4dce02
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 4]
push eax
push edi
call fcn.004dc8ae
push edi
mov ebx, eax
call fcn.004b70f1
pop ecx
test ebx, ebx
je 0x4dce56
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
lea esi, [ecx + 7]
mov ecx, dword [ebp - 4]
push eax
lea edx, [eax + 7]
push esi
push edx
call fcn.004dcc00
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.004dccb4
mov ebx, eax
push dword [ebp - 8]
call dword [0x69b4b4]
pop edi
mov eax, ebx
pop ebx
pop esi
leave
ret 4
Function at 0x522e61
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x522e7b
call fcn.004c66d7
mov esi, dword [eax + 0xc]
push dword [0x757b50]
push dword [ebp + 8]
push esi
call dword [0x69b4b0]
mov edi, eax
test edi, edi
jne 0x522e99
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [0x69b338]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x522e91
push ebx
push eax
call dword [0x69b334]
mov ebx, eax
test ebx, ebx
jne 0x522ec6
xor esi, esi
push dword [ebp + 0xc]
call dword [0x69b4b4]
mov eax, esi
pop ebx
jmp 0x522e93
push edi
push esi
call dword [0x69b330]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00522d8f
mov esi, eax
jmp 0x522eb8

Function at 0x5968fe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004c12c2
call fcn.004037b3
cmp eax, esi
pop esi
jne 0x59691a
mov ecx, 0x7561b0
jmp fcn.004da70e
ret

Function at 0x59f0b4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x59f0cc
mov edi, dword [esi + 0xc]
jmp 0x59f10c
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [0x69b4b0]
mov edi, eax
test edi, edi
jne 0x59f0e5
call fcn.004baa2b
push edi
push dword [esi + 8]
call dword [0x69b338]
mov edi, eax
test edi, edi
jne 0x59f0fa
call fcn.004baa2b
push edi
call dword [0x69b334]
mov edi, eax
test edi, edi
jne 0x59f10c
call fcn.004baa2b
call fcn.004c66d7
cmp dword [eax + 0x3c], 0
je 0x59f121
push edi
mov ecx, ebx
call fcn.0059df72
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0059efce
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x59f13f
push eax
call dword [0x69b544]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x59f14b
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5b851f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x74f330]
jne 0x5b8529
repz ret
jmp fcn.005c404c

Function at 0x5b8d4b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x5b8d72
call fcn.005bac35
mov dword [eax], esi
call fcn.005bac22
push 0x16
pop esi
mov dword [eax], esi
call fcn.005c2df9
mov eax, esi
jmp 0x5b8dc7
test dword [ebp + 0xc], 0xfffffff9
jne 0x5b8d58
push dword [ebp + 8]
call dword [0x69b370]
cmp eax, 0xffffffff
jne 0x5b8d9f
call dword [0x69b310]
push eax
call fcn.005bac48
pop ecx
call fcn.005bac22
mov eax, dword [eax]
jmp 0x5b8dc7
test al, 0x10
jne 0x5b8dc5
test al, 1
je 0x5b8dc5
test byte [ebp + 0xc], 2
je 0x5b8dc5
call fcn.005bac35
mov dword [eax], 5
call fcn.005bac22
mov dword [eax], 0xd
jmp 0x5b8d96
xor eax, eax
pop esi
pop ebp
ret
Function at 0x5d13a8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x74f330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.005c3ae1
and dword [ebp - 0x14], 0
cmp dword [0x75a5a8], 0
mov dword [ebp - 0x18], eax
jne 0x5d145b
push 0x6ba3c8
call dword [0x69b488]
mov ebx, eax
test ebx, ebx
je 0x5d1503
mov edi, dword [0x69b34c]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x5d1503
mov esi, dword [0x69b3bc]
push eax
call esi
push 0x6d8d94
push ebx
mov dword [0x75a5a8], eax
call edi
push eax
call esi
push 0x6d8d80
push ebx
mov dword [0x75a5ac], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x75a5b0], eax
call edi
push eax
call esi
mov dword [0x75a5b8], eax
test eax, eax
je 0x5d145b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x75a5b4], eax
mov eax, dword [0x75a5b4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [0x69b3c0]
cmp eax, ecx
je 0x5d14b4
cmp dword [0x75a5b8], ecx
je 0x5d14b4
push eax
call esi
push dword [0x75a5b8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5d14b4
test ebx, ebx
je 0x5d14b4
call edi
test eax, eax
je 0x5d14ab
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x5d14ab
test byte [ebp - 8], 1
jne 0x5d14b4
or dword [ebp + 0x10], 0x200000
jmp 0x5d14e7
mov eax, dword [0x75a5ac]
cmp eax, dword [ebp - 0x18]
je 0x5d14e7
push eax
call esi
test eax, eax
je 0x5d14e7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5d14e7
mov eax, dword [0x75a5b0]
cmp eax, dword [ebp - 0x18]
je 0x5d14e7
push eax
call esi
test eax, eax
je 0x5d14e7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x75a5a8]
call esi
test eax, eax
je 0x5d1503
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5d1505
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005b851f
leave
ret
Function at 0x5d8d47
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x74f330]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x808], 0
push ebx
push esi
push edi
mov esi, 0x100
fild dword [ebp - 0x808]
mov eax, dword [ebp - 0x808]
inc dword [ebp - 0x808]
fdiv qword [0x69d668]
fstp qword [ebp + eax*8 - 0x804]
cmp dword [ebp - 0x808], esi
jl 0x5d8d69
and dword [ebp - 0x808], 0
mov edi, dword [ebp - 0x808]
fild dword [ebp - 0x808]
xor ebx, ebx
lea edi, [edi + 0x75a640]
fld qword [ebp + ebx*8 - 0x804]
fmul st(1)
call fcn.005b8cd6
mov byte [edi], al
inc ebx
add edi, esi
cmp ebx, esi
jl 0x5d8dab
inc dword [ebp - 0x808]
fstp st(0)
cmp dword [ebp - 0x808], esi
jl 0x5d8d97
xor ecx, ecx
mov eax, ecx
mov byte [eax*4 + 0x76a640], cl
mov byte [eax*4 + 0x76a641], cl
mov byte [eax*4 + 0x76a642], cl
inc ecx
mov byte [eax*4 + 0x76a643], 0
cmp ecx, esi
jl 0x5d8dd4
xor ecx, ecx
xor edx, edx
mov al, 1
shl al, cl
inc ecx
dec edx
mov byte [ecx + 0x76bc8f], al
mov byte [edx + 0x76bc90], al
not al
mov byte [ecx + 0x76bc7f], al
cmp edx, 0xfffffff8
jg 0x5d8dfc
xor edx, edx
mov al, dl
rol al, 4
mov cl, al
mov bl, al
shr cl, 2
shl bl, 2
xor cl, bl
shl al, 2
and cl, 0x33
xor cl, al
mov al, cl
shr al, 1
mov bl, cl
add bl, bl
xor al, bl
and al, 0x55
add cl, cl
xor al, cl
mov byte [edx + 0x76bb80], al
not al
mov byte [edx + 0x76ba80], al
inc edx
cmp edx, esi
jl 0x5d8e1d
mov edi, 0x76ba40
mov dword [ebp - 0x808], 7
mov ecx, dword [ebp - 0x808]
mov edx, 0xff
xor eax, eax
sar edx, cl
or bl, 0xff
mov ecx, eax
shl bl, cl
and bl, dl
mov byte [edi + eax], bl
inc eax
cmp eax, 8
jl 0x5d8e77
dec dword [ebp - 0x808]
add edi, 8
cmp dword [ebp - 0x808], 0xffffffff
jg 0x5d8e68
xor edx, edx
and dword [ebp - 0x808], 0
mov eax, edx
lea edi, [eax*8 + 0x76b247]
mov ecx, dword [ebp - 0x808]
xor ebx, ebx
inc ebx
shl ebx, cl
test edx, ebx
setne cl
inc dword [ebp - 0x808]
mov byte [edi], cl
dec edi
cmp dword [ebp - 0x808], 8
jl 0x5d8ead
movzx edi, byte [eax*8 + 0x76b243]
movzx ebx, byte [eax*8 + 0x76b242]
movzx ecx, byte [eax*8 + 0x76b240]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax*8 + 0x76b241]
shl edi, 8
or edi, ebx
shl edi, 8
or edi, ecx
movzx ecx, byte [eax*8 + 0x76b246]
mov dword [eax*8 + 0x76aa40], edi
movzx edi, byte [eax*8 + 0x76b247]
shl edi, 8
or ecx, edi
movzx edi, byte [eax*8 + 0x76b245]
shl ecx, 8
or ecx, edi
movzx edi, byte [eax*8 + 0x76b244]
shl ecx, 8
or ecx, edi
inc edx
mov dword [eax*8 + 0x76aa44], ecx
cmp edx, esi
jl 0x5d8e9d
call fcn.005dae9f
mov ecx, dword [ebp - 4]
dec eax
neg eax
sbb al, al
pop edi
inc al
pop esi
xor ecx, ebp
mov byte [0x76bc98], al
pop ebx
call fcn.005b851f
leave
ret

Function at 0x5da4fb
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 8]
push edi
sar ecx, 2
xor edi, edi
mov al, 1
test ecx, ecx
je 0x5da53c
test al, al
je 0x5da52c
mov eax, dword [esi + 8]
mov eax, dword [eax + edi*4]
push dword [eax + 0x18]
call dword [0x69b468]
cmp eax, 0xffffffff
je 0x5da52c
mov al, 1
jmp 0x5da52e
xor al, al
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 8]
inc edi
sar ecx, 2
cmp edi, ecx
jb 0x5da510
pop edi
pop esi
ret
Function at 0x5dab15
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.005da36c
lea eax, [esi + 0x14]
push eax
push 4
push esi
push 0x5daaf8
push 0
push 0
call fcn.005bce0f
add esp, 0x18
mov dword [esi + 0x18], eax
pop esi
ret

Function at 0x5e5a5b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 1
push esi
mov esi, ecx
jne 0x5e5a7a
push dword [esi + 0xc]
call fcn.00675dc8
pop ecx
mov ecx, dword [ebp + 8]
mov byte [ecx], al
xor eax, eax
inc eax
jmp 0x5e5ab4
cmp dword [ebp + 0xc], 2
jne 0x5e5aa1
push edi
push dword [esi + 0xc]
call fcn.00675dc8
mov edi, dword [ebp + 8]
mov byte [edi], al
push dword [esi + 0xc]
call fcn.00675dc8
pop ecx
pop ecx
push 2
mov byte [edi + 1], al
pop eax
pop edi
jmp 0x5e5ab4
push dword [esi + 0xc]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.005bb2da
add esp, 0x10
pop esi
pop ebp
ret 8

Function at 0x5e5b96
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 8], 0
jne 0x5e5ba3
xor al, al
jmp 0x5e5bbf
push dword [ecx + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.005bbacc
sub eax, dword [ebp + 0x10]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
pop ebp
ret 0xc
Function at 0x5ea62b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
cmp dword [ebp + 8], edx
jne 0x5ea63c
xor eax, eax
jmp 0x5ea72b
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
imul esi, dword [ebp + 0x10]
add esi, dword [ebp + 8]
push edi
mov edi, ebx
push 8
sub eax, ebx
and edi, 7
pop ecx
sub ecx, edi
inc eax
mov dword [ebp + 8], ecx
cmp ecx, eax
jb 0x5ea666
mov dword [ebp + 8], eax
cmp dword [ebp + 8], 8
jne 0x5ea66f
mov dword [ebp + 8], edx
mov ecx, dword [ebp + 0x18]
and ecx, 7
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, eax
jb 0x5ea680
mov dword [ebp + 0xc], eax
mov ecx, ebx
xor ecx, dword [ebp + 0x18]
test ecx, 0xfffffff8
jne 0x5ea690
mov dword [ebp + 0xc], edx
mov ecx, dword [ebp + 8]
add ecx, ebx
mov dword [ebp + 0x10], ecx
cmp ebx, ecx
jae 0x5ea6c4
mov ecx, ebx
mov edi, ebx
shr ecx, 3
not edi
and edi, 7
mov dl, byte [edi + 0x76bc90]
add ecx, esi
cmp dword [ebp + 0x1c], 0
je 0x5ea6ba
or byte [ecx], dl
jmp 0x5ea6be
not dl
and byte [ecx], dl
inc ebx
cmp ebx, dword [ebp + 0x10]
jb 0x5ea69c
xor edi, edi
cmp eax, 8
jbe 0x5ea6f8
sub eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
shr eax, 3
mov edi, eax
test edi, edi
je 0x5ea6f8
mov eax, dword [ebp + 0x1c]
neg eax
sbb eax, eax
and eax, 0xff
push edi
push eax
mov eax, ebx
shr eax, 3
add eax, esi
push eax
call fcn.005b8ac0
add esp, 0xc
lea edx, [ebx + edi*8]
jmp 0x5ea720
mov eax, edx
mov ecx, edx
shr eax, 3
not ecx
and ecx, 7
mov cl, byte [ecx + 0x76bc90]
add eax, esi
cmp dword [ebp + 0x1c], 0
je 0x5ea71b
or byte [eax], cl
jmp 0x5ea71f
not cl
and byte [eax], cl
inc edx
cmp edx, dword [ebp + 0x18]
jb 0x5ea6fd
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
pop ebp
ret 0x18

Function at 0x5f7702
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.005f70dd
mov byte [ebp + 0x17], al
test al, al
je 0x5f77c4
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x5f77c1
and dword [ebp + 0xc], 0
cmp dword [edi + 0x10], 0
push esi
mov esi, ecx
jbe 0x5f77ae
mov eax, dword [edi + 0x14]
and dword [ebp + 0x10], 0
test eax, eax
je 0x5f77a3
movzx edx, byte [ecx + 3]
movzx eax, byte [ecx + 1]
imul eax, edx
cdq
mov ebx, 0xff
idiv ebx
movzx edx, byte [ecx + 3]
mov dword [ebp - 4], eax
movzx eax, byte [ecx + 2]
imul eax, edx
cdq
idiv ebx
movzx edx, byte [ecx + 3]
mov dword [ebp - 8], eax
movzx eax, byte [ecx]
imul eax, edx
cdq
idiv ebx
mov byte [esi], al
mov al, byte [ebp - 4]
mov byte [esi + 1], al
mov al, byte [ebp - 8]
mov byte [esi + 2], al
movzx eax, word [edi + 0xc]
add ecx, eax
mov eax, dword [edi + 0x14]
add esi, 3
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], eax
jb 0x5f774a
mov ebx, dword [ebp + 8]
inc dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
cmp edx, dword [edi + 0x10]
jb 0x5f7742
mov ecx, dword [edi + 0x14]
imul ecx, dword [edi + 0x10]
mov eax, dword [ebx]
imul ecx, ecx, 3
push ecx
mov ecx, ebx
call dword [eax + 8]
pop esi
mov al, byte [ebp + 0x17]
pop edi
pop ebx
leave
ret 0x10
Function at 0x60c536
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x74f330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dl, byte [eax + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], esi
cmp dl, 3
je 0x60c6bc
and dword [ebp - 0x18], 0
mov ecx, dword [eax]
push ebx
push edi
mov edi, dword [ebp + 0x10]
test dl, 2
je 0x60c596
movzx edx, byte [eax + 9]
movzx esi, byte [edi]
mov ebx, edx
sub ebx, esi
movzx esi, byte [edi + 1]
mov dword [ebp - 0x14], ebx
mov ebx, edx
sub ebx, esi
movzx esi, byte [edi + 2]
sub edx, esi
mov esi, dword [ebp - 0x1c]
push 3
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], edx
pop ebx
jmp 0x60c5a6
movzx edx, byte [edi + 3]
movzx ebx, byte [eax + 9]
sub ebx, edx
mov dword [ebp - 0x14], ebx
xor ebx, ebx
inc ebx
test byte [eax + 8], 4
je 0x60c5bb
movzx edx, byte [edi + 4]
movzx edi, byte [eax + 9]
sub edi, edx
mov dword [ebp + ebx*4 - 0x14], edi
inc ebx
xor edi, edi
test ebx, ebx
jle 0x60c6ba
lea edx, [ebp + edi*4 - 0x14]
cmp dword [edx], 0
jg 0x60c5d3
and dword [edx], 0
jmp 0x60c5da
mov dword [ebp - 0x18], 1
inc edi
cmp edi, ebx
jl 0x60c5c5
cmp word [ebp - 0x18], 0
je 0x60c6ba
movzx edx, byte [eax + 9]
dec edx
dec edx
je 0x60c6a4
dec edx
dec edx
je 0x60c679
sub edx, 4
je 0x60c658
sub edx, 8
jne 0x60c6ba
and dword [ebp - 0x18], edx
imul ecx, ebx
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x60c6ba
mov eax, dword [ebp - 0x18]
xor edx, edx
div ebx
movzx eax, byte [esi]
mov ecx, 0x100
imul ax, cx
movzx ecx, byte [esi + 1]
add ax, cx
mov cx, word [ebp + edx*4 - 0x14]
shr ax, cl
movzx eax, ax
mov ecx, eax
shr ecx, 8
mov byte [esi], cl
mov byte [esi + 1], al
add esi, 2
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jb 0x60c619
jmp 0x60c6ba
imul ecx, ebx
xor edi, edi
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x60c6ba
xor edx, edx
mov eax, edi
div ebx
mov cl, byte [ebp + edx*4 - 0x14]
shr byte [esi], cl
inc esi
inc edi
cmp edi, dword [ebp - 0x1c]
jb 0x60c664
jmp 0x60c6ba
mov edi, dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov eax, 0xf0
sar eax, cl
push 0xf
pop edx
sar edx, cl
and al, 0xf0
or al, dl
test edi, edi
je 0x60c6ba
mov dl, byte [esi]
mov cl, byte [ebp - 0x14]
shr dl, cl
and dl, al
mov byte [esi], dl
inc esi
dec edi
jne 0x60c693
jmp 0x60c6ba
mov eax, dword [eax + 4]
mov ecx, esi
test eax, eax
je 0x60c6ba
mov dl, byte [ecx]
shr dl, 1
and dl, 0x55
mov byte [ecx], dl
inc ecx
dec eax
jne 0x60c6ad
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005b851f
leave
ret

Function at 0x610871
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
test eax, eax
je 0x6108a7
push edi
mov edi, 0x120
cmp dword [ebp + 0xc], edi
jae 0x61089a
push eax
call fcn.0061e4b5
push 2
call fcn.0061e4a1
pop ecx
pop ecx
mov dword [esi], eax
push edi
push 0
push eax
call fcn.005b8ac0
add esp, 0xc
pop edi
pop esi
pop ebp
ret
Function at 0x612ec4
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x612ef6
push esi
call fcn.0061289d
cmp byte [esi + 0x40], 0
pop ecx
je 0x612eef
mov dword [esi + 0x14], 0xcf
mov al, 1
jmp 0x612f86
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x612f63
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x612f58
mov eax, dword [esi + 8]
test eax, eax
je 0x612f17
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x190]
push esi
call dword [eax]
pop ecx
test eax, eax
je 0x612f54
cmp eax, 2
je 0x612f58
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x612f0c
cmp eax, 3
je 0x612f3b
cmp eax, 1
jne 0x612f0c
inc dword [ecx + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [esi + 8]
cmp ecx, dword [eax + 8]
jl 0x612f0c
mov ecx, dword [esi + 0x11c]
add dword [eax + 8], ecx
jmp 0x612f0c
xor al, al
jmp 0x612f86
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x612f81
cmp eax, 0xcc
je 0x612f81
mov eax, dword [esi]
mov dword [eax + 0x14], 0x15
mov eax, dword [esi]
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax]
pop ecx
call fcn.00612c20
pop esi
pop ebp
ret
Function at 0x6221b9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea ecx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, ecx
jb 0x622240
mov eax, dword [edi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.005b7aa0
mov eax, dword [edi + 0x4c]
mov ecx, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
add esp, 0xc
sub dword [edi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
sub eax, 2
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x622201
mov eax, dword [edi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
sub eax, 2
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x622224
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x622298
mov ecx, dword [edi + 0x74]
add ecx, dword [edi + 0x6c]
push esi
add ecx, dword [edi + 0x38]
mov esi, eax
push ecx
call fcn.00621efd
add dword [edi + 0x74], eax
mov esi, dword [edi + 0x74]
pop ecx
pop ecx
cmp esi, 3
jb 0x622284
mov edx, dword [edi + 0x6c]
add edx, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx eax, byte [edx]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp esi, 0x106
jae 0x622298
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x6221c2
pop esi
pop ebx
leave
ret