joyce8/EMBER2024-capa huggingface dataset:
Function at 0x577fec
Capabilities:
Write file on windows

Disassembly:
push 0x30
mov eax, 0x58c00a
call fcn.00552ddc
mov esi, ecx
mov dword [ebp - 0x30], esi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
cmp bx, di
jne 0x578011
xor eax, eax
jmp 0x57818a
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x57803d
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x57803d
dec dword [edx]
mov ax, di
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
jmp 0x57818a
cmp dword [esi + 0x4c], 0
je 0x578187
mov ecx, esi
call fcn.00577bc9
xor eax, eax
cmp dword [esi + 0x38], eax
jne 0x578070
push dword [esi + 0x4c]
push edi
call fcn.0057746a
pop ecx
pop ecx
test al, al
je 0x578187
movzx ebx, di
jmp 0x578187
push eax
push 8
lea ecx, [ebp - 0x28]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.00577c39
and dword [ebp - 4], 0
lea eax, [esi + 0x40]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
cmp eax, 0x10
jae 0x5780a8
lea edx, [ebp - 0x28]
mov ecx, edx
mov edi, dword [esi + 0x38]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x18]
add eax, edx
mov esi, dword [edi]
push eax
push ecx
lea eax, [ebp - 0x3c]
mov ecx, dword [esi + 0x1c]
push eax
lea eax, [ebp - 0x2a]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x34]
call fcn.00552d6b
mov ecx, edi
call dword [esi + 0x1c]
test eax, eax
js 0x57817b
cmp eax, 1
jg 0x578156
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
mov edx, ecx
cmp eax, 0x10
jae 0x5780f1
lea edx, [ebp - 0x28]
mov edi, dword [ebp - 0x38]
sub edi, edx
je 0x57811e
cmp eax, 0x10
jae 0x578100
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 0x30]
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.00564116
add esp, 0x10
cmp edi, eax
jne 0x578151
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
jmp 0x578121
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x3c], edx
jne 0x57814b
test edi, edi
jne 0x57809c
cmp dword [ebp - 0x18], 0x20
jae 0x578175
push edi
push 8
lea ecx, [ebp - 0x28]
call fcn.00409df4
jmp 0x578096
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx ebx, bx
jmp 0x578175
cmp eax, 3
jne 0x57817b
mov eax, dword [ebp - 0x30]
push dword [eax + 0x4c]
push dword [ebp - 0x2c]
call fcn.0057746a
pop ecx
pop ecx
test al, al
je 0x578175
mov eax, dword [ebp + 8]
movzx ebx, ax
movzx eax, bx
movzx ebx, ax
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00409798
mov ax, bx
call fcn.00552d86
ret 4
Function at 0x65f7d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x65f7f5
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x65f868
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x65f82a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x65f85d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x65f85b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x65f821
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x65f7ec
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x4098c4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409997
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4099b0
push ebx
push 0x4099bc
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409944
mov al, 0x62
call fcn.0040949c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409898
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x40994d
call fcn.00409898
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40999e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a50
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409b04
jmp 0x409af9
cmp dword [esi + 0x10], 0x1000
jne 0x409ae5
test byte [esi + 0x15], 1
jne 0x409ae5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409aa4
cmp eax, 2
je 0x409aa4
cmp eax, 0x10
je 0x409aa4
cmp eax, 0x20
jne 0x409ab9
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409ab9
mov bl, 1
xor ebp, ebp
jmp 0x409aca
mov eax, dword [esi]
add eax, ebp
call fcn.00409a48
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409abd
test bl, bl
je 0x409ae5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409b04
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a7c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Query environment variable
Query or enumerate registry value
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0x800
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareData_Access_WorldwideVisual_DataFlex12.0Defaults
push 0x80000002
call dword cs:[sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4010b1
lea eax, [ebp - 8]
push eax
push 0x76e0d0
push 0
push 0
push str.VdfRootDir
push dword [ebp - 4]
call dword cs:[sym.imp.advapi32.dll_RegQueryValueExA]
push eax
push dword [ebp - 4]
call dword cs:[sym.imp.advapi32.dll_RegCloseKey]
pop eax
test eax, eax
jne 0x4010b1
push str.Bin_
push 0x76e0d0
call dword cs:[sym.imp.msvcrt.dll_strcat]
add esp, 8
push 0x76e0d0
call dword cs:[sym.imp.msvcrt.dll_strlen]
add esp, 4
mov dword [ebp - 8], eax
push ecx
push 0x800
mov ecx, dword [ebp - 8]
lea eax, [ecx + 0x76e0d0]
push eax
push str.PATH
call dword cs:[sym.imp.kernel32.dll_GetEnvironmentVariableA]
pop ecx
push 0x76e0d0
push str.PATH
call dword cs:[sym.imp.kernel32.dll_SetEnvironmentVariableA]
push str.vdfvm12.dll
call dword cs:[sym.imp.kernel32.dll_LoadLibraryA]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4010fd
push str._FlexRunProgramEx_4
push dword [ebp - 0xc]
call dword cs:[sym.imp.kernel32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4010e3
push str.Psylite__04_06_2021_10:14:27__c__Annovyn_B.V.
call dword cs:[ebp - 0x10]
push dword [ebp - 0xc]
call dword cs:[sym.imp.kernel32.dll_FreeLibrary]
test dword [ebp - 0x10], 0xffffffff
je 0x4010fd
mov eax, 0
jmp 0x401114
push 0x10
push 0
push str.Unable_to_locate_a_compatible_version_of_vdfvm12.dll__version_12.0__or_one_of_its_components.
push 0
call dword cs:[sym.imp.user32.dll_MessageBoxA]
mov eax, 1
push eax
call dword cs:[sym.imp.msvcrt.dll_exit]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x30017c9c
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x300190b0
call fcn.30017e54
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x300200e8
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x30017a3b
cmp eax, esi
jne 0x30017a2e
xor esi, esi
inc esi
mov ebx, esi
jmp 0x30017a3e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x30017a15
xor esi, esi
inc esi
mov eax, dword [0x300200e4]
cmp eax, esi
jne 0x30017a51
push 0x1f
call fcn.300b0000
pop ecx
jmp 0x30017a80
mov eax, dword [0x300200e4]
test eax, eax
jne 0x30017a7a
mov dword [0x300200e4], esi
push 0x30001534
push 0x30001528
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x30017a80
jmp 0x30017ba8
mov dword [0x3001fd94], esi
mov eax, dword [0x300200e4]
cmp eax, esi
jne 0x30017aa4
push 0x30001524
push 0x300014e4
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x300200e4], 2
test ebx, ebx
jne 0x30017ab0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x300200f4], 0
je 0x30017ad4
push 0x300200f4
call fcn.30018076
pop ecx
test eax, eax
je 0x30017ad4
push 0
push 2
push 0
call dword [0x300200f4]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x30017b30
test al, al
je 0x30017aee
cmp dword [ebp - 0x1c], 0
jne 0x30017b30
mov al, byte [esi]
test al, al
je 0x30017afe
cmp al, 0x20
ja 0x30017afe
inc esi
mov dword [ebp - 0x20], esi
jmp 0x30017aee
test byte [ebp - 0x3c], 1
je 0x30017b0a
movzx eax, word [ebp - 0x38]
jmp 0x30017b0d
push 0xa
pop eax
push eax
push esi
push 0
push 0x30000000
call main
mov dword [0x3001fd90], eax
cmp dword [0x3001fd84], 0
jne 0x30017b84
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x30017b3f
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x30017b52
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x30017adb
cmp dword [0x3001fd94], 0
jne 0x30017b93
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x3001fd90]
jmp 0x30017bb4
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.30017e99
ret
call fcn.300178c4
jmp 0x300179db
Function at 0x40d29e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00407cfb
mov dword [ebp - 0x14], eax
cmp dword [0x47c038], esi
jne 0x40d391
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d31e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d471
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d471
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d471
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x47c038], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x47c03c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x47c040], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47c048], eax
test eax, eax
je 0x40d38e
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47c044], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d3b6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d3a9
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d3cb
push 4
pop eax
jmp 0x40d473
cmp dword [ebp - 0x14], esi
je 0x40d3cb
push dword [0x47c038]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d3b0
mov eax, dword [0x47c044]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d429
cmp dword [0x47c048], edi
je 0x40d429
push eax
call ebx
push dword [0x47c048]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d429
test eax, eax
je 0x40d429
call ecx
test eax, eax
je 0x40d41e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d41e
test byte [ebp - 8], 1
jne 0x40d429
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d459
mov eax, dword [0x47c03c]
cmp eax, edi
je 0x40d456
push eax
call ebx
test eax, eax
je 0x40d456
call eax
mov esi, eax
test esi, esi
je 0x40d456
mov eax, dword [0x47c040]
cmp eax, edi
je 0x40d456
push eax
call ebx
test eax, eax
je 0x40d456
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x47c038]
call ebx
test eax, eax
je 0x40d471
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d473
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040440e
mov esp, ebp
pop ebp
ret
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x417f85
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x417f94
pop dword [ebp - 0x48]
mov eax, 0x417f94
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x3aa95621
sub dword [ebp - 0x58], 0xec5710d6
mov dword [ebp - 0x54], 0xdab28f27
sub dword [ebp - 0x54], 0xa87f42e2
mov dword [ebp - 0x50], 0xf8556801
add dword [ebp - 0x50], 0x53f6dc2d
mov dword [ebp - 0x4c], 0xe704e403
add dword [ebp - 0x4c], 0x18fb1bfd
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xf8dc5a94
add dword [ebp - 0x58], 0x7b960ec2
mov dword [ebp - 0x54], 0x6000dbea
sub dword [ebp - 0x54], 0x1e947a75
mov dword [ebp - 0x50], 0x1793c5d8
sub dword [ebp - 0x50], 0xb424596c
mov dword [ebp - 0x4c], 0x695308cf
sub dword [ebp - 0x4c], 0x695308cf
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x64bb071d
sub eax, 0x6478d5f9
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3eb6e
push 0
call eax
mov ecx, 0x4ba2
xor edx, edx
add edx, eax
mov esi, 0xb7fec3be
sub esi, 0xb7bb7fbe
add esi, dword [ebp - 0x48]
mov ebx, 0x8d422da8
sub ebx, 0xdc771b82
xor dword [ebp - 0x38], 0xbd322d2
mov edi, dword [esi]
add dword [ebp - 0x30], 0x62d3de47
add edi, ebx
sub dword [ebp - 0x3c], 0x50477f6c
mov dword [edx], edi
xor dword [ebp - 0x18], 0x29ae449a
add edx, 0xa0f4d58a
sub edx, 0xa0f4d586
add esi, 4
loop 0x4180a8
add eax, 0x1215b
xor ebx, ebx
add ebx, eax
add eax, 0x7136bda6
add eax, 0x8ec9425f
mov ecx, 0xc6f91a79
sub ecx, 0xc6b91a79
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x417f2e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x417f3d
pop dword [ebp - 0x28]
mov eax, 0x417f3d
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x3f090
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0x5536c07f
sub ecx, 0x5536608d
xor esi, esi
add esi, eax
mov edx, 0x930274e0
sub edx, 0x92bf06e0
add edx, dword [ebp - 0x28]
mov ebx, 0x5a0c488c
sub ebx, 0x6f8b84de
add dword [ebp - 0x10], 0x780f41c0
mov edi, dword [edx]
mov dword [ebp - 0x1c], 0xf9394dee
xor edi, ebx
xor dword [ebp - 0x1c], 0xdf4f7dcb
mov dword [esi], edi
sub dword [ebp - 0x1c], 0x820c43b3
add esi, 0xf1290e62
add esi, 0xed6f1a2
add edx, 0x4d1ab782
sub edx, 0x4d1ab77e
loop 0x417f94
add eax, 0xf737a574
add eax, 0x8c9cd27
mov ebx, eax
add eax, 5
mov ecx, 0xbc105209
sub ecx, 0xbbd05209
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x41e7e0
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x2d4
push esi
call dword [sym.imp.kernel32.dll_GetVersion]
cmp ax, 6
je 0x41e81d
push str.SetDefaultDllDirectories
push 0x429a14
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x41e81d
push 0xc00
call eax
test eax, eax
jne 0x41e8b6
lea eax, [esp + 8]
push 0x106
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41e8b6
cmp eax, 0x104
ja 0x41e8b6
cmp word [esp + eax*2 + 6], 0x5c
je 0x41e84c
mov word [esp + eax*2 + 8], 0x5c
inc eax
mov esi, dword [str.userenv]
cmp byte [esi], 0
je 0x41e8b6
push ebp
lea ecx, [esp + eax*2 + 0xc]
push edi
mov edi, dword [sym.imp.kernel32.dll_LoadLibraryExW]
mov dword [esp + 0xc], ecx
mov ebp, 0x6c
mov cl, byte [esi]
mov eax, dword [esp + 0xc]
inc esi
test cl, cl
je 0x41e88b
xor dx, dx
add eax, 2
mov dl, cl
inc esi
mov word [eax - 2], dx
mov cl, byte [esi - 1]
test cl, cl
jne 0x41e877
mov word [eax], 0x2e
mov word [eax + 2], 0x64
mov word [eax + 4], bp
mov word [eax + 6], bp
mov word [eax + 8], 0
push 8
lea eax, [esp + 0x14]
push 0
push eax
call edi
cmp byte [esi], 0
jne 0x41e86c
pop edi
pop ebp
pop esi
add esp, 0x2d4
ret
Function at 0x409b00
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, eax
push ebx
push esi
mov esi, ecx
cmp dword [eax + 0x14], 0x10
push edi
mov edi, dword [eax + 0x10]
mov dword [ebp - 8], esi
jb 0x409b1e
mov edx, dword [eax]
xor ecx, ecx
mov ebx, 0x811c9dc5
test edi, edi
je 0x409b41
lea esp, [esp]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, edi
jb 0x409b30
lea ecx, [esi + 0x94]
mov dword [ebp - 0xc], 0
xor edx, edx
mov eax, ebx
div dword [ecx]
mov edi, edx
mov eax, edi
or eax, 1
mov dword [ebp - 0x10], eax
bsr eax, eax
movzx ecx, al
mov dword [ebp - 0xc], eax
cmp dword [esi + ecx*4 + 4], 0
je 0x409b86
mov edx, 1
mov eax, edi
shl edx, cl
mov ecx, dword [esi + ecx*4 + 4]
and edx, 0xfffffffe
sub eax, edx
cmp dword [ecx + eax*4], 0
jne 0x409b8e
push edi
mov ecx, esi
call fcn.0040abc0
mov ecx, dword [0x461060]
movzx eax, bl
push dword [ebp + 0xc]
mov dword [ebp - 0x18], 0
mov al, byte [eax + ecx]
mov byte [ebp - 1], al
mov eax, ebx
shr eax, 8
movzx eax, al
mov al, byte [eax + ecx]
mov byte [ebp - 2], al
mov eax, ebx
shr eax, 0x10
movzx eax, al
shr ebx, 0x18
mov al, byte [eax + ecx]
mov byte [ebp - 3], al
mov al, byte [ebx + ecx]
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x10]
bsr eax, eax
mov ebx, dword [ebp - 4]
movzx ecx, al
or ebx, 1
mov dword [ebp - 0x18], eax
mov eax, 1
shl eax, cl
and eax, 0xfffffffe
sub edi, eax
mov eax, dword [esi + ecx*4 + 4]
push ebx
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x10], eax
lea eax, [esi + 0x84]
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.004099f0
mov ecx, dword [ebp - 0x10]
mov edi, eax
mov esi, dword [ecx]
lea esp, [esp]
test esi, esi
je 0x409c35
cmp dword [esi + 0x24], ebx
ja 0x409c35
jne 0x409c2f
mov ecx, dword [ebp - 8]
lea eax, [edi + 4]
push eax
lea eax, [esi + 4]
push eax
call fcn.0040a5e0
test al, al
je 0x409c54
mov ecx, esi
mov esi, dword [esi]
jmp 0x409c10
mov dword [edi], esi
mov edx, edi
mov eax, esi
lock cmpxchg dword [ecx], edx
cmp eax, esi
je 0x409c6f
cmp eax, edi
je 0x409c6f
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x10], 0
jmp 0x409c0a
mov ecx, dword [ebp - 0x1c]
push edi
call fcn.0040a700
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 8]
mov ecx, 1
lock xadd dword [eax + 0x8c], ecx
inc ecx
mov edx, dword [eax + 0x94]
lea esi, [eax + 0x94]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x10], 1
fild dword [ebp + 0xc]
test ecx, ecx
jns 0x409ca0
fadd dword [0x462c60]
fstp dword [ebp + 0xc]
fld dword [ebp + 0xc]
mov dword [ebp + 0xc], edx
fild dword [ebp + 0xc]
test edx, edx
jns 0x409cb6
fadd dword [0x462c60]
fstp dword [ebp + 0xc]
fdiv dword [ebp + 0xc]
fld dword [eax + 0x98]
fcompp
fnstsw ax
test ah, 5
jp 0x409cd4
lea ecx, [edx + edx]
mov eax, edx
lock cmpxchg dword [esi], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [eax], edi
pop edi
pop esi
mov dword [eax + 4], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8