joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10023343
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov dword [ebp - 4], esi
mov eax, 0x2001f
cmp dword [ebp + 0x14], esi
je 0x1002335c
mov eax, 0x2011f
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100233a6
cmp dword [ebp + 0x10], esi
je 0x10023388
push dword [ebp + 0x10]
call fcn.10097626
pop ecx
lea eax, [eax + eax + 2]
jmp 0x1002338a
xor eax, eax
push eax
push dword [ebp + 0x10]
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret 0x10

Function at 0x100233ab
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 0x14], 0
mov eax, 0x2001f
je 0x100233c3
mov eax, 0x2011f
lea ecx, [ebp - 4]
push ecx
push eax
push 0
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100233fb
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 0x10

Function at 0x100233ff
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
xor edi, edi
push reloc.OLEAUT32.dll_SysReAllocString
xor ebx, ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10023488
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp + 8]
push eax
push edi
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 8], edi
push dword [ebp - 4]
mov dword [ebp + 8], edi
call esi
mov eax, dword [ebp + 8]
cmp eax, 2
jb 0x1002347e
inc eax
inc eax
mov dword [ebp + 8], eax
xor ecx, ecx
push 2
shr eax, 1
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100639c2
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x1002347e
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x10023490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100234e1
and dword [ebp - 0xc], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp + 8], 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret 8
Function at 0x100242ea
Capabilities:
Write file on windows

Disassembly:
push 0x10
mov eax, 0x101cd861
call fcn.10096f31
mov esi, ecx
push 1
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100da930
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
test eax, eax
je 0x10024348
cmp dword [ebp + 8], edi
je 0x10024348
push 2
push edi
push edi
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x10], edi
call fcn.10097626
pop ecx
add eax, eax
push eax
push dword [ebp + 8]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100da990
call fcn.10097009
ret 4
Function at 0x10027de1
Capabilities:
Write file on windows

Disassembly:
push 8
mov eax, 0x101ce3c6
call fcn.10096f31
mov edi, dword [ebp + 8]
mov eax, dword [edi]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [eax - 8], ebx
jne 0x10027e04
xor edi, edi
inc edi
jmp 0x10027ee2
mov eax, dword [0x1020db10]
mov dword [ebp + 8], eax
mov dword [ebp - 4], ebx
lea eax, [ebp + 0xc]
push eax
cmp dword [ebp + 0xc], ebx
je 0x10027e23
call fcn.10027c6a
mov byte [ebp - 4], 1
jmp 0x10027e2c
call fcn.10027cb8
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp + 8]
call fcn.100cc810
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.100cc680
mov esi, dword [ebp + 8]
push ebx
push ebx
push 2
call fcn.100f53f0
push eax
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10027e90
push str.MailText.dat
push str.SaveMailText_create_file__s__fail
push str.MailInfo
push 4
push 0x10265f7c
call fcn.10024f9f
add esp, 0x14
or dword [ebp - 4], esi
lea ecx, [ebp + 8]
call fcn.100cc680
mov edi, dword [ebp - 0x14]
jmp 0x10027ee2
mov eax, dword [edi]
push ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [eax - 8]
lea ecx, [ebp - 0x10]
push ecx
add eax, eax
push eax
push ebx
mov ecx, edi
call fcn.100cd350
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x10]
mov edi, eax
push edi
push str.SaveMailText_after_write_file__bRet__d__dwWrite__lu_
push str.MailInfo
push 4
push 0x10265f7c
call fcn.10024f9f
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100cc680
mov eax, edi
call fcn.10097009
ret 8
Function at 0x10027eec
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xc
mov eax, 0x101ce3f9
call fcn.10096f31
mov esi, ecx
mov ecx, dword [ebp + 8]
call fcn.100cc3f0
xor edi, edi
cmp dword [esi + 0x1c], edi
jne 0x10027f10
xor eax, eax
jmp 0x10028079
mov eax, dword [0x1020db10]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], edi
lea eax, [ebp + 0xc]
mov ecx, esi
push eax
cmp dword [ebp + 0xc], edi
je 0x10027f34
call fcn.10027c6a
mov byte [ebp - 4], 1
jmp 0x10027f3d
call fcn.10027cb8
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.100cc810
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.100cc680
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
jne 0x10027fa2
push str.MailText.dat
push str.GetMailText_read_file__s__fail
push str.MailInfo
push 4
push 0x10265f7c
call fcn.10024f9f
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100cc680
jmp 0x10027f09
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push str.GetMailText_file_size:_lu_B
mov edi, str.MailInfo
push edi
push 4
mov esi, 0x10265f7c
push esi
call fcn.10024f9f
add esp, 0x14
cmp ebx, 0xffffffff
je 0x10028043
test ebx, ebx
je 0x10028043
mov eax, ebx
shr eax, 1
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100639c2
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10028005
push str.GetMailText_new_memory_fail
push edi
push 4
push esi
call fcn.10024f9f
add esp, 0x10
jmp 0x10028043
lea ecx, [ebx + 2]
push ecx
push 0
push eax
call fcn.10097040
and dword [ebp - 0x18], 0
add esp, 0xc
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push eax
push str.GetMailText_after_read__bRead__d___dwRead__lu___text:_s
push edi
push 4
push esi
call fcn.10024f9f
add esp, 0x1c
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100cc680
cmp dword [ebp - 0x14], 0
je 0x10027f09
push dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
call fcn.100cc900
push dword [ebp - 0x14]
call fcn.100639cd
xor eax, eax
pop ecx
inc eax
call fcn.10097009
ret 8
Function at 0x1002c461
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1019cd60
Function at 0x100365b8
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x101d06ce
call fcn.10096f9a
xor ebx, ebx
mov esi, 0x102691f8
cmp dword [0x102691f0], ebx
je 0x100365df
cmp dword [ebp + 8], ebx
je 0x10036703
push 0x208
push ebx
push esi
call fcn.10097040
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.10097040
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
mov edi, 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x10036677
lea eax, [ebp - 0x218]
push eax
call fcn.10097626
pop ecx
cmp eax, ebx
jbe 0x10036643
lea eax, [ebp + eax*2 - 0x21a]
cmp word [eax], 0x5c
jne 0x10036643
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push 0x7e
push eax
call fcn.10097976
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x218]
je 0x10036668
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
jmp 0x10036677
push 0x103
push eax
push esi
call fcn.100975dc
add esp, 0xc
push esi
lea ecx, [ebp - 0x21c]
call fcn.100cbee0
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x21c]
cmp dword [eax - 8], ebx
je 0x100366d4
push eax
push esi
call fcn.10097591
push str.TEC_MailBackup
push esi
call fcn.10097563
add esp, 0x10
push esi
lea ecx, [ebp - 0x220]
call fcn.100cbee0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x220]
call fcn.1003604c
mov dword [0x102691f0], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x220]
call fcn.100cc680
push dword [0x102691f0]
push esi
push str.CSDGlobalShare::GetBackupDirectory___s__bGet__lu__r_n
push str.SDMailGlobal
push 1
push 0x10265f7c
call fcn.10024f9f
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.100cc680
mov eax, dword [0x102691f0]
neg eax
sbb eax, eax
and eax, esi
call fcn.1009701d
ret
Function at 0x1003847a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x1c
mov eax, 0x101d0b43
call fcn.10096f31
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.CSDHelperThread::CleanUnValidCache_r_n
mov ebx, str.OutlookCtrlX
push ebx
push 0xffffffffffffffff
mov edi, 0x10265f7c
push edi
mov esi, eax
call fcn.10024f9f
add esp, 0x10
cmp dword [ebp + 0xc], esi
jae 0x100384ba
sub esi, dword [ebp + 0xc]
cmp dword [ebp + 8], esi
ja 0x10038580
mov esi, 0x10269894
mov ecx, esi
call fcn.1003793e
test eax, eax
je 0x1003855a
push 1
push 0x10269874
lea ecx, [ebp - 0x28]
call fcn.100da930
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [ebp - 0x10], 0
mov ecx, esi
mov dword [ebp + 0xc], eax
call fcn.10037942
mov dword [ebp - 0x14], eax
jmp 0x1003854a
inc dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.10037945
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp + 0xc]
ja 0x10038520
mov ecx, dword [ebp + 0xc]
sub ecx, eax
cmp ecx, dword [ebp + 8]
jbe 0x10038547
push dword [ebp - 0x18]
mov ecx, esi
call fcn.100380f9
push dword [ebp + 8]
push dword [ebp - 0x1c]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push str.CSDHelperThread::CleanUnValidCache_Remove:_d___d__d__d__r_n
push ebx
push 0xffffffffffffffff
push edi
call fcn.10024f9f
add esp, 0x20
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x100384fa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100da990
mov ecx, esi
call fcn.1003793e
test eax, eax
jne 0x10038580
mov ecx, 0x10269870
call fcn.1005b17c
push str.CSDHelperThread::CleanUnValidCache_Clean_Cache_File__r_n
push ebx
push 0xffffffffffffffff
push edi
call fcn.10024f9f
add esp, 0x10
call fcn.10097009
ret 8
Function at 0x1003d410
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
je 0x1003d4af
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x1003d4af
push edi
push 0x20
push 7
push 0x100080
push dword [ebp + 8]
call fcn.1003d150
mov ebx, eax
add esp, 0x14
xor eax, eax
cmp ebx, 0xffffffff
je 0x1003d4b1
push 9
mov dword [ebp - 0x28], edi
pop ecx
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
push 0x28
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.1003c2b9
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1003d4a4
mov eax, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x20], eax
push ebx
call dword [0x1026f0c0]
mov eax, edi
jmp 0x1003d4b1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1003dc02
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10246460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
push edi
cmp dword [0x10269558], esi
jne 0x1003dd71
lea eax, [ebp - 0x208]
push eax
push dword [0x10243f00]
mov dword [0x10269558], 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x208], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x208], esi
je 0x1003dcd0
xor eax, eax
push 0x1fc
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push esi
push eax
call fcn.10097040
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push esi
push dword [0x10243efc]
mov dword [ebp - 0x20c], 0x1fe
push dword [ebp - 0x208]
call edi
push dword [ebp - 0x208]
call ebx
lea eax, [ebp - 0x204]
push eax
push dword [0x10243ef8]
call fcn.100977e9
neg eax
sbb eax, eax
pop ecx
inc eax
pop ecx
mov dword [0x10269554], eax
jmp 0x1003dcd5
mov eax, dword [0x10269554]
cmp eax, esi
jne 0x1003dd76
lea eax, [ebp - 0x208]
push eax
push dword [0x10243f00]
mov dword [ebp - 0x208], esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [ebp - 0x208], esi
je 0x1003dd71
xor eax, eax
push 0x1fc
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push esi
push eax
call fcn.10097040
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push esi
push dword [0x10243ef4]
mov dword [ebp - 0x20c], 0x1fe
push dword [ebp - 0x208]
call edi
push dword [ebp - 0x208]
call ebx
lea eax, [ebp - 0x204]
push eax
push dword [0x10243ef8]
call fcn.100977e9
neg eax
sbb eax, eax
pop ecx
inc eax
pop ecx
mov dword [0x10269554], eax
jmp 0x1003dd76
mov eax, dword [0x10269554]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10096f22
leave
ret
Function at 0x1003e2ed
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWARETECOcular.3Agent
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003e381
cmp dword [ebp - 4], ebx
je 0x1003e381
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 4
pop esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push str.OutlookMailDebug
push dword [ebp - 4]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
call edi
test eax, eax
jne 0x1003e358
cmp dword [ebp - 0xc], 1
sete al
mov dword [ebp - 0x14], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push ebx
push str.OutlookMailDebugLogLevel
push dword [ebp - 4]
mov dword [ebp - 8], esi
call edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
jmp 0x1003e383
xor eax, eax
pop ebx
leave
ret 4

Function at 0x1003e55c
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10246460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0xc]
cmp ebx, esi
je 0x1003e61e
cmp edi, esi
je 0x1003e61e
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.10097040
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push ebx
call fcn.1001c16f
lea eax, [ebp - 0x20c]
push eax
call fcn.10097626
add esp, 0x20
test eax, eax
je 0x1003e61e
push esi
push esi
push 3
push esi
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x210], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1003e616
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x1003e60d
mov dword [ebp - 0x210], 1
jmp 0x1003e60f
mov dword [edi], esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x210]
jmp 0x1003e620
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10096f22
leave
ret 8

Function at 0x1003e7ba
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10246460]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
test esi, esi
je 0x1003e824
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10097040
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push esi
call fcn.1001c16f
lea eax, [ebp - 0x20c]
push eax
call fcn.10097626
add esp, 0x20
test eax, eax
je 0x1003e824
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10096f22
leave
ret 4
Function at 0x1003e833
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10246460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x418], eax
test eax, eax
je 0x1003e900
test ebx, ebx
je 0x1003e900
push esi
push edi
xor eax, eax
mov edi, 0x206
push edi
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.10097040
mov esi, 0x104
push esi
lea eax, [ebp - 0x414]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x418]
call fcn.1001c16f
xor eax, eax
push edi
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.10097040
push esi
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push ebx
call fcn.1001c16f
lea eax, [ebp - 0x414]
push eax
call fcn.10097626
add esp, 0x3c
pop edi
pop esi
test eax, eax
je 0x1003e900
lea eax, [ebp - 0x20c]
push eax
call fcn.10097626
pop ecx
test eax, eax
je 0x1003e900
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x1003e902
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10096f22
leave
ret 8

Function at 0x1003e911
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10246460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x1003e9cf
cmp ebx, esi
je 0x1003e9cf
cmp dword [ebp + 0x10], esi
je 0x1003e9cf
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.10097040
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push edi
call fcn.1001c16f
lea eax, [ebp - 0x20c]
push eax
call fcn.10097626
add esp, 0x20
test eax, eax
je 0x1003e9cf
push esi
push esi
push 2
push esi
push esi
push 0xc0000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1003e9cb
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x210], esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x1003e9d1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10096f22
leave
ret 0xc
Function at 0x100413c1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x618
mov eax, 0x101d1d8d
call fcn.10096f9a
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0x61c]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows_Messaging_SubsystemProfiles
mov edi, reloc.WS2_32.dll_accept
xor ebx, ebx
push edi
mov dword [ebp - 0x61c], ebx
call esi
cmp eax, ebx
jne 0x1004155b
cmp dword [ebp - 0x61c], ebx
je 0x1004155b
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.10097040
add esp, 0xc
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push str.DefaultProfile
push dword [ebp - 0x61c]
mov dword [ebp - 0x620], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x61c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x61c], ebx
call fcn.10097626
pop ecx
test eax, eax
je 0x1004155b
push 0x101e3ae4
lea ecx, [ebp - 0x624]
call fcn.100cbee0
mov dword [ebp - 4], ebx
push str.9375CFF0413111d3B88A00104B2A6676
lea eax, [ebp - 0x218]
push eax
push str.SoftwareMicrosoftWindows_NTCurrentVersionWindows_Messaging_SubsystemProfiles
lea eax, [ebp - 0x624]
push 0x101f46d0
push eax
call fcn.100cf610
add esp, 0x14
lea eax, [ebp - 0x61c]
push eax
push dword [ebp - 0x624]
push edi
call esi
cmp eax, ebx
jne 0x1004154c
cmp dword [ebp - 0x61c], ebx
je 0x1004154c
push 0x3ff
lea eax, [ebp - 0x617]
push ebx
push eax
mov byte [ebp - 0x618], bl
call fcn.10097040
add esp, 0xc
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x618]
push eax
push ebx
push ebx
push str.ED475418_B0D6_11D2_8C3B_00104B2A6676
push dword [ebp - 0x61c]
mov dword [ebp - 0x620], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1004151e
mov dword [ebp - 0x620], ebx
push dword [ebp - 0x61c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x620]
mov dword [ebp - 0x61c], ebx
shr esi, 2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x624]
call fcn.100cc680
mov eax, esi
jmp 0x1004155d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x624]
call fcn.100cc680
xor eax, eax
call fcn.1009701d
ret
Function at 0x100423d1
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xd4
mov eax, 0x101d207d
call fcn.10096f9a
mov edi, dword [ebp + 8]
push 0x101e3ae4
lea ecx, [ebp - 0xe0]
call fcn.100cbee0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x102695c8]
cmp ecx, ebx
je 0x1004246b
sub eax, ecx
cmp eax, 0xea60
jae 0x1004246b
push dword [0x102695c4]
lea eax, [ebp - 0xe0]
push dword [0x10244034]
push str.Outlook_2003_IsMailRule____d_____d_
push eax
call fcn.100cf610
push ebx
push 1
push dword [ebp - 0xe0]
call fcn.100611fa
add esp, 0x1c
cmp edi, ebx
je 0x1004244c
mov eax, dword [0x102695c4]
mov dword [edi], eax
mov esi, dword [0x10244034]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.100cc680
mov eax, esi
call fcn.1009701d
ret 4
call esi
xor esi, esi
inc esi
lea ecx, [ebp - 0xdc]
mov dword [0x102695c8], eax
mov dword [0x10244034], esi
mov dword [0x102695c4], ebx
call fcn.1002a72c
mov byte [ebp - 4], 1
push 0x68
lea eax, [ebp - 0x78]
push ebx
push eax
mov dword [ebp - 0x7c], ebx
call fcn.10097040
push ebx
lea eax, [ebp - 0x7c]
push eax
push 3
lea eax, [ebp - 0xdc]
push 7
push eax
call fcn.1000d694
add esp, 0x20
test eax, eax
je 0x100424d2
test byte [ebp - 0x6c], 8
je 0x100424d8
call fcn.10026b23
test eax, eax
je 0x100424d8
mov dword [0x102695c4], esi
jmp 0x100424d8
mov dword [0x10244034], ebx
cmp edi, ebx
je 0x100424e3
mov eax, dword [0x102695c4]
mov dword [edi], eax
cmp dword [0x10265fe8], ebx
je 0x10042510
push dword [0x102695c4]
push dword [0x10244034]
push str.CAddin::HasMailRule__MailRule:_d__SCI:_d_
push str.outlook
push 0xffffffffffffffff
push 0x10265f7c
call fcn.10024f9f
add esp, 0x18
mov esi, dword [0x10244034]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xdc]
call fcn.1002a7b6
jmp 0x10042452