joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9f70
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x22c
mov eax, dword [0x50b0b0]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x230]
push esi
mov esi, dword [esp + 0x238]
push edi
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4aa09b
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x4aa094
push 0x104
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x10]
push edi
call sub.KERNEL32.dll_K32GetModuleBaseNameW
test eax, eax
je 0x4aa094
xor eax, eax
lea ecx, [esp + 0x10]
mov word [esp + 0x22e], ax
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.00402af0
mov ebx, eax
cmp esi, ebx
je 0x4aa06a
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4aa03a
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4aa030
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aa0b4
mov eax, edx
push ecx
push eax
call fcn.004bf27b
add esp, 8
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
movups xmm0, xmmword [ebx]
movups xmmword [esi], xmm0
movq xmm0, qword [ebx + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea ecx, [esp + 0x14]
call fcn.00403870
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004bf6e8
add esp, 0x22c
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x230]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.004bf6e8
add esp, 0x22c
ret
call fcn.004c4b9a
int3

Function at 0x4aa160
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e85a8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x50b0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x30]
cmp ecx, eax
je 0x4aa1c3
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4aa1b7
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0040b650
lea eax, [ebp - 0x30]
mov dword [ebp - 0x18], esi
push eax
push 0x4aa2f0
mov dword [ebp - 0x14], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
cmp edx, 8
jb 0x4aa215
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4aa20b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aa231
push edx
push ecx
call fcn.004bf27b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bf6e8
mov esp, ebp
pop ebp
ret
call fcn.004c4b9a
int3
Function at 0x4aa240
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push dword [esp + 0x20]
lea eax, [esp + 0x10]
push dword [esp + 0x20]
push eax
call fcn.004a9b80
mov ebx, dword [esp + 0x18]
add esp, 0xc
mov ebp, dword [esp + 0x10]
mov esi, ebx
cmp esi, ebp
je 0x4aa2a3
push edi
nop word [eax + eax]
push dword [esi]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4aa29b
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, ebp
jne 0x4aa270
pop edi
test ebx, ebx
je 0x4aa2d4
mov ecx, dword [esp + 0x14]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4aa2ca
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4aa2db
push ecx
push ebx
call fcn.004bf27b
add esp, 8
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call fcn.004c4b9a
int3
Function at 0x4aa540
Capabilities:
Check os version

Disassembly:
sub esp, 0x51c
mov eax, dword [0x50b0b0]
xor eax, esp
mov dword [esp + 0x518], eax
push ebx
push esi
mov esi, dword [esp + 0x528]
lea eax, [esp + 0x120]
push edi
push 0x400
push 0
push eax
mov dword [esp + 0x18], esi
call fcn.004c20c0
push 0x110
lea eax, [esp + 0x24]
push 0
push eax
call fcn.004c20c0
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [esp + 0x28]
add esp, 0x18
mov dword [esp + 0x10], 0x114
push eax
call edi
cmp dword [esp + 0x14], 6
ja 0x4aa5b6
jne 0x4aa5af
cmp dword [esp + 0x18], 1
ja 0x4aa5b6
mov ebx, 2
jmp 0x4aa5bb
mov ebx, 3
push 0x110
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004c20c0
add esp, 0xc
mov dword [esp + 0x10], 0x114
lea eax, [esp + 0x10]
push eax
call edi
cmp dword [esp + 0x14], 6
ja 0x4aa5f2
jne 0x4aa5ee
cmp dword [esp + 0x18], 1
ja 0x4aa5f2
xor edi, edi
jmp 0x4aa5f7
mov edi, 0x20
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x4aa64c
push eax
push str.CoInitializeEx_failed:__x
lea eax, [esp + 0x12c]
push 0x400
push eax
call fcn.004a0520
lea ecx, [esp + 0x134]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
add esp, 0x10
mov byte [esi], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4aa640
jmp 0x4aa6d7
push 0
push edi
push 0
push ebx
push 6
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x4aa6ab
push eax
push str.CoInitializeSecurity_failed:__x
lea eax, [esp + 0x12c]
push 0x400
push eax
call fcn.004a0520
add esp, 0x10
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x124]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4aa6a2
jmp 0x4aa6d7
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x124]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4aa6d0
sub ecx, edx
lea eax, [esp + 0x124]
push ecx
push eax
mov ecx, esi
call fcn.0040b560
mov ecx, dword [esp + 0x524]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bf6e8
add esp, 0x51c
ret

Function at 0x4da68f
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004da611

Function at 0x40894e
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop edx
call fcn.00408974
add edi, 1
xor dword [ebx], edx
inc ebx
cmp ebx, eax
jne fcn.0040894e
push 0x66b6f0c9
pop edi
ret
Function at 0x4a5790
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2710
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call fcn.004a6060
push 0
call fcn.004a6070
mov ebx, dword [ebp + 8]
mov ecx, 0xf
xor eax, eax
mov edi, 0x7dc888
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
call dword [0x7dd130]
add esp, 0xc
test eax, eax
je 0x4a5903
push ebx
call fcn.004a56d0
add esp, 4
test eax, eax
je 0x4a5903
mov eax, dword [0x7dc898]
test eax, eax
jne 0x4a580a
mov ecx, dword [0x7dc888]
mov dword [0x7dc898], ecx
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x20
mov dword [0x7dc8b4], 0x280
mov dword [0x7dc8b8], 0x1e0
call esi
mov edx, dword [0x7dc8b4]
push 0x21
lea edi, [edx + eax*2]
call esi
mov edx, eax
push 0xf
mov dword [ebp + 0xc], edx
call esi
mov ecx, dword [0x7dc8b8]
mov edx, dword [ebp + 0xc]
add ecx, eax
push 0
push ebx
push 0
lea eax, [ecx + edx*2]
mov cl, byte [0x7dc8bc]
neg cl
sbb ecx, ecx
push 0
and ecx, 0x7f320000
push eax
mov eax, dword [0x7dc898]
push edi
add ecx, 0x2ce0000
push DirectSoundCreate
push DirectSoundCreate
push ecx
mov ecx, dword [0x7dc888]
push eax
push ecx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x7dc8ac], eax
je 0x4a5903
call fcn.004a60a0
call fcn.004a5c50
test al, al
je 0x4a5903
push ebx
mov dword [ebp - 4], 0
call dword [0x7dd12c]
mov edx, dword [ebp + 0x10]
mov eax, dword [0x7dc8ac]
add esp, 4
push edx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x7dc8ac]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a5c50
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x7dc890]
sub esp, 0x100
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x4a5c70
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x100
ret
test byte [0x7dce00], 0x40
je 0x4a5c86
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x100
ret
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, dword [sym.imp.USER32.dll_ShowCursor]
mov ebp, dword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [esp + 0x10]
push eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x4a5d50
lea esi, [esp + 0x10]
cmp byte [esi], 0
je 0x4a5d0d
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x4a5cfd
mov ecx, dword [0x7dc890]
push ecx
push esi
push str._s_s
push 0x7dcf58
call fcn.004ac59b
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 0
push DirectSoundCreate
push 0x7dcf58
call edi
cmp eax, 0xffffffff
jmp 0x4a5d34
cmp byte [esi], 0
je 0x4a5d0a
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4a5d02
inc esi
jmp 0x4a5cb4
push 1
call ebx
mov edx, dword [0x7dc894]
mov eax, dword [0x7dc8ac]
push 0x35
push 0
push edx
push eax
call ebp
push 0
mov esi, eax
call ebx
cmp esi, 2
je 0x4a5d50
jmp 0x4a5c98
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, byte [esi]
pop edi
pop esi
pop ebp
mov byte [0x7dce04], cl
mov al, 1
pop ebx
add esp, 0x100
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x100
ret
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x7261b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00726140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00726140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00726140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00726140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x726bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x726c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x73887c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x726c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x726c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x10002960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1020f040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor edx, edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov esi, dword [edi]
lea eax, [esi*4]
test eax, eax
je 0x100029aa
mov ebx, dword [ebp + 8]
sub ebx, ecx
nop
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
inc edx
mov esi, dword [edi]
lea eax, [esi*4]
cmp edx, eax
jb 0x10002990
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi + 4]
inc eax
shl esi, 2
shl eax, 4
mov dword [ebp - 0x18], esi
cmp esi, eax
jae 0x10002aed
lea eax, [esi - 3]
add eax, ecx
mov bh, byte [eax]
mov cl, byte [eax + 1]
xor edx, edx
mov ch, byte [eax + 2]
mov bl, byte [eax - 1]
mov dword [ebp - 0x14], eax
mov eax, esi
shr eax, 2
div dword [edi]
mov byte [ebp - 8], bl
mov eax, edx
mov byte [ebp - 7], bh
mov byte [ebp - 0xa], cl
mov byte [ebp - 6], cl
mov byte [ebp - 9], ch
mov byte [ebp - 5], ch
test eax, eax
jne 0x10002a4a
lea eax, [ebp - 8]
mov byte [ebp - 7], cl
mov byte [ebp - 6], ch
mov ecx, edi
push eax
mov byte [ebp - 8], bh
mov byte [ebp - 5], bl
call fcn.10002b00
mov eax, dword [edi]
xor edx, edx
mov cl, 1
lea esi, [eax*4]
mov eax, dword [ebp - 0x18]
div esi
mov esi, eax
sub esi, 1
je 0x10002a37
mov dl, cl
add cl, cl
shr dl, 7
movzx eax, dl
imul eax, eax, 0x1b
xor cl, al
sub esi, 1
jne 0x10002a23
mov bl, byte [ebp - 8]
mov dh, byte [ebp - 5]
xor bl, cl
mov dl, byte [ebp - 6]
mov bh, byte [ebp - 7]
mov esi, dword [ebp - 0x18]
jmp 0x10002a75
mov edx, dword [edi]
cmp edx, 6
jbe 0x10002a6f
cmp eax, 4
jne 0x10002a6f
lea eax, [ebp - 8]
mov ecx, edi
push eax
call fcn.10002b00
mov dh, byte [ebp - 5]
mov dl, byte [ebp - 6]
mov bh, byte [ebp - 7]
mov bl, byte [ebp - 8]
jmp 0x10002a75
mov dh, byte [ebp - 9]
mov dl, byte [ebp - 0xa]
mov eax, dword [edi]
mov ecx, dword [ebp - 0x10]
shl eax, 2
sub ecx, eax
movzx eax, byte [ecx + esi]
mov ecx, dword [ebp - 0x14]
xor al, bl
mov byte [ecx + 3], al
mov ecx, dword [edi]
mov eax, dword [ebp - 0x10]
shl ecx, 2
sub eax, ecx
mov al, byte [eax + esi + 1]
xor al, bh
mov ebx, dword [ebp - 0x14]
mov byte [ebx + 4], al
lea ecx, [ebx + 4]
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi]
shl ecx, 2
sub eax, ecx
movzx eax, byte [eax + esi + 2]
xor al, dl
mov byte [ebx + 5], al
mov ecx, dword [edi]
mov eax, dword [ebp - 0x10]
shl ecx, 2
sub eax, ecx
movzx eax, byte [eax + esi + 3]
add esi, 4
xor al, dh
mov dword [ebp - 0x18], esi
mov byte [ebx + 6], al
mov eax, dword [edi + 4]
mov bh, byte [ebp - 9]
inc eax
shl eax, 4
cmp esi, eax
mov eax, dword [ebp - 0x14]
jb 0x100029c6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10172772
mov esp, ebp
pop ebp
ret 8
Function at 0x10002b90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
sub esp, 0x10
xor ecx, ecx
push esi
mov esi, dword [ebp + 8]
test edx, edx
je 0x10002ce5
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
cmp edx, 8
jb 0x10002cc8
lea eax, [ebx - 1]
add eax, edx
cmp edi, eax
ja 0x10002bce
lea eax, [edx - 1]
add eax, edi
cmp eax, ebx
jae 0x10002cc8
lea eax, [edx - 1]
add eax, esi
cmp edi, eax
ja 0x10002be4
lea eax, [edx - 1]
add eax, edi
cmp eax, esi
jae 0x10002cc8
cmp edx, 0x40
jb 0x10002c85
mov eax, edx
and eax, 0x3f
mov dword [ebp - 4], eax
mov eax, edx
sub eax, dword [ebp - 4]
mov edx, edi
sub edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebx + 0x10]
mov dword [ebp - 8], edx
mov ebx, esi
sub ebx, dword [ebp + 0xc]
mov edx, esi
sub edx, edi
mov dword [ebp - 0xc], edx
lea edx, [edi + 0x20]
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x10]
mov edi, dword [ebp - 8]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ecx + esi]
lea edx, [edx + 0x40]
xorps xmm1, xmm0
movups xmmword [edx - 0x60], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [ebx + eax - 0x40]
xorps xmm1, xmm0
movups xmmword [edi + eax - 0x40], xmm1
mov edi, dword [ebp - 0xc]
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [edi + edx - 0x40]
mov edi, dword [ebp + 0x10]
xorps xmm1, xmm0
movups xmmword [edx - 0x40], xmm1
movups xmm1, xmmword [esi + ecx + 0x30]
add ecx, 0x40
movups xmm0, xmmword [eax - 0x20]
xorps xmm1, xmm0
movups xmmword [edx - 0x30], xmm1
cmp ecx, dword [ebp - 0x10]
jb 0x10002c20
cmp dword [ebp - 4], 8
mov edx, dword [ebp + 0x14]
jb 0x10002cc1
mov eax, dword [ebp + 0xc]
jmp 0x10002c8c
mov eax, dword [ebp + 0xc]
mov ebx, esi
sub ebx, eax
mov dword [ebp + 0x14], edx
add eax, ecx
and dword [ebp + 0x14], 0xfffffff8
sub edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], edi
nop dword [eax + eax]
movq xmm1, qword [ebx + eax]
lea eax, [eax + 8]
movq xmm0, qword [eax - 8]
add ecx, 8
xorps xmm1, xmm0
movq qword [edi + eax - 8], xmm1
cmp ecx, dword [ebp + 0x14]
jb 0x10002ca0
mov edi, dword [ebp + 0x10]
cmp ecx, edx
jae 0x10002ce3
mov ebx, dword [ebp + 0xc]
sub esi, ebx
lea eax, [ecx + ebx]
sub edi, ebx
sub edx, ecx
mov cl, byte [eax + esi]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
mov byte [edi + eax - 1], cl
sub edx, 1
jne 0x10002cd1
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10004d70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.1003c48a
Function at 0x10007e20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x10007e7d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x10007e40
mov eax, dword [esi]
jmp 0x10007f5b
cmp eax, 0x4e0
jb 0x10007f5b
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x10007e96
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x10007ee1
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000f790
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xf
jbe 0x1000f79e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1000f7b2
test al, 0x10
jne 0x1000f7b2
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x1000f7c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1020f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [eax + 0x14], 0xf
mov dword [ebp - 0x20], edi
jbe 0x1000f7e3
mov eax, dword [eax]
push 0x101b42cc
push eax
call fcn.1017f5b9
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x1000f811
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10172772
mov esp, ebp
pop ebp
ret
push esi
push 2
push 0
push ebx
call fcn.1017fbcd
push ebx
call fcn.1018022c
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x20], esi
call fcn.1017fbcd
xor eax, eax
xor ecx, ecx
add esp, 0x1c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
test esi, esi
je 0x1000f886
cmp esi, 0x7fffffff
ja 0x1000f8f7
push esi
lea ecx, [ebp - 0x10]
call fcn.10009f20
push esi
push 0
push dword [ebp - 0x10]
call fcn.10176a90
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x14], eax
lea ecx, [eax + esi]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
push ebx
push esi
push 1
push eax
call fcn.1017f7a9
push ebx
mov esi, eax
call fcn.1017f4d2
add esp, 0x14
lea ecx, [ebp - 0x10]
cmp esi, dword [ebp - 0x20]
je 0x1000f8b9
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
jmp 0x1000f8df
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [edi + 8], eax
call fcn.100021e0
mov ecx, dword [ebp - 4]
mov eax, edi
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.10172772
mov esp, ebp
pop ebp
ret
call fcn.10002d20
int3