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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572505
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5c4680]
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 0x409795
call fcn.00406610
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, dword [ebx + 0x24]
je 0x409795
lea eax, [ebp - 0x48]
mov ecx, ebx
push eax
call fcn.00401820
mov edi, dword [ebp - 0x44]
test edi, edi
je 0x40974c
lock inc dword [edi + 8]
test edi, edi
je 0x40974c
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x40974c
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], 0x4097d0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebx + 0x24]
push eax
call fcn.00405b60
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x409791
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 0x4097a0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x39], 0
jne 0x4097ae
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.005313f0
mov esp, ebp
pop ebp
ret
Function at 0x41c3f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
cmp dword [0x5cd494], 0
je 0x41c449
mov ecx, dword [0x5cd494]
push ecx
call fcn.00455260
add esp, 4
mov dword [0x5cd494], 0
mov ecx, dword [ebp + 0x10]
call fcn.00402360
push eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00455140
add esp, 0xc
mov dword [0x5cd494], eax
cmp dword [0x5cd494], 0
je 0x41c479
mov dword [ebp - 0x10], 1
jmp 0x41c480
mov dword [ebp - 0x10], 0
movzx eax, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x42e420
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573fec
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5c4680]
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 0x42e47a
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0x5a9f50
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.00401ab0
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.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.1.0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00403d60
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.00418090
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00418090
push 0x98967f
push 0x98967f
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00418090
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.0041b0f0
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.00412430
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 0x430dc0
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.004182b0
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 0x430e0a
mov dword [ebp - 8], 1
jmp 0x430e11
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x1c]
jne 0x430e35
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x20]
call fcn.0040b980
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
jmp 0x430e41
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 0x441380
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574da5
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5c4680]
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.004043f0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4414bb
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x44143c
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xffffffff
je 0x44143a
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 0x44143a
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.00407de0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call fcn.00407d70
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.00403c70
jmp 0x4414b5
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4414b5
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
je 0x4414b5
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 0x4414b5
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.0042e3b0
mov dword [ebp - 4], 1
push 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.004555b0
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.00402270
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.005313f0
mov esp, ebp
pop ebp
ret
Function at 0x4414e0
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 0x4414f7
jmp 0x441585
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x441509
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x441585
mov ecx, dword [ebp + 8]
call fcn.0041a9b0
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 0x441535
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x441585
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.00403d90
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00533470
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 0x4507f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x450800
xor eax, eax
jmp 0x45099d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x45095e
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 + 0x5a6ba8]
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 + 0x5a6ba8]
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 + 0x5a6ba8]
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 + 0x5a6ba8]
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 + 0x5a6ba8]
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 + 0x5a6ba8]
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 + 0x5a6ba8]
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 + 0x5a6ba8]
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 0x450809
cmp dword [ebp + 0x10], 0
je 0x450997
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 + 0x5a6ba8]
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 0x450964
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x4509a0
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 + 0x5a6ba8]
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 + 0x5a6ba8]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x451aa0
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 0x451aef
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 0x451ae5
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x451b49
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 0x451b0f
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.00533470
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 0x4536b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4536cb
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0xffffffff
je 0x4536d5
mov eax, 0x1000000
jmp 0x4537fb
mov edx, dword [ebp - 0x10]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0x244
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov ax, word [edx]
mov word [ebp - 0xa], ax
add dword [ebp - 0x14], 2
cmp word [ebp - 0xa], 0
jne 0x4536fe
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x24]
sar ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + edx*2 + 0x242]
mov word [ebp - 8], cx
movzx edx, word [ebp - 8]
cmp edx, 0x5c
je 0x45376f
movzx eax, word [ebp - 8]
cmp eax, 0x2f
je 0x45376f
mov ecx, dword [ebp - 0x10]
add ecx, 0x242
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov ax, word [edx + 2]
mov word [ebp - 0xc], ax
add dword [ebp - 0x18], 2
cmp word [ebp - 0xc], 0
jne 0x45374e
mov edi, dword [ebp - 0x18]
mov ecx, dword [0x5a85ac]
mov dword [edi], ecx
cmp dword [ebp + 0x10], 1
jne 0x4537b3
push 1
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
je 0x453797
mov dword [ebp - 0x1c], 1
jmp 0x45379e
mov dword [ebp - 0x1c], 0
mov al, byte [ebp - 0x1c]
mov byte [ebp - 1], al
movzx ecx, byte [ebp - 1]
test ecx, ecx
jne 0x4537b3
mov eax, 0x2000000
jmp 0x4537fb
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00451760
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4537d9
mov eax, dword [ebp - 0x30]
jmp 0x4537fb
mov eax, dword [ebp - 0x20]
push eax
call fcn.00451fb0
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0
jne 0x4537f9
mov eax, 0x200
jmp 0x4537fb
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x470590
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.00531670
mulsd xmm0, qword [0x5ade10]
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.00531670
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.0041cfb0
movzx ecx, al
test ecx, ecx
je 0x47069a
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov ecx, dword [edx + 0x14]
cmp ecx, dword [eax + 0x10]
jle 0x470645
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp eax, dword [edx + 0x14]
jge 0x47065e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x14]
cmp eax, dword [edx + 0x10]
jge 0x470680
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
cmp edx, dword [ecx + 0x14]
jg 0x470680
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.00470fb0
mov ecx, dword [ebp - 4]
call fcn.00470710
jmp 0x47069a
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x18]
je 0x47069a
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 4]
add ecx, 0x30
call fcn.00470fb0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x18], ecx
mov esp, ebp
pop ebp
ret
Function at 0x471a60
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5767dd
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5c4680]
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.00403d60
mov dword [ebp - 4], 0
cmp dword [ebp - 0x5c], 0
je 0x471b6c
push 0
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00403ab0
mov ecx, dword [ebp - 0x5c]
push ecx
push 0
lea ecx, [ebp - 0x28]
call fcn.00403c20
push eax
push str.CommonProgramW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [ebp - 0x28]
call fcn.00403aa0
movzx edx, al
test edx, edx
jne 0x471b6c
lea ecx, [ebp - 0x28]
call fcn.0041a9b0
sub eax, 1
push eax
lea ecx, [ebp - 0x28]
call fcn.00403c20
movzx eax, word [eax]
test eax, eax
jne 0x471b40
lea ecx, [ebp - 0x28]
call fcn.0041a9b0
sub eax, 1
push eax
push 0
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00407d00
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x60]
push edx
lea ecx, [ebp - 0x28]
call fcn.00407da0
lea ecx, [ebp - 0x40]
call fcn.00403c70
push str.microsoft_sharedinkTabTip.exe
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00471d60
add esp, 0xc
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
push edx
lea ecx, [ebp - 0x28]
call fcn.00407da0
lea ecx, [ebp - 0x58]
call fcn.00403c70
lea ecx, [ebp - 0x28]
call fcn.00403aa0
movzx eax, al
test eax, eax
je 0x471b88
push str.C:Program_FilesCommon_Filesmicrosoft_sharedinkTabTip.exe
lea ecx, [ebp - 0x28]
call fcn.00403c40
push 0xa
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00403d90
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.00403c70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005313f0
mov esp, ebp
pop ebp
ret
Function at 0x4784e0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x478568
push 0x10000
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x478558
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x478540
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x47856a
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x47856a
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x47856a
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x478800
Capabilities:
Create service

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x478883
push 0x57c924
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x1c]
push eax
push 0xf01ff
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x478873
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
jmp 0x478885
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x478885
xor eax, eax
mov esp, ebp
pop ebp
ret 0x18