joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bb10
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x40bb3d
xor ecx, ecx
jmp 0x40bb49
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x40bbfd
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x40bb70
mov dword [esp + 0xc], esi
jmp 0x40bbd0
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x40bbc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40bbbc
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x40bbd0
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x40bbd0
push 0x4a01b8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x40bbd0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x40bbf3
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x40bb62
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x40bc11
mov ecx, dword [ebx]
add ecx, 8
call fcn.0040bea0
test eax, eax
je 0x40bc11
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x40bc20
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x49548b
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4aeb00]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.0045fc70
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x40bcb8
push 0x4aa32c
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.0046021e
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x40c090
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.0045fd00
mov eax, dword [0x4aeb00]
xor eax, ebp
mov dword [ebp - 8], eax
mov ax, word [0x4964c4]
mov word [ebp - 0x4008], ax
push 0x3ffe
push 0
lea ecx, [ebp - 0x4006]
push ecx
call fcn.0045fc70
add esp, 0xc
mov dword [ebp - 0x400c], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x40c0e7
cmp dword [ebp + 0xc], 0
jne 0x40c0ee
xor eax, eax
jmp 0x40c1e2
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x400c], eax
cmp dword [ebp - 0x400c], 0
je 0x40c116
cmp dword [ebp - 0x400c], 0x3fff
jbe 0x40c11d
xor eax, eax
jmp 0x40c1e2
lea ecx, [ebp - 0x4008]
push ecx
mov edx, dword [ebp - 0x400c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40c1e0
lea ecx, [ebp - 0x4014]
push ecx
lea edx, [ebp - 0x4010]
push edx
push 0x4964c8
lea eax, [ebp - 0x4008]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40c1e0
mov ecx, dword [ebp + 0x10]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.0045fc70
add esp, 0xc
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x4964cc
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov eax, 1
jmp 0x40c1e2
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0045fcea
mov esp, ebp
pop ebp
ret

Function at 0x40c4a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40c4c8
xor eax, eax
jmp 0x40c4e4
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x412ab0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4aeb00]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.00412870
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00412a50
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x412b1b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.004128a0
mov eax, dword [ebp - 0x224]
jmp 0x412bac
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x412b81
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00412ab0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x412b78
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.004128a0
mov eax, dword [ebp - 0x228]
jmp 0x412bac
mov dword [ebp - 4], 0x100
jmp 0x412b22
lea ecx, [ebp - 0x14]
call fcn.00412990
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00412930
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.004128a0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0045fcea
mov esp, ebp
pop ebp
ret 4
Function at 0x4131a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x4131a9
xor ecx, ecx
jne 0x4131a9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4131ca
mov eax, 0xd
jmp 0x413225
xor eax, eax
jne 0x4131b1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x4131db
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8

Function at 0x414730
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x41474a
xor al, al
jmp 0x4147ea
cmp dword [ebp + 0xc], 0
jne 0x414757
xor al, al
jmp 0x4147ea
cmp dword [ebp + 0x10], 0
jne 0x414764
xor al, al
jmp 0x4147ea
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x41477a
xor al, al
jmp 0x4147ea
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4147a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
xor al, al
jmp 0x4147ea
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00460df0
add esp, 0xc
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4147e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
xor al, al
jmp 0x4147ea
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x431130
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491c11
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4aeb00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
call fcn.0042f110
mov dword [ebp - 0x10], eax
push 1
push 1
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x4312d8
cmp dword [0x4b0778], 0
je 0x4311d0
push 1
mov ecx, dword [0x4b0778]
mov edx, dword [ecx]
mov ecx, dword [0x4b0778]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [0x4b0778]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
je 0x4311bf
push 1
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x14]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x30], eax
jmp 0x4311c6
mov dword [ebp - 0x30], 0
mov dword [0x4b0778], 0
cmp dword [0x4b0754], 0
je 0x431227
push 1
mov ecx, dword [0x4b0754]
mov edx, dword [ecx]
mov ecx, dword [0x4b0754]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [0x4b0754]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x431216
push 1
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x34], eax
jmp 0x43121d
mov dword [ebp - 0x34], 0
mov dword [0x4b0754], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.0040c680
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00417080
mov ecx, eax
call fcn.00414d60
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0
push 0
call fcn.004305e0
push eax
call fcn.0040dae0
push str.Starting_initialize_thread
call fcn.00449ce0
add esp, 4
push 0x10
call fcn.0046047b
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0
je 0x431296
mov edx, dword [ebp - 0x2c]
add edx, 0x60
push edx
mov ecx, dword [ebp - 0x28]
call fcn.0042f970
mov dword [ebp - 0x38], eax
jmp 0x43129d
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
mov dword [0x4b0754], ecx
mov edx, dword [0x4b0754]
mov eax, dword [edx]
mov ecx, dword [0x4b0754]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [0x4b0754]
mov edx, dword [eax]
mov ecx, dword [0x4b0754]
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x437350
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret 0x18

Function at 0x437380
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop ebp
ret 4

Function at 0x442780
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4931ac
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push esi
mov eax, dword [0x4aeb00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
push 0
mov eax, dword [ebp + 8]
add eax, 0xc
push eax
lea ecx, [ebp - 0x94]
call fcn.00418fa0
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x9c]
call fcn.00419000
push eax
push 0x1f
mov edx, dword [ebp + 0xc]
add edx, 0xc
push edx
call fcn.0043a890
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00418fd0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x4c]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x50]
mov dword [eax + 0x30], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x54]
mov dword [eax + 0x34], edx
mov dword [ebp - 0x10], 0
jmp 0x44285a
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xf3
jae 0x442879
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [esi + eax*4 + 0x58]
mov dword [edx + ecx*4 + 0x38], eax
jmp 0x442851
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x445790
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x4aeb00]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24c], ecx
cmp dword [ebp + 8], 0
jne 0x4457ba
cmp dword [ebp + 0xc], 0
jne 0x4457ba
jmp 0x445930
mov dword [ebp - 4], 0
mov dword [ebp - 0x244], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0xffffffff
jne 0x4457e8
jmp 0x445930
mov dword [ebp - 0x240], 0
push 0x228
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.0045fc70
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea ecx, [ebp - 0x240]
push ecx
mov edx, dword [ebp - 0x244]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x44583b
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x445930
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x238]
je 0x445908
mov dword [ebp - 0x248], 0
cmp dword [ebp + 8], 0
je 0x44588b
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.00462447
add esp, 8
test eax, eax
jne 0x44588b
mov dword [ebp - 0x248], 1
cmp dword [ebp + 0xc], 0
je 0x4458b2
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x21c]
push edx
call fcn.00462447
add esp, 8
test eax, eax
jne 0x4458b2
mov dword [ebp - 0x248], 1
cmp dword [ebp - 0x248], 0
je 0x445908
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.__d__Process32First_Find_th32ProcessID:_d__szExeFile:_s
call fcn.00449ce0
add esp, 0x10
mov edx, dword [ebp - 0x238]
push edx
mov ecx, dword [ebp - 0x24c]
call fcn.00445ac0
test eax, eax
je 0x445908
mov eax, dword [ebp - 0x238]
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00446450
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x244]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44584b
mov ecx, dword [ebp - 0x244]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045fcea
mov esp, ebp
pop ebp
ret 0xc

Function at 0x445b80
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push str.Global7F4B17DD_4CB8_4737_B64E_FAE0A0B7E6F3
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x445ba5
xor eax, eax
jmp 0x445be4
mov eax, dword [ebp - 8]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 4
call fcn.004461e0
mov edx, dword [ebp - 8]
add edx, 0x1c
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x445be2
mov eax, 1
jmp 0x445be4
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x445dc0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493611
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4aeb00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x445e09
mov eax, 1
jmp 0x445f3c
mov ecx, dword [ebp - 0x38]
add ecx, 0x1c
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 4
call fcn.004461e0
mov eax, dword [ebp - 0x38]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x445f26
lea ecx, [ebp - 0x2c]
call fcn.00446330
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.00445790
lea ecx, [ebp - 0x2c]
call fcn.00446400
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.__d__check_exists__d_instances.
call fcn.00449ce0
add esp, 0xc
mov dword [ebp - 0x30], 0
jmp 0x445e9c
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x2c]
call fcn.00446400
cmp dword [ebp - 0x30], eax
jae 0x445f04
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00446420
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.__d__Check_version_of_processId:_d
call fcn.00449ce0
add esp, 0xc
mov ecx, dword [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00446420
mov edx, dword [eax]
push edx
call fcn.0040c530
add esp, 4
test eax, eax
je 0x445f02
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.__d_Kill_old_service_success__i_will_continue_to_run.
call fcn.00449ce0
add esp, 8
mov dword [ebp - 0x14], 1
jmp 0x445e93
xor eax, eax
cmp dword [ebp - 0x14], 0
sete al
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004463a0
mov eax, dword [ebp - 0x34]
jmp 0x445f3c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.__d__no_instance_exists__i_wil_run.
call fcn.00449ce0
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x44a680
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493a05
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x4aeb00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x42c], ecx
mov eax, dword [ebp - 0x42c]
mov dword [eax], vtable.CSmartLogger.0
mov ecx, dword [ebp - 0x42c]
add ecx, 4
call fcn.00414540
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x42c]
add ecx, 0x20
call fcn.0044b580
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x42c]
add ecx, 0x38
call fcn.00414990
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x42c]
mov dword [ecx + 0x3c], 1
push 0x498af8
push 0
call fcn.00463c8d
add esp, 8
xor edx, edx
mov word [ebp - 0x424], dx
push 0x206
push 0
lea eax, [ebp - 0x422]
push eax
call fcn.0045fc70
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x424]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x208
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.0045fc70
add esp, 0xc
push 0x498afc
lea ecx, [ebp - 0x424]
push ecx
lea edx, [ebp - 0x21c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [0x4b1438], eax
push str.LogComputerZService.log
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x424]
push edx
lea ecx, [ebp - 0x428]
call fcn.0040c690
mov byte [ebp - 4], 3
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x42c]
call fcn.0044b2c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x428]
call fcn.0040c710
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045fcea
mov esp, ebp
pop ebp
ret
Function at 0x44b2c0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x38
call fcn.0044b4b0
mov ecx, dword [ebp - 0xc]
add ecx, 0x38
call fcn.0040c680
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44b324
mov ecx, dword [ebp - 0xc]
add ecx, 0x38
push ecx
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.0044b330
cmp dword [ebp - 4], 0
jl 0x44b324
jg 0x44b312
cmp dword [ebp - 8], 0x300000
jbe 0x44b324
mov ecx, dword [ebp - 0xc]
add ecx, 0x38
call fcn.0040c680
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esp, ebp
pop ebp
ret 4

Function at 0x44b330
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 0xc]
call fcn.00416d80
movzx eax, al
test eax, eax
je 0x44b369
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
jmp 0x44b3cf
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
mov ecx, dword [ebp + 0xc]
call fcn.0040c680
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x44b3a6
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
jmp 0x44b3cf
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 8

Function at 0x44cd20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
jne 0x44cd54
mov ecx, dword [ebp - 4]
add ecx, 0xc
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
push 0x44cd60
push 0
push 0
call fcn.00464425
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov esp, ebp
pop ebp
ret