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

Disassembly:
push 0xffffffffffffffff
push 0x5d67b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x63d178]
push esi
mov dword [esp + 8], eax
lea edx, [esp + 8]
push str.OAgent.ini
push edx
mov dword [esp + 0x38], 0
call fcn.00435d60
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push eax
call fcn.0046c430
xor ecx, ecx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x5f1614]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 4], ecx
lea edx, [esp + 0x10]
push 0x18
lea eax, [esp + 0x44]
push edx
push eax
mov byte [esp + 0x3c], 2
call fcn.0047e0d0
add esp, 0xc
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x34], 3
call fcn.0046ce50
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], 2
call fcn.0046cca0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
push ecx
push edx
push str.LastConnectTime
push str.UDiskAgentConfig
call fcn.004336b0
add esp, 0x10
mov esi, eax
push esi
push str.SetLastConnectTimeToUDPolicy_ret__d_
push str.CheckModule
push 0xf
push 0x663464
call fcn.00447850
add esp, 0x14
lea ecx, [esp + 4]
mov byte [esp + 0x30], 1
call fcn.0046cca0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.0046cca0
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.005b7d03
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 0x14

Function at 0x438790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d68f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x5f1614]
push esi
push edi
mov dword [esp + 0xc], eax
mov edx, dword [0x63d178]
mov dword [esp + 0x1c], 0
mov dword [esp + 8], edx
lea eax, [esp + 8]
push str.OAgent.ini
push eax
mov byte [esp + 0x24], 1
call fcn.00435d60
mov ecx, dword [esp + 8]
push ecx
lea ecx, [esp + 0x14]
call fcn.0046c430
mov edx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x10]
push edx
push eax
push str.UDSDProcuctID
push str.UDiskAgentConfig
mov byte [esp + 0x30], 2
call fcn.00433730
add esp, 0x14
cmp eax, 0xffffffff
je 0x438834
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x438834
mov edi, dword [esp + 0x24]
mov esi, 1
push edi
push 0x631abc
push eax
call fcn.00454abc
add esp, 0xc
jmp 0x43883c
mov edi, dword [esp + 0x24]
xor esi, esi
mov dword [edi], esi
mov ecx, dword [edi]
push esi
push ecx
push str.GetSDProductIDFromUDPolicy___lu__ret__d_
push str.checkmodule
push 0xf
push 0x663464
call fcn.00447850
add esp, 0x18
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 1
call fcn.0046cca0
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.005b7d03
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0046cca0
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x439bb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d6bbf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x63d178]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x20]
push str.Ocular
push str.Data
push ecx
lea edx, [esp + 0x10]
push str._s_s_s
push edx
mov dword [esp + 0x28], 1
call fcn.005b496b
mov esi, dword [esp + 0x30]
add esp, 0x14
lea eax, [esp + 4]
mov ecx, esi
push eax
call fcn.005b7a70
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.005b7d03
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x43bc90
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d704b
push eax
mov eax, dword [0x65b200]
mov dword fs:[0], esp
sub esp, 0xe14
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
jne 0x43bec9
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x61e]
mov word [esp + 0x61c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x416]
mov word [esp + 0x414], bx
rep stosd dword es:[edi], eax
push 0x5eb550
mov dword [0x65b200], 1
mov dword [esp + 0xc], ebx
stosw word es:[edi], ax
call fcn.00401080
push eax
lea eax, [esp + 0x41c]
push 0x630a00
push eax
call fcn.004544a9
add esp, 0x10
lea ecx, [esp + 0x414]
lea edx, [esp + 0x61c]
push ecx
push 0x400
push edx
push 0x65aa38
push 0x5eb580
push 0x5eb568
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x43bd8a
cmp word [esp + 0xe1a], bx
jne 0x43bd8a
lea eax, [esp + 0x14]
push 0x400
lea ecx, [esp + 0x620]
push eax
push ecx
call fcn.00484980
add esp, 0xc
mov dword [esp + 8], eax
jmp 0x43bd8e
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x43be93
lea ecx, [esp + 0xc]
call fcn.00480e90
push 0x20019
push 0x5eb588
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
mov dword [esp + 0xe30], ebx
call fcn.00481000
test eax, eax
je 0x43be0a
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
push 0x5eb614
call fcn.00481420
cmp eax, ebx
je 0x43be0a
mov ecx, dword [esp + 8]
cmp ecx, 0x400
jae 0x43bdfd
mov edx, ecx
push esi
mov esi, eax
lea edi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x43be01
mov dword [esp + 8], ebx
push eax
call fcn.005b83f5
add esp, 4
lea ecx, [esp + 0xc]
call fcn.00481050
lea ecx, [esp + 0xc]
mov dword [esp + 0xe24], 0xffffffff
call fcn.00480f80
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x43be93
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x61c]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0x620]
push eax
push 0x65aa38
push 0x5eb614
push 0x5eb61c
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
jbe 0x43be8b
cmp word [esp + 0xe1a], bx
jne 0x43be8b
lea ecx, [esp + 0x14]
push 0x400
lea edx, [esp + 0x620]
push ecx
push edx
call fcn.00484980
add esp, 0xc
jmp 0x43be8f
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x43bec9
cmp eax, 4
jbe 0x43bec9
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x43bec9
cmp dword [esp + 0x14], 1
je 0x43bec9
mov edx, dword [esp + 0x30]
and edx, 0xffff
lea ecx, [edx + edx + 0x22]
cmp ecx, ebx
je 0x43bec9
add eax, 0xfffffffc
cmp ecx, eax
ja 0x43bec9
mov eax, dword [esp + 0x1c]
mov dword [0x65b1fc], eax
mov ecx, dword [esp + 0xe1c]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0xe20
ret
Function at 0x43d520
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d72b0
push eax
mov dword fs:[0], esp
sub esp, 0x10
xor eax, eax
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, ecx
push edi
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43d5a0
push 0x3d
push ebp
call fcn.00453f90
add esp, 8
test eax, eax
jne 0x43d5a0
push 0x3b
push ebp
call fcn.00453f90
add esp, 8
test eax, eax
jne 0x43d5a0
mov eax, dword [0x5f1610]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0
push ecx
push ebp
mov ecx, esi
call fcn.0043e2f0
test eax, eax
je 0x43d5b6
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00467510
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea edx, [esp + 0x20]
push edx
call fcn.0047dff0
add esp, 0xc
mov edi, eax
add esi, 4
push ebp
lea eax, [esp + 0x18]
push esi
push eax
mov byte [esp + 0x30], 1
call fcn.00467c50
push 0x3d
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x30], 2
call fcn.00468c60
push edi
lea edx, [esp + 0x10]
push eax
push edx
mov byte [esp + 0x30], 3
call fcn.00467a90
push 0x3b
push eax
lea eax, [esp + 0x38]
mov byte [esp + 0x2c], 4
push eax
call fcn.00468c60
push eax
mov ecx, esi
mov byte [esp + 0x28], 5
call fcn.004676b0
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 4
call fcn.00467510
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call fcn.00467510
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.00467510
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00467510
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 0
call fcn.00467510
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00467510
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x43dd90
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d73e8
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 0x43de0d
push 0x3d
push esi
call fcn.00453f90
add esp, 8
test eax, eax
jne 0x43de0d
push 0x3b
push esi
call fcn.00453f90
add esp, 8
test eax, eax
jne 0x43de0d
mov eax, dword [0x5f1610]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
push ecx
push esi
mov ecx, ebx
call fcn.0043e2f0
test eax, eax
jne 0x43de23
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00467510
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.005b83cc
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.0047e1c0
mov ecx, dword [esp + 0x30]
add esp, 0x10
push ebx
call fcn.004677d0
push ebx
call fcn.005b83f5
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00467510
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 0x43dea0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d7408
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 0x43df1d
push 0x3d
push esi
call fcn.00453f90
add esp, 8
test eax, eax
jne 0x43df1d
push 0x3b
push esi
call fcn.00453f90
add esp, 8
test eax, eax
jne 0x43df1d
mov eax, dword [0x5f1610]
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0
push ecx
push esi
mov ecx, ebx
call fcn.0043e2f0
test eax, eax
jne 0x43df33
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00467510
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.005b83cc
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.0047e1c0
mov ecx, dword [esp + 0x30]
add esp, 0x10
push esi
call fcn.0046cf80
push esi
call fcn.005b83f5
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00467510
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 0x43e460
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
push esi
je 0x43e4c4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x43e4c4
mov edx, dword [esp + 0x14]
test edx, edx
je 0x43e4c4
mov ecx, dword [esp + 0x1c]
xor eax, eax
test ecx, ecx
je 0x43e486
mov dword [ecx], esi
mov ecx, dword [esp + 0x18]
cmp ecx, esi
jb 0x43e4c6
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 0x43e4ba
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 0x43e4ae
pop esi
mov eax, 1
pop ebx
ret 0x14
xor eax, eax
pop esi
pop ebx
ret 0x14

Function at 0x43e590
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.0043e530
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
pop esi
jne 0x43e5c2
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005bed9c
ret 8

Function at 0x43e594
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.0043e530
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
pop esi
jne 0x43e5c2
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.005bed9c
ret 8

Function at 0x43e5d0
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 0x43e60b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x43e607
mov esi, dword [esi + 0xc]
push esi
call edi
push eax
call fcn.005bed9c
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop edi
pop esi
add esp, 8
ret

Function at 0x43e5d3
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 0x43e60b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x43e607
mov esi, dword [esi + 0xc]
push esi
call edi
push eax
call fcn.005bed9c
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
pop edi
pop esi
add esp, 8
ret
Function at 0x43e6a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5d74ab
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], 0x5eb734
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.005b8513
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], 0x5eb6bc
mov eax, ebx
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 0x10

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

Disassembly:
push 0xffffffffffffffff
push 0x5d78c8
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.005b7d77
mov eax, dword [0x63d178]
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.005b496b
mov edx, dword [0x63d178]
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.005b496b
mov ecx, dword [esp + 0x14]
push 0
push ecx
call fcn.0049b6c0
add esp, 0x18
test eax, eax
je 0x442c68
mov edx, dword [esp + 0xc]
push 0
push edx
call fcn.0049b6c0
add esp, 8
test eax, eax
je 0x442c68
mov eax, dword [esp + 8]
push 0
push eax
call fcn.0049b6c0
add esp, 8
test eax, eax
jne 0x442c6c
xor esi, esi
jmp 0x442c98
mov ecx, dword [esp + 4]
push ecx
call fcn.00544000
mov edx, dword [esp + 8]
add esp, 4
mov esi, eax
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x16
je 0x442c98
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.005b7d03
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 0
call fcn.005b7d03
lea ecx, [esp + 4]
mov dword [esp + 0x18], 0xffffffff
call fcn.005b7d03
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x442fd0
Capabilities:
Access peb ldr_data
Copy file
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5d7928
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x63d178]
push esi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push str.OAgent.ini
push ecx
mov ecx, 0x65b1c8
mov dword [esp + 0x28], 0
call fcn.00435d60
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.0046c430
mov eax, dword [0x5f1614]
mov dword [esp + 4], eax
push str.OAgent.ini
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call fcn.0046c430
mov esi, eax
mov byte [esp + 0x20], 3
call fcn.00401080
push eax
lea ecx, [esp + 0x14]
call fcn.0046c430
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xc]
push 0x630a00
push eax
mov byte [esp + 0x30], 4
call fcn.0046fcb0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.0046cca0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call fcn.0046cca0
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 0x663464
call fcn.00447850
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.0046cca0
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.0046cca0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.005b7d03
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x5d7968
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x63d178]
push esi
mov dword [esp + 8], eax
lea ecx, [esp + 8]
push str.OPolicy.ini
push ecx
mov ecx, 0x65b1c8
mov dword [esp + 0x28], 0
call fcn.00435d60
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push edx
call fcn.0046c430
mov eax, dword [0x5f1614]
mov dword [esp + 4], eax
push str.OPolicy.ini
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call fcn.0046c430
mov esi, eax
mov byte [esp + 0x20], 3
call fcn.00401080
push eax
lea ecx, [esp + 0x14]
call fcn.0046c430
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0xc]
push 0x630a00
push eax
mov byte [esp + 0x30], 4
call fcn.0046fcb0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.0046cca0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call fcn.0046cca0
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.0046cca0
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.0046cca0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.005b7d03
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x443210
Capabilities:
Access peb ldr_data
Copy file
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5d79a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x63d178]
push esi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push str.tsdsoftware.dat
push ecx
mov ecx, 0x65b1c8
mov dword [esp + 0x28], 0
call fcn.00435d60
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.0046c430
mov eax, dword [0x5f1614]
mov dword [esp + 4], eax
push str.tsdsoftware.dat
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call fcn.0046c430
mov esi, eax
mov byte [esp + 0x20], 3
call fcn.00401080
push eax
lea ecx, [esp + 0x14]
call fcn.0046c430
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.0046fcb0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.0046cca0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call fcn.0046cca0
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 0x663464
call fcn.00447850
add esp, 0x1c
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.0046cca0
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.0046cca0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.005b7d03
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x443340
Capabilities:
Access peb ldr_data
Copy file
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5d79e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x63d178]
push esi
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
push str.tsdoso.dat
push ecx
mov ecx, 0x65b1c8
mov dword [esp + 0x28], 0
call fcn.00435d60
mov edx, dword [esp + 0xc]
lea ecx, [esp + 8]
push edx
call fcn.0046c430
mov eax, dword [0x5f1614]
mov dword [esp + 4], eax
push str.tsdoso.dat
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 2
call fcn.0046c430
mov esi, eax
mov byte [esp + 0x20], 3
call fcn.00401080
push eax
lea ecx, [esp + 0x14]
call fcn.0046c430
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.0046fcb0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
call fcn.0046cca0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call fcn.0046cca0
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 0x663464
call fcn.00447850
add esp, 0x1c
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.0046cca0
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.0046cca0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.005b7d03
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret