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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
je 0x1001c3c2
push 0x20006
push dword [ebp + 8]
push edi
call fcn.1001bd0c
add esp, 0xc
mov esi, eax
jmp 0x1001c3c4
mov esi, edi
test esi, esi
je 0x1001c3fa
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 3
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1001c3ef
cmp esi, edi
je 0x1001c3eb
push esi
call fcn.1001bd39
pop ecx
mov al, 1
jmp 0x1001c3fc
cmp esi, edi
je 0x1001c3fa
push esi
call fcn.1001bd39
pop ecx
xor al, al
pop esi
pop ebp
ret

Function at 0x1001c3ff
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
je 0x1001c41e
push 0x20006
push dword [ebp + 8]
push edi
call fcn.1001bd0c
add esp, 0xc
mov esi, eax
jmp 0x1001c420
mov esi, edi
test esi, esi
je 0x1001c461
push dword [ebp + 0x10]
call fcn.100951b6
pop ecx
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x10]
push 1
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1001c456
cmp esi, edi
je 0x1001c452
push esi
call fcn.1001bd39
pop ecx
mov al, 1
jmp 0x1001c463
cmp esi, edi
je 0x1001c461
push esi
call fcn.1001bd39
pop ecx
xor al, al
pop esi
pop ebp
ret
Function at 0x1001c4ab
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x1001c4cf
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bce8
add esp, 0xc
jmp 0x1001c4d2
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x14], edi
jbe 0x1001c4fb
push dword [ebx + esi*4]
call fcn.100951b6
push eax
push 0x20
push dword [ebx + esi*4]
call fcn.10094bd0
add esp, 0x10
inc esi
cmp esi, dword [ebp + 0x14]
jb 0x1001c4df
cmp dword [ebp + 0xc], edi
je 0x1001c5ab
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0x14]
push eax
push edi
push edi
push edi
push dword [ebp + 0xc]
mov dword [ebp + 0x14], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1001c59c
cmp dword [ebp + 0x14], edi
jbe 0x1001c59c
mov eax, dword [ebp - 4]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10061556
mov esi, eax
pop ecx
cmp esi, edi
je 0x1001c59c
cmp dword [ebp + 0x14], edi
jbe 0x1001c582
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
inc eax
push eax
push esi
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1001c57a
mov eax, dword [ebp - 8]
push esi
push dword [eax]
call fcn.10095121
add dword [ebp - 8], 4
pop ecx
pop ecx
inc edi
cmp edi, dword [ebp + 0x14]
jb 0x1001c554
jmp 0x1001c585
mov ebx, dword [ebp + 0xc]
push esi
call fcn.10061561
pop ecx
cmp ebx, dword [ebp + 8]
je 0x1001c598
push ebx
call fcn.1001bd39
pop ecx
mov al, 1
jmp 0x1001c5ad
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
je 0x1001c5ab
push eax
call fcn.1001bd39
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001c5b2
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1001c651
cmp dword [ebp - 8], ebx
je 0x1001c646
inc dword [ebp - 4]
push dword [ebp - 4]
call fcn.10097224
mov esi, eax
pop ecx
cmp esi, ebx
je 0x1001c651
push dword [ebp - 4]
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1001c64a
push 0x2001f
push esi
push dword [ebp + 8]
call fcn.1001bce8
mov edi, eax
add esp, 0xc
cmp edi, ebx
je 0x1001c64a
push edi
call fcn.1001c5b2
pop ecx
push edi
test al, al
je 0x1001c658
call fcn.1001bd39
pop ecx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x1001c64a
dec dword [ebp - 8]
jne 0x1001c5f1
push esi
call fcn.100970cd
pop ecx
mov al, 1
jmp 0x1001c653
push esi
call fcn.100970cd
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
call fcn.1001bd39
push esi
call fcn.100970cd
pop ecx
jmp 0x1001c650
Function at 0x1001c666
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
je 0x1001c685
push 0x2001f
push dword [ebp + 8]
push edi
call fcn.1001bce8
add esp, 0xc
mov esi, eax
jmp 0x1001c687
mov esi, edi
test esi, esi
je 0x1001c6e0
cmp dword [ebp + 0xc], 0
je 0x1001c6ae
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1001c6d5
cmp esi, edi
je 0x1001c6aa
push esi
call fcn.1001bd39
pop ecx
mov al, 1
jmp 0x1001c6e2
push esi
call fcn.1001c5b2
pop ecx
test al, al
je 0x1001c6d5
cmp esi, edi
je 0x1001c6c4
push esi
call fcn.1001bd39
pop ecx
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb eax, eax
inc eax
jmp 0x1001c6e2
cmp esi, edi
je 0x1001c6e0
push esi
call fcn.1001bd39
pop ecx
xor al, al
pop esi
pop ebp
ret

Function at 0x1001ce8e
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 0xc], esi
je 0x1001ceb3
push 0x20019
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1001bce8
add esp, 0xc
mov ebx, eax
jmp 0x1001ceb6
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
call fcn.100cfb90
cmp ebx, esi
je 0x1001cf58
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 0xc]
push eax
push esi
push esi
push esi
push ebx
mov dword [ebp + 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1001cf4c
cmp dword [ebp + 0xc], esi
jbe 0x1001cf4c
mov eax, dword [ebp - 4]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10061556
mov edi, eax
pop ecx
cmp edi, esi
je 0x1001cf4c
cmp dword [ebp + 0xc], esi
jbe 0x1001cf35
mov eax, dword [ebp - 4]
inc eax
push eax
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1001cf2f
mov ecx, dword [ebp + 0x10]
push edi
call fcn.1001ccb2
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x1001cf14
push edi
call fcn.10061561
pop ecx
cmp ebx, dword [ebp + 8]
je 0x1001cf48
push ebx
call fcn.1001bd39
pop ecx
mov al, 1
jmp 0x1001cf5a
cmp ebx, dword [ebp + 8]
je 0x1001cf58
push ebx
call fcn.1001bd39
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1001e9af
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
lea eax, [ebp - 4]
mov edi, ecx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x1001e9e5
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x1001e9e4
push dword [edi + 0xc]
call esi
push eax
call fcn.100657c0
pop esi
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop edi
leave
ret
Function at 0x1002222b
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 0x10022244
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 0x1002228e
cmp dword [ebp + 0x10], esi
je 0x10022270
push dword [ebp + 0x10]
call fcn.100951b6
pop ecx
lea eax, [eax + eax + 2]
jmp 0x10022272
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 0x10022293
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 0x100222ab
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 0x100222e3
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 0x100222e7
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 0x10022370
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 0x10022366
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.10061556
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x10022366
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 0x10022378
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 0x100223c9
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 0x100231d2
Capabilities:
Write file on windows

Disassembly:
push 0x10
mov eax, 0x101c7caf
call fcn.10094ac6
mov esi, ecx
push 1
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100d8480
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
test eax, eax
je 0x10023230
cmp dword [ebp + 8], edi
je 0x10023230
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.100951b6
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.100d84e0
call fcn.10094b9e
ret 4
Function at 0x10026c86
Capabilities:
Write file on windows

Disassembly:
push 8
mov eax, 0x101c8814
call fcn.10094ac6
mov edi, dword [ebp + 8]
mov eax, dword [edi]
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp dword [eax - 8], ebx
jne 0x10026ca9
xor edi, edi
inc edi
jmp 0x10026d87
mov eax, dword [0x102069b8]
mov dword [ebp + 8], eax
mov dword [ebp - 4], ebx
lea eax, [ebp + 0xc]
push eax
cmp dword [ebp + 0xc], ebx
je 0x10026cc8
call fcn.10026b0f
mov byte [ebp - 4], 1
jmp 0x10026cd1
call fcn.10026b5d
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp + 8]
call fcn.100ca390
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.100ca200
mov esi, dword [ebp + 8]
push ebx
push ebx
push 2
call fcn.1019c380
push eax
push 1
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10026d35
push str.MailText.dat
push str.SaveMailText_create_file__s__fail
push str.MailInfo
push 4
push 0x1025eddc
call fcn.10023e87
add esp, 0x14
or dword [ebp - 4], esi
lea ecx, [ebp + 8]
call fcn.100ca200
mov edi, dword [ebp - 0x14]
jmp 0x10026d87
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.100caed0
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 0x1025eddc
call fcn.10023e87
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.100ca200
mov eax, edi
call fcn.10094b9e
ret 8
Function at 0x10026d91
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xc
mov eax, 0x101c8847
call fcn.10094ac6
mov esi, ecx
mov ecx, dword [ebp + 8]
call fcn.100c9f70
xor edi, edi
cmp dword [esi + 0x1c], edi
jne 0x10026db5
xor eax, eax
jmp 0x10026f1e
mov eax, dword [0x102069b8]
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 0x10026dd9
call fcn.10026b0f
mov byte [ebp - 4], 1
jmp 0x10026de2
call fcn.10026b5d
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x10]
call fcn.100ca390
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.100ca200
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 0x10026e47
push str.MailText.dat
push str.GetMailText_read_file__s__fail
push str.MailInfo
push 4
push 0x1025eddc
call fcn.10023e87
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100ca200
jmp 0x10026dae
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, 0x1025eddc
push esi
call fcn.10023e87
add esp, 0x14
cmp ebx, 0xffffffff
je 0x10026ee8
test ebx, ebx
je 0x10026ee8
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.10061556
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10026eaa
push str.GetMailText_new_memory_fail
push edi
push 4
push esi
call fcn.10023e87
add esp, 0x10
jmp 0x10026ee8
lea ecx, [ebx + 2]
push ecx
push 0
push eax
call fcn.10094bd0
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.10023e87
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.100ca200
cmp dword [ebp - 0x14], 0
je 0x10026dae
push dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
call fcn.100ca480
push dword [ebp - 0x14]
call fcn.10061561
xor eax, eax
pop ecx
inc eax
call fcn.10094b9e
ret 8
Function at 0x1002ac9b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10193440
Function at 0x10034800
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x101caa0a
call fcn.10094b2f
xor ebx, ebx
mov esi, 0x10262058
cmp dword [0x10262050], ebx
je 0x10034827
cmp dword [ebp + 8], ebx
je 0x1003494b
push 0x208
push ebx
push esi
call fcn.10094bd0
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.10094bd0
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 0x100348bf
lea eax, [ebp - 0x218]
push eax
call fcn.100951b6
pop ecx
cmp eax, ebx
jbe 0x1003488b
lea eax, [ebp + eax*2 - 0x21a]
cmp word [eax], 0x5c
jne 0x1003488b
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push 0x7e
push eax
call fcn.100951d0
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x218]
je 0x100348b0
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
jmp 0x100348bf
push 0x103
push eax
push esi
call fcn.1009516c
add esp, 0xc
push esi
lea ecx, [ebp - 0x21c]
call fcn.100c9a60
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x21c]
cmp dword [eax - 8], ebx
je 0x1003491c
push eax
push esi
call fcn.10095121
push str.TEC_MailBackup
push esi
call fcn.100950f3
add esp, 0x10
push esi
lea ecx, [ebp - 0x220]
call fcn.100c9a60
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x220]
call fcn.10034294
mov dword [0x10262050], eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x220]
call fcn.100ca200
push dword [0x10262050]
push esi
push str.CSDGlobalShare::GetBackupDirectory___s__bGet__lu__r_n
push str.SDMailGlobal
push 1
push 0x1025eddc
call fcn.10023e87
add esp, 0x18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.100ca200
mov eax, dword [0x10262050]
neg eax
sbb eax, eax
and eax, esi
call fcn.10094bb2
ret
Function at 0x100366b9
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x1c
mov eax, 0x101cae7f
call fcn.10094ac6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.CSDHelperThread::CleanUnValidCache_r_n
mov ebx, str.OutlookCtrlX
push ebx
push 0xffffffffffffffff
mov edi, 0x1025eddc
push edi
mov esi, eax
call fcn.10023e87
add esp, 0x10
cmp dword [ebp + 0xc], esi
jae 0x100366f9
sub esi, dword [ebp + 0xc]
cmp dword [ebp + 8], esi
ja 0x100367bf
mov esi, 0x102626f4
mov ecx, esi
call fcn.10035b7d
test eax, eax
je 0x10036799
push 1
push 0x102626d4
lea ecx, [ebp - 0x28]
call fcn.100d8480
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.10035b81
mov dword [ebp - 0x14], eax
jmp 0x10036789
inc dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.10035b84
mov eax, dword [eax + 0x68]
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp + 0xc]
ja 0x1003675f
mov ecx, dword [ebp + 0xc]
sub ecx, eax
cmp ecx, dword [ebp + 8]
jbe 0x10036786
push dword [ebp - 0x18]
mov ecx, esi
call fcn.10036338
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.10023e87
add esp, 0x20
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x10036739
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100d84e0
mov ecx, esi
call fcn.10035b7d
test eax, eax
jne 0x100367bf
mov ecx, 0x102626d0
call fcn.10058d1f
push str.CSDHelperThread::CleanUnValidCache_Clean_Cache_File__r_n
push ebx
push 0xffffffffffffffff
push edi
call fcn.10023e87
add esp, 0x10
call fcn.10094b9e
ret 8
Function at 0x10039cb4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1023f420]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push 4
push 0x101e03a0
push ebx
mov dword [ebp - 0x21c], eax
call fcn.1009b36b
add esp, 0xc
test eax, eax
jne 0x10039ceb
add ebx, 8
push ebx
call fcn.100951b6
pop ecx
cmp eax, 4
jb 0x10039db7
cmp word [ebx + 2], 0x3a
jne 0x10039db7
lea eax, [ebx + 4]
cmp word [eax], 0x5c
mov dword [ebp - 0x220], eax
jne 0x10039db7
push esi
push edi
mov esi, 0x101ebfa4
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
lea edi, [ebp - 0xa]
stosd dword es:[edi], eax
stosw word es:[edi], ax
movzx eax, word [ebx]
push eax
call fcn.1009b33f
mov word [ebp - 0x10], ax
pop ecx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
pop edi
pop esi
cmp eax, 4
jne 0x10039db7
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.10094bd0
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x224], 0x104
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x10039db7
push dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp + 0x10]
push 0x101e14a4
dec eax
push eax
push dword [ebp - 0x21c]
call fcn.1009ae4e
add esp, 0x14
jmp 0x10039dcb
mov eax, dword [ebp + 0x10]
dec eax
push eax
push ebx
push dword [ebp - 0x21c]
call fcn.1009516c
add esp, 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
pop ebx
call fcn.10094ab7
leave
ret
Function at 0x10039e74
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x1023f420]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x256
push eax
mov word [ebp - 0x268], ax
lea eax, [ebp - 0x266]
push eax
call fcn.10094bd0
push 0x12c
lea eax, [ebp - 0x268]
push eax
push esi
call fcn.10039ddb
add esp, 0x18
test eax, eax
je 0x10039fda
push edi
mov esi, 0x101ebfa4
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
lea edi, [ebp - 0xa]
stosd dword es:[edi], eax
stosw word es:[edi], ax
pop edi
jmp 0x10039f44
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x470], ax
lea eax, [ebp - 0x46e]
push eax
call fcn.10094bd0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea eax, [ebp - 0x470]
push eax
call fcn.100951b6
mov esi, eax
pop ecx
test esi, esi
jbe 0x10039f40
push esi
lea eax, [ebp - 0x470]
push eax
lea eax, [ebp - 0x268]
push eax
call fcn.10095dc3
add esp, 0xc
test eax, eax
je 0x10039f6d
inc word [ebp - 0x10]
cmp word [ebp - 0x10], 0x5a
jbe 0x10039ede
push 8
lea eax, [ebp - 0x268]
push 0x101ebfec
push eax
call fcn.10095dc3
add esp, 0xc
test eax, eax
jne 0x10039f90
lea eax, [ebp - 0x258]
jmp 0x10039fb0
lea eax, [ebp + esi*2 - 0x268]
test eax, eax
je 0x10039f4b
push eax
lea eax, [ebp - 0x10]
push eax
push 0x101e14a4
push dword [ebp + 0x10]
push ebx
call fcn.1009ae4e
add esp, 0x14
jmp 0x10039fd7
push 0x19
lea eax, [ebp - 0x268]
push 0x101ebfb8
push eax
call fcn.10095dc3
add esp, 0xc
test eax, eax
jne 0x10039fc4
lea eax, [ebp - 0x236]
push eax
push 0x101ebfac
push dword [ebp + 0x10]
push ebx
call fcn.1009ae4e
add esp, 0x10
jmp 0x10039fd7
push dword [ebp + 0x10]
lea eax, [ebp - 0x268]
push ebx
push eax
call fcn.10039cb4
add esp, 0xc
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10094ab7
leave
ret