joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43aef0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0xa60
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0xa5c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa70]
push edi
mov dword [esp + 0x14], ecx
test esi, esi
je 0x43b0d0
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x43b0d0
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43af30
sub eax, edx
sar eax, 1
add eax, 0xfffffffc
cmp eax, 0x2ee
ja 0x43b0d0
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
push 0x47df94
push esi
lea eax, [esp + 0x270]
push 0x47903c
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x26c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x43b0c9
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43afa0
lea eax, [esp + 0x44]
push 0x47dcbc
push eax
call fcn.0043ec25
add esp, 8
test eax, eax
je 0x43b0a6
lea ecx, [esp + 0x44]
push 0x47dcc0
push ecx
call fcn.0043ec25
add esp, 8
test eax, eax
je 0x43b0a6
push str.SafeRun
lea edx, [esp + 0x26c]
push edx
call edi
test byte [esp + 0x18], 0x10
jne 0x43b037
test eax, eax
je 0x43b037
lea eax, [esp + 0x44]
push eax
push esi
lea ecx, [esp + 0x270]
push 0x47903c
push ecx
call ebp
add esp, 0x10
lea edx, [esp + 0x268]
push edx
call ebx
test eax, eax
jne 0x43b0a6
push 0x80
lea eax, [esp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x268]
push ecx
call ebx
jmp 0x43b0a6
lea edx, [esp + 0x44]
push edx
push esi
lea eax, [esp + 0x270]
push 0x47903c
push eax
call ebp
add esp, 0x10
push str.SafeRun
lea ecx, [esp + 0x26c]
push ecx
call edi
test eax, eax
je 0x43b0a6
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x268]
push edx
call fcn.0043aef0
lea eax, [esp + 0x268]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x43b0a6
push 0x90
lea ecx, [esp + 0x26c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [esp + 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43afa0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0xa6c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043e4c7
add esp, 0xa60
ret 4
Function at 0x43b0f0
Capabilities:
Delete directory
Enumerate files on windows
Set file attributes

Disassembly:
sub esp, 0xa60
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0xa58], eax
push ebx
push ebp
push edi
test esi, esi
je 0x43b2c1
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x43b2c1
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b123
sub eax, edx
sar eax, 1
add eax, 0xfffffffc
cmp eax, 0x2ee
ja 0x43b2c1
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
push 0x47df94
push esi
lea eax, [esp + 0x268]
push 0x47903c
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x43b2ba
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ebx, [ebx]
lea eax, [esp + 0x3c]
push 0x47dcbc
push eax
call fcn.0043ec25
add esp, 8
test eax, eax
je 0x43b297
lea ecx, [esp + 0x3c]
push 0x47dcc0
push ecx
call fcn.0043ec25
add esp, 8
test eax, eax
je 0x43b297
push str.temp
lea edx, [esp + 0x264]
push edx
call edi
test byte [esp + 0x10], 0x10
jne 0x43b227
test eax, eax
je 0x43b227
lea eax, [esp + 0x3c]
push eax
push esi
lea ecx, [esp + 0x268]
push 0x47903c
push ecx
call ebp
add esp, 0x10
lea edx, [esp + 0x260]
push edx
call ebx
test eax, eax
jne 0x43b297
push 0x80
lea eax, [esp + 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x260]
push ecx
call ebx
jmp 0x43b297
lea edx, [esp + 0x3c]
push edx
push esi
lea eax, [esp + 0x268]
push 0x47903c
push eax
call ebp
add esp, 0x10
push str.SafeRun
lea ecx, [esp + 0x264]
push ecx
call edi
test eax, eax
je 0x43b297
lea edx, [esp + 0x260]
push edx
mov ecx, 0x491a48
call fcn.0043aef0
lea eax, [esp + 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x43b297
push 0x90
lea ecx, [esp + 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [esp + 0x260]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43b190
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0xa64]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043e4c7
add esp, 0xa60
ret
Function at 0x43b8b0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push esi
push edi
push 0
push 0
push 3
push 0
push 3
push bind
mov dword [esp + 0x2c], 0
push 0x48803c
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43b916
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 2
sete dl
mov eax, edx
pop edi
pop esi
add esp, 0x14
ret 8
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x14]
push ecx
push 8
lea edx, [esp + 0x24]
push edx
push 0x226022
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x43b952
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x32
lea eax, [edi + 1]
je 0x43b956
mov eax, dword [esp + 8]
pop edi
pop esi
add esp, 0x14
ret 8

Function at 0x43b960
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
call fcn.00439920
lea eax, [esp + 4]
push eax
lea ecx, [esi + 0x18]
push ecx
lea edx, [esp + 0x10]
push edx
push str.szBkavDir
push str.SOFTWAREBkav
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x43b9ad
push str.Get_Bkav_Dir_fail
call fcn.00404c20
add esp, 4
mov eax, esi
add esp, 0xc
ret
Function at 0x43ba30
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x254
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x250], eax
mov eax, dword [esp + 0x258]
push ebx
push ebp
push edi
xor edi, edi
push 0x228
lea ecx, [esp + 0x30]
push edi
push ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x34], edi
call fcn.004416b0
add esp, 0xc
push edi
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [esp + 0xc], edi
cmp edi, 0xffffffff
je 0x43baa4
lea edx, [esp + 0x28]
push edx
push edi
mov dword [esp + 0x30], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x43baab
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x43bbac
lea eax, [esp + 0x4c]
push 0x104
push eax
call fcn.00440edf
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.004403dc
add esp, 0x10
test eax, eax
je 0x43bb89
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov ebx, dword [esp + 0x30]
sub ecx, eax
xor edi, edi
test ecx, 0xfffffff8
jle 0x43bb16
lea ebx, [ebx]
mov edx, dword [esi + 0x10]
sub edx, eax
sar edx, 3
cmp edi, edx
jb 0x43bb01
call fcn.0043f37f
mov eax, dword [esi + 0xc]
cmp dword [eax + edi*8], ebx
je 0x43bb16
mov ecx, dword [esi + 0x10]
sub ecx, eax
inc edi
sar ecx, 3
cmp edi, ecx
jl 0x43baf0
mov ebp, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov eax, ebp
sub eax, edx
sar eax, 3
cmp edi, eax
jl 0x43bb89
xor ecx, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
cmp edx, ecx
je 0x43bb3d
mov ecx, dword [esi + 0x14]
sub ecx, edx
sar ecx, 3
cmp eax, ecx
jae 0x43bb6b
mov eax, dword [esp + 0xc]
mov byte [esp + 0x18], 0
mov edx, dword [esp + 0x18]
push edx
push eax
lea edx, [esp + 0x18]
mov ecx, 1
mov eax, ebp
call fcn.0043c3c0
add esp, 8
add ebp, 8
mov dword [esi + 0x10], ebp
jmp 0x43bb89
cmp edx, ebp
jbe 0x43bb74
call fcn.0043f37f
mov eax, dword [esi]
push ebp
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
mov eax, esi
call fcn.0043c080
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x28]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x43baab
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [esp + 0x25c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043e4c7
add esp, 0x254
ret 4
Function at 0x43be00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x234
mov eax, dword [0x48e050]
xor eax, esp
mov dword [esp + 0x230], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0xc]
push edx
push str.szBkavDir
push str.SOFTWAREBkav
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x208
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push str.SystemARBkavARManager.dll
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.0043f083
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push str.szAntiRansomwarePath:__ws
call fcn.00404c20
add esp, 8
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x43bea6
push str.BkavARManagerStart
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43be99
call eax
push str.End_pfnARStart
jmp 0x43be9e
push str.Function_BkavARInitComInterface_not_export
call fcn.00404c20
add esp, 4
mov ecx, dword [esp + 0x230]
xor ecx, esp
mov eax, 1
call fcn.0043e4c7
add esp, 0x234
ret

Function at 0x43da10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4527db
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x48e050]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 0xc]
mov dword [esi], vtable.BCOM.2.0
mov dword [esi + 4], vtable.BCOM.1.0
mov dword [esi + 8], vtable.BCOM.0
call fcn.0043d9a0
xor edi, edi
lea ecx, [esi + 0x240]
mov dword [esp + 0x18], edi
call fcn.0043b820
push 0x208
lea eax, [esi + 0x38]
push edi
push eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
call fcn.004416b0
add esp, 0xc
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x43e4c7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48e050]
jne 0x43e4d1
repz ret
jmp fcn.004420dc

Function at 0x44b9c9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00445093
and dword [ebp - 4], 0
cmp dword [0x492900], 0
mov ebx, eax
jne 0x44ba7a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44bb2b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x44bb2b
push eax
call fcn.00445021
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x492900], eax
call esi
push eax
call fcn.00445021
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x492904], eax
call esi
push eax
call fcn.00445021
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x492908], eax
call esi
push eax
call fcn.00445021
pop ecx
mov dword [0x492910], eax
test eax, eax
je 0x44ba7a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00445021
pop ecx
mov dword [0x49290c], eax
mov eax, dword [0x49290c]
cmp eax, ebx
je 0x44bad2
cmp dword [0x492910], ebx
je 0x44bad2
push eax
call fcn.0044509c
push dword [0x492910]
mov esi, eax
call fcn.0044509c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x44bad2
test edi, edi
je 0x44bad2
call esi
test eax, eax
je 0x44bac9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44bac9
test byte [ebp - 0xc], 1
jne 0x44bad2
or dword [ebp + 0x10], 0x200000
jmp 0x44bb0b
mov eax, dword [0x492904]
cmp eax, ebx
je 0x44bb0b
push eax
call fcn.0044509c
pop ecx
test eax, eax
je 0x44bb0b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44bb0b
mov eax, dword [0x492908]
cmp eax, ebx
je 0x44bb0b
push eax
call fcn.0044509c
pop ecx
test eax, eax
je 0x44bb0b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x492900]
call fcn.0044509c
pop ecx
test eax, eax
je 0x44bb2b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44bb2d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xa9b100
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx + 0xc]
jb 0xa9b13a
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
cmp dword [ebp + 8], ecx
jb 0xa9b15f
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
cmp dword [ebp - 8], ecx
jle 0xa9b14b
mov eax, dword [ebp + 8]
jmp 0xa9b174
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, 0x28
mov dword [ebp - 4], eax
jmp 0xa9b11e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
sub edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0xaad640
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
xorpd xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
mov eax, dword [0x10095fa0]
or eax, dword [0x10095fa4]
jne 0xaad6a7
push 0x33
call fcn.00aad66d
mov eax, dword [0x10095fa0]
mov dword [ebp - 0xc], eax
mov ecx, dword [0x10095fa4]
mov dword [ebp - 8], ecx
push 0x33
call fcn.00aad6bf
Function at 0xab78c0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
cmp dword [0x10096060], 0
jne 0xab78e3
xor eax, eax
xor edx, edx
jmp 0xab7aaf
lea eax, [ebp + 0x14]
mov dword [ebp - 0x48], eax
cmp dword [ebp + 0x10], 0
jle 0xab7912
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x48]
add edx, 8
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x58], ecx
mov edx, dword [eax - 4]
mov dword [ebp - 0x54], edx
jmp 0xab791b
xorpd xmm0, xmm0
movlpd qword [ebp - 0x58], xmm0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x20], ecx
cmp dword [ebp + 0x10], 0
jle 0xab7950
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
mov eax, dword [ebp - 0x48]
add eax, 8
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx - 8]
mov dword [ebp - 0x68], edx
mov eax, dword [ecx - 4]
mov dword [ebp - 0x64], eax
jmp 0xab7959
xorpd xmm0, xmm0
movlpd qword [ebp - 0x68], xmm0
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x28], edx
cmp dword [ebp + 0x10], 0
jle 0xab798e
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0x48]
add ecx, 8
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx - 8]
mov dword [ebp - 0x60], eax
mov ecx, dword [edx - 4]
mov dword [ebp - 0x5c], ecx
jmp 0xab7997
xorpd xmm0, xmm0
movlpd qword [ebp - 0x60], xmm0
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x38], eax
cmp dword [ebp + 0x10], 0
jle 0xab79cc
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x48]
add edx, 8
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax - 8]
mov dword [ebp - 0x50], ecx
mov edx, dword [eax - 4]
mov dword [ebp - 0x4c], edx
jmp 0xab79d5
xorpd xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x40], ecx
xorpd xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov edx, dword [ebp - 0x48]
add edx, 8
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
sub eax, 8
cdq
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
cdq
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], 0
xor eax, eax
mov word [ebp - 8], ax
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 0xc], esp
and esp, 0xfffffff0
push 0x33
call 0xab7a30
add dword [esp], 5
retf
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00afa554
mov esp, ebp
pop ebp
ret
Function at 0xab7ac0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
cmp dword [ebp + 8], 0
je 0xab7aea
cmp dword [ebp + 0xc], 0
jne 0xab7ae4
cmp dword [ebp + 0x10], 0
je 0xab7aea
cmp dword [ebp + 0x14], 0
jne 0xab7aee
xor al, al
jmp 0xab7b52
mov byte [ebp - 5], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], ecx
push 0x33
call fcn.00ab7b05
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00afa554
mov esp, ebp
pop ebp
ret

Function at 0xab7f50
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
cmp dword [ebp + 8], 0
je 0xab7f7a
cmp dword [ebp + 0xc], 0
jne 0xab7f74
cmp dword [ebp + 0x10], 0
je 0xab7f7a
cmp dword [ebp + 0x14], 0
jne 0xab7f7c
jmp 0xab7fcf
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
push 0x33
call 0xab7f8f
add dword [esp], 5
retf
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00afa554
mov esp, ebp
pop ebp
ret

Function at 0xab8030
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100928f0]
xor eax, ebp
mov dword [ebp - 4], eax
xorpd xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
push 0x33
call 0xab8050
add dword [esp], 5
retf

Function at 0xabfab0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
xor edx, edx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x1505
add eax, esi
mov ecx, eax
sub ecx, esi
push edi
xor edi, edi
cmp esi, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
je 0xabfaf9
mov al, byte [esi]
push eax
call fcn.00accea0
movsx ecx, al
lea esi, [esi + 1]
mov eax, ebx
inc edi
shl eax, 5
add esp, 4
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp edi, dword [ebp + 8]
jb 0xabfad7
pop edi
pop esi
movzx eax, bl
pop ebx
pop ebp
ret

Function at 0xac8b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x71e], 0
je 0xac8bc3
cmp dword [edi + 0x1b0], 0
je 0xac8b8d
push esi
push 1
push edi
call fcn.00abba20
push dword [edi + 0x14c]
mov eax, dword [edi + 0x1b0]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call eax
push 0
push edi
mov esi, eax
call fcn.00abba20
add esp, 0x24
mov eax, esi
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp eax, 2
ja 0xac8bc3
push dword [edi + 0x148]
lea eax, [eax + eax*2]
push 1
add eax, 0x10081650
push 2
push eax
call fcn.00afb1c5
push dword [edi + 0x148]
push 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.00afb1c5
add esp, 0x20
xor eax, eax
pop edi
pop ebp
ret

Function at 0xacb240
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x10]
call fcn.00aae0e0
add esp, 4
mov dword [ebp + 0x10], eax
pop ebp
jmp fcn.00b07272
Function at 0xad0cb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0xad0cce
cmp dword [esi + 0x78], 0
je 0xad0cce
push 2
push 3
push esi
call fcn.00acd4c0
add esp, 0xc
push dword [ebp + 0xc]
call fcn.00ad06b0
add esp, 4
test esi, esi
je 0xad0cee
cmp dword [esi + 0x78], 0
je 0xad0cee
push 3
push esi
call fcn.00acd500
add esp, 8
pop esi
pop ebp
ret
Function at 0xadc870
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call fcn.00affe54
add esp, 0x18
test eax, eax
je 0xadc892
cmp eax, 0xffffffff
jne 0xadc894
xor eax, eax
pop ebp
ret

Function at 0xae2550
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, 0x51eb851f
imul ecx
push ebx
sar edx, 5
push esi
mov esi, dword [ebp + 8]
mov eax, edx
shr eax, 0x1f
push edi
add eax, edx
xor edi, edi
mov ebx, dword [esi + 0xc]
cmp eax, 2
je 0xae258d
push 0x100861ec
push esi
call fcn.00ac8bd0
add esp, 8
lea eax, [edi + 0x11]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp ecx, 0xc8
je 0xae25a4
push ecx
push 0x10086208
push esi
call fcn.00ac8c90
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, 0x13
jne 0xae25bd
push ebx
push esi
call fcn.00ae2210
add esp, 8
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x14
jne 0xae25d2
push esi
call fcn.00ae1240
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x15
jne 0xae25e7
push esi
call fcn.00ae21f0
add esp, 4
mov edi, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x16
jne 0xae25f7
push esi
call fcn.00ae2430
add esp, 4
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0xaf8d20
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x100928cc]
mov edi, eax
add esp, 4
test edi, edi
jne 0xaf8d4d
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0xaf8d94
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0xaf8d9a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0xaf8dfa
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
lea ebx, [ebx]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
dec dword [ebp + 0x10]
jne 0xaf8dc0
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0xaf8e27
nop
mov eax, dword [esi + 4]
push 1
push 0x10089165
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x10089164
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0xaf8e00
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret