joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444e30
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x466d00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x40]
and esi, 0xffff
push edi
mov edi, ecx
push esi
xor ebp, ebp
mov dword [esp + 0x14], vtable.DynamicScopeBuffer_unsigned_char_.0
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
xor eax, eax
mov ecx, dword [edi + 0x1cc]
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], eax
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x1c4]
push eax
push esi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x444f73
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 2
je 0x444faf
sub eax, 0x3e3
je 0x444ee5
mov edx, dword [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ebp, 0x43c
jmp 0x444faf
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x444f73
cmp eax, 0x102
jne 0x444f5e
mov edi, dword [edi + 0x1c4]
mov dword [esp + 0x40], 0
cmp edi, 0xffffffff
je 0x444faf
push str.Kernel32.dll
mov byte [esp + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
mov dword [esp + 0x48], esi
je 0x444faf
push str.CancelIo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x444f48
push edi
call eax
mov edi, eax
jmp 0x444f4c
mov edi, dword [esp + 0x40]
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x444faf
mov ebp, 0x444
jmp 0x444faf
mov ecx, dword [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
jmp 0x444faf
mov ecx, dword [edi + 0x1c4]
lea edx, [esp + 0x44]
push 0
lea eax, [esp + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edi, dword [esp + 0x40]
mov ecx, esi
mov edx, ecx
mov esi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x2c]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor ebp, ebp
test ebx, ebx
je 0x444fbc
push ebx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x30]
pop edi
mov ax, bp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x444fe0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x466d20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
and ebx, 0xffff
push edi
mov ebp, ecx
push ebx
mov dword [esp + 0x18], vtable.DynamicScopeBuffer_unsigned_char_.0
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x44]
mov ecx, ebx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x3c], 0
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov edx, dword [ebp + 0x1cc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x30], edx
lea ecx, [esp + 0x20]
lea edx, [esp + 0x48]
push ecx
push edx
push ebx
push eax
mov eax, dword [ebp + 0x1c8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44513b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3e5
je 0x44509a
mov esi, eax
jmp 0x445161
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4450d0
mov edx, dword [ebp + 0x1c8]
push eax
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x24]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [esp + 0x30]
push eax
jmp 0x445159
cmp eax, 0x102
jne 0x44512a
mov ebp, dword [ebp + 0x1c8]
xor edi, edi
cmp ebp, 0xffffffff
mov esi, 0x444
je 0x445161
push str.Kernel32.dll
mov byte [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x44], ebx
je 0x445161
push str.CancelIo
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x445118
push ebp
call eax
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x445161
mov esi, 0x444
jmp 0x445161
mov ecx, dword [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
call esi
mov esi, eax
jmp 0x445161
mov ecx, dword [ebp + 0x1c8]
lea edx, [esp + 0x48]
push 0
lea eax, [esp + 0x24]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor esi, esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x445172
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x34]
mov ax, si
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
Function at 0x445d10
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x10
test eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
je 0x445d2f
mov ecx, dword [esp + 0x34]
push 0
push 1
push ecx
call eax
add esp, 0xc
mov ebx, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esp + 0x24]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x64
push ecx
push edx
mov ecx, esi
call fcn.00444fe0
lea edx, [esp + 0x10]
push edx
call ebp
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
call fcn.00465780
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x18]
push ecx
call ebp
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.00465780
push 0x3e8
mov edi, eax
push 1
push ebx
mov ecx, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edx
call fcn.00444e30
test ax, ax
jne 0x445dc0
mov al, byte [ebx]
cmp al, 0x50
jl 0x445dc0
cmp al, 0x53
jle 0x445dee
sub edi, dword [esp + 0x10]
cmp edi, 0x64
jb 0x445d7a
mov eax, dword [esp + 0x30]
test eax, eax
je 0x445d39
mov eax, dword [esp + 0x34]
push 0
push 1
push eax
call dword [esp + 0x3c]
add esp, 0xc
test al, al
jne 0x445e0f
jmp 0x445d39
mov al, byte [esp + 0x2c]
test al, al
je 0x445e02
push 5
push 1
push ebx
mov ecx, esi
call fcn.00444fe0
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 0x10
ret 0x14
pop edi
pop esi
pop ebp
mov ax, 0x41d
pop ebx
add esp, 0x10
ret 0x14
Function at 0x445f20
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x420
push ebx
push ebp
push esi
mov esi, dword [esp + 0x434]
mov ebx, ecx
push edi
mov edi, dword [esp + 0x434]
mov ecx, dword [esi + 0xd4]
xor ebp, ebp
mov eax, dword [edi + 8]
cmp ecx, ebp
mov dword [esp + 0x18], ebp
je 0x445f7f
mov dl, byte [esi + 0xd9]
mov cl, byte [esi + 0xd8]
inc dl
mov byte [esi + 0xd9], dl
jne 0x445f6a
mov byte [esi + 0xd9], 1
mov dl, byte [esi + 0xd9]
mov word [esp + 0x30], ax
mov byte [esp + 0x32], dl
mov byte [esp + 0x33], cl
jmp 0x445f83
mov dword [esp + 0x30], eax
mov esi, dword [edi + 4]
mov ecx, eax
mov edx, ecx
lea edi, [esp + 0x34]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebx + 0x1e0]
and ecx, 3
add eax, 4
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [ebx + 0x1c0]
push edx
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x446154
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3e5
jne 0x446112
mov edx, dword [esp + 0x2c]
push 0x14d
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x446052
mov edx, dword [ebx + 0x1c0]
push eax
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x44603b
xor ebp, ebp
pop edi
mov ax, bp
pop esi
pop ebp
pop ebx
add esp, 0x420
ret 8
call esi
mov ebp, 0x43c
pop edi
mov ax, bp
pop esi
pop ebp
pop ebx
add esp, 0x420
ret 8
cmp eax, 0x102
jne 0x4460de
mov eax, dword [ebx + 0x1c0]
push eax
call fcn.004443f0
add esp, 4
test eax, eax
je 0x4460aa
mov ebx, dword [ebx + 0x1b8]
lea ecx, [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x220008
push ebx
mov ebp, 0x443
call esi
test eax, eax
jne 0x446154
push eax
lea edx, [esp + 0x14]
jmp 0x446143
mov ebx, dword [ebx + 0x1b8]
lea eax, [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
push eax
push 0
push 0
push 0
push 0
push 0x220008
push ebx
mov ebp, 0x43c
call esi
test eax, eax
jne 0x446154
lea ecx, [esp + 0x10]
push eax
push ecx
jmp 0x446144
mov ebx, dword [ebx + 0x1b8]
lea edx, [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
push edx
push 0
push 0
push 0
push 0
push 0x220008
push ebx
mov ebp, 0x43c
call esi
test eax, eax
jne 0x446154
push eax
lea eax, [esp + 0x14]
push eax
jmp 0x446144
mov ebx, dword [ebx + 0x1b8]
lea ecx, [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x220008
push ebx
mov ebp, 0x43c
call esi
test eax, eax
jne 0x446154
push eax
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 0
push 0
push 0x220004
push ebx
call esi
pop edi
mov ax, bp
pop esi
pop ebp
pop ebx
add esp, 0x420
ret 8
Function at 0x447970
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x466e32
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
call fcn.004412d0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateMutexA]
lea edi, [esi + 0x1b0]
push 0
mov ebp, vtable.CBaldorMutex.0
push 0
push 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], edi
mov dword [edi + 8], ebp
call ebx
mov dword [edi + 0xc], eax
push 0
push 0
push 0
mov dword [edi + 0x10], ebp
call ebx
mov dword [edi + 0x14], eax
mov ebp, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 1
push 1
push 0
mov dword [edi + 0x18], vtable.CBaldorEvent.0
call ebp
mov dword [edi + 0x1c], eax
push 0
push 0
push 1
lea ecx, [edi + 0x20]
mov byte [esp + 0x30], 3
call fcn.00449650
xor ecx, ecx
mov byte [esp + 0x24], 4
mov dword [edi], vtable.._AV__CCircularBuffer__D__.0
mov byte [edi + 4], 1
mov dword [edi + 0x38], ecx
mov dword [edi + 0x34], ecx
mov eax, 1
mov dword [esp + 0x10], 0x20
mov edx, eax
add eax, eax
shr edx, 0xa
and edx, 1
add ecx, edx
mov edx, dword [esp + 0x10]
dec edx
mov dword [esp + 0x10], edx
jne 0x447a21
cmp ecx, 1
je 0x447a46
mov dword [edi + 0x2c], 0
jmp 0x447a5d
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0x3ff
mov di, word [esp + 0x2c]
lea ecx, [esi + 0x200]
movsx eax, di
push eax
mov byte [esp + 0x28], 5
call fcn.00442870
push 0
push 1
push 1
push 0
mov dword [esi + method.CBaldorEvent.virtual_0], vtable.CBaldorEvent.0
call ebp
push 0
push 0
mov dword [esi + 0x248], eax
push 0
mov dword [esi + method.CBaldorMutex.virtual_0], vtable.CBaldorMutex.0
call ebx
push 0
push 0
mov dword [esi + 0x250], eax
push 0
mov dword [esi + method.CBaldorMutex.virtual_0], vtable.CBaldorMutex.0
call ebx
mov dx, word [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x258], eax
mov eax, dword [esp + 0x38]
mov word [esi + 0x1f4], di
mov word [esi + 0x1f6], dx
mov dword [esi + 0x1fc], ecx
or ebx, 0xffffffff
xor edi, edi
lea edx, [esi + 0x21c]
xor ecx, ecx
mov dword [esi], vtable.Cv5BaldorSerialPort.0
mov dword [esi + 0x1f0], ebx
mov dword [esi + 0x214], edi
mov dword [esi + 0x210], esi
mov dword [esi + 0x260], eax
mov dword [edx], ecx
xor eax, eax
push edi
push edi
mov dword [edx + 4], ecx
push 1
push edi
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
lea ecx, [esi + 0x230]
mov dword [esi + 0x230], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
call ebp
push edi
push edi
push 1
push edi
mov dword [esi + 0x22c], eax
call ebp
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x240], eax
mov dword [esi + 0x218], edi
mov dword [esi + 0x1ec], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
Function at 0x447ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x466eca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], vtable.Cv5BaldorSerialPort.0
mov eax, dword [esi + 0x1ec]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
mov dword [esp + 0x38], 5
mov ebx, 1
je 0x447ca0
lea eax, [esi + 0x24c]
xor edi, edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CTakeMutex.0
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
call fcn.00440180
lea ecx, [esi + 0x254]
mov byte [esp + 0x38], 6
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], vtable.CTakeMutex.0
mov dword [esp + 0x20], edi
call fcn.00440180
mov edx, dword [esi + 0x1ec]
push edi
push edx
mov byte [esp + 0x40], 7
mov dword [esi + 0x218], ebx
call dword [sym.imp.KERNEL32.dll_SetCommMask]
lea ecx, [esi + 0x1b0]
call fcn.00449450
mov eax, dword [esi + 0x248]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x1ec]
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_EscapeCommFunction]
mov edx, dword [esi + 0x1ec]
push edx
call ebp
lea ecx, [esp + 0x18]
mov dword [esi + 0x1ec], 0xffffffff
mov byte [esp + 0x38], 6
call fcn.00440120
lea ecx, [esp + 0x24]
mov byte [esp + 0x38], 5
call fcn.00440120
mov eax, dword [esi + 0x22c]
push eax
call ebp
mov ecx, dword [esi + 0x240]
push ecx
call ebp
mov edx, dword [esi + 0x258]
mov edi, vtable.CBaldorMutex.0
push edx
mov dword [esi + 0x254], edi
call ebp
mov eax, dword [esi + 0x250]
mov dword [esi + 0x24c], edi
push eax
call ebp
mov ecx, dword [esi + 0x248]
mov dword [esi + method.CBaldorEvent.virtual_0], vtable.CBaldorEvent.0
push ecx
call ebp
lea ecx, [esi + 0x200]
mov byte [esp + 0x38], bl
call fcn.004428d0
lea edi, [esi + 0x1b0]
mov dword [esp + 0x14], edi
mov dword [edi], vtable.._AV__CCircularBuffer__D__.0
mov edx, dword [edi + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
push edx
mov byte [esp + 0x3c], 0xb
call ebx
mov eax, dword [edi + 0x1c]
push eax
call ebx
mov ecx, edi
call fcn.00449470
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x447d35
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [edi + 0x24]
mov ebx, vtable.CBaldorEvent.0
push ecx
mov dword [edi + 0x20], ebx
call ebp
mov edx, dword [edi + 0x1c]
mov dword [edi + 0x18], ebx
push edx
call ebp
mov eax, dword [edi + 0x14]
mov ebx, vtable.CBaldorMutex.0
push eax
mov dword [edi + 0x10], ebx
call ebp
mov ecx, dword [edi + 0xc]
mov dword [edi + 8], ebx
push ecx
call ebp
mov ecx, esi
mov dword [esp + 0x38], 0xffffffff
call fcn.00441430
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x44a1e0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x20]
test eax, eax
jbe 0x44a1f4
pop edi
mov ax, 0x426
pop esi
ret 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
test eax, eax
jne 0x44a256
mov eax, dword [esi + edi*4 + 0x168]
test eax, eax
je 0x44a246
mov dword [esi + edi*4 + 0xc8], 1
mov eax, dword [esi + edi*4 + 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + edi*4 + 0x168]
test eax, eax
je 0x44a246
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x32
call ebx
mov eax, dword [esi + edi*4 + 0x168]
test eax, eax
jne 0x44a236
pop ebx
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x178]
pop edi
pop esi
ret 8
mov ecx, dword [esi + edi*4 + 0x168]
test ecx, ecx
je 0x44a26a
pop edi
mov ax, 0x470
pop esi
ret 8
mov dword [esi + edi*4 + 0x168], eax
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x17c]
test ax, ax
je 0x44a291
mov dword [esi + edi*4 + 0x168], 0
pop edi
pop esi
ret 8
mov dword [esi + edi*4 + 0xc8], 0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esi + edi*8 + 0x28]
push 0
push edx
push 0x44a2e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor ax, ax
pop esi
ret 8
Function at 0x44c450
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4671db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x134]
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
mov dword [esp + 0x12c], edi
push ecx
push 0x2001f
push edi
push edx
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x44c4c8
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, edi
je 0x44c4b8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
cmp eax, edi
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x44c4da
jmp 0x44c4cc
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x44c575
push ecx
jmp 0x44c56f
lea eax, [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push edi
push edi
lea edx, [esp + 0x1c]
push edi
lea eax, [esp + 0x34]
push edx
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x44c540
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x10]
call fcn.0044c450
mov ebx, eax
cmp ebx, edi
jne 0x44c591
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x34]
push eax
push ecx
push edi
push edx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x44c502
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x44c553
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x134]
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x44c575
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret 4
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x44c5a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x44c577
Function at 0x44ca10
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x1008
call fcn.00465990
push esi
push 0
push 0
mov esi, dword [esp + 0x1018]
push 0
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x44ca5a
xor eax, eax
pop esi
add esp, 0x1008
ret 4
mov eax, dword [esp + 4]
cmp eax, 1
jne 0x44caa1
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push 0
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push esi
mov dword [esp + 0x28], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x44ca4e
mov al, byte [esp + 0xc]
test al, al
je 0x44ca4e
mov eax, 1
pop esi
add esp, 0x1008
ret 4
xor ecx, ecx
pop esi
cmp ecx, eax
sbb eax, eax
neg eax
add esp, 0x1008
ret 4
Function at 0x45ae20
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x10]
test al, al
jne 0x45ae3d
mov eax, dword [esi + 4]
test eax, eax
jne 0x45ae36
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 4]
test eax, eax
je 0x45ae61
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x45ae58
cmp al, 0xff
je 0x45ae58
dec al
mov byte [ecx], al
jmp 0x45ae61
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
pop esi
ret
Function at 0x45c6c3
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push edi
mov eax, dword [esi]
push ecx
push 0x14
mov ecx, esi
call dword [eax + 0x14c]
test ax, ax
jne 0x45c843
mov dx, word [esp + 0x18]
push 1
push 0
push 0
push 0
push 0
push 0
push 0
mov word [esp + 0x34], dx
push 0
mov eax, dword [esp + 0x38]
push 0
push 0
push 0
push 0
mov ecx, eax
push 0
push 0
shr ecx, 7
push 0
push 0
and ecx, 1
push 0
push ecx
mov ecx, eax
shr ecx, 6
and ecx, 1
mov edx, dword [esi]
push ecx
mov ecx, eax
shr ecx, 5
and ecx, 1
mov ebp, dword [esp + 0x5c]
push ecx
mov ecx, eax
shr ecx, 4
and ecx, 1
push ecx
mov ecx, eax
shr ecx, 3
and ecx, 1
push ecx
mov ecx, eax
shr ecx, 2
and ecx, 1
push ecx
mov ecx, eax
shr ecx, 1
and ecx, 1
and eax, 1
push ecx
push eax
push 0
push 1
push 0
mov ecx, esi
call dword [edx + 0x194]
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
push 0x14
mov ecx, esi
call dword [edx + 0x14c]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
mov eax, dword [esp + 0x10]
test eax, 0x8000000
je 0x45c7b8
call edi
mov edx, dword [esi]
sub eax, ebx
cmp eax, 0x3e8
ja 0x45c84b
lea eax, [esp + 0x10]
mov ecx, esi
push eax
push 0x14
call dword [edx + 0x14c]
mov eax, dword [esp + 0x10]
test eax, 0x8000000
jne 0x45c78d
xor edi, edi
mov ebx, 0x10
mov edx, dword [esi]
or eax, 0x1000000
push eax
push 0x14
mov ecx, esi
mov dword [esp + 0x18], eax
call dword [edx + 0x150]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
and eax, 0xfeffffff
mov ecx, esi
push eax
push 0x14
mov dword [esp + 0x18], eax
call dword [edx + 0x150]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push 0x14
mov ecx, esi
call dword [eax + 0x14c]
mov eax, dword [esp + 0x10]
lea ecx, [edi + edi]
mov edx, eax
shr edx, 0x1b
and edx, 1
or edx, ecx
dec ebx
mov edi, edx
jne 0x45c7bf
mov edx, dword [esi]
and eax, 0xfdffffff
push eax
push 0x14
mov ecx, esi
mov dword [esp + 0x18], eax
call dword [edx + 0x150]
mov eax, dword [esi]
push ebp
push 0x14
mov ecx, esi
call dword [eax + 0x150]
mov ecx, dword [esp + 0x1c]
xor ax, ax
mov word [ecx], di
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
push 0x14
call dword [edx + 0x150]
pop edi
pop esi
pop ebp
mov ax, 0x3f2
pop ebx
pop ecx
ret 8