joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407ed0
Capabilities:
Get graphical window text

Disassembly:
call fcn.004782a0
test eax, eax
je 0x407eef
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
ret
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebp, ebp
test edi, edi
je 0x407f70
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x407f70
lea ecx, [esi + esi]
xor eax, eax
mov edx, ecx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.0058879e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x407f70
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebp, eax
test ebp, ebp
je 0x407f70
push esi
mov esi, dword [esp + 0x1c]
push esi
push 0xffffffffffffffff
push ebx
xor ebp, ebp
call fcn.004042e0
add esp, 0x10
test eax, eax
je 0x407f70
push esi
call fcn.0044c0ec
add esp, 4
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret

Function at 0x408950
Capabilities:
Get hostname

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
push esi
je 0x4089c9
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4089c9
mov eax, dword [0x620948]
push ebp
mov ebp, dword [esi]
push edi
test eax, eax
jne 0x40899a
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x408991
push str.GetComputerNameExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x620948], eax
jmp 0x408996
mov eax, dword [0x620948]
test eax, eax
je 0x4089b6
mov ecx, dword [esp + 0x1c]
push esi
push ebx
push ecx
call eax
mov edi, eax
test edi, edi
je 0x4089b6
push ebx
call fcn.0044c0ec
add esp, 4
test eax, eax
jne 0x4089c2
push esi
push ebx
mov dword [esi], ebp
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov edi, eax
mov eax, edi
pop edi
pop ebp
pop esi
pop ebx
ret
pop esi
xor eax, eax
pop ebx
ret

Function at 0x408e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a0d28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
xor edi, edi
call fcn.00586a6c
lea eax, [esp + 8]
mov ecx, esi
push eax
mov dword [esp + 0x28], edi
call fcn.00409a30
test eax, eax
je 0x408f04
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.004845f0
lea ecx, [esp + 8]
mov esi, 1
mov dword [esp + 0x24], 0xffffffff
call fcn.00586a9f
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.00586a9f
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x408f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a0d48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
xor edi, edi
call fcn.00586a6c
lea eax, [esp + 8]
mov ecx, esi
push eax
mov dword [esp + 0x28], edi
call fcn.00409930
test eax, eax
je 0x408fa4
mov ecx, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x30]
call fcn.00484a90
lea ecx, [esp + 8]
mov esi, 1
mov dword [esp + 0x24], 0xffffffff
call fcn.00586a9f
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.00586a9f
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x409350
Capabilities:
Get hostname

Disassembly:
sub esp, 0x20c
push ebx
push esi
mov esi, dword [esp + 0x218]
mov edx, ecx
push edi
mov ecx, 0x41
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push esi
mov ecx, edx
xor ebx, ebx
mov dword [esp + 0x10], 0x104
call fcn.00408fd0
test eax, eax
je 0x409420
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x14], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x409420
push 0x5c
push esi
call fcn.0044c79c
mov edi, eax
add esp, 8
test edi, edi
je 0x40940f
mov ebx, edi
lea edx, [esp + 0x10]
sub ebx, esi
push edx
sar ebx, 1
call fcn.0044c0ec
add esp, 4
cmp eax, ebx
jne 0x40940f
push ebx
lea eax, [esp + 0x14]
push esi
push eax
call fcn.0044c9c4
add esp, 0xc
test eax, eax
jne 0x40940f
add edi, 2
push edi
call fcn.0044c0ec
lea ebx, [eax + eax]
push ebx
push edi
push esi
call fcn.0044cd70
add esp, 0x10
mov word [ebx + esi], 0
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x20c
ret 4
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x20c
ret 4
Function at 0x40bd20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a1288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, dword [esp + 0x28]
push edi
xor edi, edi
lea eax, [esp + 8]
mov dword [esi], edi
push eax
mov dword [esi + 4], edi
mov dword [esp + 0xc], edi
call fcn.0040bc10
test eax, eax
je 0x40be48
mov ecx, dword [esp + 8]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x30], ecx
call fcn.0040c360
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
push edi
mov dword [esp + 0x1c], edi
call fcn.00585248
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push eax
push edi
call fcn.00585248
mov ecx, dword [eax + 4]
push ecx
push edi
lea ecx, [esp + 0x38]
call fcn.00585248
mov edx, dword [eax + 8]
lea ecx, [esp + 0x34]
push edx
push edi
call fcn.00585248
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x38]
push eax
push edi
call fcn.00585248
mov ecx, dword [eax + 0x10]
inc ecx
push ecx
push edi
lea ecx, [esp + 0x44]
call fcn.00585248
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x24]
add edx, 0x76c
push edx
call fcn.00442b6a
lea eax, [esp + 0xc]
push 0x5f8f38
push eax
lea ecx, [esp + 0x18]
call fcn.00442ce7
mov ecx, dword [eax]
mov dword [esp + 0x24], edi
push ecx
push str.CGlobalInfoAgent::GetPolicyServerTimeFromHardDisk_time__s_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x14
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.005880d5
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi], edx
mov dword [esi + 4], eax
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x40c610
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5a1407
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push ebp
push esi
lea eax, [esp + 0x14]
push edi
push eax
mov esi, ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.OAgent.ini
lea ecx, [esp + 0x14]
call fcn.00464c50
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push ecx
lea ebx, [esi + 0x74]
push edx
push 0x5f9c54
push ebx
mov dword [esp + 0x238], 0
call fcn.004684d0
or edi, 0xffffffff
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], edi
call fcn.004654c0
push str.OPolicy.ini
lea ecx, [esp + 0x14]
call fcn.00464c50
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push eax
lea ebp, [esi + 0x7c]
push ecx
push 0x5f9c54
push ebp
mov dword [esp + 0x238], 1
call fcn.004684d0
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], edi
call fcn.004654c0
lea edi, [esi + 0x6c]
call fcn.00401080
push eax
mov ecx, edi
call fcn.0058826c
mov edx, dword [0x603f10]
mov dword [esp + 0x10], edx
push str.OAgent.ini
mov dword [esp + 0x22c], 2
call fcn.00401080
push eax
lea eax, [esp + 0x18]
push 0x5f8c58
push eax
call fcn.00584d3d
mov edx, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esi + 0x78]
push edx
call fcn.004657a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], 0xffffffff
call fcn.005880d5
mov eax, dword [0x603f10]
mov dword [esp + 0x10], eax
push str.OPolicy.ini
mov dword [esp + 0x22c], 3
call fcn.00401080
push eax
lea ecx, [esp + 0x18]
push 0x5f8c58
push ecx
call fcn.00584d3d
add esp, 0x10
lea ecx, [esi + 0x80]
mov edx, dword [esp + 0x10]
push edx
call fcn.004657a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], 0xffffffff
call fcn.005880d5
push 0x5c
mov ecx, edi
call fcn.00584eb8
mov edi, dword [edi]
xor eax, eax
push edi
mov ecx, dword [edi - 8]
test ecx, ecx
setne al
lea ecx, [esp + 0x18]
mov dword [esi + 0x40], eax
call fcn.00464c50
mov ecx, dword [esi + 0x40]
mov edx, dword [eax]
push ecx
push edx
push str.CImportAuthMgr::Initialize_m_strDstFolder__s__m_bInit__d_
push str.CheckModule
push 0xf
push 0x6292fc
mov dword [esp + 0x240], 4
call fcn.00440080
add esp, 0x18
lea ecx, [esp + 0x14]
mov dword [esp + 0x228], 0xffffffff
call fcn.004654c0
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx]
push eax
push ecx
push str.CImportAuthMgr::Initialize_wstrTempOAgentIni__s__wstrHDOAgentIni__s_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
mov edx, dword [esi + 0x80]
mov eax, dword [ebp]
add esp, 0x18
push edx
push eax
push str.CImportAuthMgr::Initialize_wstrTempOPolicyFile__s__wstrOPolicyFile__s_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
mov eax, dword [esi + 0x40]
mov ecx, dword [esp + 0x238]
add esp, 0x18
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x21c
ret
Function at 0x40dc30
Capabilities:
Accept command line arguments
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a15d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov esi, 1
call sub.KERNEL32.dll_GetCurrentProcessId
mov edi, eax
lea ecx, [esp + 0x10]
push edi
call fcn.00493a30
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
call fcn.00493d40
push eax
lea eax, [esp + 0xc]
push eax
call fcn.00495090
add esp, 8
mov byte [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x10]
call fcn.00588149
push str._installimportpolicy
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call fcn.005849c9
cmp eax, 0xffffffff
je 0x40dcc4
mov ecx, dword [esp + 8]
push str.AKernel3.exe
push ecx
call fcn.0044d19a
add esp, 8
test eax, eax
jne 0x40dcc4
xor esi, esi
mov edx, dword [esp + 8]
push edi
push edx
push esi
push str.CImportAuthMgr::IsCheckIdentify___bRet_:__d____strProcName_:__s___ppid_:__d_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x1c
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.005880d5
lea ecx, [esp + 8]
mov byte [esp + 0x38], 0
call fcn.005880d5
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00493b60
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret

Function at 0x40df50
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 1
mov eax, dword [esi + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40dfa6
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x78]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
test edi, edi
jne 0x40dfa6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x78]
push eax
mov eax, dword [esi + 0x74]
push eax
push ecx
push str.PrepareTempOAgentIni___s_____s__err_0x_x__fail_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x1c
push edi
push str.PrepareTempOAgentIni_ret__d_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x14
mov eax, edi
pop edi
pop esi
ret

Function at 0x40dfd0
Capabilities:
Move file

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x78]
neg eax
mov edx, dword [esi + 0x74]
sbb eax, eax
and eax, 2
add eax, 3
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esi + 0x74]
mov edi, eax
mov eax, dword [esi + 0x78]
push edi
push eax
push ecx
push str.PrepareTempOAgentIni___s_____s__MoveFileExW__d_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x1c
mov eax, edi
pop edi
pop esi
ret
Function at 0x40e020
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 1
mov eax, dword [esi + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40e07f
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x80]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
test edi, edi
jne 0x40e07f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x80]
push eax
mov eax, dword [esi + 0x7c]
push eax
push ecx
push str.CImportAuthMgr::PrepareTempIni___s_____s__err_0x_x__fail_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x1c
mov edx, dword [esi + 0x7c]
push edi
push edx
push str.CImportAuthMgr::PrepareTempIni_m_wstrTempOPolicyFile__s__ret__d_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x18
mov eax, edi
pop edi
pop esi
ret

Function at 0x40e0b0
Capabilities:
Move file

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x80]
neg eax
mov edx, dword [esi + 0x7c]
sbb eax, eax
and eax, 2
add eax, 3
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esi + 0x7c]
mov edi, eax
mov eax, dword [esi + 0x80]
push edi
push eax
push ecx
push str.CImportAuthMgr::UpdateTempIniToNormal___s_____s__MoveFileExW__d_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x1c
mov eax, edi
pop edi
pop esi
ret

Function at 0x40e240
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a1660
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov ecx, 0x6209e0
push ebx
push esi
push edi
call fcn.0040a0c0
fld qword [esp + 0x40]
fcomp st(1)
xor ebx, ebx
fnstsw ax
test ah, 0x41
je 0x40e27b
mov edi, 1
jmp 0x40e27d
xor edi, edi
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
fstp qword [esp + 0x24]
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], ecx
push 0x5f8f38
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ebx
call fcn.00442ce7
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x3c], ebx
call fcn.00464c50
mov esi, eax
lea eax, [esp + 0xc]
push 0x5f8f38
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 1
call fcn.00442ce7
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x3c], 2
call fcn.00464c50
mov ecx, dword [esi]
mov edx, dword [eax]
push ecx
push edx
push str.IsImportOld_import__s___agent__s_
push str.CheckModule
push 0xf
push 0x6292fc
mov byte [esp + 0x50], 3
call fcn.00440080
add esp, 0x18
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 2
call fcn.004654c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.005880d5
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], bl
call fcn.004654c0
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.005880d5
mov ecx, dword [esp + 0x30]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 8
Function at 0x40ebb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a1798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esp + 0xc]
lea eax, [esi + 4]
push edi
push eax
call fcn.00443b4e
mov ebx, dword [esi + 0x28]
mov dword [esp + 0x20], edi
cmp ebx, edi
je 0x40ec05
mov eax, dword [esi + 0x2c]
cmp eax, edi
jbe 0x40ec05
mov ecx, ebx
mov edx, eax
mov eax, dword [ecx]
cmp eax, edi
je 0x40ebff
mov eax, dword [eax]
cmp eax, edi
jne 0x40ebf9
add ecx, 4
dec edx
jne 0x40ebf3
push ebx
call fcn.005887c7
mov ecx, dword [esi + 0x38]
add esp, 4
mov dword [esi + 0x28], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
call fcn.00587185
lea ecx, [esp + 0xc]
mov dword [esi + 0x38], edi
mov dword [esp + 0x20], 0xffffffff
call fcn.00443b8a
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x40ec50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a17b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
lea eax, [esi + 4]
lea ecx, [esp + 0x14]
push eax
call fcn.00443b4e
mov edi, dword [esp + 0x2c]
mov ebp, dword [esi + 0x2c]
add esi, 0x24
mov eax, edi
shr eax, 4
xor edx, edx
mov ecx, dword [esi + 4]
div ebp
test ecx, ecx
mov dword [esp + 0x24], 0
mov ebx, edx
je 0x40ecbd
mov eax, dword [ecx + ebx*4]
test eax, eax
je 0x40ecb9
cmp dword [eax + 8], edi
je 0x40ecb5
mov eax, dword [eax]
test eax, eax
jne 0x40eca8
jmp 0x40ecb9
test eax, eax
jne 0x40ed08
test ecx, ecx
jne 0x40eced
lea edi, [ebp*4]
push edi
call fcn.0058879e
mov edx, eax
mov ecx, edi
mov dword [esi + 4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x2c]
mov dword [esi + 8], ebp
mov ecx, esi
call fcn.0040f040
mov dword [eax + 4], ebx
mov dword [eax + 8], edi
mov ecx, dword [esi + 4]
mov edx, dword [ecx + ebx*4]
mov dword [eax], edx
mov ecx, dword [esi + 4]
mov dword [ecx + ebx*4], eax
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x10]
mov dword [eax + 0xc], edx
mov dword [esp + 0x24], 0xffffffff
call fcn.00443b8a
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x4124d0
Capabilities:
Access peb ldr_data
Move file

Disassembly:
push 0xffffffffffffffff
push 0x5a1a80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x2c]
push edi
push str.CLibDataTransfer::ImportTDSCondition_Data_size__lu_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x2c]
push eax
push ecx
xor esi, esi
call fcn.004768f0
add esp, 0x20
mov edx, dword [0x603f10]
mov dword [esp + 0x20], esi
mov dword [esp + 0xc], edx
push str.mstdsconditionclass_cache.dat
mov byte [esp + 0x24], 1
call fcn.00401080
push eax
lea eax, [esp + 0x14]
push 0x5f8c58
push eax
call fcn.00584d3d
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
lea ecx, [esp + 0x30]
call fcn.00464c50
mov edx, dword [0x603f10]
mov dword [esp + 8], edx
push str.mstdsconditionclass.dat
mov byte [esp + 0x24], 3
call fcn.00401080
push eax
lea eax, [esp + 0x10]
push 0x5f8c58
push eax
call fcn.00584d3d
mov ecx, dword [esp + 0x18]
add esp, 0x10
push ecx
lea ecx, [esp + 0x2c]
call fcn.00464c50
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
push edx
push eax
push str.CLibDataTransfer::ImportTDSCondition_temp__s__dst__s_
push str.CheckModule
push 0xf
push 0x6292fc
mov byte [esp + 0x38], 4
call fcn.00440080
add esp, 0x18
lea ecx, [esp + 0x10]
push str.__Local__
call fcn.00464c50
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
push str.TDSCondPolicy
mov byte [esp + 0x30], 5
call fcn.0049b040
add esp, 0x10
test eax, eax
je 0x412611
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push 5
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x41260a
mov esi, 1
jmp 0x41262a
push str.CLibDataTransfer::ImportTDSCondition_MoveFileExW_fail
jmp 0x412616
push str.CLibDataTransfer::ImportTDSCondition_WriteIniString_fail
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 4
call fcn.004654c0
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 3
call fcn.004654c0
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
call fcn.005880d5
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 1
call fcn.004654c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005880d5
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.004654c0
push esi
push str.CLibDataTransfer::ImportTDSCondition_ret_0x_x_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
mov ecx, dword [esp + 0x2c]
add esp, 0x14
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x1c
ret 8
Function at 0x413430
Capabilities:
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a1c88
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x413462
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
push 0x620918
lea ecx, [esp + 0x18]
call fcn.00588149
mov eax, dword [0x620c14]
push esi
push eax
lea ecx, [esp + 0x1c]
push str._s_tsafedoc_s
push ecx
mov dword [esp + 0x1c], 0
call fcn.00584d3d
mov eax, dword [0x620c28]
add esp, 0x10
neg eax
mov edx, dword [esp + 0x14]
sbb eax, eax
and eax, 2
add eax, 3
push eax
push 0
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
push ecx
push esi
push str.CLibDataTransfer::DeleteSafedocLibFile__ret_:__lu___Type_:__d___path_:__s_
push str.CheckModule
push 0xf
push 0x6292fc
call fcn.00440080
add esp, 0x1c
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call fcn.005880d5
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
Function at 0x42a7a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5a53a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00417a30
lea ecx, [esi + 8]
call fcn.0042a770
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [esp + 0x1c], ebx
call fcn.0046c1d0
mov eax, dword [0x5be444]
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 2
call fcn.00477240
mov edx, dword [0x603f10]
lea edi, [esi + 0x58]
mov dword [esp + 0x10], edi
lea ecx, [edi + 4]
mov dword [ecx], edx
push 0x620918
mov byte [esp + 0x20], 4
mov dword [edi], ebx
call fcn.0058826c
mov dword [edi + 8], ebx
add edi, 0xc
xor eax, eax
lea edx, [esi + 0x48]
mov dword [edi], eax
xor ecx, ecx
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [esi + 0x34], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [edx], ecx
mov eax, esi
pop edi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x38], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret