joyce8/EMBER2024-capa huggingface dataset:
Function at 0x52b8b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push edi
mov edi, ecx
mov byte [eax], 0
mov eax, dword [edi]
xor esi, esi
test eax, eax
mov dword [esp + 8], edi
je 0x52b9ce
call fcn.0052b790
mov eax, dword [edi]
test eax, eax
je 0x52b8e1
mov byte [eax + 0x18], 0
mov eax, dword [eax]
test eax, eax
jne 0x52b8d7
push ebx
push ebp
mov ecx, dword [edi]
test ecx, ecx
je 0x52b9cc
lea ecx, [ecx]
mov al, byte [ecx + 0x18]
test al, al
jne 0x52b91f
test esi, esi
je 0x52b91d
fild dword [edi + 0x78]
fild dword [ecx + 0x14]
fild dword [ecx + 0x10]
fdiv st(2)
fdivp st(1)
fild dword [esi + 0x14]
fild dword [esi + 0x10]
fdiv st(3)
fdivp st(1)
fcompp
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x52b91f
mov esi, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x52b8f0
test esi, esi
je 0x52b9cc
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x52b992
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
lea ebp, [esi + 0x3c]
push ebp
lea ecx, [esi + 0x38]
push ecx
push edx
push eax
call dword [esi + 4]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x52b969
lea edi, [esi + 0x1c]
push edi
call dword [0x5f62b4]
push edi
mov byte [esi + 0x1a], 1
call dword [0x5f62b0]
mov edi, dword [esp + 0x10]
test ebx, ebx
mov dword [esi + 0x34], ebx
je 0x52b980
mov ecx, dword [esp + 0x18]
mov byte [ecx], 1
mov edx, dword [edi + 0xa0]
sub dword [ebp], edx
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x52b992
mov byte [esi + 0x18], 1
xor esi, esi
jmp 0x52b8e3
inc dword [esi + 0x14]
mov eax, dword [edi]
test eax, eax
je 0x52b9b3
mov ecx, dword [edi + 0x74]
movsx ecx, byte [ecx + edi + 0x10]
cmp dword [eax + 0x44], ecx
je 0x52b9b0
mov eax, dword [eax]
test eax, eax
jne 0x52b9a3
jmp 0x52b9b3
dec dword [eax + 0x14]
mov edx, dword [edi + 0x74]
mov al, byte [esi + 0x44]
mov byte [edx + edi + 0x10], al
mov eax, dword [edi + 0x74]
inc eax
cdq
mov ecx, 0x64
idiv ecx
mov dword [edi + 0x74], edx
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
pop ecx
ret 4
Function at 0x5722b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [esp + 0x10]
cmp eax, 3
mov ecx, 0x9e3779b9
push edi
mov ebp, eax
mov edi, ecx
mov esi, edx
jb 0x572351
mov eax, 0xaaaaaaab
mul ebp
shr edx, 1
add ecx, dword [ebx + 4]
add esi, dword [ebx + 8]
mov eax, dword [ebx]
sub eax, esi
sub eax, ecx
add eax, edi
sub ecx, esi
mov edi, esi
shr edi, 0xd
xor eax, edi
sub ecx, eax
mov edi, eax
shl edi, 8
xor ecx, edi
sub esi, ecx
sub esi, eax
mov edi, ecx
shr edi, 0xd
xor esi, edi
sub eax, esi
sub eax, ecx
mov edi, esi
shr edi, 0xc
xor eax, edi
sub ecx, esi
sub ecx, eax
mov edi, eax
shl edi, 0x10
xor ecx, edi
sub esi, ecx
sub esi, eax
mov edi, ecx
shr edi, 5
xor esi, edi
sub eax, esi
sub eax, ecx
mov edi, esi
shr edi, 3
xor eax, edi
sub ecx, esi
mov edi, eax
shl eax, 0xa
sub ecx, edi
xor ecx, eax
sub esi, ecx
mov eax, ecx
sub esi, edi
shr eax, 0xf
xor esi, eax
add ebx, 0xc
sub ebp, 3
dec edx
jne 0x5722d7
mov eax, dword [esp + 0x14]
add esi, eax
dec ebp
je 0x57235c
dec ebp
jne 0x57235e
add ecx, dword [ebx + 4]
add edi, dword [ebx]
sub edi, esi
sub edi, ecx
sub ecx, esi
mov edx, esi
shr edx, 0xd
xor edi, edx
sub ecx, edi
mov eax, edi
shl eax, 8
xor ecx, eax
sub esi, ecx
sub esi, edi
mov edx, ecx
shr edx, 0xd
xor esi, edx
sub edi, esi
sub edi, ecx
mov eax, esi
shr eax, 0xc
xor edi, eax
sub ecx, esi
sub ecx, edi
mov edx, edi
shl edx, 0x10
xor ecx, edx
sub esi, ecx
mov eax, ecx
sub esi, edi
shr eax, 5
xor esi, eax
mov eax, esi
sub edi, eax
sub edi, ecx
mov edx, eax
shr edx, 3
xor edi, edx
sub ecx, eax
mov edx, edi
sub ecx, edi
shl edx, 0xa
xor ecx, edx
sub eax, ecx
sub eax, edi
pop edi
pop esi
shr ecx, 0xf
pop ebp
xor eax, ecx
pop ebx
ret
Function at 0x572880
Capabilities:
Enumerate pe sections

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x57299d
push ebx
mov ebx, dword [edi + 0x20]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push ebx
mov edx, 0x12311998
mov eax, ebp
call fcn.005722b0
and eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x30]
mov esi, dword [ecx + eax*8]
add esp, 4
test esi, esi
je 0x57299a
xor eax, eax
test ebx, ebx
lea ecx, [esi + 0x14]
jbe 0x5728d1
mov edx, dword [ecx]
add ecx, 4
cmp edx, dword [ebp + eax*4]
jne 0x572926
inc eax
cmp eax, ebx
jb 0x5728c1
cmp dword [edi + 0x34], esi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
jne 0x5728df
mov dword [edi + 0x34], eax
cmp dword [edi + 0x38], esi
jne 0x5728e7
mov dword [edi + 0x38], ecx
test eax, eax
je 0x5728ee
mov dword [eax + 0xc], ecx
test ecx, ecx
je 0x5728f5
mov dword [ecx + 8], eax
mov eax, dword [esi]
test eax, eax
je 0x572901
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x57290c
mov edx, dword [esi]
mov dword [eax], edx
mov ecx, dword [edi + 0x18]
test ecx, ecx
mov eax, dword [esi + 0x10]
mov ebx, dword [esp + 0x14]
jne 0x572931
push eax
push ebx
call fcn.0056c280
add esp, 8
jmp 0x572953
mov esi, dword [esi]
test esi, esi
jne 0x5728b8
pop esi
pop ebp
pop ebx
pop edi
ret
mov cx, word [eax]
movzx edx, word [eax + 4]
neg cx
sbb ecx, ecx
and ecx, 3
inc ecx
imul ecx, edx
movzx edx, word [eax + 2]
movzx eax, word [eax + 6]
imul ecx, edx
lea eax, [ecx + eax*4 + 0x14]
mov ecx, dword [edi + 0x2c]
mov ebp, dword [edi + 4]
mov edx, dword [edi + 0xc]
add ecx, eax
sub ebp, ecx
mov ecx, dword [edi + 0x18]
dec edx
test ecx, ecx
mov dword [edi + 4], ebp
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x10]
push eax
push ebx
jne 0x572989
call fcn.0056c270
add esp, 8
push esi
call fcn.005dd350
add esp, 4
pop esi
pop ebp
pop ebx
pop edi
ret
call fcn.00572290
add esp, 8
push esi
call fcn.005dd350
add esp, 4
pop esi
pop ebp
pop ebx
pop edi
ret
Function at 0x58c200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x2c]
add edx, edx
add esi, esi
test ecx, ecx
mov dword [esp + 0xc], edx
jle 0x58c399
mov eax, dword [esp + 0x28]
sub eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
sub eax, edx
mov edx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
push ebp
mov eax, ebx
sub eax, esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x28]
lea edx, [edx + eax*4]
mov ebp, edi
sub ebp, esi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
add eax, ecx
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
jmp 0x58c271
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [edx*4 + 0x623490]
lea eax, [edi + esi*2]
push eax
lea edx, [esi + edi]
push edx
push edi
push ebp
mov dword [esp + 0x30], ecx
call fcn.0058be50
lea eax, [edi + esi*2 + 0x10]
push eax
lea ecx, [esi + edi + 0x10]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [edi + 0x10]
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.0058be50
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
lea eax, [ebx + esi*2]
push eax
add ebp, 0x20
lea ecx, [esi + ebx]
push ecx
mov dword [esp + 0x48], ebp
mov ebp, dword [edx*4 + 0x623490]
mov edx, dword [esp + 0x60]
push ebx
push edx
mov ecx, ebp
add edi, 0x20
call fcn.0058be50
lea eax, [ebx + esi*2 + 0x10]
push eax
mov eax, dword [esp + 0x6c]
lea ecx, [esi + ebx + 0x10]
push ecx
lea edx, [ebx + 0x10]
push edx
add eax, 0x10
push eax
mov ecx, ebp
call fcn.0058be50
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x58]
add eax, 0x20
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x70]
lea edx, [eax + ecx*2]
add esp, 0x40
push edx
add ecx, eax
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
mov ecx, ebp
add ebx, 0x20
call fcn.0058be50
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx*2]
push edx
add ecx, eax
push ecx
push eax
mov eax, dword [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.0058be50
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov eax, 0x10
add ebp, eax
add esp, 0x20
mov dword [esp + 0x30], ebp
add edx, eax
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x50]
add ecx, eax
add ebp, eax
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov eax, 4
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jne 0x58c26d
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x14
ret
Function at 0x594c20
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, ecx
cdq
and edx, 7
push ebx
mov ebx, dword [esp + 0x10]
add eax, edx
push ebp
sar eax, 3
and ecx, 7
test eax, eax
push esi
mov esi, dword [esp + 0x10]
mov ebp, ecx
jle 0x594c6c
push edi
mov edi, eax
push 8
mov ecx, esi
call fcn.0058fe60
xor edx, edx
mov ecx, ebx
shr ecx, 8
mov dh, bl
xor eax, ecx
and eax, 0xff
xor edx, dword [eax*4 + 0x6287f0]
dec edi
mov ebx, edx
jne 0x594c46
pop edi
test ebp, ebp
jle 0x594c98
push 1
mov ecx, esi
call fcn.0058fe60
mov ecx, ebx
shr ecx, 0xf
and ecx, 1
and ebx, 0x7fff
xor eax, ecx
shl ebx, 1
test eax, eax
je 0x594c95
xor ebx, 0x8005
dec ebp
jne 0x594c70
pop esi
pop ebp
mov eax, ebx
pop ebx
ret

Function at 0x596dae
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
test edx, edx
je 0x596dd2
mov ecx, dword [esp + 4]
push esi
mov esi, eax
shl eax, 4
sar esi, 0x1c
xor esi, eax
movzx eax, word [ecx]
xor eax, esi
inc ecx
inc ecx
dec edx
jne 0x596dbd
pop esi
ret
Function at 0x5b0a29
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
test edx, edx
je 0x5b0a4c
mov ecx, dword [esp + 4]
push esi
mov esi, dword [ecx + 4]
xor esi, dword [ecx]
add ecx, 0xc
shr esi, 3
xor esi, dword [ecx - 4]
xor eax, esi
dec edx
jne 0x5b0a38
pop esi
ret
Function at 0x5f29be
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x5f29ec
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x5f29f3
cmp ebx, dword [eax + 4]
jae 0x5f29f3
xor eax, eax
jmp 0x5f2be3
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x5f2a04
xor eax, eax
inc eax
jmp 0x5f2be2
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5f2a1a
cmp ecx, edx
jae 0x5f2b5f
cmp dword [eax + 4], 0
je 0x5f2a23
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x5f2a0b
cmp dword [ebp + 8], 0
je 0x5f2a45
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x5f2b5f
cmp eax, esi
jae 0x5f2b5f
mov eax, dword [0x746580]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x5f2a6a
cmp dword [esi*4 + 0x746588], edi
je 0x5f2b63
inc esi
cmp esi, eax
jl 0x5f2a58
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x5f62a0]
test eax, eax
je 0x5f2bdf
cmp dword [ebp - 8], 0x1000000
jne 0x5f2bdf
test byte [ebp - 0xc], 0xcc
je 0x5f2ae8
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x5f2bdf
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x5f2bdf
cmp word [eax + 0x18], 0x10b
jne 0x5f2bdf
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x5f2bdf
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x5f2ae8
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x5f2ae8
test byte [ecx + 0x27], 0x80
jne 0x5f2b5f
push 1
push 0x7465c8
call dword [0x5f62a4]
test eax, eax
jne 0x5f29fc
mov ecx, dword [0x746580]
test ecx, ecx
mov edx, ecx
jle 0x5f2b1c
lea eax, [ecx*4 + 0x746584]
cmp dword [eax], edi
je 0x5f2b1c
dec edx
sub eax, 4
test edx, edx
jg 0x5f2b10
test edx, edx
jne 0x5f2b4d
push 0xf
pop ebx
cmp ecx, ebx
jg 0x5f2b29
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x5f2b41
lea eax, [edx*4 + 0x746588]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x5f2b2f
cmp ecx, 0x10
jge 0x5f2b4d
inc ecx
mov dword [0x746580], ecx
push 0
push 0x7465c8
call dword [0x5f62a4]
jmp 0x5f29fc
xor eax, eax
jmp 0x5f2be2
test esi, esi
jle 0x5f29fc
mov ebx, dword [0x5f62a4]
push 1
push 0x7465c8
call ebx
test eax, eax
jne 0x5f29fc
cmp dword [esi*4 + 0x746588], edi
je 0x5f2bb9
mov eax, dword [0x746580]
lea esi, [eax - 1]
test esi, esi
jl 0x5f2ba7
cmp dword [esi*4 + 0x746588], edi
je 0x5f2ba3
dec esi
jns 0x5f2b97
test esi, esi
jge 0x5f2bb7
cmp eax, 0x10
jge 0x5f2bb2
inc eax
mov dword [0x746580], eax
lea esi, [eax - 1]
jmp 0x5f2bb9
je 0x5f2bd1
xor ecx, ecx
test esi, esi
jl 0x5f2bd1
lea eax, [ecx*4 + 0x746588]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x5f2bbf
push 0
push 0x7465c8
call ebx
jmp 0x5f29fc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7784c0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x404
mov eax, dword [0x77353c]
push edi
mov dword [esp + 0x404], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x40c]
lea eax, [esp + 0x410]
push eax
push ecx
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x404]
pop edi
call fcn.0077ef06
add esp, 0x404
ret

Function at 0x778520
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [esp + 4]
push 0x40
push 0x3000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
ret

Function at 0x778690
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
push 0
push 0
push esi
call edi
push 0
mov ebx, eax
mov eax, dword [esp + 0x20]
push 0
push eax
push esi
call edi
push 0
lea ecx, [esp + 0x14]
push ecx
push 3
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push ebx
push esi
call edi
xor eax, eax
mov ecx, 3
mov edi, 0x773d04
lea esi, [esp + 0xc]
repe cmpsb byte [esi], byte es:[edi]
pop edi
pop esi
sete al
pop ebx
add esp, 8
ret
Function at 0x779470
Capabilities:
Get file size
Read file on windows
Terminate process

Disassembly:
sub esp, 0x208
mov eax, dword [0x77353c]
push ebx
mov dword [esp + 0x208], eax
mov eax, dword [esp + 0x218]
test eax, eax
push esi
mov esi, dword [esp + 0x214]
push edi
mov dword [0x78576c], esi
mov dword [0x7857b8], 0
mov dword [0x785760], 0
mov dword [0x785768], 0
jne 0x7794c3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x785764], eax
mov eax, dword [0x78575c]
test eax, eax
je 0x7794da
push eax
call fcn.00778540
add esp, 4
mov eax, dword [0x785764]
push eax
call fcn.00778520
mov edi, dword [esp + 0x220]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 4
push 0
push 0
push edi
push esi
mov dword [0x78575c], eax
call ebx
mov edx, dword [0x785764]
mov eax, dword [0x78575c]
push 0
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push 0
push edi
push esi
call ebx
call fcn.007792a0
test al, al
pop edi
pop esi
pop ebx
jne 0x77956c
mov ecx, dword [0x7857b8]
push ecx
lea edx, [esp + 8]
push 0x773db0
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0x10
push 0x773da4
lea eax, [esp + 0xc]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x77956c
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esp + 0x204]
call fcn.0077ef06
add esp, 0x208
ret
Function at 0x779580
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, esi
xor ecx, ecx
sub edi, edx
mov al, byte [esi]
mov bl, byte [edx]
add al, cl
add bl, al
mov byte [edx], bl
mov al, cl
or al, 1
add al, bl
add al, byte [esi + 1]
mov byte [edx], al
mov byte [esp + 0xf], al
mov bl, al
mov al, cl
or al, 2
add al, bl
add al, byte [esi + 2]
mov byte [edx], al
mov byte [esp + 0xf], al
mov bl, al
mov al, cl
or al, 3
add al, bl
add al, byte [esi + 3]
mov byte [edx], al
mov byte [esp + 0xf], al
mov bl, al
mov al, cl
or al, 4
add al, bl
add al, byte [esi + 4]
mov byte [edx], al
mov byte [esp + 0xf], al
mov bl, al
mov al, cl
or al, 5
add al, bl
add al, byte [esi + 5]
mov byte [edx], al
mov byte [esp + 0xf], al
mov bl, al
mov al, cl
or al, 6
add al, bl
add al, byte [esi + 6]
mov byte [edx], al
mov byte [esp + 0xf], al
mov bl, al
mov al, cl
or al, 7
add al, bl
add al, byte [esi + 7]
mov byte [edx], al
mov byte [esp + 0xf], al
mov al, byte [esi]
mov bl, byte [esp + 0xf]
dec al
imul cl
xor al, bl
mov byte [esp + 0xf], al
mov bl, al
mov byte [edx], al
mov al, byte [esi + 1]
dec al
imul cl
xor al, bl
mov byte [esp + 0xf], al
mov bl, al
mov byte [edx], al
mov al, byte [esi + 2]
dec al
imul cl
xor al, bl
mov byte [esp + 0xf], al
mov byte [edx], al
mov al, byte [esi + 3]
mov bl, byte [esp + 0xf]
dec al
imul cl
xor al, bl
mov byte [edx], al
mov byte [esp + 0xf], al
mov al, byte [esi + 4]
mov bl, byte [esp + 0xf]
dec al
imul cl
xor al, bl
mov byte [edx], al
mov byte [esp + 0xf], al
mov al, byte [esi + 5]
mov bl, byte [esp + 0xf]
dec al
imul cl
xor al, bl
mov byte [edx], al
mov byte [esp + 0xf], al
mov al, byte [esi + 6]
mov bl, byte [esp + 0xf]
dec al
imul cl
xor al, bl
mov byte [edx], al
mov byte [esp + 0xf], al
mov al, byte [esi + 7]
mov bl, byte [esp + 0xf]
dec al
imul cl
xor al, bl
mov byte [edx], al
mov byte [esp + 0xf], al
mov al, byte [edx + edi]
mov bl, byte [esp + 0xf]
shl al, cl
xor al, bl
inc ecx
mov byte [edx], al
inc edx
cmp ecx, 8
jl 0x779592
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x7798c0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov al, byte [esp + 5]
mov ecx, dword [esp + 4]
shr edx, 0x10
xor al, dl
mov dl, byte [esp + 8]
shr ecx, 0x18
xor al, cl
mov ecx, dword [esp + 8]
xor al, dl
shr ecx, 8
xor al, cl
xor ecx, ecx
push ebx
jmp 0x7798f0
mov bl, byte [esp + ecx + 0xf]
mov dl, byte [esp + ecx + 0xe]
xor dl, bl
xor dl, byte [esp + ecx + 0x10]
xor dl, byte [esp + ecx + 0x11]
xor dl, byte [esp + ecx + 0x13]
xor dl, byte [esp + ecx + 0x12]
add ecx, 6
xor al, dl
cmp ecx, 0x12
jl 0x7798f0
pop ebx
ret
Function at 0x779920
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x3c
mov eax, dword [0x77353c]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov dword [esp + 0x44], eax
call esi
imul eax, eax, 0x289
add eax, 0x165d
mov dword [0x7857e0], eax
mov bl, al
call esi
mov byte [esp + 0xc], 0
mov ecx, 1
jmp 0x779960
mov eax, dword [0x7857e0]
lea esp, [esp]
imul eax, eax, 0x289
add eax, 0x165d
mov dword [0x7857e0], eax
mov byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x19
jl 0x779957
mov byte [esp + 0xd], 0xa
mov byte [esp + 0xe], bl
mov byte [esp + 0xf], bl
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], bl
xor eax, eax
xor byte [esp + eax + 0x12], bl
inc eax
cmp eax, 0x12
jl 0x779991
sub esp, 0x1c
mov ecx, 6
lea esi, [esp + 0x28]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
call fcn.007798c0
mov edx, dword [esp + 0x68]
mov byte [esp + 0x40], al
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.00779810
mov ecx, dword [esp + 0x6c]
add esp, 0x28
call fcn.0077ef06
pop edi
pop esi
pop ebx
add esp, 0x3c
ret

Function at 0x77a370
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x3c
mov eax, dword [0x77353c]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov dword [esp + 0x44], eax
call esi
mov byte [esp + 0xc], 0
mov ecx, 1
jmp 0x77a3a0
mov eax, dword [0x7857e0]
jmp 0x77a3a0
imul eax, eax, 0x289
add eax, 0x165d
mov dword [0x7857e0], eax
mov byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x19
jl 0x77a393
call esi
imul eax, eax, 0x289
add eax, 0x165d
mov bl, al
sub esp, 0x1c
mov byte [esp + 0x29], 0xd
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov ecx, 6
lea esi, [esp + 0x28]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov dword [0x7857e0], eax
movsb byte es:[edi], byte [esi]
call fcn.007798c0
mov esi, dword [esp + 0x68]
mov edx, dword [esi]
mov byte [esp + 0x40], al
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.00779810
add esp, 0x28
xor ecx, ecx
xor byte [esp + ecx + 0x2e], bl
inc ecx
cmp ecx, 0x10
jl 0x77a418
movzx ecx, word [esi + 0xc]
mov edx, ecx
shr edx, 3
and ecx, 0x80000007
jns 0x77a438
dec ecx
or ecx, 0xfffffff8
inc ecx
mov dl, byte [esp + edx + 0x2e]
shr dl, cl
and dl, 1
movzx cx, dl
mov word [esi + 0xe], cx
mov ecx, dword [esp + 0x44]
call fcn.0077ef06
pop edi
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x77a520
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x785638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x77353c]
push ebx
push ebp
mov ebp, dword [esp + 0x78]
movzx ecx, word [ebp + 0x1e]
movzx edx, word [ebp + 0x1c]
push esi
push edi
add ebp, 0x14
push 0xffffffffffffffff
mov dword [esp + 0x70], eax
movzx eax, word [ebp + 0xc]
push eax
movzx eax, word [ebp + 6]
push ecx
movzx ecx, word [ebp + 2]
push edx
movzx edx, word [ebp]
push eax
push ecx
xor ebx, ebx
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x2c], ebx
call fcn.0077ac90
push 0xffffffffffffffff
push ebx
push ebx
push ebx
push 1
push 1
push 0x7d6
lea ecx, [esp + 0x34]
mov dword [esp + 0x94], ebx
call fcn.0077ac90
sub esp, 8
mov eax, esp
mov dword [eax], 0x773d50
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 1
mov dword [esp + 0x1c], esp
call fcn.0077adc0
cmp eax, ebx
je 0x77a600
sub esp, 8
mov eax, esp
mov dword [eax], 0x773d50
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edx
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], esp
push eax
lea ecx, [esp + 0x30]
call fcn.0077ae80
lea ecx, [esp + 0x14]
call fcn.0077ae20
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0077ae40
mov dword [esp + 0x10], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov byte [esp + 0x34], 0
mov ecx, 1
jmp 0x77a620
mov eax, dword [0x7857e0]
lea esp, [esp]
imul eax, eax, 0x289
add eax, 0x165d
mov dword [0x7857e0], eax
mov byte [esp + ecx + 0x34], al
inc ecx
cmp ecx, 0x19
jl 0x77a614
call esi
imul eax, eax, 0x289
add eax, 0x165d
mov cl, bl
xor cl, al
mov byte [esp + 0x37], cl
mov cl, byte [esp + 0x10]
xor cl, al
mov byte [esp + 0x39], cl
shr ebx, 8
sub esp, 0x1c
xor bl, al
mov byte [esp + 0x52], al
mov byte [esp + 0x51], 0x13
mov byte [esp + 0x54], bl
mov ecx, 6
lea esi, [esp + 0x50]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov dword [0x7857e0], eax
movsb byte es:[edi], byte [esi]
call fcn.007798c0
mov ecx, dword [esp + 0x9c]
lea edx, [esp + 0x6c]
push edx
mov edx, dword [ecx]
mov byte [esp + 0x6c], al
lea eax, [esp + 0x54]
push eax
push edx
call fcn.00779810
movzx ecx, byte [esp + 0x7e]
add esp, 0x28
push 0
mov esi, eax
movzx eax, word [esp + 0x58]
push ecx
push eax
push 0
lea ecx, [esp + 0x30]
call fcn.0077ade0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0077ae10
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x20]
call fcn.0077ad80
push ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 2
call fcn.0077ad10
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 1
call fcn.0077ad00
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 0
call fcn.0077ad00
lea ecx, [esp + 0x24]
mov dword [esp + 0x78], 0xffffffff
call fcn.0077ad00
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x6c]
mov eax, esi
call fcn.0077ef06
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret