joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100aa160
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
lea ecx, [ebp - 0x24]
push dword [ebp + 8]
call fcn.100ac5f0
add esp, 4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp edx, 0x80000000
je 0x100aa1b4
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x30]
push 1
call fcn.100ad0d0
add esp, 4
mov edi, dword [ebp - 0x18]
cmp edi, 0x80000000
jne 0x100aa1c1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [esi], eax
mov dword [esi + 4], ecx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x14]
push 0
push ebx
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x100aa1da
mov byte [esi], 4
test edi, edi
jne 0x100aa1ea
jmp 0x100aa1b9
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [esi], 0
mov dword [esi + 4], eax
test edi, edi
je 0x100aa1b9
add edi, edi
push 2
push edi
push ebx
call fcn.100218b0
add esp, 0x30
jmp 0x100aa1bc

Function at 0x100aa200
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push dword [ebp + 0x10]
call fcn.100ac5f0
add esp, 4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
cmp edx, 0x80000000
je 0x100aa258
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x30]
push 1
call fcn.100ad0d0
add esp, 4
mov edi, dword [ebp - 0x18]
cmp edi, 0x80000000
jne 0x100aa267
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [esi], eax
mov dword [esi + 4], ecx
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp - 0x14]
push ebx
call dword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x100aa27e
mov byte [esi], 4
test edi, edi
jne 0x100aa28e
jmp 0x100aa25d
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [esi], 0
mov dword [esi + 4], eax
test edi, edi
je 0x100aa25d
add edi, edi
push 2
push edi
push ebx
call fcn.100218b0
add esp, 0xc
jmp 0x100aa25d
Function at 0x100aaad0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, ecx
mov ecx, dword [ebp + 0xc]
cmp dword [ebp + 0x10], 0
mov edi, edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x103
je 0x100aab14
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
xor eax, eax
mov ebx, 1
jmp 0x100aab1a
xor ebx, ebx
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
mov dword [esp + 0x18], ebx
push 0
push edx
push ecx
push dword [ebp + 8]
push eax
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x100aab56
push 0xffffffffffffffff
push edi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
cmp eax, 0x103
je 0x100aab78
test eax, eax
js 0x100aab62
mov eax, dword [esp + 0xc]
mov bl, 4
jmp 0x100aab6b
xor ebx, ebx
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov dword [esi + 4], eax
mov byte [esi], bl
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 4]
mov dword [esp + 0x18], 0x1015a630
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
push ecx
push edx
call fcn.100a34a0
add esp, 0xc
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
call fcn.1009ea60
mov ecx, 7
int 0x29
ud2

Function at 0x100aabe0
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov ebx, 0x17
cmp word [eax], 0
mov eax, 2
cmove ebx, eax
push 0x81
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ws2_32.dll_WSASocketW]
cmp eax, 0xffffffff
je 0x100aac25
mov dword [esi + 4], eax
mov byte [esi], 4
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
cmp eax, 0x2726
je 0x100aac39
cmp eax, 0x2739
jne 0x100aac64
push 1
push 0
push 0
push 0
push edi
push ebx
call dword [sym.imp.ws2_32.dll_WSASocketW]
cmp eax, 0xffffffff
je 0x100aac6c
mov edi, eax
push 0
push 1
push eax
call dword [sym.imp.kernel32.dll_SetHandleInformation]
test eax, eax
je 0x100aac7d
mov dword [esi + 4], edi
jmp 0x100aac1b
mov byte [esi], 0
mov dword [esi + 4], eax
jmp 0x100aac1e
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov dword [esi + 4], eax
mov dword [esi], 0
jmp 0x100aac1e
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 4], eax
mov dword [esi], 0
push edi
call dword [sym.imp.ws2_32.dll_closesocket]
jmp 0x100aac1e
Function at 0x100ab6e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x100ae690
lea eax, [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
movzx eax, byte [0x10180e99]
push 4
push 8
call fcn.100218a0
add esp, 8
test eax, eax
je 0x100ab7c2
mov esi, eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [esi], ebx
mov dword [esi + 4], ecx
push 0
push 0x10000
push esi
push 0x100ab840
push eax
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
test eax, eax
je 0x100ab75d
mov dword [edi + 4], eax
mov byte [edi], 4
jmp 0x100ab7af
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], eax
push eax
mov dword [ebp - 0x20], ecx
call dword [ecx]
add esp, 4
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp + 8]
mov eax, dword [ecx + 4]
test eax, eax
je 0x100ab794
push dword [ecx + 8]
push eax
push dword [ebp - 0x24]
call fcn.100218b0
add esp, 0xc
push 4
push 8
push dword [ebp - 0x28]
call fcn.100218b0
add esp, 0xc
call dword [sym.imp.kernel32.dll_GetLastError]
mov byte [edi], 0
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edi
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
push 8
push 4
call fcn.10113cc0
add esp, 8
ud2
Function at 0x100abd80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, esp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], esp
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x34], 0x100ae6e0
lea eax, [esi + 0x30]
mov ecx, dword fs:[0]
mov dword [esi + 0x30], ecx
mov dword fs:[0], eax
movq xmm0, qword [0x10181070]
movd ecx, xmm0
pshufd xmm0, xmm0, 0x55
movd edx, xmm0
mov eax, ecx
or eax, edx
jne 0x100abe09
mov eax, esi
mov dword [esi + 4], 0
mov dword [esi], 0
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x100abeb1
mov ecx, dword [esi]
mov edx, dword [esi + 4]
movq xmm0, qword [esi]
mov eax, ecx
movq qword [0x10181070], xmm0
or eax, edx
je 0x100abea7
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], eax
push edx
push ecx
push dword [ebp + 0xc]
push eax
mov ebx, ecx
mov dword [esi + 0x1c], ecx
call fcn.1010cbf0
mov edi, edx
mov dword [esi + 0x14], eax
mul ebx
imul ecx, edi, 0x3b9aca00
imul edi, ebx
mov ebx, dword [esi + 0x14]
add edi, edx
mov dword [esi + 0x18], ecx
mov ecx, dword [ebp + 0xc]
mov edx, ebx
imul edx, dword [esi + 0x10]
add edi, edx
sub dword [esi + 0xc], eax
mov edx, 0x3b9aca00
mov eax, ebx
sbb ecx, edi
mul edx
mov edi, eax
mov eax, dword [esi + 0xc]
mov ebx, edx
mov edx, 0x3b9aca00
imul ecx, ecx, 0x3b9aca00
add ebx, dword [esi + 0x18]
mul edx
add edx, ecx
push dword [esi + 0x10]
push dword [esi + 0x1c]
push edx
push eax
call fcn.1010cbf0
add edi, eax
adc edx, ebx
push 0
push 0x3b9aca00
push edx
push edi
call fcn.1010cbf0
imul ecx, eax, 0x3b9aca00
sub edi, ecx
mov ecx, dword [esi + 0x30]
mov dword fs:[0], ecx
mov ecx, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x10159e30
call fcn.10114320
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x38], 0
lea eax, [esi + 0x20]
push 0x1015ab38
push 0x10158e4c
push eax
push 0x2b
push 0x10158e5c
call fcn.10114160
add esp, 0x14
ud2
Function at 0x100ad8a0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1b8
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
movzx eax, word [eax + 8]
mov word [ebp - 0xe], ax
mov eax, dword [0x10181064]
cmp eax, 3
jne 0x100ad990
lea eax, [ebp - 0xe]
cmp ebx, 0x17f
mov dword [ebp - 0x18], eax
ja 0x100ad9a7
lea esi, [ebp - 0x1c4]
push ebx
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [ebp + ebx - 0x1c4], 0
inc ebx
lea eax, [ebp - 0x24]
push ebx
push esi
push eax
call fcn.100b97d0
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x100ad92c
mov eax, dword [0x10159c68]
mov esi, dword [ebp + 8]
mov ecx, dword [0x10159c6c]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi], 1
jmp 0x100ad9b8
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x44]
movups xmmword [ebp - 0x44], xmm0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x3c], 1
push ecx
push edx
push 0
push eax
call dword [sym.imp.ws2_32.dll_getaddrinfo]
mov esi, dword [ebp + 8]
test eax, eax
je 0x100ad979
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
mov ecx, 1
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov dword [esi], ecx
jmp 0x100ad9b8
mov eax, dword [ebp - 0x14]
movzx ecx, word [ebp - 0xe]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
xor eax, eax
mov word [esi + 0xc], cx
mov dword [esi], eax
jmp 0x100ad9b8
call fcn.101132c0
lea eax, [ebp - 0xe]
cmp ebx, 0x17f
mov dword [ebp - 0x18], eax
jbe 0x100ad8df
lea eax, [ebp - 0x18]
mov ecx, esi
mov edx, edi
push eax
push ebx
call fcn.10113360
add esp, 8
mov eax, esi
add esp, 0x1b8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100c00c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x100c0118
lea edi, [edx + eax*2]
xor ebx, ebx
movzx esi, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea eax, [ebx + esi]
jne 0x100c0110
cmp ebx, eax
ja 0x100c0186
cmp eax, dword [ebp + 0x10]
ja 0x100c0192
add ebx, dword [ebp + 0xc]
nop word cs:[eax + eax]
nop
test esi, esi
je 0x100c0112
dec esi
cmp byte [ebx], cl
lea ebx, [ebx + 1]
jne 0x100c0100
jmp 0x100c016f
ja 0x100c0118
cmp edx, edi
mov ebx, eax
jne 0x100c00d2
mov edx, dword [ebp + 0x18]
test edx, edx
je 0x100c0173
mov esi, dword [ebp + 0x14]
movzx ecx, cx
mov al, 1
add edx, esi
nop dword [eax]
movzx ebx, byte [esi]
lea edi, [esi + 1]
test bl, bl
js 0x100c0150
mov esi, edi
sub ecx, ebx
jns 0x100c0167
jmp 0x100c0175
cmp edi, edx
je 0x100c017c
movzx edi, byte [esi + 1]
and ebx, 0x7f
add esi, 2
shl ebx, 8
or ebx, edi
sub ecx, ebx
js 0x100c0175
xor al, 1
cmp esi, edx
jne 0x100c0130
jmp 0x100c0175
xor eax, eax
jmp 0x100c0175
mov al, 1
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x1015d4b0
call fcn.10113de0
push 0x1015d4c0
push eax
push ebx
call fcn.10114210
push 0x1015d4c0
push dword [ebp + 0x10]
push eax
call fcn.101141f0

Function at 0x100c2730
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push esi
imul esi, dword [esp + 0xc], 0x2c
push edi
add esi, dword [0x10181430]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebp, [eax*2 + 5]
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
jne 0x100c2772
pop edi
pop esi
mov eax, 0xa
pop ebp
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x100c2798
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100c27b9
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x100c27b9
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x100c27b3
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x100c27b9
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push ebp
push edi
call dword [sym.imp.kernel32.dll_VirtualProtect]
push ebp
push edi
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov byte [esi + 0x14], bl
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x100c2850
Capabilities:
Enumerate threads

Disassembly:
sub esp, 0x20
mov eax, dword [0x10180e00]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebx, ebx
push ebx
push 4
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x100c2966
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x1c
push eax
push ebp
call sub.kernel32.dll_Thread32First
test eax, eax
je 0x100c295f
mov ebx, 1
push edi
nop dword [eax + eax]
cmp dword [esp + 0x10], 0x10
jb 0x100c2920
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
cmp dword [esp + 0x1c], eax
jne 0x100c2920
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp dword [esp + 0x18], eax
je 0x100c2920
mov edx, dword [esi]
test edx, edx
jne 0x100c28eb
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10180f3c]
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100c2946
lea edi, [esi + 8]
jmp 0x100c2915
mov eax, dword [esi + 4]
lea edi, [esi + 8]
cmp dword [edi], eax
jb 0x100c2915
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x10180f3c]
call dword [sym.imp.kernel32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100c2946
mov dword [esi], edx
mov ecx, dword [edi]
mov eax, dword [esp + 0x18]
mov dword [edx + ecx*4], eax
inc dword [edi]
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x1c
push eax
push ebp
call sub.kernel32.dll_Thread32Next
test eax, eax
jne 0x100c28a0
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x12
je 0x100c295e
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x100c295e
push eax
push ebx
push dword [0x10180f3c]
call dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esi], ebx
pop edi
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x28]
mov eax, ebx
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1010cbd8
add esp, 0x20
ret

Function at 0x100c29b0
Capabilities:
Suspend thread

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100c2850
add esp, 4
test eax, eax
jne 0x100c29dd
mov eax, 9
pop esi
ret
cmp dword [esi], 0
je 0x100c2a2e
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x100c2a29
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.kernel32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100c2a21
push ebx
call dword [sym.imp.kernel32.dll_SuspendThread]
push ebp
push dword [esp + 0x1c]
push ebx
call fcn.100c2da0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x100c29f0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x100c2f20
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
push edi
xor ebp, ebp
call fcn.100c2800
cmp dword [0x10180f3c], ebp
je 0x100c2fb7
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x100c2f74
xor esi, esi
cmp dword [0x10181438], esi
jbe 0x100c2fbc
push ebx
mov bl, byte [esp + 0x18]
shl bl, 2
xor edi, edi
mov edx, dword [0x10181430]
lea edi, [edi + 0x2c]
inc esi
mov cl, byte [edx + edi - 0x18]
xor cl, bl
and cl, 4
xor byte [edx + edi - 0x18], cl
cmp esi, dword [0x10181438]
jb 0x100c2f52
pop ebx
jmp 0x100c2fbc
mov esi, dword [0x10181438]
xor eax, eax
test esi, esi
je 0x100c2f94
mov edi, dword [0x10181430]
mov ecx, edi
cmp edx, dword [ecx]
je 0x100c2f9b
inc eax
add ecx, 0x2c
cmp eax, esi
jb 0x100c2f88
mov ebp, 4
jmp 0x100c2fbc
cmp eax, 0xffffffff
je 0x100c2f94
mov cl, byte [esp + 0x14]
imul edx, eax, 0x2c
shl cl, 2
xor cl, byte [edx + edi + 0x14]
and cl, 4
xor byte [edx + edi + 0x14], cl
jmp 0x100c2fbc
mov ebp, 2
xor ecx, ecx
mov eax, 0x10180f38
xchg dword [eax], ecx
pop edi
pop esi
mov eax, ebp
pop ebp
ret

Function at 0x100c2fd0
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi], 0
je 0x100c3028
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x100c3017
push ebx
push ebp
mov ebp, dword [sym.imp.kernel32.dll_ResumeThread]
nop word [eax + eax]
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.kernel32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100c300f
push ebx
call ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x100c2ff0
pop ebp
pop ebx
push dword [edi]
push 0
push dword [0x10180f3c]
call dword [sym.imp.kernel32.dll_HeapFree]
pop esi
pop edi
ret

Function at 0x100c3030
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x1018142c]
test eax, eax
je 0x100c304c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x100c30a2
mov eax, dword [eax]
test eax, eax
jne 0x100c3040
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
test eax, eax
je 0x100c309f
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x100c3075
mov ecx, dword [0x1018142c]
mov dword [eax], ecx
mov dword [0x1018142c], eax
pop edi
pop esi
test eax, eax
jne 0x100c30a2
xor eax, eax
ret
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
Function at 0x100c3470
Capabilities:
Check for software breakpoints

Disassembly:
mov edx, dword [esp + 4]
push esi
mov cl, byte [edx]
test cl, cl
je 0x100c3485
cmp cl, 0x90
je 0x100c3485
cmp cl, 0xcc
jne 0x100c34a3
mov esi, dword [esp + 0xc]
mov eax, 1
cmp esi, eax
jbe 0x100c349c
cmp byte [eax + edx], cl
jne 0x100c34a3
inc eax
cmp eax, esi
jb 0x100c3492
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x100d8ee0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx + 0xe0], 0
jg 0x100d8f04
push 0x703
push str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [ebx + 0xe0]
lea edx, [esp + 8]
mov ebx, dword [ebx + 0xe8]
push esi
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10147368]
sub esi, 1
jne 0x100d8f20
mov eax, dword [0x10180f98]
not ebx
pop esi
cmp dword [eax + 0x3e5c], ebx
jne 0x100d8f5b
push 0
push dword [esp + 0xc]
push 4
push ebx
call fcn.100d5190
add esp, 0x10
mov eax, ebx
pop ebx
ret 4

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

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push edi
cmp dword [esi + 0xe0], 0
jg 0x100d8f98
push 0x703
push str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov edi, 0x10
movss xmm1, dword [esi + 0xfc]
movss xmm2, dword [esi + 0x100]
mov ecx, dword [esi + 0xe0]
movss xmm0, dword [eax]
subss xmm0, xmm1
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [esi + 0xe8]
subss xmm0, xmm2
lea esi, [esp + 8]
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x14], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10147368]
sub edi, 1
jne 0x100d9002
pop edi
not edx
pop esi
mov eax, edx
add esp, 0x10
ret 4
Function at 0x100d9360
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
cmp edi, 8
ja 0x100d9489
test byte [esi], 2
jne 0x100d9489
cmp dword [esi + 0x468], 0xffffffff
jne 0x100d939b
push 0x8be
push str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0._third_party_imgui_master_imgui_imgui_draw.cpp
push str.PackIdMouseCursors____1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
push dword [esi + 0x468]
mov ecx, esi
call fcn.100d8db0
lea edx, [edi + edi*2]
movss xmm2, dword [edx*8 + 0x10144328]
movss xmm4, dword [edx*8 + 0x1014432c]
movzx ecx, word [eax + 4]
movzx eax, word [eax + 6]
pop edi
movd xmm5, ecx
movd xmm3, eax
mov eax, dword [esp + 0x10]
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm3, xmm3
addss xmm5, dword [edx*8 + 0x10144320]
addss xmm3, dword [edx*8 + 0x10144324]
movss dword [eax + 4], xmm4
movss dword [eax], xmm2
mov ecx, dword [edx*8 + 0x10144330]
mov edx, dword [edx*8 + 0x10144334]
movaps xmm1, xmm5
mov eax, dword [esp + 0xc]
addss xmm4, xmm3
movaps xmm0, xmm3
mov dword [eax], ecx
mov dword [eax + 4], edx
mulss xmm1, dword [esi + 0x2c]
mov eax, dword [esp + 0x14]
mulss xmm0, dword [esi + 0x30]
movss dword [eax], xmm1
movaps xmm1, xmm2
movss dword [eax + 4], xmm0
addss xmm1, xmm5
addss xmm5, dword [0x1015176c]
movaps xmm0, xmm4
mulss xmm0, dword [esi + 0x30]
mulss xmm1, dword [esi + 0x2c]
movss dword [eax + 0xc], xmm0
movaps xmm0, xmm5
addss xmm5, xmm2
movss dword [eax + 8], xmm1
mulss xmm0, dword [esi + 0x2c]
mov eax, dword [esp + 0x18]
mulss xmm3, dword [esi + 0x30]
movss dword [eax], xmm0
movss dword [eax + 4], xmm3
mulss xmm5, dword [esi + 0x2c]
mulss xmm4, dword [esi + 0x30]
pop esi
movss dword [eax + 8], xmm5
movss dword [eax + 0xc], xmm4
mov al, 1
ret 0x14
pop edi
xor al, al
pop esi
ret 0x14