joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404b20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x446f90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call fcn.0043a9c9
lea eax, [esp + 8]
push 0x921
push eax
mov dword [esp + 0x30], 0
call fcn.004351b2
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0xcc]
add esp, 8
push ecx
push edx
call fcn.004215e0
mov eax, dword [esi + 0xcc]
add esp, 8
push 0x45d1e0
push eax
call fcn.004215e0
add esp, 8
lea ecx, [esp + 8]
push 0x925
push ecx
call fcn.004351b2
add esp, 8
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.00404960
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0xcc]
push eax
push ecx
call fcn.004215e0
mov edx, dword [esi + 0xcc]
add esp, 8
push 0x45d1e0
push edx
call fcn.004215e0
add esp, 8
lea ecx, [esp + 0xc]
call fcn.0043a9c9
push 0x932
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 1
call fcn.0043b0c6
lea ecx, [esp + 0x10]
call fcn.0043a9c9
push 0x930
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.0043b0c6
mov eax, dword [esp + 0x10]
push 0x45d144
push eax
call fcn.00421670
mov edi, eax
add esp, 8
test edi, edi
je 0x404c4d
push edi
push 0x400
push 1
push 0x4634d0
call fcn.00421980
add esp, 0x10
test eax, eax
je 0x404c44
push 0x4634d0
lea ecx, [esp + 0x10]
call fcn.0043ac5c
push edi
call fcn.00421530
add esp, 4
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 0xcc]
push ecx
push edx
call fcn.004215e0
mov eax, dword [esi + 0xcc]
add esp, 8
push 0x45d1e0
push eax
call fcn.004215e0
add esp, 8
lea ecx, [esp + 8]
push 0x912
push ecx
call fcn.004351b2
add esp, 8
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.00404960
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0xcc]
push eax
push ecx
call fcn.004215e0
mov edx, dword [esi + 0xcc]
add esp, 8
push 0x45d0cc
push edx
call fcn.004215e0
add esp, 8
lea eax, [esp + 0x14]
push eax
call fcn.00421b00
mov ecx, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 0x1c]
mov dword [esp + 0x18], ecx
push str._A___B__d___Y
push edx
lea ecx, [esp + 0x20]
call fcn.004356ee
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 3
call fcn.0043ac0d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
call fcn.0043ab14
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0xcc]
push eax
push ecx
call fcn.004215e0
mov edx, dword [esi + 0xcc]
add esp, 8
push 0x45d1e0
push edx
call fcn.004215e0
mov eax, dword [0x463cf0]
add esp, 8
lea edx, [esp + 8]
mov ecx, dword [eax + 0x218]
push ecx
push 0x926
push edx
call fcn.004351b2
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0xcc]
add esp, 0xc
push eax
push ecx
call fcn.004215e0
mov edx, dword [esi + 0xcc]
add esp, 8
push 0x45d0cc
push edx
call fcn.004215e0
add esp, 8
mov byte [esp + 0x28], 1
lea ecx, [esp + 0x10]
call fcn.0043ab14
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.0043ab14
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.0043ab14
mov ecx, dword [esp + 0x20]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret
Function at 0x405260
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x447010
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebp
push esi
push edi
mov ebp, ecx
push 0x104
push 0x462fe0
mov dword [esp + 0x50], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x45d1e8
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x462fe0
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, dword [esp + 0x50]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x462fe0
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]
lea ecx, [esp + 0x10]
call fcn.0043a9c9
lea eax, [esp + 0x1c]
mov byte [esp + 0x48], 1
push eax
push 0x462fe0
call fcn.00421e90
add esp, 8
test eax, eax
jne 0x4053b1
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x18]
mov dword [esp + 0x14], ecx
push 0x45d1e4
push edx
lea ecx, [esp + 0x1c]
call fcn.0043573f
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x4c], 2
call fcn.0043ac0d
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 1
call fcn.0043ab14
lea ecx, [esp + 0xc]
call fcn.0043a9c9
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x50]
push eax
push ecx
push edx
lea eax, [esp + 0x18]
push 0x933
push eax
mov byte [esp + 0x5c], 3
call fcn.004351b2
mov ecx, dword [ebp + 0xcc]
add esp, 0x14
push 0x45d1e0
push ecx
call fcn.004215e0
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0xcc]
add esp, 8
push edx
push eax
call fcn.004215e0
add esp, 8
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 1
call fcn.0043ab14
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0
call fcn.0043ab14
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
call fcn.0043ab14
mov ecx, dword [esp + 0x40]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x40
ret 4
Function at 0x4053f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x447040
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.0043a9c9
lea eax, [esp + 0x10]
push 0x93b
push eax
mov dword [esp + 0x30], 0
call fcn.004351b2
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0xcc]
add esp, 8
push ecx
push edx
call fcn.004215e0
mov eax, dword [edi + 0xcc]
add esp, 8
push 0x45d0cc
push eax
call fcn.004215e0
mov ecx, dword [0x463cf0]
add esp, 8
lea eax, [esp + 0xc]
mov edx, dword [ecx + 0x20c]
push edx
push eax
call fcn.00417ce0
add esp, 8
mov byte [esp + 0x28], 1
mov bl, 2
push 0x2c
lea ecx, [esp + 0x10]
call fcn.0043af9d
mov esi, eax
cmp esi, 0xffffffff
je 0x4054fe
lea ecx, [esp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x14]
call fcn.00434deb
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
mov eax, dword [edx - 8]
sub eax, esi
dec eax
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00434d6e
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 3
call fcn.0043ac0d
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0043ab14
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0043a9d9
mov ecx, edi
call fcn.00405260
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.0043ab14
jmp 0x405479
push ecx
lea eax, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.0043a9d9
mov ecx, edi
call fcn.00405260
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.0043ab14
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0043ab14
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret
Function at 0x405550
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x447066
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x124
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov dword [esp + 0x10], esi
call fcn.0043a9c9
xor edi, edi
push 0x93e
lea ecx, [esp + 0xc]
mov dword [esp + 0x138], edi
call fcn.0043b0c6
lea ecx, [esp + 0xc]
call fcn.0043a9c9
push 0x93d
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 1
call fcn.0043b0c6
lea eax, [esp + 0x14]
push eax
push 0x20019
push edi
push str.NovellSystem_ConfigInstallClient_Version
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x40568f
mov ecx, dword [esi + 0xcc]
push ebp
push ebx
push 0x45d1e0
push ecx
call fcn.004215e0
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0xcc]
add esp, 8
push edx
push eax
call fcn.004215e0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
add esp, 8
mov ebx, 4
lea ecx, [esp + 0x20]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x30]
push 0
lea edx, [esp + 0x40]
push ecx
push edx
push edi
push eax
mov dword [esp + 0x44], 0x104
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
call ebp
mov esi, eax
test esi, esi
jne 0x40567d
mov ecx, dword [esp + 0x18]
push 0x45d0cc
mov edx, dword [ecx + 0xcc]
push edx
call fcn.004215e0
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
add esp, 8
lea ecx, [esp + 0x30]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
mov ecx, dword [eax + 0xcc]
push ecx
call fcn.004215e0
add esp, 0x10
inc edi
test esi, esi
je 0x40560a
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop ebp
lea ecx, [esp + 0xc]
mov byte [esp + 0x134], 0
call fcn.0043ab14
lea ecx, [esp + 8]
mov dword [esp + 0x134], 0xffffffff
call fcn.0043ab14
mov ecx, dword [esp + 0x12c]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x130
ret

Function at 0x405800
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x447098
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.ComputerName
push str.SYSTEMCurrentControlSetControlComputerNameActiveComputerName
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00417890
add esp, 0x10
lea ecx, [esp + 4]
push str..TXT
call fcn.0043aeb2
push 1
push str.winmsd.exe__s__f
call dword [sym.imp.KERNEL32.dll_WinExec]
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
call fcn.0043a9d9
mov ecx, esi
call fcn.004051b0
mov eax, dword [esp + 4]
push eax
call fcn.004223c0
add esp, 4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0043ab14
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x406140
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x447225
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push ebp
mov ebx, ecx
push esi
xor ebp, ebp
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
call fcn.0043a9c9
mov edi, dword [ebx]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x230], 1
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebp
je 0x40624e
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebp, eax
mov eax, dword [esp + 0x14]
push ebp
push edi
lea ecx, [esp + 0x2c]
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
lea edx, [esp + 0x128]
push 0x45d1e8
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x12c]
push ecx
push edx
push ebp
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x1c]
xor ecx, ecx
mov edx, dword [eax + 0xc]
mov cx, word [eax + 0xc]
shr edx, 0x10
push ecx
push edx
mov edx, dword [eax + 8]
xor ecx, ecx
mov cx, word [eax + 8]
mov eax, dword [ebx]
shr edx, 0x10
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push str.__20s_Version:_2d._2d._2d._2d
push ecx
call fcn.00435153
add esp, 0x1c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [esp + 0x238]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.0043a9d9
mov dword [esp + 0x18], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x230], 0
call fcn.0043ab14
mov ecx, dword [esp + 0x228]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x224
ret 4
Function at 0x40a070
Capabilities:
Access peb ldr_data
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x447ad0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
lea ecx, [esp + 0xc]
xor esi, esi
call fcn.0041fb80
lea ecx, [esp + 8]
mov dword [esp + 0x30], esi
call fcn.0043a9c9
mov edi, dword [esp + 0x38]
push esi
push edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.0041fc70
test eax, eax
je 0x40a0fd
lea ecx, [esp + 0xc]
call fcn.0041fe95
lea eax, [esp + 0x38]
lea ecx, [esp + 0xc]
push eax
call fcn.0041ff64
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 2
call fcn.0043ac0d
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call fcn.0043ab14
mov edx, dword [esp + 0xc]
push 0x10
lea ecx, [esp + 0x10]
call dword [edx + 0x40]
mov esi, eax
test esi, esi
jne 0x40a153
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, eax
test esi, esi
jne 0x40a153
lea ecx, [esp + 0x38]
call fcn.0043a9c9
push edi
lea eax, [esp + 0x3c]
push 0x859
push eax
mov byte [esp + 0x3c], 3
call fcn.004351b2
mov ecx, dword [esp + 0x44]
add esp, 0xc
push esi
push 0x30859
push ecx
mov ecx, 0x4663e8
call fcn.0041dba0
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call fcn.0043ab14
lea ecx, [esp + 8]
mov byte [esp + 0x30], 0
call fcn.0043ab14
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0041fbe4
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret 4

Function at 0x40d2d0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x118
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
call fcn.004181f0
test eax, eax
je 0x40d2ee
mov eax, str.SystemCurrentControlSetServicesClassNet
jmp 0x40d301
call fcn.00418230
test eax, eax
mov eax, str.SystemCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
jne 0x40d301
mov eax, str.Software3Com
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d3c3
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
xor edi, edi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push 0x104
push edx
push edi
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x40d3af
lea ecx, [esp + 0x14]
lea edx, [esp + 0x24]
push ecx
push 0x20019
push eax
mov eax, dword [esp + 0x1c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d3a4
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push 0x4638e0
push edx
push eax
mov eax, dword [esp + 0x24]
push str.TCAUDIAG
push eax
mov dword [esp + 0x30], 0x400
call ebx
test eax, eax
jne 0x40d3a4
mov ecx, dword [esp + 0x12c]
push ecx
mov ecx, dword [esp + 0x20]
push 0x4638e0
call fcn.0040d200
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc edi
test esi, esi
je 0x40d32f
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 4
Function at 0x40daf0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
lea eax, [esp + 0xc]
push ebx
push esi
push edi
push 0x104
push eax
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.3CXXXXXX
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call fcn.004229d0
add esp, 4
test eax, eax
je 0x40db93
lea edx, [esp + 0x18]
mov ecx, 0x463cf4
push edx
call fcn.0043ac5c
push 0x45d1e8
mov ecx, 0x463cf4
call fcn.0043aeb2
lea eax, [esp + 0xc]
mov ecx, 0x463cf4
push eax
call fcn.0043aeb2
mov ecx, dword [0x463cf4]
push ecx
call fcn.004229a0
add esp, 4
test eax, eax
jne 0x40db93
mov ebx, 1
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x110
ret
push 0
push 0x30854
push 0x854
mov ecx, 0x4663e8
call fcn.0041db20
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x110
ret
Function at 0x40dbc0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x448478
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x20]
call fcn.0041fb80
mov ebp, dword [esp + 0x4c]
lea ecx, [esp + 0x10]
push ebp
mov dword [esp + 0x48], 0
call fcn.0043ab82
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 1
call fcn.0043a9c9
push 0x440
mov ecx, edi
mov byte [esp + 0x48], 2
call fcn.0043a118
lea ecx, [esp + 0x1c]
call fcn.0043a9c9
lea eax, [esp + 0x4c]
push 1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 3
call fcn.00434d6e
mov ecx, dword [eax]
push 0x45d1e8
push ecx
call fcn.00421880
mov ebx, eax
add esp, 8
neg ebx
sbb ebx, ebx
lea ecx, [esp + 0x4c]
neg ebx
call fcn.0043ab14
test bl, bl
je 0x40dc8a
push 0x45d1e8
lea ecx, [esp + 0x50]
call fcn.0043ab82
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 4
call fcn.0043aeee
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 3
call fcn.0043ab14
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.0043ac0d
lea eax, [esp + 0x4c]
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.00434d6e
mov ecx, dword [eax]
push 0x45d8b8
push ecx
call fcn.00421880
mov ebx, eax
add esp, 8
neg ebx
sbb ebx, ebx
lea ecx, [esp + 0x4c]
neg ebx
call fcn.0043ab14
test bl, bl
je 0x40dcf8
push 0x45d8b8
lea ecx, [esp + 0x50]
call fcn.0043ab82
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 5
call fcn.0043aeee
lea ecx, [esp + 0x4c]
mov byte [esp + 0x44], 3
call fcn.0043ab14
mov edx, dword [esp + 0x10]
push 0
push edx
lea ecx, [esp + 0x28]
call fcn.0041fc70
test eax, eax
jne 0x40dd4e
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 2
call fcn.0043ab14
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 1
call fcn.0043ab14
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 0
call fcn.0043ab14
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], 0xffffffff
call fcn.0041fbe4
xor eax, eax
jmp 0x40de2b
mov bl, 6
lea ecx, [esp + 0x20]
call fcn.0041fe95
mov esi, eax
mov eax, dword [esp + 0x20]
push 0x10
lea ecx, [esp + 0x24]
call dword [eax + 0x40]
cmp eax, 1
jne 0x40ddb2
lea ecx, [esp + 0x20]
call fcn.0041fe5d
test eax, eax
je 0x40dd80
test esi, esi
je 0x40dde4
jmp 0x40dd50
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x24]
call fcn.0041ff64
mov edx, dword [esp + 0x4c]
mov ecx, edi
push edx
mov byte [esp + 0x48], bl
call fcn.0040dbc0
test esi, esi
mov byte [esp + 0x44], 3
lea ecx, [esp + 0x4c]
je 0x40dddf
call fcn.0043ab14
jmp 0x40dd50
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
call fcn.0041ff64
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004223c0
add esp, 4
lea ecx, [esp + 0x18]
call fcn.0043ab14
test esi, esi
je 0x40dde4
jmp 0x40dd50
call fcn.0043ab14
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 2
call fcn.0043ab14
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 1
call fcn.0043ab14
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 0
call fcn.0043ab14
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], 0xffffffff
call fcn.0041fbe4
mov eax, 1
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret 4
Function at 0x413d30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x449106
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [esp + 0x12c]
mov edx, dword [esp + 0x128]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x12c]
push edi
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0x20], esi
call fcn.004062a0
lea ecx, [esi + 0x204]
mov dword [esp + 0x124], 0
call fcn.0043a9c9
lea edi, [esi + 0x208]
mov byte [esp + 0x124], 1
mov ecx, edi
call fcn.0043a9c9
lea ebp, [esi + 0x20c]
mov byte [esp + 0x124], 2
mov ecx, ebp
call fcn.0043a9c9
lea ecx, [esi + 0x218]
mov byte [esp + 0x124], 3
call fcn.0043a9c9
lea ebx, [esi + 0x21c]
mov byte [esp + 0x124], 4
mov ecx, ebx
mov dword [esp + 0x10], ebx
call fcn.0043a9c9
lea eax, [esp + 0x18]
push 0x104
push eax
mov byte [esp + 0x12c], 5
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.0043ac5c
push str._tcaudiag.log
mov ecx, ebx
call fcn.0043aeb2
mov eax, dword [esp + 0x130]
mov edx, dword [esp + 0x12c]
mov bl, 6
push eax
mov ecx, ebp
mov byte [esp + 0x128], bl
mov dword [esi], method.CObject.virtual_0
mov dword [esi + 0x200], edx
call fcn.0043ac0d
mov ecx, dword [esp + 0x134]
push ecx
lea ecx, [esi + 0x218]
call fcn.0043ac0d
mov edx, dword [esp + 0x138]
mov eax, dword [esp + 0x13c]
mov dword [esi + 0x210], edx
mov dword [esi + 0x214], eax
cmp dword [0x466520], 1
jne 0x413ede
push str.TCAM
mov ecx, edi
call fcn.0043ac5c
push 0x466524
mov ecx, edi
call fcn.0043aeee
push 0x45d980
mov ecx, edi
call fcn.0043aeb2
lea ecx, [esp + 0x10]
push 3
push ecx
mov ecx, ebp
call fcn.00434d6e
push eax
mov ecx, edi
mov byte [esp + 0x128], 7
call fcn.0043aeee
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], bl
call fcn.0043ab14
push edi
lea edi, [esi + 0x204]
mov ecx, edi
call fcn.0043ac0d
push 0x48
push 3
mov ecx, edi
call fcn.0043afef
jmp 0x413f0c
push ebp
mov ecx, edi
call fcn.0043ac0d
push str..DLL
mov ecx, edi
call fcn.0043aeb2
lea edi, [esi + 0x204]
push ebp
mov ecx, edi
call fcn.0043ac0d
push str..HLP
mov ecx, edi
call fcn.0043aeb2
mov ecx, dword [esp + 0x11c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x118
ret 0x14

Function at 0x414050
Capabilities:
Shutdown system

Disassembly:
push 0xffffffffffffffff
push 0x449180
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 8]
call fcn.0043a9c9
lea eax, [esp + 8]
mov ecx, esi
push eax
mov dword [esp + 0x18], 0
call fcn.004070e0
cmp eax, 1
jne 0x4140eb
mov ecx, dword [esp + 8]
push 0
push 0x21
push ecx
call fcn.0043ea6e
cmp eax, 1
jne 0x4140b3
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, esi
call fcn.00414110
jmp 0x4140eb
lea ecx, [esp + 4]
call fcn.0043a9c9
push 0x911
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.0043b0c6
mov edx, dword [esp + 4]
push 0
push 0
push edx
call fcn.0043ea6e
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.0043ab14
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.0043ab14
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret