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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a6c18
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
mov ebx, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4365dd
push 0x3d
push esi
call fcn.0044c6e0
add esp, 8
test eax, eax
jne 0x4365dd
push 0x3b
push esi
call fcn.0044c6e0
add esp, 8
test eax, eax
jne 0x4365dd
mov eax, dword [0x5be440]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
push ecx
push esi
mov ecx, ebx
call fcn.00436ac0
test eax, eax
jne 0x4365f3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045fd30
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
inc esi
push esi
call fcn.0058879e
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x28]
push eax
call fcn.004769e0
mov ecx, dword [esp + 0x30]
add esp, 0x10
push ebx
call fcn.0045fff0
push ebx
call fcn.005887c7
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045fd30
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8

Function at 0x436670
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a6c38
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, dword [esp + 0x18]
mov ebx, ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4366ed
push 0x3d
push esi
call fcn.0044c6e0
add esp, 8
test eax, eax
jne 0x4366ed
push 0x3b
push esi
call fcn.0044c6e0
add esp, 8
test eax, eax
jne 0x4366ed
mov eax, dword [0x5be440]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
push ecx
push esi
mov ecx, ebx
call fcn.00436ac0
test eax, eax
jne 0x436703
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045fd30
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 8
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
cdq
sub eax, edx
sar eax, 1
inc eax
lea ebx, [eax + eax]
push ebx
call fcn.0058879e
mov ecx, ebx
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
push ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x28]
push eax
call fcn.004769e0
mov ecx, dword [esp + 0x30]
add esp, 0x10
push esi
call fcn.004657a0
push esi
call fcn.005887c7
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045fd30
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x436c30
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
push esi
je 0x436c94
mov esi, dword [esp + 0x10]
test esi, esi
je 0x436c94
mov edx, dword [esp + 0x14]
test edx, edx
je 0x436c94
mov ecx, dword [esp + 0x1c]
xor eax, eax
test ecx, ecx
je 0x436c56
mov dword [ecx], esi
mov ecx, dword [esp + 0x18]
cmp ecx, esi
jb 0x436c96
push ebp
mov ebp, ecx
push edi
xor eax, eax
mov edi, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop ebp
test esi, esi
jbe 0x436c8a
mov ecx, ebx
mov eax, edx
sub ecx, edx
mov dl, byte [ecx + eax]
xor dl, 0x54
mov byte [eax], dl
inc eax
dec esi
jne 0x436c7e
pop esi
mov eax, 1
pop ebx
ret 0x14
xor eax, eax
pop esi
pop ebx
ret 0x14

Function at 0x436d60
Capabilities:
Clear file content

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
push 0
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00436d00
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
pop esi
jne 0x436d92
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0058f16e
ret 8

Function at 0x436d64
Capabilities:
Clear file content

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
push 0
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.00436d00
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
pop esi
jne 0x436d92
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0058f16e
ret 8

Function at 0x436da0
Capabilities:
Get file size

Disassembly:
sub esp, 8
push esi
mov esi, ecx
lea eax, [esp + 8]
push edi
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 8], eax
jne 0x436ddb
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x436dd7
mov esi, dword [esi + 0xc]
push esi
call edi
push eax
call fcn.0058f16e
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop edi
pop esi
add esp, 8
ret

Function at 0x436da3
Capabilities:
Get file size

Disassembly:
sub esp, 8
push esi
mov esi, ecx
lea eax, [esp + 8]
push edi
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 8], eax
jne 0x436ddb
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x436dd7
mov esi, dword [esi + 0xc]
push esi
call edi
push eax
call fcn.0058f16e
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop edi
pop esi
add esp, 8
ret
Function at 0x436e70
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5a6cdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
mov ebx, ecx
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [ebx + 0x4c], 0x5b8564
mov dword [ebx + 0x50], ebp
mov dword [ebx + 0x5c], ebp
mov dword [ebx + 0x58], ebp
mov dword [ebx + 0x54], ebp
lea ecx, [ebx + 0x60]
mov dword [esp + 0x4c], ebp
call fcn.005888e5
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], ebp
rep stosd dword es:[edi], eax
lea eax, [ebx + 0x18]
mov ecx, 0xc
lea esi, [esp + 0x14]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x54]
mov dword [eax], 0x2005354
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x30], ecx
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x2c], eax
add eax, 0x30
add ecx, 4
mov dword [ebx + 0x20], ebp
mov dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0x60]
mov dword [ebx + 0x70], ecx
mov ecx, dword [esp + 0x44]
pop edi
mov dword [ebx + 0x28], ebp
mov dword [ebx + 0x24], ebp
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x48], ebp
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
pop esi
mov dword [ebx], 0x5b84ec
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0x10

Function at 0x43b380
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5a70f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
call fcn.00401080
push eax
lea ecx, [esp + 8]
call fcn.00588149
mov eax, dword [0x603f10]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], 1
call fcn.00401080
push eax
lea ecx, [esp + 0x10]
push str._sTSafeDoc
push ecx
call fcn.00584d3d
mov edx, dword [0x603f10]
add esp, 0xc
mov dword [esp + 8], edx
push str.tsusercfg
mov byte [esp + 0x1c], 2
call fcn.00401080
push eax
lea eax, [esp + 0x10]
push str._s_tsafedoc_s
push eax
call fcn.00584d3d
mov ecx, dword [esp + 0x14]
push 0
push ecx
call fcn.004902b0
add esp, 0x18
test eax, eax
je 0x43b438
mov edx, dword [esp + 0xc]
push 0
push edx
call fcn.004902b0
add esp, 8
test eax, eax
je 0x43b438
mov eax, dword [esp + 8]
push 0
push eax
call fcn.004902b0
add esp, 8
test eax, eax
jne 0x43b43c
xor esi, esi
jmp 0x43b468
mov ecx, dword [esp + 4]
push ecx
call fcn.005151a0
mov edx, dword [esp + 8]
add esp, 4
mov esi, eax
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x16
je 0x43b468
mov eax, dword [esp + 4]
push 6
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 8]
mov byte [esp + 0x18], 1
call fcn.005880d5
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.005880d5
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.005880d5
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x43b7a0
Capabilities:
Access peb ldr_data
Copy file
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a7158
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x603f10]
push esi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push str.OAgent.ini
push ecx
mov ecx, 0x621060
mov dword [esp + 0x28], 0
call fcn.0042e530
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.00464c50
mov eax, dword [0x5be444]
mov dword [esp + 4], eax
push str.OAgent.ini
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call fcn.00464c50
mov esi, eax
mov byte [esp + 0x20], 3
call fcn.00401080
push eax
lea ecx, [esp + 0x14]
call fcn.00464c50
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xc]
push 0x5f8c58
push eax
mov byte [esp + 0x30], 4
call fcn.004684d0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.004654c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call fcn.004654c0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push ecx
push edx
push str.UpdatePolicy2UDisk_UpdateOAgentIni___s____s_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add esp, 0x18
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x20], 1
call fcn.004654c0
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.004654c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.005880d5
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x43b8d0
Capabilities:
Access peb ldr_data
Copy file
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a7198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x603f10]
push esi
mov dword [esp + 8], eax
lea ecx, [esp + 8]
push str.OPolicy.ini
push ecx
mov ecx, 0x621060
mov dword [esp + 0x28], 0
call fcn.0042e530
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push edx
call fcn.00464c50
mov eax, dword [0x5be444]
mov dword [esp + 4], eax
push str.OPolicy.ini
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call fcn.00464c50
mov esi, eax
mov byte [esp + 0x20], 3
call fcn.00401080
push eax
lea ecx, [esp + 0x14]
call fcn.00464c50
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xc]
push 0x5f8c58
push eax
mov byte [esp + 0x30], 4
call fcn.004684d0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.004654c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call fcn.004654c0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x20], 1
call fcn.004654c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.004654c0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.005880d5
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x43b9e0
Capabilities:
Access peb ldr_data
Copy file
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a71d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x603f10]
push esi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push str.tsdsoftware.dat
push ecx
mov ecx, 0x621060
mov dword [esp + 0x28], 0
call fcn.0042e530
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.00464c50
mov eax, dword [0x5be444]
mov dword [esp + 4], eax
push str.tsdsoftware.dat
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call fcn.00464c50
mov esi, eax
mov byte [esp + 0x20], 3
call fcn.00401080
push eax
lea ecx, [esp + 0x14]
call fcn.00464c50
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xc]
push str._sTSafeDoc_s
push eax
mov byte [esp + 0x30], 4
call fcn.004684d0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.004654c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call fcn.004654c0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [esp + 8]
mov esi, eax
mov eax, dword [esp + 4]
push esi
push eax
push ecx
push str.UpdateSDSoftware___s_____s__bRet__lu_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x1c
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.004654c0
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.004654c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.005880d5
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x43bb10
Capabilities:
Access peb ldr_data
Copy file
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a7218
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x603f10]
push esi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push str.tsdoso.dat
push ecx
mov ecx, 0x621060
mov dword [esp + 0x28], 0
call fcn.0042e530
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.00464c50
mov eax, dword [0x5be444]
mov dword [esp + 4], eax
push str.tsdoso.dat
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call fcn.00464c50
mov esi, eax
mov byte [esp + 0x20], 3
call fcn.00401080
push eax
lea ecx, [esp + 0x14]
call fcn.00464c50
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xc]
push str._sTSafeDoc_s
push eax
mov byte [esp + 0x30], 4
call fcn.004684d0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.004654c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call fcn.004654c0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [esp + 8]
mov esi, eax
mov eax, dword [esp + 4]
push esi
push eax
push ecx
push str.UpdateOutgoObject___s_____s__bRet__lu_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x1c
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.004654c0
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.004654c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.005880d5
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x43bc40
Capabilities:
Access peb ldr_data
Copy file
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a7258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x603f10]
push esi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push str.tsdosm.dat
push ecx
mov ecx, 0x621060
mov dword [esp + 0x28], 0
call fcn.0042e530
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.00464c50
mov eax, dword [0x5be444]
mov dword [esp + 4], eax
push str.tsdosm.dat
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call fcn.00464c50
mov esi, eax
mov byte [esp + 0x20], 3
call fcn.00401080
push eax
lea ecx, [esp + 0x14]
call fcn.00464c50
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xc]
push str._sTSafeDoc_s
push eax
mov byte [esp + 0x30], 4
call fcn.004684d0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.004654c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call fcn.004654c0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [esp + 8]
mov esi, eax
mov eax, dword [esp + 4]
push esi
push eax
push ecx
push str.UpdateOutgoCom___s_____s__bRet__lu_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x1c
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.004654c0
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.004654c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.005880d5
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x43bd70
Capabilities:
Access peb ldr_data
Copy file
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a7298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x603f10]
push esi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push str.tsdarea.dat
push ecx
mov ecx, 0x621060
mov dword [esp + 0x28], 0
call fcn.0042e530
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.00464c50
mov eax, dword [0x5be444]
mov dword [esp + 4], eax
push str.tsdarea.dat
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call fcn.00464c50
mov esi, eax
mov byte [esp + 0x20], 3
call fcn.00401080
push eax
lea ecx, [esp + 0x14]
call fcn.00464c50
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xc]
push str._sTSafeDoc_s
push eax
mov byte [esp + 0x30], 4
call fcn.004684d0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.004654c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call fcn.004654c0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [esp + 8]
mov esi, eax
mov eax, dword [esp + 4]
push esi
push eax
push ecx
push str.UpdateOutgoCom___s_____s__bRet__lu_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x1c
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.004654c0
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.004654c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.005880d5
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x43bea0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x5a72d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x603f10]
push esi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push str.UDiskInfo.dat
push ecx
mov ecx, 0x621060
mov dword [esp + 0x28], 0
call fcn.0042e530
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.00464c50
mov eax, dword [0x5be444]
mov dword [esp + 4], eax
mov byte [esp + 0x20], 2
call fcn.00430b90
push eax
lea ecx, [esp + 0x14]
call fcn.00588149
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x20], 3
push ecx
lea ecx, [esp + 0x18]
call fcn.00464c50
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x24], 4
call fcn.00465670
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 3
call fcn.004654c0
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
mov esi, eax
push esi
push ecx
push edx
push str.UpdateUDiskAuth___s_____s__bRet__lu_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x1c
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call fcn.005880d5
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.004654c0
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.004654c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.005880d5
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x43bfc0
Capabilities:
Access peb ldr_data
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x5a7328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
lea eax, [esp + 8]
mov ecx, 0x621060
push eax
mov dword [esp + 0xc], 0
call fcn.00430f60
test eax, eax
jne 0x43c01d
push str.UpdateTSDUserCfg_GetSDProductIDFromUDPolicy_fail
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x10
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, dword [0x603f10]
push esi
push edi
mov dword [esp + 8], ecx
lea edx, [esp + 8]
push str.tsdusercfg_
push edx
mov ecx, 0x621060
mov dword [esp + 0x38], 0
call fcn.0042e530
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
call fcn.00587e42
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x10]
push str._s_lu.dat
push eax
mov byte [esp + 0x40], 1
call fcn.00584d3d
mov ecx, dword [esp + 0x18]
add esp, 0x10
push ecx
lea ecx, [esp + 0x18]
call fcn.00464c50
mov edx, dword [0x5be444]
mov dword [esp + 0xc], edx
push str.tsdusercfg_
lea ecx, [esp + 0x28]
mov byte [esp + 0x34], 3
call fcn.00464c50
mov esi, eax
push str.tsusercfg
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], 4
call fcn.00464c50
mov edi, eax
mov byte [esp + 0x30], 5
call fcn.00401080
push eax
lea ecx, [esp + 0x20]
call fcn.00464c50
mov ecx, dword [esp + 0x10]
mov edx, dword [esi]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._s_tsafedoc_s_s_lu.dat
push eax
mov byte [esp + 0x48], 6
call fcn.004684d0
add esp, 0x18
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 5
call fcn.004654c0
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 4
call fcn.004654c0
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 3
call fcn.004654c0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0xc]
push esi
push eax
push ecx
push str.UpdateTSDUserCfg___s_____s__bRet__lu_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x1c
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call fcn.004654c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.004654c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 0
call fcn.005880d5
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.005880d5
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret