joyce8/EMBER2024-capa huggingface dataset:
Function at 0x900a20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
cmp byte [0xbf4ed0], 0
jne 0x900ac9
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xb55918
push 0x3f
push 0xbf4ed0
push 0xabd6d0
push 0xabd6dc
push 0xaaec30
call esi
push 0xb55918
push 0x3f
push 0xbf4f10
push str.File_Deleted
push 0xabd6e0
push 0xaaec30
call esi
push 0xb55918
push 0x3f
push 0xbf4f50
push 0xabd6e4
push 0xabd6f4
push 0xaaec30
call esi
push 0xb55918
push 0x3f
push 0xbf4f90
push 0xabdd94
push 0xabddac
push 0xaaec30
call esi
push 0xb55918
push 0x3f
push 0xbf4fd0
push 0xabddb0
push 0xabddc8
push 0xaaec30
call esi
pop esi
mov eax, dword [ebp + 8]
dec eax
cmp eax, 7
ja case.0x900ad6.3
jmp dword [eax*4 + 0x900b8c]
mov eax, 0xbf4ed0
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x900ae6
mov eax, 0x6b5
pop ebp
ret
mov eax, 0xbf4f10
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x900b00
mov eax, 0x6b6
pop ebp
ret
mov eax, 0xbf4f50
mov edx, edi
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x900b20
mov eax, 0x6b7
pop ebp
ret
mov eax, 0xbf4ed0
mov edx, edi
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x900b40
mov eax, dword [ebp + 0xc]
mov dword [eax], 1
mov eax, 0x6b5
pop ebp
ret
mov ecx, dword [str.File_Action_UNKNOWN]
mov dword [edi], ecx
mov edx, dword [0xadcfd4]
mov dword [edi + 4], edx
mov eax, dword [0xadcfd8]
mov dword [edi + 8], eax
mov ecx, dword [0xadcfdc]
mov dword [edi + 0xc], ecx
mov edx, dword [0xadcfe0]
mov dword [edi + 0x10], edx
mov eax, 0x6ba
pop ebp
ret
Function at 0x904f10
Capabilities:
Parse pe header

Disassembly:
push ebx
push ebp
push esi
xor ebp, ebp
xor esi, esi
push edi
cmp eax, 2
jbe 0x904f2b
cmp byte [edx], 0x42
jne 0x904f2b
cmp byte [edx + 1], 0x4d
jne 0x904f2b
lea ebp, [esi + 1]
mov ecx, 0x400
cmp eax, 0x400
ja 0x904f39
mov ecx, eax
mov eax, 1
lea edi, [ecx - 4]
cmp edi, eax
jbe 0x90503e
mov bl, 0x5a
jmp 0x904f50
test ebp, ebp
jne 0x905016
test esi, esi
je 0x904f85
mov cl, byte [eax + edx]
cmp cl, 0x50
jne 0x904f6f
cmp byte [eax + edx + 1], 0x45
je 0x905045
not cl
cmp cl, 0x50
jne 0x904f85
mov cl, byte [eax + edx + 1]
not cl
cmp cl, 0x45
je 0x905045
mov cl, byte [eax + edx]
cmp cl, 0x4d
jne 0x904fcc
cmp byte [eax + edx + 1], bl
jne 0x904fcc
mov cl, byte [eax + edx + 2]
mov esi, 1
cmp cl, 0x90
je 0x904fbe
cmp cl, 0xa
je 0x904fbe
cmp cl, 0x50
je 0x904fbe
cmp cl, 0x40
je 0x904fbe
test cl, cl
je 0x904fbe
cmp cl, 0x80
je 0x904fbe
cmp cl, 0xf
jne 0x905035
cmp byte [eax + edx + 3], 0
jne 0x905035
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
not cl
cmp cl, 0x4d
jne 0x905035
mov cl, byte [eax + edx + 1]
not cl
cmp cl, bl
jne 0x905035
mov cl, byte [eax + edx + 2]
not cl
mov esi, 1
cmp cl, 0x90
je 0x90500a
cmp cl, 0xa
je 0x90500a
cmp cl, 0x50
je 0x90500a
cmp cl, 0x40
je 0x90500a
test cl, cl
je 0x90500a
cmp cl, 0x80
je 0x90500a
cmp cl, 0xf
jne 0x905035
mov cl, byte [eax + edx + 3]
not cl
test cl, cl
je 0x904fc5
jmp 0x905035
mov cl, byte [eax + edx]
cmp cl, 0x4d
jne 0x905024
cmp byte [eax + edx + 1], bl
je 0x905045
not cl
cmp cl, 0x4d
jne 0x905035
mov cl, byte [eax + edx + 1]
not cl
cmp cl, bl
je 0x905045
inc eax
cmp eax, edi
jb 0x904f50
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x90d890
Capabilities:
Enumerate gui resources

Disassembly:
push 0xadfbd4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x90d8d6
mov ecx, dword [esp + 4]
push esi
push 2
push 0
push ecx
call eax
mov esi, eax
test esi, esi
je 0x90d8d5
mov edx, dword [esp + 0xc]
push edx
push 0x90d620
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
ret
Function at 0x917ba0
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x414
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
lea eax, [esp + 0x10]
push edi
xor esi, esi
push eax
mov dword [esp + 0x18], esi
call fcn.00917ab0
add esp, 4
cmp eax, 1
jne 0x917cbc
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x917cbc
lea ecx, [esp + 0x10]
push ecx
push eax
mov bl, 0x2c
lea edi, [esp + 0x20]
mov dword [esp + 0x18], esi
call fcn.0095ae80
add esp, 8
cmp dword [esp + 0x10], 0xffffffff
je 0x917cbc
cmp byte [esp + 0x18], 0x21
lea edx, [esp + 0x18]
je 0x917c68
push 1
push edx
call fcn.00977760
push 1
push 0
xor edx, edx
lea ecx, [esp + 0x20]
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x917c3a
lea eax, [esp + 0x18]
call fcn.0094dd20
xor ecx, ecx
lea edi, [esp + 0x18]
call fcn.0095a6d0
cmp eax, 1
je 0x917c99
mov ecx, 0xaa1543
mov esi, edi
call fcn.0095e7e0
cmp eax, 1
jne 0x917c99
push 0x20
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x917c99
lea ecx, [esp + 0x19]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
lea eax, [esp + 0x1c]
push eax
call fcn.00977760
xor ecx, ecx
lea edi, [esp + 0x18]
call fcn.0095a6d0
cmp eax, 1
jne 0x917c99
mov ecx, edi
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
mov bl, 0x2c
lea edi, [esp + 0x20]
call fcn.0095ae80
add esp, 8
cmp dword [esp + 0x10], 0xffffffff
jne 0x917c08
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
Function at 0x91c950
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1048
call fcn.00a91950
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x1044], eax
push ebx
push ebp
mov ebp, dword [esp + 0x1054]
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0xc55]
push ebx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0xc5c], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x40f
lea ecx, [esp + 0x845]
push ebx
push ecx
mov byte [esp + 0x84c], bl
call fcn.00a7ffb0
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push 1
push ebx
push str.SoftwareMicroWorldFBackupExclude
push 0x80000002
mov dword [esp + 0x2c], 0x400
mov dword [esp + 0x30], 0x410
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, ebx
jne 0x91cba1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x844]
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0xc64]
push eax
push ebx
push ecx
xor edi, edi
mov byte [esp + 0xc70], bl
mov byte [esp + 0x860], bl
mov dword [esp + 0x38], 0x400
mov dword [esp + 0x3c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x91cba1
push 0x40f
lea edx, [esp + 0x435]
push ebx
push edx
mov byte [esp + 0x43c], bl
call fcn.00a7ffb0
add esp, 0xc
push 0x40f
lea eax, [esp + 0x25]
push ebx
push eax
mov byte [esp + 0x2c], bl
call fcn.00a7ffb0
add esp, 0xc
xor eax, eax
jmp 0x91ca80
mov cl, byte [esp + eax + 0x840]
mov byte [esp + eax + 0x430], cl
inc eax
cmp cl, bl
jne 0x91ca80
lea ecx, [esp + 0x430]
push ecx
call fcn.0095ad70
add esp, 4
cmp byte [esp + 0x430], bl
je 0x91cb46
push 1
lea edx, [esp + 0x434]
push edx
call fcn.00977760
push 0x410
lea ebx, [esp + 0x24]
lea esi, [esp + 0x434]
call fcn.00957fa0
add esp, 4
cmp byte [esp + 0x20], 0
jne 0x91caf0
xor eax, eax
mov cl, byte [esp + eax + 0x430]
mov byte [esp + eax + 0x20], cl
inc eax
test cl, cl
jne 0x91cae0
cmp byte [esp + 0x21], 0x3a
je 0x91cb1f
cmp byte [esp + 0x22], 0x5c
je 0x91cb1f
push 0
lea eax, [esp + 0x24]
push eax
push ebp
call fcn.0095c8c0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x91cb97
push ebp
lea ecx, [esp + 0x24]
push ecx
jmp 0x91cb37
lea edx, [esp + 0x20]
push ebp
push edx
call fcn.00a7b8e4
add esp, 8
test eax, eax
je 0x91cb97
push ebp
lea eax, [esp + 0x24]
push eax
call fcn.0095aa90
add esp, 8
xor ebx, ebx
cmp eax, 1
je 0x91cb99
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x844]
push edx
mov edx, dword [esp + 0x1c]
push ebx
push ebx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0xc64]
push ecx
inc edi
push edi
push edx
mov byte [esp + 0xc70], bl
mov byte [esp + 0x860], bl
mov dword [esp + 0x38], 0x400
mov dword [esp + 0x3c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x91ca40
jmp 0x91cba1
xor ebx, ebx
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x91cbb0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1054]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00a78f21
add esp, 0x1048
ret
Function at 0x920cc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb133b0
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x470], ecx
xor ebx, ebx
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x460], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x45c], bl
push 0x207
push ebx
lea edx, [ebp - 0x45b]
push edx
call fcn.00a7ffb0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x468], ebx
mov dword [ebp - 0x460], 1
lea esi, [ebp - 0x12c]
call fcn.009899d0
mov dword [ebp - 0x460], 2
mov eax, esi
push eax
lea ecx, [ebp - 0x234]
push ecx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
call edi
mov ecx, esi
call fcn.00960910
push str.up.avs
mov edx, esi
push edx
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call esi
push 1
push ebx
lea edx, [ebp - 0x468]
lea ecx, [ebp - 0x12c]
call fcn.0095a0f0
add esp, 8
test eax, eax
jne 0x920ee6
cmp dword [ebp - 0x468], ebx
jbe 0x920ee6
mov dword [ebp - 0x460], 4
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x45c]
push ecx
call edi
push ebx
lea ecx, [ebp - 0x45c]
call fcn.00978530
test eax, eax
je 0x920ee6
cmp dword [ebp - 0x254], ebx
je 0x920ee6
mov dword [ebp - 0x460], 5
lea ecx, [ebp - 0x234]
call fcn.00960910
push str.up.dat
lea edx, [ebp - 0x234]
push edx
call esi
mov dword [ebp - 0x460], 6
push 0xab6b18
lea eax, [ebp - 0x234]
push eax
call fcn.00a7932f
add esp, 8
mov esi, eax
cmp esi, ebx
je 0x920ee6
mov dword [ebp - 0x460], 7
push esi
mov ecx, dword [ebp - 0x244]
push ecx
push 1
mov edx, dword [ebp - 0x254]
push edx
call fcn.00a79c96
push esi
call fcn.00a79e9e
add esp, 0x14
mov eax, dword [ebp - 0x254]
push eax
call fcn.00a78fec
add esp, 4
mov dword [ebp - 0x254], ebx
mov dword [ebp - 0x460], 8
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x46c]
push edx
call edi
mov eax, dword [ebp - 0x470]
cmp eax, ebx
je 0x920ed0
lea ecx, [ebp - 0x12c]
push ecx
push eax
call edi
mov dword [ebp - 0x464], 1
mov dword [ebp - 0x460], 9
jmp 0x920f10
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x920f1d
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x464]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
Function at 0x9227f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
sub esp, 0xc
push esi
push edi
push 0x80
push 3
push 3
push 0x80000000
mov edi, eax
call fcn.0094db00
mov edi, eax
add esp, 0x10
mov dword [esp + 0xc], edi
cmp edi, 0xffffffff
je 0x922841
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x92284a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [esp + 0xc]
push eax
call fcn.00985290
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
add esp, 0xc
ret
push 0
push esi
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x922884
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0xc]
push ecx
mov esi, eax
call fcn.00985290
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
add esp, 0xc
ret
push esi
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x9228b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0xc]
push edx
mov esi, eax
call fcn.00985290
lea eax, [esp + 0x10]
jmp 0x922834
push esi
push edi
call fcn.009225d0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea ecx, [esp + 0xc]
push ecx
call fcn.00985290
lea edx, [esp + 0x10]
push edx
call fcn.00985290
pop edi
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x924ec0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb11930
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], eax
mov eax, edi
call fcn.00964530
test eax, eax
je 0x924f9d
mov ebx, dword [ebp + 8]
add ebx, 0x401
push ebx
call fcn.00a7a155
add esp, 4
mov esi, eax
test esi, esi
je 0x924f9d
push 1
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x24], eax
push ebx
push 0
push esi
call fcn.00a7ffb0
add esp, 0xc
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x924f6b
push 0
mov edx, dword [ebp - 0x1c]
push edx
push esi
call fcn.00924be0
add esp, 0xc
mov dword [ebp - 0x20], eax
push 0
push 0
mov eax, dword [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call fcn.00a78fec
add esp, 4
jmp 0x924f9d
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x924fc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb108f8
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], eax
mov eax, edi
call fcn.00964530
test eax, eax
je 0x9250a6
mov ebx, dword [ebp + 8]
add ebx, 0x401
push ebx
call fcn.00a7a155
add esp, 4
mov esi, eax
test esi, esi
je 0x9250a6
push 1
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x24], eax
push ebx
push 0
push esi
call fcn.00a7ffb0
add esp, 0xc
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x925074
mov eax, dword [ebp - 0x1c]
mov ecx, str.EICAR
mov edx, esi
call fcn.0095ce20
cmp eax, 0xffffffff
je 0x925074
mov dword [ebp - 0x20], 1
push 0
push 0
mov edx, dword [ebp - 0x24]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call fcn.00a78fec
add esp, 4
jmp 0x9250a6
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x925550
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0xb108b8
push 0xa847a0
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0xb196ec]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 0x424], ecx
mov dword [ebp - 4], ecx
mov eax, esi
call fcn.00964530
test eax, eax
je 0x92562d
mov dword [ebp - 0x428], ecx
push 1
push ecx
push ecx
push esi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
call edi
mov ebx, eax
push 2
push 0
push 0xfffffc00
push esi
call edi
push 0
lea eax, [ebp - 0x428]
push eax
push 0x400
lea ecx, [ebp - 0x420]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x92560b
mov eax, dword [ebp - 0x428]
mov ecx, str.EICAR
lea edx, [ebp - 0x420]
call fcn.0095ce20
cmp eax, 0xffffffff
je 0x92560b
mov dword [ebp - 0x424], 1
push 0
push 0
push ebx
push esi
call edi
jmp 0x92562d
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret
Function at 0x93c2e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x20c
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x208], eax
push 0x103
lea eax, [esp + 0x109]
push 0
push eax
mov byte [esp + 0x110], 0
call fcn.00a7ffb0
push 0x103
lea ecx, [esp + 0x11]
push 0
push ecx
mov byte [esp + 0x18], 0
call fcn.00a7ffb0
add esp, 0x18
test edi, edi
je 0x93c330
mov byte [edi], 0
call fcn.009686d0
test eax, eax
je 0x93c46e
push esi
xor eax, eax
mov esi, 1
jmp 0x93c350
mov cl, byte [eax + 0xb55508]
mov byte [esp + eax + 4], cl
add eax, esi
test cl, cl
jne 0x93c350
cmp byte [esp + 4], cl
je 0x93c394
lea eax, [esp + 4]
lea ebx, [ebx]
add eax, esi
cmp byte [eax], 0
jne 0x93c370
lea edx, [esp + 4]
sub eax, edx
je 0x93c394
cmp byte [esp + eax + 3], 0x5c
je 0x93c394
push 0xaa1564
mov eax, edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 4]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x93c3a0
mov ecx, dword [str.nvsp.exe]
mov edx, dword [0xae69a8]
mov dword [eax], ecx
mov cl, byte [0xae69ac]
mov dword [eax + 4], edx
mov byte [eax + 8], cl
push 0
push 0
xor edx, edx
lea ecx, [esp + 0xc]
call fcn.0095a0f0
add esp, 8
test eax, eax
je 0x93c46d
cmp dword [0xbfc9d0], 0
jne 0x93c410
mov dword [0xbfc9d0], esi
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x93c410
cmp al, 6
jb 0x93c410
mov dword [0xbfc9d4], esi
call fcn.00968110
neg eax
sbb eax, eax
and eax, 0xc
sub eax, 0xffffff80
jmp 0x93c438
cmp dword [0xbfc9d4], 0
je 0x93c42a
call fcn.00968110
neg eax
sbb eax, eax
and eax, 0xc
sub eax, 0xffffff80
jmp 0x93c438
call fcn.00968110
test eax, eax
jne 0x93c46d
mov eax, 0x7f
push 0
push eax
push str.nvsp.exe
lea esi, [esp + 0x114]
mov ecx, 0xb55508
call fcn.00979600
add esp, 0xc
test eax, eax
jne 0x93c46d
test edi, edi
je 0x93c46d
mov edx, esi
push edx
push str._NVSP__Unable_to_extract_nvsp.exe__Reason:__s
push edi
call fcn.00a78f30
add esp, 0xc
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00a78f21
add esp, 0x20c
ret
Function at 0x943170
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x148
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x144], eax
cmp dword [ebp + 0xc], 0
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
jne 0x943215
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x94321d
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x94321d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x20], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edx
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.00a78f21
mov esp, ebp
pop ebp
ret 0xc
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00a78f21
mov esp, ebp
pop ebp
ret 0xc
Function at 0x943550
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x4c
push ebx
push ebp
push esi
mov esi, eax
push edi
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x943576
mov eax, 0x200
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0x28]
mov edx, eax
xor ebp, ebp
and edx, 1
je 0x943588
mov ebp, 1
test al, 2
je 0x94358f
or ebp, 2
test al, 4
je 0x943596
or ebp, 4
mov ecx, eax
and ecx, 0x10
je 0x9435a0
or ebp, 0x10
test al, 0x20
je 0x9435a7
or ebp, 0x20
test ecx, ecx
je 0x9435b3
or ebp, 0x40000000
jmp 0x9435b9
or ebp, 0x80000000
or ebp, 0x1000000
test edx, edx
jne 0x9435c9
or ebp, 0x800000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x14], eax
cmp eax, 0x28
jbe 0x943677
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 2
lea edx, [esp + 0x1c]
push edx
push esi
call ebx
push 0
push 0
push 0x24
push esi
call edi
push 0
lea eax, [esp + 0x1c]
push eax
push 4
lea ecx, [esp + 0x28]
push ecx
push esi
call ebx
mov edx, 0x54ad
cmp word [esp + 0x10], dx
jne 0x943677
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x34]
cmp dword [esp + 0x14], ecx
jbe 0x943677
push 0
push 0
push eax
push esi
call edi
push 0
lea edx, [esp + 0x1c]
push edx
push 4
lea eax, [esp + 0x2c]
push eax
push esi
call ebx
mov eax, dword [esp + 0x20]
cmp eax, 0x5a4d
je 0x943671
cmp eax, 0x454e
je 0x943671
cmp eax, 0x454c
je 0x943671
cmp eax, 0x4550
jne 0x943677
or ebp, 0x400000
mov eax, dword [esp + 0x60]
test eax, eax
je 0x943681
mov dword [eax], ebp
mov eax, dword [esp + 0x64]
test eax, eax
je 0x94368f
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov esi, dword [esp + 0x68]
test esi, esi
je 0x9436ca
push 0
mov eax, 0x8edc2e80
sub eax, 0xd53e8000
mov ecx, 0x1cad4a4
push 0x989680
sbb ecx, 0x19db1de
push ecx
push eax
mov dword [esp + 0x34], 0
call fcn.00a8a150
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov esi, dword [esp + 0x6c]
test esi, esi
je 0x9436ff
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00943470
movzx eax, word [esp + 0x20]
movzx ecx, word [esp + 0x24]
shl eax, 0x10
add esp, 0x10
or eax, ecx
mov dword [esi], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret
Function at 0x945fe0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x945fe7
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x9460c4
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xaa6af0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0xaa6af0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0xaa6af0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xaa6af0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xaa6af0]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xaa6af0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xaa6af0]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0xaa6af0]
inc ecx
sub edx, 8
sub esi, 1
jne 0x946000
pop edi
test edx, edx
je 0x9460eb
jmp 0x9460d0
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0xaa6af0]
inc ecx
sub edx, 1
jne 0x9460d0
not eax
pop esi
ret