joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401d00
Capabilities:
Create process on windows
Delete service
Query service status
Stop service

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebp, eax
test ebp, ebp
je 0x401ddb
push 0xf01ff
push str.NpBkpSrv
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x401dd4
push 0x40d4f4
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x401d9d
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call esi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0x40d4f4
push edi
call ebx
test eax, eax
je 0x401d8c
lea ebx, [ebx]
cmp dword [0x40d4f8], 3
jne 0x401d8c
push 0x3e8
call esi
push 0x40d4f4
push edi
call ebx
test eax, eax
jne 0x401d70
cmp dword [0x40d4f8], 1
jne 0x401d9d
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x401dcd
call fcn.00401df0
mov ecx, dword [0x40d548]
push str.Np_Data_Protection_Service_Uninstall_Successfully
call fcn.00403540
add esp, 4
push 0
push str.fltmc_unload_BkpDrv
call dword [sym.imp.KERNEL32.dll_WinExec]
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x401df0
Capabilities:
Query service status

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push esi
lea eax, [esp + 8]
push eax
push 0x24
lea ecx, [esp + 0x14]
push ecx
xor esi, esi
push esi
push edi
call ebx
test eax, eax
je 0x401e7a
push ebp
mov ebp, 1
cmp dword [esp + 0x14], ebp
je 0x401e79
push str.YourServiceName
push str.Stopping__s..._n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
lea edx, [esp + 0x10]
push edx
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x401e79
cmp dword [esp + 0x14], ebp
je 0x401e79
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ecx]
push 0x3e8
call ebp
lea eax, [esp + 0xc]
push eax
push 0x24
lea ecx, [esp + 0x18]
push ecx
push 0
push edi
inc esi
call ebx
test eax, eax
je 0x401e79
cmp dword [esp + 0x14], 1
je 0x401e79
cmp esi, 0xe
jle 0x401e50
pop ebp
pop esi
pop ebx
add esp, 0x28
ret

Function at 0x402060
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402077
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4020a8
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x4020a4
cmp esi, eax
jae 0x4020a8
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x402094
cmp esi, eax
jb 0x4020ae
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x403000
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x210
mov eax, dword [0x40d018]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push ebp
push edi
push 0x208
xor ebp, ebp
push ebp
push esi
call sub.MSVCR90.dll_memset
push 0x208
lea eax, [esi + 0x208]
push ebp
push eax
call sub.MSVCR90.dll_memset
push 0x208
lea edi, [esi + 0x410]
push ebp
push edi
call sub.MSVCR90.dll_memset
push 0x208
lea ecx, [esi + 0x618]
push ebp
push ecx
call sub.MSVCR90.dll_memset
push 0x208
lea edx, [esi + 0xa28]
push ebp
push edx
call sub.MSVCR90.dll_memset
push 0x208
lea eax, [esi + 0xc30]
push ebp
push eax
call sub.MSVCR90.dll_memset
add esp, 0x48
push 0x104
lea ebx, [esi + 0x820]
push ebp
push ebx
mov dword [esi + 0xe54], ebp
mov dword [esi + 0xe58], ebp
mov dword [esi + 0xe5c], ebp
call sub.MSVCR90.dll_memset
push 0x409b80
mov edx, ebx
call fcn.00403690
push 0x206
lea edx, [esp + 0x26]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x2c], cx
call sub.MSVCR90.dll_memset
mov eax, edi
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x4030d1
mov ebx, dword [sym.imp.MSVCR90.dll_wcscat_s]
sub eax, edx
sar eax, 1
jne 0x403103
push ebp
push 0x23
push edi
push ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x409c30
push 0x104
push edi
call ebx
add esp, 0xc
push edi
lea eax, [esp + 0x14]
push 0x104
push eax
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
push str.NPAV_DBG.ini
lea ecx, [esp + 0x20]
push 0x104
push ecx
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0x18
lea edx, [esp + 0x10]
push edx
push ebp
push str.npbkpsrv
push 0x409bd8
call edi
test eax, eax
jne 0x403162
lea eax, [esp + 0x10]
push eax
push ebp
push str.npbkpsrv.exe
push 0x409bd8
call edi
test eax, eax
jne 0x403162
mov dword [esi + 0xe38], ebp
jmp 0x40316c
mov dword [esi + 0xe38], 1
lea ecx, [esi + 0xe3c]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [esp + 0x218]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, esi
call fcn.00407c9c
add esp, 0x210
ret
Function at 0x4031a0
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x210
mov eax, dword [0x40d018]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x208]
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4031c3
sub eax, edx
sar eax, 1
jne 0x40327b
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x16]
push ecx
mov word [esp + 0x18], ax
call sub.MSVCR90.dll_memset
add esp, 0xc
add esi, 0x410
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403200
sub eax, edx
sar eax, 1
push edi
mov edi, dword [sym.imp.MSVCR90.dll_wcscat_s]
jne 0x403235
push 0
push 0x23
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x409c30
push 0x104
push esi
call edi
add esp, 0xc
push esi
lea edx, [esp + 0x14]
push 0x104
push edx
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
push str.ZVPath.ini
lea eax, [esp + 0x20]
push 0x104
push eax
call edi
add esp, 0x18
lea ecx, [esp + 0x10]
push ecx
push 0x104
push ebx
push 0x409c18
push str.ZVPATH
push str.ZVPATH
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
pop edi
mov ecx, dword [esp + 0x214]
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00407c9c
add esp, 0x210
ret

Function at 0x4032a0
Capabilities:
Get common file path

Disassembly:
push ecx
push esi
push edi
lea edi, [edx + 0xa28]
mov eax, edi
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4032b0
sub eax, esi
sar eax, 1
jne 0x40332d
lea esi, [edx + 0x410]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4032d0
sub eax, edx
sar eax, 1
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll_wcscat_s]
jne 0x403305
push 0
push 0x23
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x409c30
push 0x104
push esi
call ebx
add esp, 0xc
push esi
push 0x104
push edi
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push str.NPDATAPROT.INI
push 0x104
push edi
call ebx
add esp, 0xc
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x403340
Capabilities:
Get common file path

Disassembly:
push ecx
push esi
push edi
lea edi, [edx + 0xc30]
mov eax, edi
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403350
sub eax, esi
sar eax, 1
jne 0x4033cd
lea esi, [edx + 0x410]
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x403370
sub eax, edx
sar eax, 1
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll_wcscat_s]
jne 0x4033a5
push 0
push 0x23
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x409c30
push 0x104
push esi
call ebx
add esp, 0xc
push esi
push 0x104
push edi
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
push str.NPARC.INI
push 0x104
push edi
call ebx
add esp, 0xc
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x4036b0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x20c
mov eax, dword [0x40d018]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
xor eax, eax
push 0x206
push eax
lea edx, [esp + 0xe]
xor ecx, ecx
push edx
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov word [esp + 0x10], cx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea esi, [esp + 4]
call fcn.00403850
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov ecx, esi
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov edx, esi
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
test eax, eax
jne 0x403741
push 0x409cd4
lea eax, [edi + 0x10]
push 0x104
push eax
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00407c9c
add esp, 0x20c
ret
lea ecx, [esp]
push ecx
push str._sPPH2.DLL
lea edx, [edi + 0x10]
call fcn.00403690
mov ecx, dword [esp + 0x210]
add esp, 8
xor ecx, esp
mov eax, edi
call fcn.00407c9c
add esp, 0x20c
ret

Function at 0x403770
Capabilities:
Check if file exists

Disassembly:
push edi
lea edi, [esi + 0x10]
push edi
mov dword [esi + 0xc], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4037de
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
test eax, eax
je 0x4037de
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetPrivateProfileStringEncW
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi]
push str.WritePrivateProfileStringEncW
push eax
call edi
cmp dword [esi + 8], 0
mov dword [esi + 4], eax
je 0x4037c7
test eax, eax
je 0x4037c7
mov dword [esi + 0xc], 1
mov eax, dword [esi + 0xc]
pop edi
ret
mov ecx, dword [esi]
push ecx
mov dword [esi + 8], 0
mov dword [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi + 0xc]
pop edi
ret

Function at 0x403850
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x41c
mov eax, dword [0x40d018]
xor eax, esp
mov dword [esp + 0x418], eax
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x21e]
push ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0x104
mov word [esp + 0x220], ax
call sub.MSVCR90.dll_memset
mov edx, dword [str.ZVpath]
mov eax, dword [0x409d40]
mov ecx, dword [0x409d44]
push 0x1fa
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov dx, word [0x409d48]
lea eax, [esp + 0x2a]
push 0
push eax
mov dword [esp + 0x2c], ecx
mov word [esp + 0x30], dx
call sub.MSVCR90.dll_memset
mov edi, dword [sym.imp.MSVCR90.dll_wcscpy_s]
push 0x409370
lea ecx, [esp + 0x230]
push 0x104
push ecx
call edi
push 0x409370
lea edx, [esp + 0x23c]
push 0x104
push edx
call edi
add esp, 0x30
lea eax, [esp + 8]
push eax
push esi
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x224]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [esp + 0x41c]
test eax, eax
sete al
pop edi
xor ecx, esp
call fcn.00407c9c
add esp, 0x41c
ret
Function at 0x404d40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x864
mov eax, dword [0x40d018]
xor eax, esp
mov dword [esp + 0x85c], eax
xor eax, eax
push 0x7fe
push eax
lea ecx, [esp + 0x62]
push ecx
mov word [esp + 0x64], ax
call sub.MSVCR90.dll_memset
push esi
lea edx, [esp + 0x68]
push 0x400
push edx
call dword [sym.imp.MSVCR90.dll_wcscpy_s]
push 0x44
lea eax, [esp + 0x2c]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0x24
xor eax, eax
xor ecx, ecx
lea edx, [esp]
push edx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
push ecx
push ecx
push 0x8000000
push ecx
push ecx
push ecx
mov word [esp + 0x60], cx
lea ecx, [esp + 0x78]
push ecx
push 0
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x64], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x404de7
mov edx, dword [esp]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x85c]
xor ecx, esp
call fcn.00407c9c
add esp, 0x864
ret

Function at 0x405fc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.004056f9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004056ae
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
mov byte [ebp - 0x3dc], 0x8a
mov byte [ebp - 0x3db], 0x82
mov byte [ebp - 0x3da], 0x8b
mov byte [ebp - 0x3d9], 0xaf
mov byte [ebp - 0x3d8], 0xee
lea eax, [ebp - 0x3ec]
push eax
call fcn.004056f9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004056ae
add esp, 0xc
mov dword [ebp - 0x340], eax
call fcn.004056e9
cmp ch, byte [esi - 0x3a]
enter 0xffffffffffffa580, 0xffffffffffffffcc
cli
invalid

Function at 0x407c9c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d018]
jne 0x407ca6
repz ret
jmp fcn.004080fe
Function at 0x9dfe90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x582000]
push edi
jmp 0x9dfeaa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9dfeb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9dfea0
mov eax, 1
add ebx, ebx
jne 0x9dfec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9dfed4
jne 0x9dfef3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9dfef3
dec eax
add ebx, ebx
jne 0x9dfee0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x9dfeb8
add ebx, ebx
jne 0x9dfeef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9dff45
xor ecx, ecx
sub eax, 3
jb 0x9dff0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9dff7a
sar eax, 1
mov ebp, eax
jmp 0x9dff16
add ebx, ebx
jne 0x9dff16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9dfee4
inc ecx
add ebx, ebx
jne 0x9dff24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9dfee4
add ebx, ebx
jne 0x9dff31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9dff26
jne 0x9dff42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9dff26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9dff64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9dff56
jmp 0x9dfea6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9dff64
add edi, ecx
jmp 0x9dfea6
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9dff82
cmp byte [edi], 0x11
jne 0x9dff82
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x9dff87
lea edi, [esi + 0x5d8000]
mov eax, dword [edi]
or eax, eax
je 0x9dffff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xada3a4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xada520]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9dffb4
mov ecx, edi
jns 0x9dffe3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xada524]
or eax, eax
je 0x9dfff9
mov dword [ebx], eax
add ebx, 4
jmp 0x9dffd1
call dword [esi + 0xada534]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9e0030
cmp al, 0xef
ja 0x9e0023
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x9e0005
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x9e0012
mov ebp, dword [esi + 0xada528]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x9e0064
sub esp, 0xffffff80
jmp 0x420577
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x3a074aa2
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0xcc974db
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x40250f
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, 2
mov esi, ecx
push edi
call fcn.0047bf8f
add esp, 4
push esi
push 0x49e270
push eax
call fcn.00402556
add esp, 0xc
push edi
call fcn.0047bf8f
add esp, 4
push 0x49e273
push eax
call fcn.00402556
add esp, 8
call fcn.004025a2
push 1
call fcn.00484ed1

Function at 0x4026ed
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 8]
lea edi, [ebp + 0xc]
mov ebx, 2
mov dword [ebp - 0x10], edi
push ebx
call fcn.0047bf8f
add esp, 4
push edi
push esi
push eax
call fcn.0040276a
add esp, 0xc
push ebx
call fcn.0047bf8f
add esp, 4
push 0x49e273
push eax
call fcn.00402556
add esp, 8
push 1
call fcn.00484ed1
int3
Function at 0x40d776
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov ecx, dword [ecx + 8]
cmp ecx, 0xffffffff
je 0x40d792
mov edx, dword [esi + 4]
mov edi, dword [ebp + 0xc]
mov eax, edx
add eax, edi
jae 0x40d79d
xor ebx, ebx
mov eax, ebx
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov bl, 1
test edi, edi
je 0x40d794
mov edi, ecx
sub edi, edx
cmp edi, dword [ebp + 0xc]
mov edi, dword [ebp + 0xc]
jae 0x40d7e8
test ecx, ecx
mov edi, 0x100
cmovne edi, ecx
cmp edi, eax
jae 0x40d7d4
xor ecx, ecx
dec ecx
mov edx, edi
xor edx, ecx
cmp edi, edx
lea edi, [edi + edi]
mov edx, ecx
cmovb edx, edi
cmp edx, eax
jb 0x40d7c0
jmp 0x40d7d6
mov edx, edi
mov ecx, esi
push edx
call fcn.00402e0c
test al, al
je 0x40d792
mov edx, dword [esi + 4]
mov edi, dword [ebp + 0xc]
add edx, dword [esi]
push edi
push dword [ebp + 8]
push edx
call fcn.0047a880
add esp, 0xc
add dword [esi + 4], edi
jmp 0x40d794

Function at 0x410f70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
xor eax, eax
lea edi, [ebp - 0x1c]
mov ebx, 4
mov esi, ecx
dec eax
mov dword [edi], esp
mov dword [edi + 0xc], eax
mov dword [edi + 8], 0x411eb0
mov eax, dword fs:[0]
mov dword [edi + 4], eax
lea eax, [edi + ebx]
mov dword fs:[0], eax
call fcn.0040eef6
mov eax, dword [ebp + 8]
mov dword [esi], vtable.std::__1::__stdinbuf_char_.0
lea ecx, [ebp - 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x28], eax
xor eax, eax
add ebx, esi
dec eax
mov dword [esi + 0x30], eax
mov byte [esi + 0x34], 0
push ebx
call fcn.004212ec
mov eax, dword [esi]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x24], esi
mov ecx, esi
mov eax, dword [eax + 4]
mov dword [edi + 0xc], 0
push edx
call eax
lea ecx, [ebp - 0x20]
call fcn.0041239a
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x24]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x411020
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
lea edi, [ebp - 0x1c]
mov ebx, 4
mov esi, ecx
mov dword [edi], esp
mov dword [edi + 0xc], 0xffffffff
mov dword [edi + 8], 0x411ec0
mov eax, dword fs:[0]
mov dword [edi + 4], eax
lea eax, [edi + ebx]
mov dword fs:[0], eax
call fcn.0040f0fa
mov eax, dword [ebp + 8]
mov dword [esi], vtable.std::__1::__stdinbuf_wchar_t_.0
add ebx, esi
lea ecx, [ebp - 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x28], eax
mov word [esi + 0x30], 0xffff
mov byte [esi + 0x32], 0
push ebx
call fcn.004212ec
mov eax, dword [esi]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x24], esi
mov ecx, esi
mov eax, dword [eax + 4]
mov dword [edi + 0xc], 0
push edx
call eax
lea ecx, [ebp - 0x20]
call fcn.0041239a
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x24]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x411a80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x18
mov dword [esp], ecx
lea ecx, [esp + 0x10]
mov eax, dword [0x4b9170]
xor eax, ebp
mov dword [esp + 0x10], eax
xor eax, eax
mov edi, dword [esp]
dec eax
mov dword [ecx - 4], eax
mov dword [ecx - 8], eax
mov dword [esp + 4], 0xffffffff
lea edx, [esp + 4]
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x10]
push edx
push dword [edi + 0x28]
call dword [eax + 0x10]
mov esi, dword [esp + 4]
mov ebx, eax
lea eax, [esp + 8]
sub esi, eax
push dword [edi + 0x20]
push esi
push 1
push eax
call fcn.0048b35d
add esp, 0x10
cmp eax, esi
jne 0x411b0e
cmp ebx, 1
je 0x411aaa
cmp ebx, 2
mov esi, 0xffffffff
je 0x411b11
mov eax, dword [esp]
push dword [eax + 0x20]
call fcn.0048af0e
add esp, 4
neg eax
sbb esi, esi
jmp 0x411b11
xor esi, esi
dec esi
mov ecx, dword [esp + 0x10]
xor ecx, ebp
call fcn.004771d1
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x411b30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ecx + 0x2c], 0
je 0x411b54
push dword [ecx + 0x20]
push esi
push 1
push eax
call fcn.0048b35d
add esp, 0x14
jmp 0x411b83
test esi, esi
jle 0x411b7c
xor edi, edi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
mov ebx, eax
movzx eax, byte [eax + edi]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
cmp eax, 0xffffffff
je 0x411b7e
inc edi
mov eax, ebx
cmp esi, edi
jne 0x411b5d
mov edi, esi
jmp 0x411b7e
xor edi, edi
mov eax, edi
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret 8