joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007ab80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x100fad20
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1012c610]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x10133858]
test eax, eax
jne 0x1007abb4
xor esi, esi
jmp 0x1007abbd
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov dword [esp + 0x14], esi
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x30], 0
test esi, esi
je 0x1007ac07
cmp dword [esi + 0x14], 0
jne 0x1007ac49
cmp dword [esi + 0x10], 0
jne 0x1007ac50
push 0x1007a440
push 0x10133850
call fcn.1007a6d0
mov eax, dword [0x10133858]
add esp, 8
test eax, eax
je 0x1007acfd
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x30], 0xffffffff
test esi, esi
je 0x1007ac35
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1007ac35
mov eax, dword [esi]
mov edx, dword [eax]
push 0
mov ecx, esi
call edx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
cmp dword [esi + 0x10], 0
je 0x1007ac90
nop
mov ebx, dword [esi + 0x10]
mov eax, dword [ebx + 4]
mov dword [esi + 0x10], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x1007ac7e
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebx]
mov edx, dword [edi]
mov eax, dword [edx]
push 0
mov ecx, edi
call eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x10], 0
jne 0x1007ac50
cmp dword [esi + 0x14], 0
je 0x1007abd9
mov edi, dword [esi + 0x14]
mov ecx, dword [edi + 0x10]
mov dword [esi + 0x14], ecx
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1007acb5
mov edx, dword [ecx]
mov eax, dword [edi + 0xc]
mov edx, dword [edx + 4]
push eax
call edx
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x1007ace6
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1007ace6
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
lea ecx, [ebx + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x1007ace6
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
cmp dword [esi + 0x14], 0
jne 0x1007ac9a
jmp 0x1007abd3
lea ecx, [esp + 0x18]
call fcn.1007de06
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], vtable.boost::thread_resource_error.0
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x34], 1
call fcn.1000d450
int3
Function at 0x1007adf0
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x100fad78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1012c610]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x1c]
push ecx
push 4
push eax
push 0x1007ad30
push 0
push 0
call fcn.10082ae7
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x1007ae5b
lea ecx, [esp + 0x10]
call fcn.1007de06
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], vtable.boost::thread_resource_error.0
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x2c], ebx
call fcn.1000d450
mov eax, dword [edi]
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov esi, dword [edi]
mov eax, dword [esi + 8]
test eax, eax
je 0x1007ae7e
cmp eax, 0xffffffff
je 0x1007ae7e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], ebx
mov edx, dword [edi]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x1007bacd
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x101338a0], 0
push esi
push edi
jne 0x1007ba43
call fcn.1007b9af
test eax, eax
je 0x1007ba88
mov eax, dword [0x101338a0]
cmp eax, 1
jne 0x1007ba64
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x1007ba88
jmp 0x1007baca
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x1007baca
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x1007ba8c
xor eax, eax
jmp 0x1007baca
mov eax, dword [esi]
push dword [0x101338a0]
call edi
mov edi, eax
test edi, edi
je 0x1007baae
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x1007baca
lea edi, [esi + 0xff0]
push esi
push dword [0x101338a0]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x1007bab4
mov eax, esi
pop edi
pop esi
ret
jmp 0x1007ba2f

Function at 0x1007dda4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1012c610]
jne 0x1007ddae
repz ret
jmp fcn.10082b87
Function at 0x1009104b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1012c610]
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.100838d2
and dword [ebp - 0x14], 0
cmp dword [0x10134620], 0
mov dword [ebp - 0x18], eax
jne 0x100910fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100911a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100911a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x1010a0cc
push ebx
mov dword [0x10134620], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10134624], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10134628], eax
call edi
push eax
call esi
mov dword [0x10134630], eax
test eax, eax
je 0x100910fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1013462c], eax
mov eax, dword [0x1013462c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10091157
cmp dword [0x10134630], ecx
je 0x10091157
push eax
call esi
push dword [0x10134630]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10091157
test ebx, ebx
je 0x10091157
call edi
test eax, eax
je 0x1009114e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1009114e
test byte [ebp - 8], 1
jne 0x10091157
or dword [ebp + 0x10], 0x200000
jmp 0x1009118a
mov eax, dword [0x10134624]
cmp eax, dword [ebp - 0x18]
je 0x1009118a
push eax
call esi
test eax, eax
je 0x1009118a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1009118a
mov eax, dword [0x10134628]
cmp eax, dword [ebp - 0x18]
je 0x1009118a
push eax
call esi
test eax, eax
je 0x1009118a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10134620]
call esi
test eax, eax
je 0x100911a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100911a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007dda4
leave
ret

Function at 0x10098470
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x1009849d
push esi
push edi
jmp 0x10098480
movzx esi, byte [edx]
movzx esi, byte [esi + 0x1010aea0]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x10098480
pop edi
pop esi
ret
Function at 0x10099000
Capabilities:
Check if file exists
Check os version
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x1012c610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10134a5c]
push ebx
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push edi
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x234], ecx
mov edi, 0x114
cmp eax, ecx
jne 0x1009905c
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], edi
call esi
xor eax, eax
cmp dword [ebp - 0x108], 2
sete al
inc eax
mov dword [0x10134a5c], eax
cmp eax, 2
jne 0x10099068
call fcn.10098680
jmp 0x1009906d
call fcn.10098820
mov ebx, eax
test ebx, ebx
jne 0x10099087
pop edi
pop esi
lea eax, [ebx + 7]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007dda4
mov esp, ebp
pop ebp
ret
mov eax, dword [0x10134a5c]
test eax, eax
jne 0x100990b1
lea ecx, [ebp - 0x22c]
push ecx
mov dword [ebp - 0x22c], edi
call esi
xor eax, eax
cmp dword [ebp - 0x21c], 2
sete al
inc eax
mov dword [0x10134a5c], eax
cmp eax, 2
jne 0x100990fe
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esp, [esp]
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100990e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x234], eax
cmp eax, 5
jne 0x10099142
mov eax, dword [ebp - 0x230]
inc eax
mov dword [ebp - 0x230], eax
cmp eax, 5
jge 0x10099142
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100990c0
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10099126
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x234], eax
cmp eax, 5
jne 0x10099142
mov eax, dword [ebp - 0x230]
inc eax
mov dword [ebp - 0x230], eax
cmp eax, 5
jge 0x10099142
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10099104
push ebx
call fcn.1007e621
add esp, 4
cmp esi, 0xffffffff
jne 0x1009916c
cmp dword [ebp - 0x234], 2
jne 0x1009916c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007dda4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 0xa0a
pop ebx
call fcn.1007dda4
mov esp, ebp
pop ebp
ret
Function at 0x1009f0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 4], eax
mov ecx, edi
test edi, edi
jne 0x1009f10e
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x1009f124
cmp byte [edi], al
je 0x1009f117
inc ecx
cmp byte [ecx], al
jne 0x1009f112
sub ecx, edi
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ecx
test ecx, ecx
jle 0x1009f225
jmp 0x1009f143
mov edi, dword [ebp + 0xc]
cmp esi, 2
jge 0x1009f14b
xor esi, 1
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1009f1ab
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, esi
shl edx, 4
mov edi, dword [edx + eax]
mov dl, byte [ecx]
test dl, dl
je 0x1009f18d
jmp 0x1009f170
movzx eax, byte [edi]
movzx edx, dl
mov dl, byte [edx + 0x1010aea0]
cmp dl, byte [eax + 0x1010aea0]
jne 0x1009f18d
mov dl, byte [ecx + 1]
inc ecx
inc edi
test dl, dl
jne 0x1009f170
movzx ecx, byte [ecx]
movzx edx, byte [edi]
movzx edx, byte [edx + 0x1010aea0]
movzx ecx, byte [ecx + 0x1010aea0]
sub ecx, edx
mov eax, dword [ebp - 4]
jne 0x1009f215
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
add esi, esi
mov esi, dword [eax + esi*8 + 0xc]
cmp dword [esi + 0x10], 0
je 0x1009f1f8
xor eax, eax
mov edx, ebx
mov ecx, edi
test ebx, ebx
jle 0x1009f1ee
jmp 0x1009f1d0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x1010aea0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x1009f1d0
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
xor edx, edx
div dword [esi + 4]
jmp 0x1009f1fa
xor edx, edx
push ebx
push edi
lea eax, [esi + 4]
call fcn.10098500
add esp, 8
test eax, eax
je 0x1009f22c
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
test eax, eax
jne 0x1009f225
mov esi, dword [ebp - 0xc]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, dword [ebp - 0x10]
jl 0x1009f140
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x1009f215
Function at 0x1009f240
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ebp - 8], esi
mov ecx, eax
test eax, eax
jne 0x1009f25d
xor ebx, ebx
mov dword [ebp - 0xc], ebx
jmp 0x1009f275
cmp byte [eax], 0
je 0x1009f268
inc ecx
cmp byte [ecx], 0
jne 0x1009f262
sub ecx, eax
and ecx, 0x3fffffff
mov ebx, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 4]
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
test ecx, ecx
jle 0x1009f357
mov ecx, dword [edx + 8]
mov dword [ebp - 0x10], ecx
push edi
nop
mov ecx, eax
cmp eax, 2
jge 0x1009f29a
xor ecx, 1
mov edx, dword [ebp + 0xc]
shl ecx, 4
add ecx, dword [ebp - 0x10]
mov edi, dword [ecx + 0xc]
test edx, edx
je 0x1009f2ea
mov esi, dword [ecx]
mov cl, byte [edx]
test cl, cl
je 0x1009f2d2
movzx eax, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x1010aea0]
cmp cl, byte [eax + 0x1010aea0]
jne 0x1009f2cf
mov cl, byte [edx + 1]
inc edx
inc esi
test cl, cl
jne 0x1009f2b2
mov eax, dword [ebp - 4]
movzx edx, byte [edx]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x1010aea0]
movzx edx, byte [edx + 0x1010aea0]
sub edx, ecx
jne 0x1009f346
cmp dword [edi + 0x20], 0
lea esi, [edi + 0x14]
je 0x1009f324
mov ecx, dword [ebp + 8]
xor eax, eax
mov edx, ebx
test ebx, ebx
jle 0x1009f31e
mov edi, edi
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x1010aea0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x1009f300
mov ebx, dword [ebp - 0xc]
xor edx, edx
div dword [esi]
jmp 0x1009f326
xor edx, edx
mov eax, dword [ebp + 8]
push ebx
push eax
mov eax, esi
call fcn.10098500
add esp, 8
test eax, eax
je 0x1009f35d
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
test eax, eax
jne 0x1009f356
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x14]
jl 0x1009f290
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 0
jmp 0x1009f343
Function at 0x100a3c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0xc]
lea eax, [esi*8]
push edi
mov edi, dword [ebp + 8]
cmp eax, 0x400
jbe 0x100a3c51
mov esi, 0x80
cmp esi, dword [edi]
jne 0x100a3c5d
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101349a4]
test eax, eax
je 0x100a3c68
call eax
lea ecx, [esi*8]
push ecx
call fcn.100a3310
mov esi, eax
mov eax, dword [0x101349a8]
add esp, 4
mov dword [ebp - 4], esi
test eax, eax
je 0x100a3c88
call eax
test esi, esi
je 0x100a3c55
mov edx, dword [edi + 0xc]
push ebx
push edx
call fcn.100974a0
push esi
mov dword [edi + 0xc], esi
call dword [0x1012d98c]
mov ebx, eax
shr ebx, 3
lea eax, [ebx*8]
push eax
push 0
push esi
mov dword [ebp + 0xc], ebx
mov dword [edi], ebx
call fcn.1007f900
mov ecx, dword [edi + 8]
add esp, 0x14
mov dword [edi + 8], 0
test ecx, ecx
je 0x100a3d6d
nop
mov edx, dword [ecx + 0x10]
mov esi, dword [ecx + 0xc]
xor eax, eax
test edx, edx
jle 0x100a3d01
lea esp, [esp]
movzx edi, byte [esi]
movzx edi, byte [edi + 0x1010aea0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc esi
test edx, edx
jg 0x100a3ce0
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
xor edx, edx
div ebx
mov eax, dword [ebp - 4]
lea eax, [eax + edx*8]
test eax, eax
je 0x100a3d49
mov esi, dword [eax]
test esi, esi
je 0x100a3d1f
mov edx, dword [eax + 4]
jmp 0x100a3d21
xor edx, edx
inc esi
mov dword [eax], esi
mov dword [eax + 4], ecx
test edx, edx
je 0x100a3d49
mov dword [ecx], edx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 4]
test eax, eax
je 0x100a3d41
mov dword [eax], ecx
mov dword [edx + 4], ecx
jmp 0x100a3d62
mov dword [edi + 8], ecx
mov dword [edx + 4], ecx
jmp 0x100a3d62
mov edx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [edi + 8]
test eax, eax
je 0x100a3d58
mov dword [eax + 4], ecx
mov dword [ecx + 4], 0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 8]
test ecx, ecx
jne 0x100a3cd0
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100ac3d0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1012c610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10c]
push ecx
push 0x104
push eax
push edx
mov dword [ebp - 0x114], 0x200
call fcn.100ac230
add esp, 0x10
test eax, eax
jne 0x100ac4d2
push esi
lea ecx, [ebp - 0x10c]
call fcn.10098f80
mov esi, eax
test esi, esi
je 0x100ac4a9
push edi
call fcn.10098620
test eax, eax
mov eax, esi
je 0x100ac467
cmp word [esi], 0
je 0x100ac44c
cmp word [eax], 0x5c
je 0x100ac447
add eax, 2
cmp word [eax], 0
jne 0x100ac436
jmp 0x100ac44c
xor ecx, ecx
mov word [eax], cx
lea edx, [ebp - 0x110]
push edx
mov eax, edx
push eax
lea ecx, [ebp - 0x114]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x100ac499
cmp byte [esi], 0
je 0x100ac480
lea esp, [esp]
cmp byte [eax], 0x5c
je 0x100ac47d
inc eax
cmp byte [eax], 0
jne 0x100ac470
jmp 0x100ac480
mov byte [eax], 0
lea eax, [ebp - 0x110]
push eax
mov ecx, eax
push ecx
lea edx, [ebp - 0x114]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
push esi
mov edi, eax
call fcn.1007e621
add esp, 4
test edi, edi
pop edi
jne 0x100ac4bd
mov eax, 0x200
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007dda4
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x114]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007dda4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x114]
xor ecx, ebp
call fcn.1007dda4
mov esp, ebp
pop ebp
ret
Function at 0x100ade40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x100ade50
xor eax, eax
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, 0x44
call fcn.100a3720
mov edi, eax
test edi, edi
jne 0x100ade6a
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx]
push eax
push ecx
push esi
call fcn.100a7530
mov edx, dword [ebp + 0x10]
mov dword [edi], eax
mov eax, dword [ebx + 8]
push edx
push eax
push esi
call fcn.100adc00
mov ecx, dword [ebp + 0x10]
push 0
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
push ecx
push eax
push esi
call fcn.100b5d80
mov edx, dword [ebp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
push edx
push eax
push esi
call fcn.100a7530
mov ecx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
push ecx
push eax
push esi
call fcn.100b5d80
mov edx, dword [ebp + 0x10]
add esp, 0x44
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
push edx
push eax
push esi
call fcn.100a7530
mov edx, dword [ebp + 0x10]
mov dword [edi + 0x18], eax
mov cl, byte [ebx + 4]
mov byte [edi + 4], cl
mov eax, dword [ebx + 0x1c]
push edx
push eax
push esi
call fcn.100ade40
mov ecx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x28]
push ecx
push eax
push esi
call fcn.100b5d80
mov edx, dword [ebp + 0x10]
push 0
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x2c]
push edx
push eax
push esi
call fcn.100b5d80
mov dword [edi + 0x2c], eax
xor eax, eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov cx, word [ebx + 6]
mov edx, 0xfff7
and cx, dx
add esp, 0x38
mov dword [edi + 0x24], eax
or eax, 0xffffffff
mov word [edi + 6], cx
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100ae8a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x100aea45
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100ae8c3
cmp dword [esi + 0x1e8], 0
jne 0x100ae8d2
mov eax, 0xffff
add word [ebx + 0x20], ax
jne 0x100aea44
push edi
mov edi, dword [ebx + 0x10]
mov dword [ebp - 8], edi
test edi, edi
je 0x100ae9a5
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0xc], ecx
test esi, esi
je 0x100ae8f8
cmp dword [esi + 0x1e8], 0
jne 0x100ae983
mov ecx, dword [edi]
mov eax, ecx
test ecx, ecx
jne 0x100ae905
mov dword [ebp - 4], ecx
jmp 0x100ae920
cmp byte [ecx], 0
je 0x100ae916
lea ebx, [ebx]
inc eax
cmp byte [eax], 0
jne 0x100ae910
sub eax, ecx
and eax, 0x3fffffff
mov dword [ebp - 4], eax
mov esi, dword [edi + 0x24]
cmp dword [esi + 0x14], 0
je 0x100ae959
mov edx, dword [ebp - 4]
xor eax, eax
cmp edx, eax
jle 0x100ae950
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x1010aea0]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x100ae932
mov edi, dword [ebp - 8]
xor edx, edx
div dword [esi + 0x14]
mov ebx, edx
jmp 0x100ae95b
xor ebx, ebx
mov edx, dword [ebp - 4]
mov eax, dword [edi]
push edx
push eax
mov edx, ebx
lea eax, [esi + 0x14]
call fcn.10098500
add esp, 8
test eax, eax
je 0x100ae97d
mov edx, ebx
lea ecx, [esi + 0x14]
call fcn.100985a0
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x1c]
push eax
push esi
call fcn.10097540
push edi
push esi
call fcn.10097540
mov edi, dword [ebp - 0xc]
add esp, 0x10
mov dword [ebp - 8], edi
test edi, edi
jne 0x100ae8e1
push ebx
mov eax, esi
call fcn.100a8e60
push ebx
mov edi, esi
call fcn.100a8410
mov ecx, dword [ebx]
push ecx
push esi
call fcn.10097540
mov edx, dword [ebx + 0x28]
push edx
push esi
call fcn.10097540
mov edi, dword [ebx + 0x1c]
add esp, 0x18
test edi, edi
je 0x100ae9e3
push edi
push esi
call fcn.100a01d0
push edi
push esi
call fcn.10097540
add esp, 0x10
mov eax, dword [ebx + 0x2c]
push eax
push esi
call fcn.100a7470
add esp, 8
test esi, esi
je 0x100ae9fd
cmp dword [esi + 0x1e8], 0
jne 0x100aea09
push 0
mov edi, ebx
call fcn.100a0c20
add esp, 4
cmp dword [ebx + 0x3c], 0
je 0x100aea39
xor edi, edi
cmp dword [ebx + 0x38], edi
jle 0x100aea2c
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx + edi*4]
push edx
push esi
call fcn.10097540
inc edi
add esp, 8
cmp edi, dword [ebx + 0x38]
jl 0x100aea16
mov eax, dword [ebx + 0x3c]
push eax
push esi
call fcn.10097540
add esp, 8
push ebx
push esi
call fcn.10097540
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret