joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414110
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41416f
lea ecx, [esp + 8]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp]
push 0
push 0
lea edx, [esp + 0xc]
push 0
push edx
push 0
push eax
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x14
ret

Function at 0x4152b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4493ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
push 0x104
push eax
mov dword [esp + 0x120], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0043ac5c
lea edx, [esp + 0x120]
lea eax, [esp + 4]
push edx
push 0x45d1e8
push eax
call fcn.0043addf
push str..log
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x124], 1
call fcn.0043ad6b
push eax
mov ecx, esi
mov byte [esp + 0x11c], 2
call fcn.0043aeee
lea ecx, [esp + 8]
mov byte [esp + 0x118], 1
call fcn.0043ab14
lea ecx, [esp + 4]
mov byte [esp + 0x118], 0
call fcn.0043ab14
lea ecx, [esp + 0x120]
mov dword [esp + 0x118], 0xffffffff
call fcn.0043ab14
mov ecx, dword [esp + 0x110]
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret 4

Function at 0x4174d0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [esi + 0x2c]
push str.DllInit
push eax
call edi
mov ecx, dword [esi + 0x2c]
push str.SetResourceHandle
push ecx
mov dword [esi], eax
call edi
mov edx, dword [esi + 0x2c]
push str.SetNicDll
push edx
mov dword [esi + 4], eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x2c]
push str.Ping
push eax
call edi
mov ecx, dword [esi + 0x2c]
push str.StartNetTest
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 0x2c]
push str.GetNetName
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x2c]
push str.StopNetTest
push eax
call edi
mov ecx, dword [esi + 0x2c]
push str.NumberFramesSent
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 0x2c]
push str.NumberFramesReceived
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x2c]
push str.TestRemoteWakeup
push eax
call edi
mov ecx, dword [esi + 0x2c]
push str.TestRemoteWakeupRestart
push ecx
mov dword [esi + 0x24], eax
call edi
mov dword [esi + 0x28], eax
pop edi
pop esi
ret
Function at 0x417708
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0043a9c9
lea eax, [esp + 4]
mov dword [esp + 0x14], 0
push eax
push str.AutoEcho
push str.Software3ComTCAUDIAG
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00417890
mov ecx, dword [esp + 0x14]
add esp, 0x10
push 0x45dd1c
push ecx
call fcn.00421880
add esp, 8
mov ecx, dword [esp + 0x1c]
neg eax
sbb eax, eax
lea edx, [esp + 8]
inc eax
neg al
sbb eax, eax
neg eax
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
push ecx
call dword [esi + 0x10]
add esp, 0x10
test eax, eax
je 0x417797
lea ecx, [esp + 4]
mov dword [esi + 0x30], eax
mov dword [esp + 0x14], 0xffffffff
call fcn.0043ab14
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 8
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0043ab14
mov ecx, dword [esp + 0xc]
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 8

Function at 0x417890
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 8]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x417902
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
push 1
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x417902
mov ecx, dword [esp + 0x10]
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 0x4659c0
push eax
push 0
push ecx
push edx
mov dword [esp + 0x20], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4178f7
mov ecx, dword [esp + 0x14]
push 0x4659c0
call fcn.0043ac5c
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
ret

Function at 0x417910
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4499a8
push eax
mov dword fs:[0], esp
push ebx
push edi
mov edx, dword [esp + 0x1c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ebx
jne 0x417963
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], 0xffffffff
call fcn.0043ab14
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop ebx
add esp, 0xc
ret
lea eax, [esp + 0x18]
push esi
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
push 0xf003f
push ebx
push str.class
push ebx
push edx
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4179bd
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x28]
push 1
push ebx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x20]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x4179bd
mov ebx, 1
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], 0xffffffff
call fcn.0043ab14
mov ecx, dword [esp + 0xc]
pop esi
mov eax, ebx
pop edi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x4179f0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4499e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push ebx
lea ecx, [esp + 4]
call fcn.0043a9c9
xor ebx, ebx
push str.SOFTWARE3COMTCAUDIAG_
lea ecx, [esp + 8]
mov dword [esp + 0x134], ebx
call fcn.0043ac5c
mov eax, dword [esp + 0x13c]
lea ecx, [esp + 4]
push eax
call fcn.0043aeb2
push str.Extensions
lea ecx, [esp + 8]
call fcn.0043aeb2
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0x20019
push ebx
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x417b95
push edi
push esi
push ebp
xor ebp, ebp
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push 0x104
push eax
push ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, eax
cmp edi, ebx
jne 0x417b7e
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push 0x20019
lea eax, [esp + 0x38]
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x417b7e
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push 0x4651b8
push eax
push ebx
push str.CPLName
push ecx
mov dword [esp + 0x38], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x417b73
push 0x4651b8
lea ecx, [esp + 0x1c]
call fcn.0043ab82
push 0x18
mov byte [esp + 0x140], 1
call fcn.004369c3
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebx
mov byte [esp + 0x13c], 2
je 0x417b32
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0043a9d9
mov ecx, esi
call fcn.00417bc0
jmp 0x417b34
xor eax, eax
mov ecx, dword [eax + 0x10]
mov byte [esp + 0x13c], 1
cmp ecx, ebx
je 0x417b56
mov ecx, dword [esp + 0x144]
push eax
mov eax, dword [ecx + 8]
push eax
call fcn.00435bfe
jmp 0x417b63
cmp eax, ebx
je 0x417b63
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], bl
call fcn.0043ab14
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebp
cmp edi, ebx
je 0x417a73
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop esi
pop edi
lea ecx, [esp + 4]
mov dword [esp + 0x130], 0xffffffff
call fcn.0043ab14
mov ecx, dword [esp + 0x128]
pop ebx
mov dword fs:[0], ecx
add esp, 0x130
ret
Function at 0x417ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x449a67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
lea ecx, [esp + 8]
mov dword [esp + 0x10], 0
call fcn.0043a9c9
lea ecx, [esp + 4]
mov dword [esp + 0x20], 1
call fcn.0043a9c9
push str.SOFTWARE3COMTCAUDIAG_
lea ecx, [esp + 8]
mov byte [esp + 0x24], 2
call fcn.0043ac5c
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 4]
push eax
call fcn.0043aeb2
mov edx, dword [esp + 4]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x417da2
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
push 0x4645b0
push ecx
push 0
push str.DriverNames
push edx
mov dword [esp + 0x44], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x417d97
push 0x4645b0
lea ecx, [esp + 0xc]
call fcn.0043ac5c
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x28]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.0043a9d9
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.0043ab14
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.0043ab14
mov ecx, dword [esp + 0x18]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x417df0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x449aa1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
push str.SystemCurrentControlSetServicesClassNetTrans
lea ecx, [esp + 0xc]
call fcn.0043ab82
mov ecx, dword [esp + 8]
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push 0x20019
push ebx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x144], ebx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x417f62
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
mov dword [esp + 0x18], ebx
cmp esi, ebx
jne 0x417f59
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push 0x104
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebp, eax
cmp ebp, ebx
jne 0x417f48
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
push 0x20019
lea eax, [esp + 0x34]
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x417f41
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
push 0x20019
push ebx
push str.InstallWizard
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x417f41
lea ecx, [esp + 0x10]
push 0x45d1e8
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.0043ad6b
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x20]
push ecx
push eax
push edx
mov byte [esp + 0x144], 1
call fcn.0043ad6b
mov ecx, dword [esp + 0x140]
push eax
mov byte [esp + 0x13c], 2
call fcn.0043ac0d
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 1
call fcn.0043ab14
lea ecx, [esp + 0x28]
mov byte [esp + 0x138], bl
call fcn.0043ab14
mov eax, dword [esp + 0x24]
mov esi, 1
push eax
call edi
mov ecx, dword [esp + 0x1c]
push str.InstallWizard
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 0x1c]
push edx
call edi
mov ecx, dword [esp + 0x18]
inc ecx
cmp ebp, ebx
mov dword [esp + 0x18], ecx
je 0x417e55
mov eax, dword [esp + 0x14]
push eax
call edi
pop ebp
pop edi
lea ecx, [esp + 8]
mov dword [esp + 0x130], 0xffffffff
call fcn.0043ab14
mov ecx, dword [esp + 0x128]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x12c
ret
Function at 0x418010
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x230
lea eax, [esp + 0x10]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push eax
push 0x20019
push 0
push str.HARDWARERESOURCEMAP
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x4181e6
push esi
push ebp
push ebx
mov ebx, dword [esp + 0x244]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x38]
push 0x104
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
mov dword [esp + 0x28], esi
jne 0x4181c7
lea ecx, [esp + 0x10]
lea edx, [esp + 0x38]
push ecx
push 0x20019
push eax
mov eax, dword [esp + 0x2c]
push edx
push eax
call edi
test eax, eax
jne 0x4181c7
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x13c]
push 0x104
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
mov dword [esp + 0x2c], esi
jne 0x4181a7
lea ecx, [esp + 0x24]
lea edx, [esp + 0x13c]
push ecx
push 0x20019
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call edi
test eax, eax
jne 0x4181a7
xor ebp, ebp
lea ecx, [esp + 0x14]
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x28]
push 0x463db0
push edx
lea eax, [esp + 0x3c]
push 0
push eax
push 0x4649b0
push ebp
push ecx
mov dword [esp + 0x50], 0x400
mov dword [esp + 0x34], 0x800
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov edi, eax
test edi, edi
jne 0x418189
push str.Translated
push 0x4649b0
call fcn.00422c50
add esp, 8
test eax, eax
je 0x418189
lea edx, [esp + 0x38]
push edx
push str.Key___s_n
push ebx
call fcn.004215e0
add esp, 0xc
push 0x4649b0
push str.Value_Name___s_n
push ebx
call fcn.004215e0
mov eax, dword [esp + 0x20]
add esp, 0xc
xor esi, esi
test eax, eax
jle 0x418189
xor eax, eax
mov al, byte [esi + 0x463db0]
push eax
push esi
push str.data__d____d_n
push ebx
call fcn.004215e0
mov eax, dword [esp + 0x24]
add esp, 0x10
inc esi
cmp esi, eax
jl 0x418168
inc ebp
test edi, edi
je 0x4180e5
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
inc ecx
test esi, esi
mov dword [esp + 0x1c], ecx
je 0x418096
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
inc ecx
test esi, esi
mov dword [esp + 0x18], ecx
je 0x41804b
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop ebp
pop esi
pop edi
add esp, 0x230
ret

Function at 0x418230
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
push esi
push eax
xor esi, esi
mov dword [esp + 8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x14], 2
jne 0x41825f
cmp dword [esp + 8], 5
jne 0x41825f
mov esi, 1
mov eax, esi
pop esi
add esp, 0x94
ret
Function at 0x418270
Capabilities:
Compare security identifiers

Disassembly:
sub esp, 0x414
push ebx
push ebp
push esi
lea eax, [esp + 0x18]
push edi
xor ebx, ebx
push eax
push 0x20008
mov byte [esp + 0x18], bl
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1c], bl
mov byte [esp + 0x1d], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4182bb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x414
ret
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push 0x400
push edx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ecx, dword [esp + 0x1c]
mov esi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
jne 0x4182f5
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x414
ret
lea edx, [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x418323
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x414
ret
mov eax, dword [esp + 0x24]
xor ebp, ebp
xor esi, esi
cmp eax, ebx
jbe 0x41835a
mov ebx, dword [sym.imp.ADVAPI32.dll_EqualSid]
lea edi, [esp + 0x28]
mov ecx, dword [edi]
mov edx, dword [esp + 0x18]
push ecx
push edx
call ebx
test eax, eax
jne 0x418355
mov eax, dword [esp + 0x24]
inc esi
add edi, 8
cmp esi, eax
jb 0x418339
jmp 0x41835a
mov ebp, 1
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x414
ret
Function at 0x41a100
Capabilities:
Get common file path

Disassembly:
sub esp, 0xc8
push ebx
push esi
push edi
push 0x104
mov ebx, ecx
push 0x4662e0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x45d1e8
or ecx, 0xffffffff
xor eax, eax
push 0x45d144
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x4662e0
mov esi, edi
mov edx, ecx
mov edi, 0x4662e0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.tcaudiag.url
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x4662e0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00421670
mov esi, eax
add esp, 8
test esi, esi
je 0x41a219
push esi
lea eax, [esp + 0x60]
push 0x78
push eax
call fcn.00422600
add esp, 0xc
test eax, eax
je 0x41a210
lea ecx, [esp + 0x5c]
push ecx
call fcn.004349c0
add esp, 4
lea edx, [esp + 0xc]
lea eax, [esp + 0x5c]
push edx
push str.URL_s
push eax
call fcn.004225b0
add esp, 0xc
cmp eax, 1
je 0x41a1f3
push esi
lea ecx, [esp + 0x60]
push 0x78
push ecx
call fcn.00422600
add esp, 0xc
test eax, eax
jne 0x41a1a3
push esi
call fcn.00421530
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0xc8
ret
lea edx, [esp + 0xc]
push edx
call fcn.00434b40
add esp, 4
lea eax, [esp + 0xc]
lea ecx, [ebx + 0x104]
push eax
call fcn.0043a23f
push esi
call fcn.00421530
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0xc8
ret

Function at 0x41c390
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [ecx + 0xec]
mov edx, 1
cmp eax, edx
jne 0x41c3c5
cmp dword [ecx + 0xf0], edx
jne 0x41c3b4
push edx
push str.TCAUDIAG__td__delay
call dword [sym.imp.KERNEL32.dll_WinExec]
ret
cmp eax, edx
jne 0x41c3c5
push edx
push str.TCAUDIAG__on__delay
call dword [sym.imp.KERNEL32.dll_WinExec]
ret
cmp dword [ecx + 0xf0], edx
jne 0x41c3d9
push edx
push str.TCAUDIAG__delay
call dword [sym.imp.KERNEL32.dll_WinExec]
ret
Function at 0x41c640
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44a47b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x360
push ebx
push esi
push edi
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x16d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xc]
stosb byte es:[edi], al
call fcn.0043a9c9
lea eax, [esp + 0x16c]
push 0x105
push eax
mov dword [esp + 0x37c], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
or ecx, 0xffffffff
lea edi, [esp + 0x16c]
xor eax, eax
lea edx, [esp + 0x64]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x64]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x45d1e8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x64]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x37c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x11
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov ax, word [esp + 0x384]
lea ecx, [esp + 0x10]
mov word [esp + 0x50], ax
push ecx
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x50], 1
push edx
lea eax, [esp + 0x174]
mov ecx, dword [esp + 0x388]
push eax
push 0
push 0x20
push 1
push 0
push 0
lea edx, [esp + 0x84]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [esp + 0x10]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41c797
push eax
call esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41c7a2
push eax
call esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x374], 0xffffffff
call fcn.0043ab14
mov ecx, dword [esp + 0x36c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x36c
ret 0xc

Function at 0x41d030
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x10]
sub eax, 0
je 0x41d0ba
dec eax
je 0x41d0a5
dec eax
jne 0x41d0ba
mov eax, dword [esp + 4]
cmp eax, 4
jne 0x41d06d
mov eax, 1
add esp, 0x94
ret
cmp eax, 3
jne 0x41d07b
xor eax, eax
add esp, 0x94
ret
cmp eax, 5
jne 0x41d0ba
mov eax, dword [esp + 8]
test eax, eax
jne 0x41d094
mov eax, 4
add esp, 0x94
ret
cmp eax, 1
jne 0x41d0ba
mov eax, 5
add esp, 0x94
ret
mov edx, dword [esp + 8]
xor eax, eax
test edx, edx
setne al
add eax, 2
add esp, 0x94
ret
or eax, 0xffffffff
add esp, 0x94
ret
Function at 0x41d139
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x44a5b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push str.TCAUDIAG.HLP
lea edi, [esi + 0xdc]
mov dword [esi + 0x138], ebx
mov ecx, edi
mov dword [esi + 0x140], ebx
call fcn.0043ac5c
push str.0409
lea ecx, [esp + 0x18]
call fcn.0043ab82
mov dword [esp + 0x2c], ebx
lea eax, [esp + 0x1c]
push 5
mov ebx, 1
push eax
push ebx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
cmp eax, 5
jne 0x41d2bd
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.00421880
add esp, 8
test eax, eax
je 0x41d2bd
push ebp
push str.TCAD
lea ecx, [esp + 0x18]
call fcn.0043ab82
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x34], bl
call fcn.0043aeb2
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.0043ac0d
push str..dll
lea ecx, [esp + 0x18]
call fcn.0043aeb2
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
test ebp, ebp
mov dword [esi + 0x140], ebp
je 0x41d2ae
call fcn.00442b78
mov dword [eax + 0xc], ebp
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x13c]
mov dword [esi + 0x138], ebx
call fcn.0043ac5c
push str..hlp
mov ecx, edi
call fcn.0043aeb2
mov ecx, dword [esi + 0x8c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0043ab82
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.00434e8c
inc eax
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00434deb
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 3
call fcn.0043ac0d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 2
call fcn.0043ab14
push edi
lea ecx, [esp + 0x14]
call fcn.0043aeee
lea edi, [esi + 0x130]
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.0043ac0d
mov edi, dword [edi]
lea ecx, [esp + 0x10]
mov dword [esi + 0x8c], edi
mov dword [esi + 0xc0], edi
mov byte [esp + 0x30], bl
call fcn.0043ab14
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.0043ab14
pop ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0043ab14
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret