joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10328fd
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
cmp dword [0x1047874], 0
je 0x1032916
mov eax, dword [0x10462c8]
leave
ret
push edi
push esi
push 0x25
xor eax, eax
pop ecx
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.kernel32.dll_GetVersionExA]
test eax, eax
je 0x10329d8
xor eax, eax
cmp dword [ebp - 0x84], 2
sete al
test eax, eax
mov dword [0x10462c8], eax
je 0x10329a7
push str.ntdll.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x10329d8
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.NtQuerySystemInformation
push edi
call esi
test eax, eax
mov dword [0x104785c], eax
je 0x103298b
mov dword [0x10462c0], 0x4000
push str.NtOpenFile
push edi
call esi
push str.RtlInitUnicodeString
push edi
mov dword [0x1047860], eax
call esi
mov dword [0x1047864], eax
jmp 0x10329d8
push 0x103eba8
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10329d8
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.GetCursorPos
push edi
call esi
push str.GetMessageTime
push edi
mov dword [0x1047868], eax
call esi
mov dword [0x104786c], eax
mov eax, dword [0x10462c8]
pop esi
mov dword [0x1047874], 1
pop edi
leave
ret

Function at 0x1032ba0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
call fcn.01032be3
test eax, eax
je 0x1032bdf
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push 3
push 0
push str.Seed
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
leave
ret 8

Function at 0x1032f40
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x402100
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x402170
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401120
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]
Function at 0x4050e0
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x47d0fc], 0x405040
mov eax, dword [sym.imp.RTX_RTSS.SYS_TlsGetValue]
mov dword [0x47d100], eax
mov ecx, dword [sym.imp.RTX_RTSS.SYS_TlsSetValue]
mov dword [0x47d104], ecx
mov edx, dword [sym.imp.RTX_RTSS.SYS_TlsFree]
mov dword [0x47d108], edx
call dword [sym.imp.RTX_RTSS.SYS_TlsAlloc]
mov dword [0x46e0d4], eax
cmp dword [0x46e0d4], 0xffffffff
je 0x40513b
mov eax, dword [0x47d100]
push eax
mov ecx, dword [0x46e0d4]
push ecx
call dword [sym.imp.RTX_RTSS.SYS_TlsSetValue]
test eax, eax
jne 0x405142
xor eax, eax
jmp 0x40523f
call fcn.00404424
mov edx, dword [0x47d0fc]
push edx
call fcn.00404f50
add esp, 4
mov dword [0x47d0fc], eax
mov eax, dword [0x47d100]
push eax
call fcn.00404f50
add esp, 4
mov dword [0x47d100], eax
mov ecx, dword [0x47d104]
push ecx
call fcn.00404f50
add esp, 4
mov dword [0x47d104], eax
mov edx, dword [0x47d108]
push edx
call fcn.00404f50
add esp, 4
mov dword [0x47d108], eax
call fcn.00405afa
test eax, eax
jne 0x4051ab
call fcn.00405250
xor eax, eax
jmp 0x40523f
push fcn.00405490
mov eax, dword [0x47d0fc]
push eax
call fcn.00404fd0
add esp, 4
call eax
mov dword [0x46e0d0], eax
cmp dword [0x46e0d0], 0xffffffff
jne 0x4051d7
call fcn.00405250
xor eax, eax
jmp 0x40523f
push 0x214
push 1
call fcn.00406a21
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40520e
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x46e0d0]
push edx
mov eax, dword [0x47d104]
push eax
call fcn.00404fd0
add esp, 4
call eax
test eax, eax
jne 0x405217
call fcn.00405250
xor eax, eax
jmp 0x40523f
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.004052b0
add esp, 8
call dword [sym.imp.RTX_RTSS.SYS_GetCurrentThreadId]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xffffffff
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x40643b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00404fc0
xor ebx, ebx
cmp dword [0x47d294], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x406510
push str.USER32.DLL
call dword [sym.imp.RTX_RTSS.SYS_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x40647b
xor eax, eax
jmp 0x4065d4
mov esi, dword [sym.imp.RTX_RTSS.SYS_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x406474
push eax
call fcn.00404f50
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47d294], eax
call esi
push eax
call fcn.00404f50
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47d298], eax
call esi
push eax
call fcn.00404f50
mov dword [0x47d29c], eax
lea eax, [ebp - 8]
push eax
call fcn.00404211
test eax, eax
pop ecx
pop ecx
je 0x4064de
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00405cab
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x406510
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00404f50
cmp eax, ebx
pop ecx
mov dword [0x47d2a4], eax
je 0x406510
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404f50
pop ecx
mov dword [0x47d2a0], eax
mov eax, dword [0x47d2a0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x406589
cmp dword [0x47d2a4], esi
je 0x406589
push eax
call fcn.00404fd0
pop ecx
call eax
cmp eax, ebx
je 0x406556
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x47d2a4]
call fcn.00404fd0
pop ecx
call eax
test eax, eax
je 0x406556
test byte [ebp - 0x18], 1
jne 0x406589
lea eax, [ebp - 0xc]
push eax
call fcn.00404248
test eax, eax
pop ecx
je 0x406571
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00405cab
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x406580
or dword [ebp + 0x10], 0x200000
jmp 0x4065ba
or dword [ebp + 0x10], 0x40000
jmp 0x4065ba
mov eax, dword [0x47d298]
cmp eax, esi
je 0x4065ba
push eax
call fcn.00404fd0
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4065ba
mov eax, dword [0x47d29c]
cmp eax, esi
je 0x4065ba
push dword [ebp - 4]
push eax
call fcn.00404fd0
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x47d294]
call fcn.00404fd0
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x409511
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46e9b8]
jne 0x40951b
repz ret
jmp fcn.0040b265
Function at 0x41fc70
Capabilities:
Enumerate pe sections

Disassembly:
test byte [esi + 0xa], 0x80
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
jne 0x41fe76
mov ax, word [esi + 0x34]
test ax, ax
jne 0x41fc95
pop ebp
mov eax, 0x100208
pop ebx
ret
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x41fca7
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x41fe78
test edx, edx
je 0x41fcba
mov ecx, esi
call fcn.0041f490
test eax, eax
jne 0x41fe78
cmp word [esi + 0x2fc], 0
jne 0x41fcd5
cmp dword [esi + 0x43c], 0
jne 0x41fcd5
pop ebp
mov eax, 0x100214
pop ebx
ret
cmp dword [esi + 0x30a], 0
jne 0x41fd3d
movzx edx, byte [edi]
mov byte [esi + 0x2f4], dl
movzx eax, byte [edi + 1]
mov byte [esi + 0x2f5], al
movzx ecx, byte [edi + 2]
mov byte [esi + 0x2f6], cl
movzx edx, byte [edi + 3]
mov byte [esi + 0x2f7], dl
movzx eax, byte [edi + 4]
mov byte [esi + 0x2f8], al
movzx ecx, byte [edi + 5]
mov byte [esi + 0x2f9], cl
movzx edx, byte [edi + 6]
mov byte [esi + 0x2fa], dl
movzx eax, byte [edi + 7]
push 0
push esi
mov byte [esi + 0x2fb], al
call fcn.0041cfc0
add esp, 8
pop ebp
xor eax, eax
pop ebx
ret
movzx ecx, byte [edi]
and cl, 0xf
mov byte [esi + 0x32a], cl
movzx edx, byte [ebp]
and dl, 0xf
mov byte [esi + 0x332], dl
movzx eax, byte [ebx]
and al, 0xf
mov byte [esi + 0x33a], al
movzx ecx, byte [edi + 4]
and cl, 0xf
mov byte [esi + 0x32b], cl
movzx edx, byte [ebp + 4]
and dl, 0xf
mov byte [esi + 0x333], dl
movzx eax, byte [ebx + 4]
and al, 0xf
mov byte [esi + 0x33b], al
movzx ecx, byte [edi + 8]
and cl, 0xf
mov byte [esi + 0x32c], cl
movzx edx, byte [ebp + 8]
and dl, 0xf
mov byte [esi + 0x334], dl
movzx eax, byte [ebx + 8]
and al, 0xf
mov byte [esi + 0x33c], al
movzx ecx, byte [edi + 0xc]
and cl, 0xf
mov byte [esi + 0x32d], cl
movzx edx, byte [ebp + 0xc]
and dl, 0xf
mov byte [esi + 0x335], dl
movzx eax, byte [ebx + 0xc]
and al, 0xf
mov byte [esi + 0x33d], al
movzx ecx, byte [edi + 0x10]
and cl, 0xf
mov byte [esi + 0x32e], cl
movzx edx, byte [ebp + 0x10]
and dl, 0xf
mov byte [esi + 0x336], dl
movzx eax, byte [ebx + 0x10]
and al, 0xf
mov byte [esi + 0x33e], al
movzx ecx, byte [edi + 0x14]
and cl, 0xf
mov byte [esi + 0x32f], cl
movzx edx, byte [ebp + 0x14]
and dl, 0xf
mov byte [esi + 0x337], dl
movzx eax, byte [ebx + 0x14]
and al, 0xf
mov byte [esi + 0x33f], al
movzx ecx, byte [edi + 0x18]
and cl, 0xf
mov byte [esi + 0x330], cl
movzx edx, byte [ebp + 0x18]
and dl, 0xf
mov byte [esi + 0x338], dl
movzx eax, byte [ebx + 0x18]
and al, 0xf
mov byte [esi + 0x340], al
movzx ecx, byte [edi + 0x1c]
and cl, 0xf
mov byte [esi + 0x331], cl
movzx edx, byte [ebp + 0x1c]
and dl, 0xf
mov byte [esi + 0x339], dl
movzx eax, byte [ebx + 0x1c]
and al, 0xf
push 0
push esi
mov byte [esi + 0x341], al
call fcn.0041cfc0
add esp, 8
xor eax, eax
pop ebp
pop ebx
ret
Function at 0x423f90
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [edi]
test eax, eax
jl 0x423fe5
cmp eax, 3
jge 0x423fe5
mov edx, dword [edi + 8]
add edx, eax
cmp edx, 3
jg 0x423fe5
mov dx, word [ecx + 0xc]
push ebx
push ebp
push esi
movzx edx, dx
xor esi, esi
cmp dword [edi + 8], esi
lea ebp, [edx + eax + 8]
lea ebx, [eax + ecx + 0x18]
jle 0x423fdf
mov edi, edi
lea eax, [esi + ebp]
push eax
call fcn.0041a5a0
mov cl, byte [ebx]
mov edx, dword [edi + 4]
xor al, cl
not al
mov byte [esi + edx], al
inc esi
add esp, 4
inc ebx
cmp esi, dword [edi + 8]
jl 0x423fc0
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, 0x100123
ret

Function at 0x424b90
Capabilities:
Encode data using xor

Disassembly:
cmp dword [edi], 0
jl 0x424be7
mov edx, dword [edi]
mov eax, dword [ecx + 0x28]
cmp edx, eax
jge 0x424be7
mov eax, dword [edi + 8]
add eax, edx
mov edx, dword [ecx + 0x28]
cmp eax, edx
jg 0x424be7
mov dx, word [ecx + 0xc]
mov eax, dword [edi]
push ebx
push ebp
movzx ebx, dx
push esi
xor esi, esi
add ebx, eax
cmp dword [edi + 8], esi
lea ebp, [eax + ecx + 0xe]
jle 0x424be1
lea eax, [esi + ebx]
push eax
call fcn.0041a5a0
xor al, byte [ebp]
mov ecx, dword [edi + 4]
not al
mov byte [esi + ecx], al
inc esi
add esp, 4
inc ebp
cmp esi, dword [edi + 8]
jl 0x424bc3
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov eax, 0x100123
ret
Function at 0x42b0b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
test ecx, ecx
jl 0x42b0cd
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 6]
cmp eax, 4
jl 0x42b0d6
mov dword [ebp - 8], 0
jmp 0x42b0e0
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 6]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
imul eax, eax, 0x40b4
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax + 0x4f34]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx]
mov word [eax + 0x14], dx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx + 2]
mov word [eax + 0x16], dx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx + 6]
mov word [eax + 0x1a], dx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx + 0xc]
mov word [eax + 0x20], dx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx + 0xe]
mov word [eax + 0x22], dx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx + 0x10]
mov word [eax + 0x24], dx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx + 0x12]
mov word [eax + 0x26], dx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx + 0x18]
mov word [eax + 0x2c], dx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x2c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x28]
push eax
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x26]
push edx
mov eax, dword [ebp - 4]
movsx ecx, word [eax + 0x24]
push ecx
mov edx, dword [ebp - 4]
movsx eax, word [edx + 0x22]
push eax
mov ecx, dword [ebp - 4]
movsx edx, word [ecx + 0x20]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x14]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1a24]
lea eax, [edx + eax*4]
push eax
call fcn.0042c7f0
add esp, 0x20
mov esp, ebp
pop ebp
ret
Function at 0x4301e0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, dword [edi + 4]
mov eax, dword [esi*4 + 0x481fe8]
xor ebx, ebx
cmp eax, ebx
je 0x430201
push ebx
push eax
call dword [sym.imp.RTX_RTSS.SYS_TerminateThread]
mov dword [esi*4 + 0x481fe8], ebx
cmp dword [esi*4 + 0x4826a8], ebx
je 0x43021c
push 0x63
push edi
call fcn.0042f9f0
add esp, 8
mov dword [esi*4 + 0x4826a8], ebx
push 0xa
call fcn.00417e80
mov eax, dword [0x483020]
mov ecx, dword [0x483024]
mov edx, eax
add esp, 4
or edx, ecx
je 0x43024d
push ecx
push eax
call fcn.0043bcc0
add esp, 8
mov dword [0x483020], ebx
mov dword [0x483024], ebx
mov eax, dword [esi*8 + 0x482228]
mov ecx, dword [esi*8 + 0x48222c]
mov edx, eax
or edx, ecx
je 0x430279
push ecx
push eax
call fcn.0043bcc0
add esp, 8
mov dword [esi*8 + 0x482228], ebx
mov dword [esi*8 + 0x48222c], ebx
mov eax, dword [esi*8 + 0x481b68]
mov ecx, dword [esi*8 + 0x481b6c]
lea esi, [esi*8 + 0x481b68]
mov edx, eax
or edx, ecx
je 0x4302a3
push ecx
push eax
call fcn.0043bcc0
add esp, 8
mov dword [esi], ebx
mov dword [esi + 4], ebx
pop esi
pop ebx
ret

Function at 0x431f70
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.RTX_RTSS.SYS_CreateThread]
push ebp
mov ebp, dword [sym.imp.RTX_RTSS.SYS_RtSetThreadPriority]
push edi
mov edi, dword [esi + 4]
cmp dword [edi*4 + 0x481fe8], 0
jne 0x431fac
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x430d40
push 0
push 0
call ebx
push 0x20
push eax
mov dword [edi*4 + 0x481fe8], eax
call ebp
cmp dword [edi*4 + 0x4826a8], 0
lea edi, [edi*4 + 0x4826a8]
jne 0x431fd7
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
push 0x431d60
push 0
push 0
call ebx
push 0x20
push eax
mov dword [edi], eax
call ebp
pop edi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x453460
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x46109d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x46b060
mov dword [esp + 0x10], 4
call fcn.0045adb0
test eax, eax
jge 0x453503
mov eax, dword [esi + 0x29c]
test eax, eax
je 0x4534a7
push 0
push eax
call dword [sym.imp.RTX_RTSS.SYS_TerminateThread]
push edi
lea edi, [esi + 0x160]
push 0xfff
mov ecx, edi
call fcn.00452b10
push 0xffffffffffffffff
mov ecx, edi
call fcn.00452be0
push 0xffffffffffffffff
mov ecx, edi
call fcn.00452cb0
push 0xffffffffffffffff
mov ecx, edi
call fcn.00452d80
push 0
mov ecx, edi
call fcn.00452e50
push 0
mov ecx, edi
call fcn.00452f20
push 0
mov ecx, edi
call fcn.00452ff0
push 0
mov ecx, edi
call fcn.004530c0
push 0
mov ecx, edi
call fcn.004526c0
pop edi
push 0x4475d0
push 0xc
push 0x114
lea eax, [esi + 0x4d4]
push eax
mov byte [esp + 0x20], 3
call fcn.0045b2e6
lea ecx, [esi + 0x3bc]
mov byte [esp + 0x10], 2
call fcn.004587a0
lea ecx, [esi + 0x2a4]
mov byte [esp + 0x10], 1
call fcn.004587a0
lea ecx, [esi + 0x180]
mov byte [esp + 0x10], 0
call fcn.00458a50
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.0043ead0
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x455910
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x461166
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x46b5c0
mov dword [esp + 0x10], 1
call fcn.0045adb0
test eax, eax
jge 0x45597a
push edi
lea edi, [esi + 0x160]
push 0x3f
mov ecx, edi
call fcn.00454520
push 0
mov ecx, edi
call fcn.004545f0
mov eax, dword [esi + 0x28c]
test eax, eax
je 0x455970
push 0
push eax
call dword [sym.imp.RTX_RTSS.SYS_TerminateThread]
push 0
mov ecx, edi
call fcn.00455830
pop edi
lea ecx, [esi + 0x170]
mov byte [esp + 0x10], 0
call fcn.00458a50
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
call fcn.0043ead0
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x456290
Capabilities:
Create thread
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x46118e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
push edi
push ebp
push eax
mov edi, ecx
push str.xio.counter
mov dword [esp + 0x1c], edi
call fcn.0043eaa0
xor eax, eax
mov dword [edi], 0x46b5c0
lea esi, [edi + 0x160]
push 0x38
lea ebx, [edi + 0x170]
push str.XiODeviceCounterDrive
mov ecx, ebx
mov dword [esp + 0x2c], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov byte [esi + 8], al
mov dword [esi + 0xc], str.XiODeviceCounterBA0
call fcn.00457cc0
mov dword [ebx], 0x4686b4
mov byte [esp + 0x24], 1
mov dword [edi + 0x28c], 0
test ebp, ebp
jge 0x45634b
push 0
push 0xe
push 0x10ee
mov ecx, edi
call fcn.0045a960
push 0
push 4
push edi
push 0x4559d0
push 0
push 0
call dword [sym.imp.RTX_RTSS.SYS_CreateThread]
mov dword [edi + 0x28c], eax
test eax, eax
je 0x45634b
push 0
push eax
call dword [sym.imp.RTX_RTSS.SYS_RtSetThreadPriority]
push 0
mov ecx, edi
call fcn.0045add0
push 0
mov ecx, edi
mov dword [esp + 0x34], eax
call fcn.0045ae70
mov ecx, dword [esp + 0x30]
mov dword [esi], eax
mov dword [esi + 4], ecx
test ebp, ebp
jge 0x456421
mov ecx, esi
call fcn.00454440
mov edx, dword [esp + 0x2c]
push eax
push edx
lea eax, [esp + 0x1c]
push str.XiODeviceCounter__d___interrupt_factor_0x_08X_
push eax
call fcn.00457740
add esp, 0x10
mov ecx, eax
mov byte [esp + 0x24], 2
call fcn.004577e0
push eax
push 0x4684dc
push str.__s___i___s_n
push 4
push 0x486aa0
call fcn.00457eb0
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.004577c0
push 0x3f
mov ecx, esi
call fcn.00454520
push 0
mov ecx, esi
call fcn.00454520
push 0
mov ecx, esi
call fcn.004545f0
xor ebp, ebp
mov ecx, ebx
call fcn.00457d10
mov ecx, ebx
mov dword [eax + ebp], 0
call fcn.00457d10
mov dword [eax + ebp + 4], 0
add ebp, 0x10
cmp ebp, 0x30
jl 0x4563e2
push 7
mov ecx, esi
call fcn.00454db0
mov eax, dword [edi + 0x28c]
test eax, eax
je 0x456421
push eax
call dword [sym.imp.RTX_RTSS.SYS_ResumeThread]
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x45d510
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x2c], 0
mov eax, 0x46c03c
jne 0x45d54e
call dword [sym.imp.RTX_RTSS.SYS_GetLastError]
push eax
push 0x243
push str.._rtxcsv.cpp
push 0x4684dc
push str.__s___e____s___d___error__d__n
push 1
push 0x486aa0
call fcn.00457eb0
add esp, 0x1c
xor al, al
pop esi
ret 4
cmp byte [esi + 0x30], 0
je 0x45d55d
mov eax, 0x461e5a
mov byte [esi + 0x30], 0
mov ecx, dword [esp + 8]
push ebx
push edi
push ecx
push eax
lea edi, [esi + 0x34]
push str._s_d
push edi
call fcn.00457830
add esp, 0x10
mov ecx, edi
call fcn.004578a0
mov edx, dword [esi + 0x2c]
push edx
mov ebx, eax
push ebx
push 1
mov ecx, edi
call fcn.004577e0
push eax
call fcn.0045f272
add esp, 0x10
pop edi
cmp eax, ebx
pop ebx
je 0x45d5aa
call dword [sym.imp.RTX_RTSS.SYS_GetLastError]
push eax
push 0x24f
jmp 0x45d52a
mov al, 1
pop esi
ret 4

Function at 0x45d5b0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x2c], 0
mov eax, 0x46c03c
jne 0x45d5ee
call dword [sym.imp.RTX_RTSS.SYS_GetLastError]
push eax
push 0x273
push str.._rtxcsv.cpp
push 0x4684dc
push str.__s___e____s___d___error__d__n
push 1
push 0x486aa0
call fcn.00457eb0
add esp, 0x1c
xor al, al
pop esi
ret 8
cmp byte [esi + 0x30], 0
je 0x45d5fd
mov eax, 0x461e5a
mov byte [esi + 0x30], 0
fld qword [esp + 8]
push ebx
push edi
sub esp, 8
fstp qword [esp]
push eax
lea edi, [esi + 0x34]
push str._s_.3f
push edi
call fcn.00457830
add esp, 0x14
mov ecx, edi
call fcn.004578a0
mov ebx, eax
mov eax, dword [esi + 0x2c]
push eax
push ebx
push 1
mov ecx, edi
call fcn.004577e0
push eax
call fcn.0045f272
add esp, 0x10
pop edi
cmp eax, ebx
pop ebx
je 0x45d652
call dword [sym.imp.RTX_RTSS.SYS_GetLastError]
push eax
push 0x27f
jmp 0x45d5ca
mov al, 1
pop esi
ret 8

Function at 0x45d660
Capabilities:
Write file on windows

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x2c], 0
mov eax, 0x46c03c
jne 0x45d69e
call dword [sym.imp.RTX_RTSS.SYS_GetLastError]
push eax
push 0x28b
push str.._rtxcsv.cpp
push 0x4684dc
push str.__s___e____s___d___error__d__n
push 1
push 0x486aa0
call fcn.00457eb0
add esp, 0x1c
xor al, al
pop edi
ret 4
cmp byte [edi + 0x30], 0
je 0x45d6ad
mov eax, 0x461e5a
mov byte [edi + 0x30], 0
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x45d6c3
call dword [sym.imp.RTX_RTSS.SYS_GetLastError]
push eax
push 0x294
jmp 0x45d67a
push ebx
push esi
push ecx
push eax
lea esi, [edi + 0x34]
push str._s_s
push esi
call fcn.00457830
add esp, 0x10
mov ecx, esi
call fcn.004578a0
mov ebx, eax
mov eax, dword [edi + 0x2c]
push eax
push ebx
push 1
mov ecx, esi
call fcn.004577e0
push eax
call fcn.0045f272
add esp, 0x10
pop esi
cmp eax, ebx
pop ebx
je 0x45d70f
call dword [sym.imp.RTX_RTSS.SYS_GetLastError]
push eax
push 0x29b
jmp 0x45d67a
mov al, 1
pop edi
ret 4
Function at 0x45d720
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x45d758
call dword [sym.imp.RTX_RTSS.SYS_GetLastError]
push eax
push 0x2a4
push str.._rtxcsv.cpp
push 0x4684dc
push str.__s___e____s___d___error__d__n
push 1
push 0x486aa0
call fcn.00457eb0
add esp, 0x1c
xor al, al
pop esi
ret
push eax
push 2
push 1
push 0x461784
call fcn.0045f272
add esp, 0x10
cmp eax, 2
je 0x45d77d
call dword [sym.imp.RTX_RTSS.SYS_GetLastError]
push eax
push 0x2a8
jmp 0x45d736
mov byte [esi + 0x30], 1
mov al, 1
pop esi
ret