joyce8/EMBER2024-capa huggingface dataset:
Function at 0x75a6f0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ecx
mov dword [esp], ecx
mov al, byte [ecx + 0x10]
test al, al
je 0x75a740
push esi
rdtsc
mov edx, dword [esp + 4]
mov esi, dword [edx + 0xc]
mov ecx, dword [edx]
mov edx, dword [ecx + 0x110]
sub eax, esi
add edx, eax
mov dword [ecx + 0x110], edx
mov eax, dword [esp + 4]
mov byte [eax + 0x10], 0
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
mov al, byte [ecx + 0x10]
test al, al
pop esi
jne 0x75a74d
mov dword [0x8de14c], ecx
rdtsc
mov dword [ecx + 0xc], eax
mov byte [ecx + 0x10], 1
pop ecx
ret
mov eax, dword [ecx + 8]
test eax, eax
je 0x75a74d
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
pop ecx
ret

Function at 0x75a750
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ecx
mov dword [esp], ecx
mov dword [ecx + 8], 0
mov eax, dword [esp]
mov byte [eax + 0x10], 0
mov eax, dword [0x8de14c]
cmp dword [eax], 0xab46b8
je 0x75a7c6
mov ecx, dword [esp]
mov dword [ecx + 4], eax
mov eax, dword [esp]
mov edx, dword [eax + 4]
mov dword [edx + 8], eax
mov eax, dword [esp]
mov ecx, dword [eax + 4]
mov dl, byte [ecx + 0x10]
test dl, dl
je 0x75a7a9
push esi
rdtsc
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx]
sub eax, esi
add dword [edx + 0x110], eax
mov byte [ecx + 0x10], 0
mov eax, dword [esp + 4]
pop esi
mov cl, byte [eax + 0x10]
test cl, cl
jne 0x75a7c6
mov dword [0x8de14c], eax
rdtsc
mov ecx, dword [esp]
mov dword [ecx + 0xc], eax
mov edx, dword [esp]
mov byte [edx + 0x10], 1
pop ecx
ret

Function at 0x75a820
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0x14
push esi
rdtsc
sub eax, dword [0xab46a0]
mov esi, eax
rdtsc
lea ecx, [esp + 4]
mov dword [0xab46a0], eax
mov dword [esp + 4], 0xab46b8
call fcn.0075a750
mov al, byte [0x8de150]
test al, al
je 0x75a858
mov byte [0x8de150], 0
jmp 0x75a861
push esi
call fcn.0075a7d0
add esp, 4
mov eax, dword [0xab4694]
test eax, eax
pop esi
je 0x75a884
jmp 0x75a870
mov dword [eax + 0x110], 0
mov eax, dword [eax + 0x124]
test eax, eax
jne 0x75a870
lea ecx, [esp]
call fcn.0075a6f0
add esp, 0x14
ret

Function at 0x75a8c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
mov dl, byte [esi]
xor eax, eax
test dl, dl
je 0x75a8e5
push edi
mov edi, edi
mov edi, eax
movsx edx, dl
shl edi, 5
xor edi, edx
mov dl, byte [esi + 1]
xor eax, edi
inc esi
test dl, dl
jne 0x75a8d0
pop edi
xor edx, edx
div dword [ecx + 4]
pop esi
mov eax, edx
ret 4
Function at 0x75a8f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
push edi
jne 0x75a942
mov eax, dword [0x8de154]
mov ecx, eax
shl ecx, 2
push 0x8835c0
push ecx
mov dword [esi + 4], eax
call dword [0x8dae34]
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
add esp, 8
xor eax, eax
test ecx, ecx
jbe 0x75a942
jmp 0x75a930
mov edx, dword [esi + 8]
mov dword [edx + eax*4], 0
mov ecx, dword [esi + 4]
inc eax
cmp eax, ecx
jb 0x75a930
mov edx, dword [esp + 0x10]
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x75a964
mov edi, edi
mov edi, eax
movsx ecx, cl
shl edi, 5
xor edi, ecx
mov cl, byte [edx + 1]
xor eax, edi
inc edx
test cl, cl
jne 0x75a950
mov ecx, dword [esi + 4]
xor edx, edx
div ecx
mov eax, dword [esi + 8]
cmp dword [eax + edx*4], 0
je 0x75a983
mov edi, eax
inc edx
cmp edx, ecx
jb 0x75a97d
xor edx, edx
cmp dword [edi + edx*4], 0
jne 0x75a976
mov ecx, dword [esp + 0x14]
mov dword [eax + edx*4], ecx
mov edx, dword [esi]
mov ebx, dword [esi + 4]
inc edx
mov eax, edx
cmp eax, ebx
mov dword [esi], edx
jb 0x75aa1c
push ebp
mov ebp, dword [esi + 8]
lea eax, [ebx + ebx]
lea edx, [eax*4]
push 0x8835c0
push edx
mov dword [esi + 4], eax
call dword [0x8dae34]
mov ecx, dword [esi + 4]
mov dword [esi + 8], eax
add esp, 8
xor eax, eax
test ecx, ecx
jbe 0x75a9e2
jmp 0x75a9d0
mov ecx, dword [esi + 8]
mov dword [ecx + eax*4], 0
mov ecx, dword [esi + 4]
inc eax
cmp eax, ecx
jb 0x75a9d0
xor edi, edi
test ebx, ebx
mov dword [esi], 0
jle 0x75aa05
mov edi, edi
mov eax, dword [ebp + edi*4]
push eax
add eax, 4
push eax
mov ecx, esi
call fcn.0075a8f0
inc edi
cmp edi, ebx
jl 0x75a9f0
test ebp, ebp
je 0x75aa1b
lea edx, [ebx*4]
push edx
push ebp
call dword [0x8dae38]
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
ret 8
Function at 0x787661
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 4
jge 0x787671
xor eax, eax
jmp 0x7876b6
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx]
shl eax, 0x18
inc ecx
movzx edx, byte [ecx]
shl edx, 0x10
or eax, edx
xor edx, edx
inc ecx
mov dh, byte [ecx]
sub esi, 4
or eax, edx
inc ecx
movzx edx, byte [ecx]
or eax, edx
inc ecx
test esi, esi
not eax
jle 0x7876b4
push edi
movzx edi, byte [ecx]
mov edx, eax
shl eax, 8
shr edx, 0x18
or eax, edi
xor eax, dword [edx*4 + 0x8e5b00]
inc ecx
dec esi
jne 0x78769b
pop edi
not eax
pop esi
pop ebp
ret
Function at 0x791545
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
call esi
mov edi, eax
lea eax, [edi + 0x800]
add eax, 3
and eax, 0xfffffffc
call fcn.0081cf10
mov ebx, esp
lea eax, [edi + 0x7ff]
push eax
push ebx
push dword [ebp + 8]
call fcn.00795c7d
add esp, 0xc
test eax, eax
jne 0x791591
push ebx
call fcn.00792446
pop ecx
push dword [ebp + 0xc]
push ebx
call fcn.00795ba8
pop ecx
pop ecx
push ebx
push edi
call esi
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebx, eax
xor edi, edi
cmp byte [esi], 0
je 0x7915e3
xor eax, eax
inc eax
mov ecx, edi
shl eax, cl
test ebx, eax
je 0x7915dd
push dword [ebp + 0xc]
push esi
call fcn.0082fc7e
test eax, eax
pop ecx
pop ecx
je 0x7915e3
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x7915d0
sub eax, edx
lea esi, [esi + eax + 1]
inc edi
cmp edi, 0x20
jl 0x7915ac
cmp edi, 0x20
jge 0x7915ed
lea eax, [edi + 0x41]
jmp 0x7915ef
xor eax, eax
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x7938ee
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea edx, [ebp - 0x104]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x7938ff
push esi
push 0x5c
lea eax, [ebp - 0x104]
push eax
jmp 0x793944
push 0
lea eax, [ebp - 0x104]
push eax
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x79393d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x79393d
call fcn.007938b1
mov byte [esi], 0x5c
push 0x5c
inc esi
push esi
call fcn.0081e400
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x793915
lea eax, [ebp - 0x104]
push 0x2f
push eax
call fcn.0081e400
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x793915
pop esi
leave
ret
Function at 0x793a40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200018
call fcn.0081cf10
push ebx
push esi
push edi
push 1
xor edi, edi
push edi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
push dword [ebp + 0x10]
mov esi, 0x100000
push esi
lea ecx, [ebp - 0x200018]
push ecx
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.00792783
add esp, 0x18
mov dword [ebp - 0x10], eax
push 0
push dword [ebp + 0x10]
mov ebx, edi
xor ebx, 1
mov eax, ebx
shl eax, 0x14
lea eax, [ebp + eax - 0x200018]
push esi
push eax
mov eax, dword [ebp - 4]
add eax, 0x100000
push eax
push dword [ebp + 8]
call fcn.00792783
mov dword [ebp + ebx*4 - 0x10], eax
push dword [ebp + edi*4 - 0x10]
call fcn.00792182
push dword [ebp + edi*4 - 0x10]
call fcn.0079203d
add esp, 0x20
mov dword [ebp - 8], eax
push 0
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 8]
mov eax, edi
shl eax, 0x14
lea eax, [ebp + eax - 0x200018]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x793b22
mov edi, dword [ebp + 0x14]
xor eax, eax
mov ax, word [edi]
push eax
push dword [ebp - 8]
push dword [ebp - 0x14]
call fcn.0079c193
mov word [edi], ax
mov eax, dword [ebp - 8]
add dword [ebp - 4], eax
add esp, 0xc
cmp eax, esi
mov edi, ebx
jne 0x793b30
cmp byte [0xabbd88], 0
je 0x793a82
jmp 0x793b30
xor eax, eax
call fcn.007938b1
or dword [ebp - 4], 0xffffffff
xor edi, 1
mov edi, dword [ebp + edi*4 - 0x10]
push edi
call fcn.00792182
cmp eax, 1
pop ecx
je 0x793b4c
push dword [0x8e7c00]
call fcn.0079c096
pop ecx
push edi
call fcn.0079203d
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x795c7d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x795cd7
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x795ca6
sub eax, edx
lea ecx, [eax + 1]
mov eax, 0x104
cmp ecx, eax
jae 0x795cca
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x795cc0
sub eax, edx
inc eax
push eax
push esi
push edi
call fcn.0079b202
add esp, 0xc
jmp 0x795d09
lea eax, [ebp - 0x110]
push eax
push edi
call fcn.00795ba8
pop ecx
pop ecx
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x795d0d
xor eax, eax
jmp 0x795d50
test byte [ebp - 4], 2
jne 0x795d1a
push edi
call dword [sym.imp.USER32.dll_CharUpperA]
test byte [ebp - 4], 4
jne 0x795d4d
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x795d4d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 8]
lea ecx, [ebp - 0x224]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x795d43
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x7960c5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0xabbde4]
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp ecx, edi
mov dword [ebp - 4], edi
not eax
je 0x7961fd
cmp eax, edi
jl 0x7961fd
cmp eax, dword [0xabbde0]
jge 0x7961fd
lea esi, [eax + eax*8]
shl esi, 2
cmp byte [esi + ecx], 0
je 0x7961fd
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0xabbde4]
lea ecx, [esi + eax]
mov edx, dword [ecx + 0x1c]
cmp dword [ecx + 0x18], edx
jle 0x796121
mov dword [ecx + 0x18], edx
cmp dword [ecx + 0x20], edi
push ebx
je 0x796138
mov edi, dword [ecx + 0x18]
mov ebx, dword [ebp + 0x10]
add ebx, edi
cmp ebx, edx
jle 0x796138
sub edx, edi
mov dword [ebp + 0x10], edx
mov ebx, dword [ecx + 0xc]
mov byte [ecx + 2], 1
jmp 0x7961dd
cmp byte [esi + eax + 2], 0
je 0x7961f2
cmp ebx, dword [ebp + 0x10]
jbe 0x796157
mov ebx, dword [ebp + 0x10]
mov ecx, dword [esi + eax + 0x14]
cmp ecx, edi
je 0x79617d
mov eax, dword [esi + eax + 0x18]
push ebx
add eax, ecx
push eax
push dword [ebp + 0xc]
call fcn.0079b202
push edi
mov dword [ebp + 8], ebx
call fcn.0079da68
add esp, 0x10
jmp 0x796194
push edi
lea ecx, [ebp + 8]
push ecx
push ebx
push dword [ebp + 0xc]
push dword [esi + eax + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
je 0x7961c3
mov eax, dword [0xabbde4]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax + 0x18]
add dword [ecx], edx
mov edx, dword [ebp + 8]
add dword [ebp - 4], edx
add dword [ebp + 0xc], edx
mov edi, dword [ecx]
mov edx, dword [esi + eax + 0x1c]
cmp edi, edx
jle 0x7961b7
mov dword [ecx], edx
mov ecx, dword [ebp + 8]
cmp ecx, ebx
jb 0x7961f2
sub dword [ebp + 0x10], ecx
jmp 0x7961dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x7961ea
push 1
call fcn.0079da68
mov eax, dword [0xabbde4]
pop ecx
xor edi, edi
cmp dword [ebp + 0x10], edi
jne 0x796144
jmp 0x7961f2
mov eax, dword [0xabbde4]
mov dword [ebp - 4], edi
mov byte [esi + eax + 2], 0
mov eax, dword [ebp - 4]
pop ebx
jmp 0x796207
push 6
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x79620b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [0xabbde4]
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp ecx, ebx
push esi
mov dword [ebp - 4], ebx
not eax
je 0x796334
cmp eax, ebx
jl 0x796334
cmp eax, dword [0xabbde0]
jge 0x796334
lea esi, [eax + eax*8]
shl esi, 2
cmp byte [esi + ecx], bl
je 0x796334
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [0xabbde4]
lea ecx, [esi + eax]
mov edx, dword [ecx + 0x1c]
cmp dword [ecx + 0x18], edx
jle 0x796266
mov dword [ecx + 0x18], edx
cmp dword [ecx + 0x14], ebx
push edi
mov edi, dword [ecx + 0xc]
je 0x79631e
mov ecx, dword [ecx + 0x18]
mov ebx, dword [ebp + 0x10]
add ebx, ecx
cmp ebx, edx
jle 0x79631e
sub edx, ecx
mov dword [ebp + 0x10], edx
jmp 0x79631e
cmp edi, dword [ebp + 0x10]
jbe 0x796295
mov edi, dword [ebp + 0x10]
mov ecx, dword [esi + eax + 0x14]
cmp ecx, ebx
je 0x7962bb
mov eax, dword [esi + eax + 0x18]
push edi
push dword [ebp + 0xc]
add eax, ecx
push eax
call fcn.0079b202
push ebx
mov dword [ebp + 8], edi
call fcn.0079da68
add esp, 0x10
jmp 0x7962d2
push ebx
lea ecx, [ebp + 8]
push ecx
push edi
push dword [ebp + 0xc]
push dword [esi + eax + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
je 0x796304
mov eax, dword [0xabbde4]
mov ecx, dword [ebp + 8]
add dword [esi + eax + 0x18], ecx
mov edx, dword [ebp + 8]
add dword [ebp - 4], edx
add dword [ebp + 0xc], edx
cmp edx, edi
mov ecx, dword [esi + eax + 0x18]
jae 0x7962f5
and dword [ebp + 0x10], 0
jmp 0x7962f8
sub dword [ebp + 0x10], edx
cmp ecx, dword [esi + eax + 0x1c]
jle 0x79631e
mov dword [esi + eax + 0x1c], ecx
jmp 0x79631e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x79632b
push 1
call fcn.0079da68
mov eax, dword [0xabbde4]
pop ecx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jne 0x79628d
jmp 0x79632e
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop edi
jmp 0x79633e
push 6
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
pop ebx
leave
ret

Function at 0x7972b2
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
cmp esi, 0x3a
je 0x797319
cmp esi, 0x2a
je 0x797319
cmp esi, 0x36
je 0x797319
cmp esi, 0x3b
jl 0x7972d5
cmp esi, 0x44
jle 0x797319
cmp esi, 0x57
jl 0x7972df
cmp esi, 0x66
jle 0x797319
push 1
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0
push 8
lea ecx, [ebp - 0x10]
push ecx
push 0xabebd0
push esi
push eax
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jne 0x797308
movzx eax, word [ebp - 0x10]
jmp 0x79731b
jle 0x797319
movzx eax, word [ebp - 0xe]
movzx ecx, word [ebp - 0x10]
shl eax, 0x10
add eax, ecx
jmp 0x79731b
xor eax, eax
pop esi
leave
ret
Function at 0x79b824
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push esi
push 4
pop esi
lea eax, [ebp - 4]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x79b875
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.MHz
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop esi
leave
ret
Function at 0x79c193
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea edx, [ecx + eax]
cmp ecx, edx
movzx eax, word [ebp + 0x10]
jae 0x79c1c5
push esi
push edi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
movzx esi, word [esi*2 + 0x8e8688]
shr eax, 8
xor eax, esi
inc ecx
cmp ecx, edx
jb 0x79c1a9
pop edi
pop esi
pop ebp
ret

Function at 0x79c219
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
cmp esi, 4
jge 0x79c229
xor eax, eax
jmp 0x79c26e
mov ecx, dword [ebp + 8]
movzx eax, byte [ecx]
shl eax, 0x18
inc ecx
movzx edx, byte [ecx]
shl edx, 0x10
or eax, edx
xor edx, edx
inc ecx
mov dh, byte [ecx]
sub esi, 4
or eax, edx
inc ecx
movzx edx, byte [ecx]
or eax, edx
inc ecx
test esi, esi
not eax
jle 0x79c26c
push edi
movzx edi, byte [ecx]
mov edx, eax
shl eax, 8
shr edx, 0x18
or eax, edi
xor eax, dword [edx*4 + 0x8e8888]
inc ecx
dec esi
jne 0x79c253
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x79da4e
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0079da1e

Function at 0x79dc71
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
push 1
mov byte [ebp - 1], bl
call dword [0x8e8d44]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [esi + 8]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push 0x79d9c2
push dword [ebp + 0x14]
mov dword [ebp - 0xc], ebx
push ebx
call fcn.00821e20
add esp, 0x1c
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x79dce0
push dword [ebp + 0x18]
mov byte [ebp - 1], 1
push esi
mov dword [esi + 4], eax
call fcn.0079db46
pop ecx
pop ecx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x79dcdb
push 1
push 1
call dword [sym.imp.KERNEL32.dll_SleepEx]
cmp dword [ebp - 0x14], ebx
jne 0x79dcd1
push ebx
call dword [0x8e8d44]
mov al, byte [ebp - 1]
pop ecx
pop esi
pop ebx
leave
ret

Function at 0x79dcef
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor ebx, ebx
push 1
mov byte [ebp - 1], bl
call dword [0x8e8d44]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
lea eax, [esi + 8]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push 0x79d9c2
push dword [ebp + 0x18]
mov dword [ebp - 0x10], ebx
push ebx
call fcn.00821e20
add esp, 0x1c
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x79dd64
push dword [ebp + 0x1c]
mov byte [ebp - 1], 1
push esi
mov dword [esi + 4], eax
call fcn.0079db46
pop ecx
pop ecx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x79dd5f
push 1
push 1
call dword [sym.imp.KERNEL32.dll_SleepEx]
cmp dword [ebp - 0x14], ebx
jne 0x79dd55
push ebx
call dword [0x8e8d44]
mov al, byte [ebp - 1]
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x79dd73
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [0xac0be8], 0
mov eax, dword [ebp + 8]
jne 0x79dd87
mov dword [0xac0be8], eax
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0xac0c04], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x79ddd5
push esi
push dword [0xac0be8]
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x79ddc9
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp byte [ebp + 0xc], 0
pop esi
je 0x79ddd9
call fcn.0079b273
xor al, al
pop ebp
ret
mov al, 1
pop ebp
ret

Function at 0x79de57
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov ecx, dword [0xac0c2c]
mov eax, dword [0xac0c28]
add eax, ecx
mov ecx, eax
sar eax, 0x10
add dword [0xac0c1c], eax
push edi
and ecx, 0xffff
xor edi, edi
cmp dword [0xac0c08], edi
mov dword [0xac0c2c], ecx
je 0x79deec
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, eax
mov eax, dword [0xac0c1c]
sub eax, ecx
dec eax
cmp eax, 1
jge 0x79deb6
cmp eax, 0xfffffc18
jge 0x79deb3
call esi
inc eax
inc dword [0xac0c3c]
mov dword [0xac0c1c], eax
xor eax, eax
inc eax
push edi
push edi
push fcn.0079de57
push dword [0xac0c0c]
push eax
call dword [sym.imp.WINMM.dll_timeSetEvent]
cmp eax, edi
mov dword [0xac0c20], eax
pop esi
jne 0x79deec
push dword [0xac0c0c]
mov dword [0xac0250], edi
mov dword [0xac0c08], edi
call dword [sym.imp.WINMM.dll_timeEndPeriod]
cmp dword [0xac0c24], edi
je 0x79df07
cmp dword [0xac0c38], edi
jne 0x79df07
push 0xac0c30
call fcn.0079e32e
pop ecx
call fcn.0079f75c
pop edi
ret 0x14
Function at 0x79dfa0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0xac0c40], ebx
push esi
push edi
mov dword [ebp - 8], 5
jne 0x79dfd0
push 8
pop ecx
xor eax, eax
mov edi, 0xac0230
mov dword [0xac0c40], 1
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.0079df27
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x79dfec
mov dword [ebp + 8], 0x64
mov esi, dword [ebp + 8]
cmp esi, 1
jl 0x79dff9
cmp esi, 0x2710
jle 0x79e010
push esi
push str.TIMER_init___BAD_TIMER_FREQUENCY_SPECIFIED__d_n
call fcn.0079c096
pop ecx
mov dword [ebp + 8], 0x64
mov esi, dword [ebp + 8]
pop ecx
mov eax, 0x3e80000
cdq
idiv esi
push 8
mov dword [0xac0c2c], ebx
mov dword [0xac0254], ebx
mov dword [0xac0c28], eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.WINMM.dll_timeGetDevCaps]
test eax, eax
jne 0x79e149
inc eax
cmp dword [0xac0c28], 0x10000
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [0xac0c0c], eax
jl 0x79e150
push 0xc
push 0xac0c10
call fcn.0079af42
push 2
push ebx
push ebx
push 0x79dddd
push 0xac0c10
call fcn.0079dc71
add esp, 0x1c
test al, al
je 0x79e157
push dword [0xac0c0c]
call dword [sym.imp.WINMM.dll_timeBeginPeriod]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x79e172
push fcn.0079df27
call fcn.0079b280
cmp esi, ebx
pop ecx
mov dword [0xac0250], esi
mov dword [0xac0c08], esi
je 0x79e0e4
cmp dword [0xac0c20], ebx
jne 0x79e0e4
mov esi, dword [0xac0c38]
mov dword [0xac0c38], 1
call edi
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [0xac0c1c], eax
call fcn.0079de57
mov dword [0xac0c38], esi
call fcn.0079af8f
mov dword [ebp - 4], eax
call edi
mov esi, eax
mov eax, dword [0xac0250]
lea eax, [eax + eax*4]
add esi, eax
jmp 0x79e10e
call fcn.0079af8f
cmp dword [ebp - 4], eax
jne 0x79e114
push 1
call fcn.0079da68
pop ecx
call edi
cmp eax, esi
jl 0x79e0fc
call fcn.0079af8f
cmp dword [ebp - 4], eax
jne 0x79e123
call fcn.0079df27
cmp dword [0xac0250], ebx
jne 0x79e13f
dec dword [ebp - 8]
jne 0x79dfd6
push str.TIMER_init___FAILED_TO_INITIALIZE_WINDOWS_MULTIMEDIA_TIMER__TRY_RE_RUNNING._n
call fcn.0079c096
pop ecx
mov eax, dword [0xac0250]
pop edi
pop esi
pop ebx
leave
ret
push str.TIMER_init___MULTIMEDIA_TIMER_NOT_FOUND._n
jmp 0x79e15c
push str.TIMER_init___MULTIMEDIA_TIMER_CANNOT_SUPPORT_THIS_FREQUENCY._n
jmp 0x79e15c
push str.TIMER_init___FAILED_TO_CREATE_TIMER_THREAD._n
call fcn.0079c096
pop ecx
mov dword [0xac0250], ebx
mov dword [0xac0c08], ebx
xor eax, eax
jmp 0x79e144
push 0xac0c30
mov dword [0xac0250], ebx
mov dword [0xac0c08], ebx
call fcn.0079e32e
push dword [ebp - 4]
push str.TIMER_init___FAILED_TO_INITIALIZE_MULTIMEDIA_TIMER_:_0x_x._n
call fcn.0079c096
add esp, 0xc
jmp 0x79e13f
Function at 0x79f4dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
sub eax, esi
push 2
pop edi
je 0x79f50e
dec eax
je 0x79f4fe
dec eax
jne 0x79f545
mov byte [ebp + 8], 0x91
mov byte [ebp - 4], 0x46
jmp 0x79f516
xor esi, esi
push 3
mov byte [ebp + 8], 0x90
mov byte [ebp - 4], 0x45
inc esi
pop edi
jmp 0x79f516
mov byte [ebp + 8], 0x14
mov byte [ebp - 4], 0x3a
movzx eax, byte [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 1
cmp eax, dword [ebp + 0xc]
je 0x79f545
push 0
push esi
push dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push dword [ebp + 8]
call esi
push 0
push edi
push dword [ebp - 4]
push dword [ebp + 8]
call esi
pop edi
pop esi
leave
ret