joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ca390
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp], 0xc
call fcn.00492770
mov esi, eax
mov eax, 0xc
test esi, esi
je 0x7ca5b8
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
mov dword [esi + 4], 0
mov dword [esi + 8], 0
test al, 1
jne 0x7ca3ee
mov dword [esp + 8], ebp
mov dword [esp + 4], 0
mov dword [esp], 0
call sub.KERNEL32.dll_CreateMutexA
sub esp, 0xc
mov dword [esi], eax
jmp 0x7ca587
mov dword [esp], str.ADVAPI32.DLL
call fcn.007c60a0
mov edi, eax
test edi, edi
je 0x7ca530
mov dword [esp], edi
mov dword [esp + 4], 0x7ecd59
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
mov ebx, eax
mov dword [esp], edi
mov dword [esp + 4], 0x7ecd76
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
test ebx, ebx
je 0x7ca518
test eax, eax
je 0x7ca518
mov dword [esp + 0x10], eax
mov dword [esp], 0x14
call fcn.00492770
test eax, eax
je 0x7ca518
mov dword [esp + 0x18], eax
mov dword [esp], 0xc
call fcn.00492770
mov dword [esp + 0x14], eax
test eax, eax
je 0x7ca4f5
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 8], 0x14
mov dword [esp + 4], 0
call fcn.007c51a0
mov eax, dword [esp + 0x14]
mov dword [eax], 0xc
mov dword [eax + 8], 0
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov dword [esp], ecx
mov dword [esp + 4], 1
call ebx
sub esp, 8
test eax, eax
je 0x7ca4fb
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call dword [esp + 0x10]
sub esp, 0x10
test eax, eax
je 0x7ca504
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
jmp 0x7ca518
mov eax, dword [esp + 0x18]
jmp 0x7ca510
mov eax, dword [esp + 0x18]
mov dword [esp], eax
jmp 0x7ca507
mov dword [esp], ebx
call fcn.004936c0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.004936c0
mov dword [esp], edi
call sub.KERNEL32.dll_FreeLibrary
sub esp, 4
nop word cs:[eax + eax]
mov eax, dword [esi + 4]
mov dword [esp + 8], ebp
mov dword [esp], eax
mov dword [esp + 4], 0
call sub.KERNEL32.dll_CreateMutexA
sub esp, 0xc
mov dword [esi], eax
test eax, eax
jne 0x7ca585
call sub.KERNEL32.dll_GetLastError
cmp eax, 5
jne 0x7ca585
mov dword [esp + 8], ebp
mov dword [esp + 4], 0
mov dword [esp], 0x100000
call sub.KERNEL32.dll_OpenMutexA
sub esp, 0xc
mov dword [esi], eax
test eax, eax
jne 0x7ca585
call sub.KERNEL32.dll_GetLastError
cmp eax, 2
je 0x7ca530
mov eax, dword [esi]
test eax, eax
je 0x7ca595
mov eax, dword [esp + 0x34]
mov dword [eax], esi
xor eax, eax
jmp 0x7ca5b8
mov eax, dword [esi + 8]
mov dword [esp], eax
call fcn.004936c0
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.004936c0
mov dword [esp], esi
call fcn.004936c0
mov eax, 0xffff
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7ca970
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edi, 0x9e3779b9
mov edx, ecx
mov ebx, 0x9e3779b9
cmp ecx, 3
jb 0x7caa1f
nop word cs:[eax + eax]
movzx ebp, byte [eax]
add ebp, ebx
movzx ebx, byte [eax + 1]
add ebx, edi
movzx edi, byte [eax + 2]
add edi, esi
sub ebp, ebx
sub ebp, edi
mov esi, edi
shr esi, 0xd
xor esi, ebp
sub ebx, edi
sub ebx, esi
mov ebp, esi
shl ebp, 8
xor ebp, ebx
sub edi, esi
sub edi, ebp
mov ebx, ebp
shr ebx, 0xd
xor ebx, edi
sub esi, ebp
sub esi, ebx
mov edi, ebx
shr edi, 0xc
xor edi, esi
sub ebp, ebx
sub ebp, edi
mov esi, edi
shl esi, 0x10
xor esi, ebp
sub ebx, edi
sub ebx, esi
mov ebp, esi
shr ebp, 5
xor ebp, ebx
sub edi, esi
sub edi, ebp
mov ebx, ebp
shr ebx, 3
xor ebx, edi
sub esi, ebp
sub esi, ebx
mov edi, ebx
shl edi, 0xa
xor edi, esi
sub ebp, ebx
sub ebp, edi
mov esi, edi
shr esi, 0xf
xor esi, ebp
add eax, 3
add edx, 0xfffffffd
cmp edx, 2
ja 0x7ca9a0
add esi, ecx
cmp edx, 1
je 0x7caa31
cmp edx, 2
jne 0x7caa36
movzx ecx, byte [eax + 1]
add edi, ecx
movzx eax, byte [eax]
add ebx, eax
sub ebx, esi
sub ebx, edi
mov eax, esi
shr eax, 0xd
xor eax, ebx
sub edi, esi
sub edi, eax
mov ecx, eax
shl ecx, 8
xor ecx, edi
sub esi, eax
sub esi, ecx
mov edx, ecx
shr edx, 0xd
xor edx, esi
sub eax, ecx
sub eax, edx
mov esi, edx
shr esi, 0xc
xor esi, eax
sub ecx, edx
sub ecx, esi
mov edi, esi
shl edi, 0x10
xor edi, ecx
sub edx, esi
sub edx, edi
mov ecx, edi
shr ecx, 5
xor ecx, edx
sub esi, edi
sub esi, ecx
mov eax, ecx
shr eax, 3
xor eax, esi
sub edi, ecx
sub edi, eax
sub ecx, eax
shl eax, 0xa
xor eax, edi
sub ecx, eax
shr eax, 0xf
xor eax, ecx
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x7cac30
Capabilities:
Delete file

Disassembly:
push ebx
push edi
push esi
sub esp, 0x81c
mov edi, dword [esp + 0x82c]
mov dword [esp + 0x18], edi
lea esi, [esp + 0x1c]
mov dword [esp + 0x14], esi
lea ebx, [esp + 0x81c]
mov dword [esp], edi
call fcn.007c3e70
lea eax, [edi + eax + 1]
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x14]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 0x10], 0
call fcn.007c5b50
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
jne 0x7cac9e
mov dword [esp], esi
call sub.KERNEL32.dll_DeleteFileW
sub esp, 4
cmp eax, 1
sbb eax, eax
add esp, 0x81c
pop esi
pop edi
pop ebx
ret

Function at 0x7cae40
Capabilities:
Delete directory

Disassembly:
push ebx
push edi
push esi
sub esp, 0x81c
mov edi, dword [esp + 0x82c]
mov dword [esp + 0x18], edi
lea esi, [esp + 0x1c]
mov dword [esp + 0x14], esi
lea ebx, [esp + 0x81c]
mov dword [esp], edi
call fcn.007c3e70
lea eax, [edi + eax + 1]
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x14]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 0x10], 0
call fcn.007c5b50
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
jne 0x7caeae
mov dword [esp], esi
call sub.KERNEL32.dll_RemoveDirectoryW
sub esp, 4
cmp eax, 1
sbb eax, eax
add esp, 0x81c
pop esi
pop edi
pop ebx
ret
Function at 0x7cb940
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sub.KERNEL32.dll_OutputDebugStringA
sub esp, 4
mov dword [esp], str.ADVAPI32.DLL
call fcn.007c60a0
mov esi, eax
test esi, esi
je 0x7cba40
mov dword [esp], esi
mov dword [esp + 4], str.RegisterEventSourceA
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
mov ebp, eax
mov dword [esp], esi
mov dword [esp + 4], str.ReportEventA
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
mov edi, eax
mov dword [esp], esi
mov dword [esp + 4], str.DeregisterEventSource
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
mov ebx, eax
test ebp, ebp
je 0x7cba35
test edi, edi
je 0x7cba35
test ebx, ebx
je 0x7cba35
mov dword [esp + 0x24], str.Sentinel_HASP
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov dword [esp + 4], str.hasplms
mov dword [esp], 0
call ebp
sub esp, 8
mov ebp, eax
test ebp, ebp
je 0x7cba35
lea eax, [esp + 0x24]
mov dword [esp + 0x1c], eax
mov dword [esp], ebp
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xc0070003
mov dword [esp + 8], 0
mov dword [esp + 4], 1
call edi
sub esp, 0x24
mov dword [esp], ebp
call ebx
sub esp, 4
mov dword [esp], esi
call sub.KERNEL32.dll_FreeLibrary
sub esp, 4
mov dword [esp], str.USER32.DLL
call fcn.007c60a0
mov esi, eax
test esi, esi
je 0x7cba98
mov dword [esp], esi
mov dword [esp + 4], str.MessageBoxA
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
test eax, eax
je 0x7cba8d
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Sentinel_HASP
mov dword [esp], 0
call eax
sub esp, 0x10
mov dword [esp], esi
call sub.KERNEL32.dll_FreeLibrary
sub esp, 4
call sub.KERNEL32.dll_GetCurrentProcess
mov dword [esp], eax
mov dword [esp + 4], 1
call sub.KERNEL32.dll_TerminateProcess
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7cd720
Capabilities:
Move file

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x101c
call fcn.007ce210
mov esi, dword [esp + 0x1030]
mov dword [esp + 0x18], esi
lea eax, [esp + 0x81c]
mov dword [esp + 0x14], eax
lea ebx, [esp + 0x101c]
mov dword [esp], esi
call fcn.007c3e70
lea eax, [esi + eax + 1]
mov dword [esp + 0xc], ebx
lea ebx, [esp + 0x14]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
lea ebp, [esp + 0x18]
mov dword [esp], ebp
mov dword [esp + 0x10], 0
call fcn.007c5b50
mov esi, 0xffffffff
test eax, eax
jne 0x7cd7f1
mov edi, dword [esp + 0x1034]
mov dword [esp + 0x18], edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp], edi
call fcn.007c3e70
lea eax, [edi + eax + 1]
lea ecx, [esp + 0x81c]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], ebp
mov dword [esp + 0x10], 0
call fcn.007c5b50
test eax, eax
jne 0x7cd7f1
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
lea eax, [esp + 0x81c]
mov dword [esp], eax
mov dword [esp + 8], 1
call sub.KERNEL32.dll_MoveFileExW
sub esp, 0xc
cmp eax, 1
sbb esi, esi
mov eax, esi
add esp, 0x101c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x7ce911
Capabilities:
Terminate process

Disassembly:
push 8
push 0x7f41f0
call fcn.007cf404
push 8
call fcn.007cf258
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x81b534], esi
jne 0x7ce945
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x81b530], esi
mov al, byte [ebp + 0x10]
mov byte [0x81b52c], al
cmp dword [ebp + 0xc], edi
jne 0x7ce98f
cmp dword [0x81bd0c], edi
je 0x7ce97f
mov eax, dword [0x81bd08]
sub eax, 4
mov dword [0x81bd08], eax
cmp eax, dword [0x81bd0c]
jb 0x7ce97f
mov eax, dword [eax]
cmp eax, edi
je 0x7ce960
call eax
jmp 0x7ce960
push 0x7f6020
mov eax, 0x7f601c
call fcn.007ce88f
pop ecx
push 0x7f6028
mov eax, 0x7f6024
call fcn.007ce88f
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x7ce9c0
cmp dword [ebp + 0x10], edi
jne 0x7ce9ce
mov dword [0x81b534], esi
push dword [ebp + 8]
call fcn.007ce84d
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x7ce9cd
push 8
call fcn.007cf1a3
pop ecx
ret
call fcn.007cf43f
ret
Function at 0x7cea5d
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x7f4200
call fcn.007cf404
mov edi, 0x94
mov eax, edi
call fcn.007ce210
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x81b4f4], ecx
mov eax, dword [esi + 4]
mov dword [0x81b500], eax
mov edx, dword [esi + 8]
mov dword [0x81b504], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x81b4f8], esi
cmp ecx, 2
je 0x7ceabd
or esi, 0x8000
mov dword [0x81b4f8], esi
shl eax, 8
add eax, edx
mov dword [0x81b4fc], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x7ceaf8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x7ceaf8
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x7ceb10
cmp eax, 0x20b
je 0x7ceafd
mov dword [ebp - 0x1c], esi
jmp 0x7ceb24
cmp dword [ecx + 0x84], 0xe
jbe 0x7ceaf8
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x7ceb1e
cmp dword [ecx + 0x74], 0xe
jbe 0x7ceaf8
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.007d01a6
pop ecx
test eax, eax
jne 0x7ceb38
push 0x1c
call fcn.007cea39
pop ecx
call fcn.007d009d
test eax, eax
jne 0x7ceb49
push 0x10
call fcn.007cea39
pop ecx
call fcn.007cf37b
mov dword [ebp - 4], esi
call fcn.007cfcc1
test eax, eax
jge 0x7ceb62
push 0x1b
call fcn.007cea14
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x81bd00], eax
call fcn.007cfb9f
mov dword [0x81b538], eax
call fcn.007cfafd
test eax, eax
jge 0x7ceb88
push 8
call fcn.007cea14
pop ecx
call fcn.007cf8ca
test eax, eax
jge 0x7ceb99
push 9
call fcn.007cea14
pop ecx
push 1
call fcn.007ce8a7
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x7cebaf
push eax
call fcn.007cea14
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.007cf86d
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x7cebd0
movzx eax, word [ebp - 0x40]
jmp 0x7cebd3
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0061dcc0
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x7cebf1
push edi
call fcn.007ce9d4
call fcn.007ce9f6
jmp 0x7cec23
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.007cf43f
ret
Function at 0x7cf559
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x808220]
mov ecx, dword [ebp + 0x94]
push ebx
push esi
mov dword [ebp + 0x88], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x807f50]
je 0x7cf58e
inc eax
cmp eax, 0x13
jb 0x7cf57f
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x807f50]
jne 0x7cf6b4
mov eax, dword [0x81b540]
cmp eax, 1
je 0x7cf68c
cmp eax, edx
jne 0x7cf5be
cmp dword [0x807e24], 1
je 0x7cf68c
cmp ecx, 0xfc
je 0x7cf6b4
push 0x104
lea eax, [ebp - 0x80]
push eax
push edx
mov byte [ebp + 0x84], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7cf5f4
lea eax, [ebp - 0x80]
push str._program_name_unknown_
push eax
call fcn.007d0a50
pop ecx
pop ecx
lea edi, [ebp - 0x80]
mov eax, edi
push eax
call fcn.007cf040
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x7cf628
mov eax, edi
push eax
call fcn.007cf040
mov edi, eax
lea eax, [ebp - 0x80]
sub eax, 0x3b
push 3
add edi, eax
push 0x7f4638
push edi
call fcn.007d0b50
add esp, 0x10
push edi
call fcn.007cf040
push dword [esi + 0x807f54]
mov ebx, eax
call fcn.007cf040
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.007ce210
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.007d0a50
push edi
push ebx
call fcn.007d0a60
push 0x7f4618
push ebx
call fcn.007d0a60
push dword [esi + 0x807f54]
push ebx
call fcn.007d0a60
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.007d094a
add esp, 0x2c
jmp 0x7cf6b4
push edx
lea eax, [ebp + 0x94]
push eax
lea esi, [esi + 0x807f54]
push dword [esi]
call fcn.007cf040
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x88]
call fcn.007d0ca5
pop edi
pop esi
pop ebx
add ebp, 0x8c
leave
ret
Function at 0x7d0721
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 0x7d074f
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 0x7d0756
cmp ebx, dword [eax + 4]
jae 0x7d0756
xor eax, eax
jmp 0x7d0946
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x7d0767
xor eax, eax
inc eax
jmp 0x7d0945
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x7d077d
cmp ecx, edx
jae 0x7d08c2
cmp dword [eax + 4], 0
je 0x7d0786
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x7d076e
cmp dword [ebp + 8], 0
je 0x7d07a8
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x7d08c2
cmp eax, esi
jae 0x7d08c2
mov eax, dword [0x81b7c0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x7d07cd
cmp dword [esi*4 + 0x81b7c8], edi
je 0x7d08c6
inc esi
cmp esi, eax
jl 0x7d07bb
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x7d0942
cmp dword [ebp - 8], 0x1000000
jne 0x7d0942
test byte [ebp - 0xc], 0xcc
je 0x7d084b
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x7d0942
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x7d0942
cmp word [eax + 0x18], 0x10b
jne 0x7d0942
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x7d0942
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x7d084b
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x7d084b
test byte [ecx + 0x27], 0x80
jne 0x7d08c2
push 1
push 0x81b808
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x7d075f
mov ecx, dword [0x81b7c0]
test ecx, ecx
mov edx, ecx
jle 0x7d087f
lea eax, [ecx*4 + 0x81b7c4]
cmp dword [eax], edi
je 0x7d087f
dec edx
sub eax, 4
test edx, edx
jg 0x7d0873
test edx, edx
jne 0x7d08b0
push 0xf
pop ebx
cmp ecx, ebx
jg 0x7d088c
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x7d08a4
lea eax, [edx*4 + 0x81b7c8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x7d0892
cmp ecx, 0x10
jge 0x7d08b0
inc ecx
mov dword [0x81b7c0], ecx
push 0
push 0x81b808
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x7d075f
xor eax, eax
jmp 0x7d0945
test esi, esi
jle 0x7d075f
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x81b808
call ebx
test eax, eax
jne 0x7d075f
cmp dword [esi*4 + 0x81b7c8], edi
je 0x7d091c
mov eax, dword [0x81b7c0]
lea esi, [eax - 1]
test esi, esi
jl 0x7d090a
cmp dword [esi*4 + 0x81b7c8], edi
je 0x7d0906
dec esi
jns 0x7d08fa
test esi, esi
jge 0x7d091a
cmp eax, 0x10
jge 0x7d0915
inc eax
mov dword [0x81b7c0], eax
lea esi, [eax - 1]
jmp 0x7d091c
je 0x7d0934
xor ecx, ecx
test esi, esi
jl 0x7d0934
lea eax, [ecx*4 + 0x81b7c8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x7d0922
push 0
push 0x81b808
call ebx
jmp 0x7d075f
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7d094a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x81b80c], ebx
push esi
push edi
jne 0x7d09ca
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x7d0a05
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x81b80c], eax
je 0x7d0a05
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x81b810], eax
call esi
cmp dword [0x81b4f4], 2
mov dword [0x81b814], eax
jne 0x7d09ca
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x81b81c], eax
je 0x7d09ca
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x81b818], eax
mov eax, dword [0x81b818]
test eax, eax
je 0x7d0a0f
call eax
test eax, eax
je 0x7d09f6
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x81b81c]
test eax, eax
je 0x7d09f6
test byte [ebp - 8], 1
jne 0x7d0a0f
cmp dword [0x81b500], 4
jb 0x7d0a09
or byte [ebp + 0x12], 0x20
jmp 0x7d0a2e
xor eax, eax
jmp 0x7d0a3e
or byte [ebp + 0x12], 4
jmp 0x7d0a2e
mov eax, dword [0x81b810]
test eax, eax
je 0x7d0a2e
call eax
mov ebx, eax
test ebx, ebx
je 0x7d0a2e
mov eax, dword [0x81b814]
test eax, eax
je 0x7d0a2e
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x81b80c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x7d2cfc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.007ce210
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x7d2d97
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x81b4f4]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x7d2d97
cmp eax, 1
je 0x7d2db8
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x7d2d97
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x7d2d64
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x7d2d93
xor eax, eax
inc eax
jmp 0x7d2dd7
cmp edi, eax
jae 0x7d2d9b
xor eax, eax
jmp 0x7d2dd7
cmp eax, esi
jae 0x7d2da2
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x81b4f4]
jmp 0x7d2dbb
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7d3830
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
xor eax, eax
test ecx, ecx
je 0x7d38b7
mov edx, dword [esp + 0x10]
mov bl, 0x46
xor eax, eax
nop word cs:[eax + eax]
movzx ebx, bl
cmp ebx, 5
je 0x7d3870
mov edi, 0x11
mov esi, 8
cmp ebx, 0x46
je 0x7d38a1
jmp 0x7d3886
mov esi, 2
mov bl, 0x2f
imul edi, eax, 0x1000193
movzx eax, byte [edx]
inc edx
xor eax, edi
dec ecx
jne 0x7d3850
cmp esi, 2
je 0x7d38b7
mov edi, 5
imul esi, eax, 0x1000193
movzx eax, byte [edx]
inc edx
xor eax, esi
dec ecx
mov bl, 0x46
jne 0x7d3850
cmp edi, 5
je 0x7d38b7
imul esi, eax, 0x1000193
movzx eax, byte [edx]
inc edx
xor eax, esi
dec ecx
mov bl, 5
jne 0x7d3850
pop esi
pop edi
pop ebx
ret

Function at 0x7d3b00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, dword [esp + 0x3c]
mov dword [esp], esi
call fcn.007b7ca0
mov edi, eax
test edi, edi
jne 0x7d3c8b
mov ebp, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
mov dword [eax + 0x110], esi
mov edi, 0x20001
test ebp, ebp
je 0x7d3c8b
imul ebx, esi, 0x64
mov eax, dword [ebx + 0x818d34]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x818d38]
mov dword [esp], eax
call fcn.00492770
mov dword [esp + 0x1c], eax
mov edi, 0xc
test eax, eax
je 0x7d3c8b
mov dword [esp + 0x14], ebx
lea ebx, [ebx + 0x818d38]
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.00492770
mov ecx, dword [esp + 0x38]
mov dword [ecx + 0x228], eax
test eax, eax
je 0x7d3bdb
mov ecx, dword [esp + 0x40]
mov edx, dword [ebx]
cmp edx, ebp
jae 0x7d3be7
mov dword [esp + 0x20], edx
lea edx, [esp + 0x20]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebp
mov dword [esp + 4], ecx
mov dword [esp], esi
call fcn.007b4040
test eax, eax
mov esi, dword [esp + 0x38]
mov ebp, dword [esp + 0x1c]
jne 0x7d3c73
mov eax, dword [ebx]
mov ecx, eax
mov edx, dword [esp + 0x18]
sub ecx, edx
jbe 0x7d3c17
add edx, dword [esi + 0x228]
mov dword [esp + 4], ecx
mov dword [esp], edx
jmp 0x7d3c10
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
jmp 0x7d3c86
mov dword [esp + 8], ebp
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.007c51d0
mov eax, dword [ebx]
mov ecx, eax
sub ecx, ebp
mov esi, dword [esp + 0x38]
jbe 0x7d3c17
add ebp, dword [esi + 0x228]
mov dword [esp + 4], ecx
mov dword [esp], ebp
call fcn.007cbac0
mov eax, dword [ebx]
test eax, eax
mov ebp, dword [esp + 0x1c]
je 0x7d3c45
xor eax, eax
nop word cs:[eax + eax]
mov ecx, dword [esi + 0x228]
mov cl, byte [ecx + eax]
xor cl, 0x36
mov byte [ebp + eax], cl
inc eax
cmp eax, dword [ebx]
jb 0x7d3c30
mov dword [esp], esi
mov eax, dword [esp + 0x14]
call dword [eax + 0x818d80]
test eax, eax
jne 0x7d3c73
mov eax, dword [ebx]
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov dword [esp], esi
mov eax, dword [esp + 0x14]
call dword [eax + 0x818d84]
xor edi, edi
test eax, eax
je 0x7d3c83
mov edi, eax
mov eax, dword [esi + 0x228]
mov dword [esp], eax
call fcn.004936c0
mov dword [esp], ebp
call fcn.004936c0
mov eax, edi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret