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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
call fcn.004036b0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 1
cmp byte [eax + 0x14], 0
lea eax, [ebp - 0x1c]
je 0x4098a5
push 0xf
push 0xf
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4098a1
push 1
push 0x113
push 0x113
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x4098a1
push eax
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x4098b7
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
setne bl
push 0
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test bl, bl
jne 0x4098cf
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00409790
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a200
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9a9d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x53e200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0xc]
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [edi + 0x24], 0
je 0x40a258
call fcn.004036b0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [edi + 0x24]
jne 0x40a258
mov bl, 1
jmp 0x40a25a
xor bl, bl
test esi, esi
je 0x40a265
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40a2b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9ad5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x53e200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0xc]
mov byte [ebp - 0x39], 0
push esi
mov dword [ebp - 0x40], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
cmp dword [ebx + 0x24], 0
je 0x40a385
call fcn.004036b0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [ebx + 0x24]
je 0x40a385
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call fcn.00404b60
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x40a33c
lock inc dword [edi + 8]
test edi, edi
je 0x40a33c
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x40a33c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.._AV___Func_impl_no_alloc_V__WeakCallback_V___Binder_U_Unforced_std__AAP8MessageLoopProxy_nbase__BEXXZAAPBV34__std___nbase__X__V_std__.0
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0x40a3c0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 0x24]
push eax
call fcn.00402bf0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x40a381
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov byte [ebp - 0x39], 1
test esi, esi
je 0x40a390
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x39], 0
jne 0x40a39e
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c626c
mov esp, ebp
pop ebp
ret
Function at 0x421e50
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa7fc
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x53e200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
je 0x421eaa
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0x520bbc
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.00404dc0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx], vtable.ui::PlaceHolder.1.0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x10]
mov dword [eax + edx + 4], vtable.ui::PlaceHolder.0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00406470
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x20], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], 0
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.00418ff0
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00418ff0
push 0x98967f
push 0x98967f
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00418ff0
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.0041beb0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x54], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x58], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x59], 1
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x5a], 1
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x5b], 1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x5c], 1
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x5d], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x5e], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.00413420
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42e2d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x34]
call fcn.00419210
mov eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
mov dx, word [ebp + 0x14]
mov word [ebp - 0x20], dx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x18], ecx
movss xmm0, dword [ebp + 0x20]
movss dword [ebp - 0x14], xmm0
cmp dword [ebp + 0x18], 0
jne 0x42e31a
mov dword [ebp - 8], 1
jmp 0x42e321
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x1c]
jne 0x42e345
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x20]
call fcn.0040ca20
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
jmp 0x42e351
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xd0]
call eax
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x43d7f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbd25
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x53e200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00406bb0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x43d92b
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x43d8ac
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
je 0x43d8aa
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x43d8aa
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalSize]
shr eax, 1
push eax
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040a810
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040a7a0
mov ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406380
jmp 0x43d925
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x43d925
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
je 0x43d925
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x43d925
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00437770
mov dword [ebp - 4], 1
push 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.00458380
add esp, 0xc
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405590
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c626c
mov esp, ebp
pop ebp
ret
Function at 0x43d950
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x43d967
jmp 0x43d9f5
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x43d979
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x43d9f5
mov ecx, dword [ebp + 8]
call fcn.004061f0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
lea ecx, [eax + eax + 2]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43d9a5
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x43d9f5
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
shl eax, 1
push eax
mov ecx, dword [ebp + 8]
call fcn.004064a0
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004c7ea0
add esp, 0xc
xor edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 4]
push eax
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esp, ebp
pop ebp
ret
Function at 0x4490a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4490b0
xor eax, eax
jmp 0x44924d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x44920e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x51f1b8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x51f1b8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x51f1b8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x51f1b8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x51f1b8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x51f1b8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x51f1b8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x51f1b8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x4490b9
cmp dword [ebp + 0x10], 0
je 0x449247
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x51f1b8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x449214
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x449250
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x51f1b8]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x51f1b8]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x44a120
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x44a16f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44a165
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x44a1c9
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x44a18f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c7ea0
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x463dc0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], ecx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
sub eax, dword [ecx + 0x80]
mov edx, dword [ebp - 0xc]
sbb edx, dword [ecx + 0x84]
mov ecx, eax
call fcn.004c64b0
mulsd xmm0, qword [0x526340]
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x88]
mov edx, dword [ecx + 0x8c]
mov ecx, eax
movsd qword [ebp - 0x18], xmm0
call fcn.004c64b0
movsd xmm1, qword [ebp - 0x18]
divsd xmm1, xmm0
mov ecx, dword [ebp - 4]
addsd xmm1, qword [ecx + 0x20]
mov edx, dword [ebp - 4]
movsd qword [edx + 0x20], xmm1
mov eax, dword [ebp - 4]
add eax, 0x80
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, 0x30
call fcn.0041dd30
movzx ecx, al
test ecx, ecx
je 0x463eca
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x14]
cmp ecx, dword [eax + 0x10]
jle 0x463e75
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x14]
jge 0x463e8e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x14]
cmp eax, dword [edx + 0x10]
jge 0x463eb0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x14]
jg 0x463eb0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x30
call fcn.004647e0
mov ecx, dword [ebp - 4]
call fcn.00463f40
jmp 0x463eca
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x18]
je 0x463eca
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x30
call fcn.004647e0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x18], ecx
mov esp, ebp
pop ebp
ret
Function at 0x465280
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fd4dd
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x53e200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], 0
push 0
push 0
push str.CommonProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x28]
call fcn.00406470
mov dword [ebp - 4], 0
cmp dword [ebp - 0x5c], 0
je 0x46538c
push 0
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004061c0
mov ecx, dword [ebp - 0x5c]
push ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.00406330
push eax
push str.CommonProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0x28]
call fcn.004061b0
movzx edx, al
test edx, edx
jne 0x46538c
lea ecx, [ebp - 0x28]
call fcn.004061f0
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00406330
movzx eax, word [eax]
test eax, eax
jne 0x465360
lea ecx, [ebp - 0x28]
call fcn.004061f0
sub eax, 1
push eax
push 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407910
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040a7d0
lea ecx, [ebp - 0x40]
call fcn.00406380
push str.microsoft_sharedinkTabTip.exe
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00465580
add esp, 0xc
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
push edx
lea ecx, [ebp - 0x28]
call fcn.0040a7d0
lea ecx, [ebp - 0x58]
call fcn.00406380
lea ecx, [ebp - 0x28]
call fcn.004061b0
movzx eax, al
test eax, eax
je 0x4653a8
push str.C:Program_FilesCommon_Filesmicrosoft_sharedinkTabTip.exe
lea ecx, [ebp - 0x28]
call fcn.00406350
push 0xa
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.004064a0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406380
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c626c
mov esp, ebp
pop ebp
ret
Function at 0x47c700
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fea00
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x53e200]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00476f20
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CryptoPP::BaseN_Decoder.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], vtable.CryptoPP::BaseN_Decoder.1.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00476fc0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.004b3d70
lea edx, [ebp + 0xc]
push edx
call fcn.0047d2e0
push eax
push 1
lea eax, [ebp + 8]
push eax
call fcn.0047d210
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0047c2f0
add esp, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
call fcn.0047bff0
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004c0e00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00478150
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x481260
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x53e200]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x448], ecx
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x438], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 0xffffffff
jne 0x4812ad
or eax, 0xffffffff
jmp 0x4813cd
lea eax, [ebp - 0x438]
push eax
mov ecx, dword [ebp - 0x444]
push ecx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4812cd
mov byte [ebp - 0x439], 1
jmp 0x4812d4
mov byte [ebp - 0x439], 0
mov dl, byte [ebp - 0x439]
mov byte [ebp - 0x43b], dl
movzx eax, byte [ebp - 0x43b]
test eax, eax
je 0x4813be
mov ecx, dword [ebp - 0x430]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x440], 0
je 0x481377
push 0x208
lea edx, [ebp - 0x20c]
push edx
push 0
mov eax, dword [ebp - 0x440]
push eax
call sub.KERNEL32.dll_K32GetModuleFileNameExW
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
je 0x48136a
mov ecx, dword [ebp - 0x448]
cmp dword [ecx], 0
je 0x48136a
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x448]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x448]
mov edx, dword [edx]
mov ecx, dword [eax]
mov eax, dword [edx]
call eax
mov ecx, dword [ebp - 0x440]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x438]
push edx
mov eax, dword [ebp - 0x444]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x481397
mov byte [ebp - 0x43a], 1
jmp 0x48139e
mov byte [ebp - 0x43a], 0
mov cl, byte [ebp - 0x43a]
mov byte [ebp - 0x43b], cl
mov edx, dword [ebp - 0x44c]
add edx, 1
mov dword [ebp - 0x44c], edx
jmp 0x4812e0
mov eax, dword [ebp - 0x444]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c626c
mov esp, ebp
pop ebp
ret