joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409a20
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.004096a0
test eax, eax
je 0x409af0
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 0x409af0
push 0x5c
push esi
call fcn.004542fc
mov edi, eax
add esp, 8
test edi, edi
je 0x409adf
mov ebx, edi
lea edx, [esp + 0x10]
sub ebx, esi
push edx
sar ebx, 1
call fcn.00453b6c
add esp, 4
cmp eax, ebx
jne 0x409adf
push ebx
lea eax, [esp + 0x14]
push esi
push eax
call fcn.00454524
add esp, 0xc
test eax, eax
jne 0x409adf
add edi, 2
push edi
call fcn.00453b6c
lea ebx, [eax + eax]
push ebx
push edi
push esi
call fcn.00454940
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 0x40d130
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d4df8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
xor ebx, ebx
mov esi, ecx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [esp + 0xc], ebx
call fcn.0040a730
test eax, eax
je 0x40d17c
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.0040d090
cmp eax, ebx
jne 0x40d190
lea ecx, [esp + 0xc]
push ecx
jmp 0x40d181
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.0040cf80
cmp eax, ebx
je 0x40d286
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], eax
call fcn.0040d820
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
push ebx
mov dword [esp + 0x20], ebx
call fcn.005b8bf6
mov edx, dword [eax]
lea ecx, [esp + 0x30]
push edx
push ebx
call fcn.005b8bf6
mov eax, dword [eax + 4]
lea ecx, [esp + 0x34]
push eax
push ebx
call fcn.005b8bf6
mov ecx, dword [eax + 8]
push ecx
push ebx
lea ecx, [esp + 0x40]
call fcn.005b8bf6
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x3c]
push edx
push ebx
call fcn.005b8bf6
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x40]
inc eax
push eax
push ebx
call fcn.005b8bf6
mov ecx, dword [eax + 0x14]
add ecx, 0x76c
push ecx
lea ecx, [esp + 0x2c]
call fcn.0044a5ea
lea edx, [esp + 0x10]
push 0x63515c
push edx
lea ecx, [esp + 0x1c]
call fcn.0044a767
mov eax, dword [eax]
mov dword [esp + 0x28], ebx
push eax
push str.CGlobalInfoAgent::GetPolicyServerTimeFromHardDisk_time__s_
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x14
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.005bba83
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edi], ecx
mov dword [edi + 4], edx
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
mov ecx, dword [esp + 0x20]
pop edi
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x40d886
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov ecx, 0x65eed0
jmp 0x40d870
push 0xffffffffffffffff
push 0x5d4f3c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov edx, 0x5eec5c
xor edi, edi
mov ecx, 0x11
mov eax, 0xa
mov dword [esp + 8], esi
mov dword [esi + 8], edx
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [esp + 0x14], edi
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], eax
mov ecx, dword [0x5f5614]
mov dword [esi + 0x60], ecx
mov edx, dword [0x5f5614]
mov dword [esi + 0x64], edx
mov ecx, dword [0x5f5614]
mov dword [esi + 0x68], ecx
mov edx, dword [0x641250]
mov dword [esi + 0x6c], edx
mov ecx, dword [0x641250]
mov dword [esi + 0x70], ecx
mov edx, dword [0x5f5614]
mov dword [esi + 0x74], edx
mov ecx, dword [0x5f5614]
mov dword [esi + 0x78], ecx
mov edx, dword [0x5f5614]
mov dword [esi + 0x7c], edx
mov ecx, dword [0x5f5614]
mov dword [esi + 0x80], ecx
lea ecx, [esi + 0x98]
mov byte [esp + 0x14], al
call fcn.00419c70
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x48], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi], 0x5eec58
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40db20
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5d5027
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.0046c6e0
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push ecx
lea ebx, [esi + 0x74]
push edx
push 0x635f10
push ebx
mov dword [esp + 0x238], 0
call fcn.0046ff60
or edi, 0xffffffff
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], edi
call fcn.0046cf50
push str.OPolicy.ini
lea ecx, [esp + 0x14]
call fcn.0046c6e0
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push eax
lea ebp, [esi + 0x7c]
push ecx
push 0x635f10
push ebp
mov dword [esp + 0x238], 1
call fcn.0046ff60
add esp, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], edi
call fcn.0046cf50
lea edi, [esi + 0x6c]
call fcn.00401080
push eax
mov ecx, edi
call fcn.005bbc1a
mov edx, dword [0x641250]
mov dword [esp + 0x10], edx
push str.OAgent.ini
mov dword [esp + 0x22c], 2
call fcn.00401080
push eax
lea eax, [esp + 0x18]
push 0x634a00
push eax
call fcn.005b86eb
mov edx, dword [esp + 0x20]
add esp, 0x10
lea ecx, [esi + 0x78]
push edx
call fcn.0046d230
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], 0xffffffff
call fcn.005bba83
mov eax, dword [0x641250]
mov dword [esp + 0x10], eax
push str.OPolicy.ini
mov dword [esp + 0x22c], 3
call fcn.00401080
push eax
lea ecx, [esp + 0x18]
push 0x634a00
push ecx
call fcn.005b86eb
add esp, 0x10
lea ecx, [esi + 0x80]
mov edx, dword [esp + 0x10]
push edx
call fcn.0046d230
lea ecx, [esp + 0x10]
mov dword [esp + 0x228], 0xffffffff
call fcn.005bba83
push 0x5c
mov ecx, edi
call fcn.005b8866
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.0046c6e0
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 0x667744
mov dword [esp + 0x240], 4
call fcn.00447b00
add esp, 0x18
lea ecx, [esp + 0x14]
mov dword [esp + 0x228], 0xffffffff
call fcn.0046cf50
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 0x667744
call fcn.00447b00
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 0x667744
call fcn.00447b00
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 0x40f810
Capabilities:
Accept command line arguments
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d5278
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.0049f870
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
call fcn.0049fb80
push eax
lea eax, [esp + 0xc]
push eax
call fcn.004a0ed0
add esp, 8
mov byte [esp + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x10]
call fcn.005bbaf7
push str._installimportpolicy
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 2
call fcn.005b8377
cmp eax, 0xffffffff
je 0x40f8a4
mov ecx, dword [esp + 8]
push str.AKernel3.exe
push ecx
call fcn.0045401e
add esp, 8
test eax, eax
jne 0x40f8a4
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 0x667744
call fcn.00447b00
add esp, 0x1c
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.005bba83
lea ecx, [esp + 8]
mov byte [esp + 0x38], 0
call fcn.005bba83
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0049f9a0
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret

Function at 0x40fb20
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 0x40fb8c
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 0x40fb78
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 0x667744
call fcn.00447b00
add esp, 0x1c
jmp 0x40fb8c
mov esi, dword [esi + 0x74]
call fcn.00484700
push eax
push 4
push esi
call fcn.00408b40
add esp, 0xc
push edi
push str.PrepareTempOAgentIni_ret__d_
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x14
mov eax, edi
pop edi
pop esi
ret

Function at 0x40fbb0
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 0x667744
call fcn.00447b00
add esp, 0x1c
mov eax, edi
pop edi
pop esi
ret
Function at 0x40fc00
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 0x40fc77
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 0x40fc61
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 0x667744
call fcn.00447b00
add esp, 0x1c
jmp 0x40fc77
push ebx
mov ebx, dword [esi + 0x7c]
call fcn.00484700
push eax
push 4
push ebx
call fcn.00408b40
add esp, 0xc
pop ebx
mov edx, dword [esi + 0x7c]
push edi
push edx
push str.CImportAuthMgr::PrepareTempIni_m_wstrTempOPolicyFile__s__ret__d_
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x18
mov eax, edi
pop edi
pop esi
ret

Function at 0x40fca0
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 0x667744
call fcn.00447b00
add esp, 0x1c
mov eax, edi
pop edi
pop esi
ret

Function at 0x40fe30
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d5300
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov ecx, 0x65ede0
push ebx
push esi
push edi
call fcn.0040a7f0
fld qword [esp + 0x40]
fcomp st(1)
xor ebx, ebx
fnstsw ax
test ah, 0x41
je 0x40fe6b
mov edi, 1
jmp 0x40fe6d
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 0x63515c
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ebx
call fcn.0044a767
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x3c], ebx
call fcn.0046c6e0
mov esi, eax
lea eax, [esp + 0xc]
push 0x63515c
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 1
call fcn.0044a767
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x3c], 2
call fcn.0046c6e0
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 0x667744
mov byte [esp + 0x50], 3
call fcn.00447b00
add esp, 0x18
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 2
call fcn.0046cf50
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.005bba83
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], bl
call fcn.0046cf50
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.005bba83
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 0x4109e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d5458
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.0044b5ce
mov ebx, dword [esi + 0x28]
mov dword [esp + 0x20], edi
cmp ebx, edi
je 0x410a35
mov eax, dword [esi + 0x2c]
cmp eax, edi
jbe 0x410a35
mov ecx, ebx
mov edx, eax
mov eax, dword [ecx]
cmp eax, edi
je 0x410a2f
mov eax, dword [eax]
cmp eax, edi
jne 0x410a29
add ecx, 4
dec edx
jne 0x410a23
push ebx
call fcn.005bc175
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.005bab33
lea ecx, [esp + 0xc]
mov dword [esi + 0x38], edi
mov dword [esp + 0x20], 0xffffffff
call fcn.0044b60a
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x410a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d5478
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.0044b5ce
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 0x410aed
mov eax, dword [ecx + ebx*4]
test eax, eax
je 0x410ae9
cmp dword [eax + 8], edi
je 0x410ae5
mov eax, dword [eax]
test eax, eax
jne 0x410ad8
jmp 0x410ae9
test eax, eax
jne 0x410b38
test ecx, ecx
jne 0x410b1d
lea edi, [ebp*4]
push edi
call fcn.005bc14c
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.00410e70
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.0044b60a
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 0x4143e0
Capabilities:
Access peb ldr_data
Move file

Disassembly:
push 0xffffffffffffffff
push 0x5d57a0
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 0x667744
call fcn.00447b00
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x2c]
push eax
push ecx
mov esi, 2
call fcn.0047e380
add esp, 0x20
mov edx, dword [0x641250]
mov dword [esp + 0x20], 0
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 0x634a00
push eax
call fcn.005b86eb
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
lea ecx, [esp + 0x30]
call fcn.0046c6e0
mov edx, dword [0x641250]
mov dword [esp + 8], edx
push str.mstdsconditionclass.dat
mov byte [esp + 0x24], 3
call fcn.00401080
push eax
lea eax, [esp + 0x10]
push 0x634a00
push eax
call fcn.005b86eb
mov ecx, dword [esp + 0x18]
add esp, 0x10
push ecx
lea ecx, [esp + 0x2c]
call fcn.0046c6e0
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 0x667744
mov byte [esp + 0x38], 4
call fcn.00447b00
add esp, 0x18
lea ecx, [esp + 0x10]
push str.__Local__
call fcn.0046c6e0
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.004a9710
add esp, 0x10
test eax, eax
je 0x414528
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 0x414521
mov esi, 1
jmp 0x414541
push str.CLibDataTransfer::ImportTDSCondition_MoveFileExW_fail
jmp 0x41452d
push str.CLibDataTransfer::ImportTDSCondition_WriteIniString_fail
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 4
call fcn.0046cf50
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 3
call fcn.0046cf50
lea ecx, [esp + 8]
mov byte [esp + 0x20], 2
call fcn.005bba83
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 1
call fcn.0046cf50
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call fcn.005bba83
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.0046cf50
push esi
push str.CLibDataTransfer::ImportTDSCondition_ret_0x_x_
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
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 0x4156c0
Capabilities:
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d5a08
push eax
mov dword fs:[0], esp
push esi
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x4156f2
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
push 0x65ed18
lea ecx, [esp + 0x18]
call fcn.005bbaf7
mov eax, dword [0x65f058]
push esi
push eax
lea ecx, [esp + 0x1c]
push str._s_tsafedoc_s
push ecx
mov dword [esp + 0x1c], 0
call fcn.005b86eb
mov eax, dword [0x65f06c]
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 0x667744
call fcn.00447b00
add esp, 0x1c
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0xffffffff
call fcn.005bba83
mov ecx, dword [esp + 4]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 8
Function at 0x41c660
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x48
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
mov esi, dword [esp + 0x58]
mov ecx, dword [ebp + 8]
push edi
cmp ecx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
je 0x41c726
cmp esi, ebx
je 0x41c726
mov edx, dword [esp + 0x60]
mov eax, dword [ecx]
push edx
push esi
call dword [eax + 0x40]
test eax, eax
je 0x41c70a
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], bx
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x60], ebx
stosw word es:[edi], ax
mov eax, dword [ecx]
lea edx, [esp + 0x1c]
push edx
call dword [eax + 0x54]
test eax, eax
je 0x41c711
lea eax, [esp + 0x18]
lea ecx, [esp + 0x38]
push eax
call fcn.004adbd0
push ebx
lea ecx, [esp + 0x3c]
call fcn.004add80
cmp eax, ebx
mov dword [esp + 0x14], eax
jne 0x41c718
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0xc]
cmp ecx, eax
jne 0x41c71f
mov eax, dword [esp + 0x64]
cmp eax, ebx
je 0x41c700
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov dword [esp + 0x10], 1
jmp 0x41c72b
mov ebx, 4
jmp 0x41c72b
mov ebx, 6
jmp 0x41c72b
mov ebx, 7
jmp 0x41c72b
mov ebx, 8
jmp 0x41c72b
mov ebx, 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [esp + 0x10]
cmp edi, 1
je 0x41c78b
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x1c]
push ecx
mov ecx, dword [esi + 0x18]
push eax
mov eax, dword [esi + 8]
push ebx
push edx
mov edx, dword [esi + 0x14]
push eax
mov eax, dword [esi + 0x10]
push ecx
push edx
xor ecx, ecx
mov cx, word [esi + 6]
xor edx, edx
mov dx, word [esi + 4]
push eax
push ecx
push edx
push str.CNotifyAgentAuthMgr::NotifyAgentSandMare_after_Send_Error___0x_lx____lx___0x_x___0x_x___0x_x____lu____lu____lu___0x_lx___0x_lx__
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x38
mov eax, edi
mov dword [ebp + 4], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0x18]
push eax
mov eax, dword [esi + 0x1c]
push ebx
push eax
mov eax, dword [esi + 0x14]
push ecx
mov ecx, dword [esi + 0x10]
push edx
push eax
xor edx, edx
mov dx, word [esi + 6]
xor eax, eax
mov ax, word [esi + 4]
push ecx
push edx
push eax
push str.CNotifyAgentAuthMgr::NotifyAgentSandMare_after_Send_Success___0x_lx____lx___0x_x___0x_x___0x_x____lu____lu____lu___0x_lx__
push str.CheckModule
push 0xf
push 0x667744
call fcn.00447b00
add esp, 0x34
mov eax, edi
mov dword [ebp + 4], ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 0xc
Function at 0x4263c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d7f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00473c60
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], edi
call fcn.005ba763
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x24], 0x5ef1d4
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x431f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d98d4
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.0041cbc0
lea ecx, [esi + 8]
call fcn.00431ed0
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [esp + 0x1c], ebx
call fcn.00473c60
mov eax, dword [0x5f5614]
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 2
call fcn.0047ecd0
mov edx, dword [0x641250]
lea edi, [esi + 0x58]
mov dword [esp + 0x10], edi
lea ecx, [edi + 4]
mov dword [ecx], edx
push 0x65ed18
mov byte [esp + 0x20], 4
mov dword [edi], ebx
call fcn.005bbc1a
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