joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a1f9a
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4cc680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x4cf358]
lea ecx, [ebp - 0x48]
push str.DebugOutputLogging
call fcn.004012d0
push str.SOFTWAREF_SecureCCFLogging
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.004012d0
cmp dword [ebp - 0x34], 7
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x18], 4
push edx
push 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x14], esi
cmova ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 7
push 0x10
cmova eax, dword [ebp - 0x30]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 7
jbe 0x45e2ff
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45e2f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e36e
push ecx
push edx
call fcn.004759b5
add esp, 8
mov ecx, dword [ebp - 0x34]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
cmp ecx, 7
jbe 0x45e349
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x45e33f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e36e
push ecx
push edx
call fcn.004759b5
add esp, 8
mov eax, dword [0x4cf354]
cmp eax, dword [ebp - 0x14]
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004759c3
mov esp, ebp
pop ebp
ret
call fcn.0047abff
int3

Function at 0x45f560
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
xor esi, esi
cmp byte [esp + 0x14], 0
push edi
mov edi, dword [esp + 0x14]
je 0x45f5b3
test edi, edi
je 0x45f5b3
push 0xc
push esi
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x45f5b3
push 0
lea eax, [esi + 4]
mov dword [esi + 4], 0
push eax
push 1
push str.D:_A__GA___SY__A__GA___BA_
mov dword [esi], 0xc
mov dword [esi + 8], 0
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorA
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
test ebx, ebx
jne 0x45f5e1
test edi, edi
je 0x45f5e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x45f5e1
push edi
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov ebx, eax
test esi, esi
je 0x45f617
mov edi, dword [esi + 4]
test edi, edi
je 0x45f609
call ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push eax
call edi
push esi
push 0
call ebp
push eax
call edi
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
call ebp
push eax
call edi
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x45f940
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x4cc680]
xor eax, esp
mov dword [esp + 0x10], eax
lea eax, [esp]
mov dword [esp + 4], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [esp + 0x2c]
mov word [esp + 0x30], 0x500
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [esp + 0xc], eax
test eax, eax
je 0x45f9b1
lea eax, [esp + 0xc]
push eax
push dword [esp + 4]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x45f9a2
mov dword [esp + 0xc], eax
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 0xc]
test eax, eax
mov ecx, dword [esp + 0x10]
setne al
xor ecx, esp
call fcn.004759c3
add esp, 0x14
ret

Function at 0x462920
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f30e
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4cc680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], 1
test edx, edx
je 0x4629a2
mov eax, dword [ecx + 4]
test eax, eax
je 0x4629a2
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
mov dword [ebp - 0x18], eax
jmp 0x4629a8
mov edi, dword [ecx + 4]
mov dword [ebp - 0x18], edi
test edi, edi
je 0x462a50
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edx, eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
cmp edx, eax
ja 0x4629db
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4629d0
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], edx
mov word [eax + edx*2], cx
jmp 0x462a3a
mov ecx, edx
sub ecx, eax
mov eax, dword [esi + 0x14]
sub eax, dword [ebp - 0x14]
cmp ecx, eax
ja 0x462a29
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edx
mov dword [ebp - 0x10], esi
jb 0x4629fa
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
lea eax, [edi + eax*2]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x462a1e
mov edi, dword [ebp - 0x14]
xor eax, eax
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov word [eax + edx*2], cx
jmp 0x462a3a
push 0
push ecx
push dword [ebp - 0x20]
push ecx
mov ecx, esi
call fcn.00441df0
mov edx, dword [ebp - 0x10]
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x462a44
mov eax, dword [esi]
lea ecx, [edx + 1]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x466f90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4cc680]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4cf365], 0
jne 0x467018
push str.SOFTWAREMicrosoftWindowsCurrentVersionThemesPersonalize
lea ecx, [ebp - 0x28]
call fcn.004012d0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 0
push ecx
push 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x10], 4
cmovae eax, dword [ebp - 0x28]
push str.AppsUseLightTheme
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x467009
cmp dword [ebp - 8], 4
jne 0x467009
cmp dword [ebp - 0xc], eax
sete byte [0x4cf364]
lea ecx, [ebp - 0x28]
mov byte [0x4cf365], 1
call fcn.004014d0
mov ecx, dword [ebp - 4]
mov al, byte [0x4cf364]
xor ecx, ebp
call fcn.004759c3
mov esp, ebp
pop ebp
ret

Function at 0x467290
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
cmp dword [ebx + 4], 0
je 0x467357
push 0
call fcn.00462ab0
test al, al
je 0x467357
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebx + 4]
mov edi, eax
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4672f5
push 0
push 0xf120
push 0x112
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push edi
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
push esi
call edi
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebx + 4]
call esi
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [ebx + 4]
call esi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push dword [ebp - 4]
push dword [ebp - 8]
call edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetActiveWindow]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467580
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2a24
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4cc680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], eax
call fcn.00402a20
lea eax, [ebp + 0x10]
mov dword [ebp - 0x20], eax
push 0x24
mov dword [ebp - 4], 1
call fcn.004759f4
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x46760b
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x38]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [esi + 4], ecx
lea ecx, [esi + 8]
push eax
call fcn.00402a20
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x20], eax
jmp 0x46760d
xor esi, esi
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
push 0
push esi
push 0x467030
push 0
push 0
call fcn.00483c1f
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x4676da
cmp dword [edi + 0xc], 0
jne 0x4676e8
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0x24]
movlpd qword [ebp - 0x1c], xmm0
mov dword [edi + 0xc], eax
cmp ecx, 8
jb 0x46768a
mov edx, dword [ebp - 0x38]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x467680
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4676ed
push ecx
push edx
call fcn.004759b5
add esp, 8
mov eax, dword [edi + 0x10]
lea esi, [edi + 0x10]
mov dword [ebp - 0x14], 0
nop
cmp dword [ebp - 0x14], eax
jne 0x4676b6
nop dword [eax]
push 0xffffffffffffffff
push 4
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0047530f
mov eax, dword [esi]
nop
cmp dword [ebp - 0x14], eax
je 0x4676a0
cmp dword [edi + 4], 0
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004759c3
mov esp, ebp
pop ebp
ret 0xc
push 6
mov dword [ebp - 0x18], 0
call fcn.00475102
call fcn.00482d95
call fcn.0047abff
int3
Function at 0x467e10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2aa4
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4cc680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x467ed3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x467ed3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0x18
mov esi, eax
call fcn.004759f4
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x467eb9
xorps xmm0, xmm0
mov ecx, eax
push esi
push dword [ebp - 0x10]
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
call fcn.00467cb0
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov dword [eax], ecx
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46c020
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046c030

Function at 0x46d950
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046d960
Function at 0x471240
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4cc680]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xc
mov edi, ecx
call fcn.004759f4
mov edx, dword [ebp + 8]
mov esi, eax
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [esi], edi
mov dword [esi + 4], edx
mov dword [esi + 8], ecx
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push esi
push 0x471350
push 0
push 0
call fcn.00483c1f
add esp, 0x18
mov dword [edi + 0xc], eax
test eax, eax
je 0x4712fe
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push 0
push eax
push 2
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
test eax, eax
jne 0x4712c3
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004759c3
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0xf4240
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [edi + 0xc]
mov esi, dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xc], 0
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004759c3
mov esp, ebp
pop ebp
ret 8
push 0xc
push esi
call fcn.004759b5
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 0xf4240
pop edi
pop esi
call fcn.004759c3
mov esp, ebp
pop ebp
ret 8
Function at 0x472110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4cc680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], eax
mov esi, ecx
cmp dword [ebp + 0xc], edi
jbe 0x47227f
push ebx
mov ebx, dword [ebp + 0x10]
nop dword [eax]
push dword [esi + 0x18]
push ebx
call fcn.00471bf0
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
je 0x472252
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 4]
push ecx
sub eax, edi
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
mov dword [ebp - 0x18], eax
push ecx
push eax
mov eax, dword [ebp - 0x10]
add eax, edi
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x472200
mov ebx, 0xf4240
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4721f6
push dword [ebp - 0xc]
mov ecx, esi
push dword [esi + 0x14]
call fcn.00472350
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4721da
push dword [ebp - 0xc]
push eax
push str.Timeout_cancel:__lu__timeout_lums
push str.PipeIPC::ReadFromPipeWithTimeout
push 3
call fcn.0045ad50
add esp, 0x14
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor ebx, ebx
cmp dword [ebp - 0x14], 0x102
setne bl
lea ebx, [ebx*2 + 4]
push 1
lea eax, [ebp - 8]
push eax
lea eax, [esi + 4]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x4721fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x472221
mov ebx, dword [ebp + 0x10]
add edi, dword [ebp - 8]
cmp edi, dword [ebp + 0xc]
jb 0x472140
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004759c3
mov esp, ebp
pop ebp
ret 0xc
push eax
push ebx
push dword [ebp - 8]
push dword [ebp - 0x18]
push str.Failed:_bytesToRead:__lu__bytesRead:__lu__IPC_error__d__Win32_error:__lu
push str.PipeIPC::ReadFromPipeWithTimeout
push 3
call fcn.0045ad50
add esp, 0x1c
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004759c3
mov esp, ebp
pop ebp
ret 0xc
push ebx
push str.Reading_timeout:__lums
push str.PipeIPC::ReadDataFromPipe
push 3
call fcn.0045ad50
add esp, 0x10
mov eax, 4
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004759c3
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, 0xf4240
pop edi
xor ecx, ebp
pop esi
call fcn.004759c3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x472480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4cc680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], 0
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push edi
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x47252d
mov ebx, 0xf4240
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x472553
push dword [ebp + 0x10]
mov ecx, esi
push dword [esi + 0x14]
call fcn.00472350
mov dword [ebp - 0xc], eax
test eax, eax
je 0x472517
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CancelIo]
push dword [ebp + 0x10]
push dword [ebp - 0xc]
push str.Timeout_cancel:__lu__timeout_lums
push str.PipeIPC::WriteToPipeWithTimeout
push 3
call fcn.0045ad50
xor ebx, ebx
add esp, 0x14
cmp dword [ebp - 0xc], 0x102
setne bl
lea ebx, [ebx*2 + 4]
push 1
lea eax, [ebp - 8]
push eax
lea eax, [esi + 4]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x47254d
xor eax, eax
mov ecx, 0xf4240
cmp dword [ebp - 8], edi
pop edi
pop esi
cmovne eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004759c3
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push dword [ebp - 8]
push edi
push str.Failed:_bytesToSend___lu__bytesWritten___lu__IPC_error__d__Win32_error:__lu
push str.PipeIPC::WriteToPipeWithTimeout
push 3
call fcn.0045ad50
mov ecx, dword [ebp - 4]
add esp, 0x1c
mov eax, ebx
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004759c3
mov esp, ebp
pop ebp
ret 0xc

Function at 0x473310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
lea ebx, [eax + 0x10]
mov dword [eax + 8], esi
mov edi, 1
mov dword [eax + 0xc], edx
push dword [ebp + 0x14]
mov ecx, edx
xor eax, eax
push dword [ebp + 0x10]
shr ecx, 0x1e
xor eax, edx
xor ecx, esi
push eax
push ecx
call fcn.00475c80
mov esi, eax
lea ebx, [ebx + 8]
add esi, edi
mov dword [ebx - 8], esi
adc edx, 0
inc edi
mov dword [ebx - 4], edx
cmp edi, 0x138
jb 0x473330
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov dword [eax], 0x138
mov esp, ebp
pop ebp
ret 0x10
Function at 0x473f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4cc680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor bl, bl
cmp dword [eax + 0x14], 0xf
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x10], 0
jbe 0x473f90
mov eax, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x101
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x473fe3
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 4
jbe 0x473fb9
mov esi, dword [esi]
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x473fd8
cmp dword [ebp - 8], 4
jne 0x473fda
mov bl, 1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004759c3
mov esp, ebp
pop ebp
ret
Function at 0x474000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4cc680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
cmp dword [eax + 0x14], 0xf
push esi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], 0
jbe 0x474031
mov eax, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x101
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
test edi, edi
jne 0x474155
cmp dword [ebx + 0x14], 0xf
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, ebx
jbe 0x47405e
mov eax, dword [ebx]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 8]
push ecx
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push eax
push dword [ebp - 0x10]
call ebx
mov edi, eax
test edi, edi
jne 0x474127
mov edi, 0xea
cmp dword [ebp - 0xc], 1
jne 0x474127
mov edx, dword [esi + 0x10]
mov ecx, dword [ebp - 8]
cmp ecx, edx
ja 0x4740ac
mov dword [esi + 0x10], ecx
mov eax, esi
cmp dword [esi + 0x14], 0xf
jbe 0x4740a6
mov eax, dword [esi]
mov byte [eax + ecx], 0
jmp 0x4740f0
mov edi, dword [esi + 0x14]
mov ebx, ecx
mov eax, edi
sub ebx, edx
sub eax, edx
cmp ebx, eax
ja 0x4740dc
mov dword [esi + 0x10], ecx
mov eax, esi
cmp edi, 0xf
jbe 0x4740c7
mov eax, dword [esi]
push ebx
lea edi, [eax + edx]
push 0
push edi
call fcn.00477ac0
add esp, 0xc
mov byte [edi + ebx], 0
jmp 0x4740ea
push 0
push ebx
push dword [ebp - 0x14]
mov ecx, esi
push ebx
call fcn.00441c90
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0
mov ecx, esi
call fcn.00473f40
mov edx, eax
mov eax, dword [ebp - 0x14]
mov ecx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x474108
mov ecx, dword [eax]
lea eax, [ebp - 8]
push eax
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push ecx
push dword [ebp - 0x10]
call ebx
mov edi, eax
cmp edi, 0xea
je 0x474085
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x474155
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x47413e
mov ecx, dword [esi]
mov eax, dword [ebp - 8]
push 0
cmp byte [ecx + eax - 1], 0
mov ecx, esi
jne 0x47414d
dec eax
push eax
call fcn.00416630
test edi, edi
mov ecx, dword [ebp - 4]
sete al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004759c3
mov esp, ebp
pop ebp
ret
Function at 0x474170
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4cc680]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
cmp dword [eax + 0x14], 0xf
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 8], 0
jbe 0x4741a1
mov eax, dword [eax]
push 0
lea ebx, [ebp - 8]
push ebx
push edx
push 0x102
push 1
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, eax
test ebx, ebx
jne 0x4741f2
mov eax, dword [esi + 0x10]
inc eax
cmp dword [esi + 0x14], 0xf
jbe 0x4741cd
mov esi, dword [esi]
cmp dword [edi + 0x14], 0xf
jbe 0x4741d5
mov edi, dword [edi]
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 8]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov ecx, dword [ebp - 4]
sete al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004759c3
mov esp, ebp
pop ebp
ret

Function at 0x476b87
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x476bc6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x476bc6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x476bc6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x476bc6
cmp dword [ecx + 0x74], 0xe
jbe 0x476bc6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret