Function at 0x525c15
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
sub esp, 0x70
mov eax, 0x6dbce1
call fcn.006899cc
sub esp, 0x104
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x110]
mov dword [ebp + 0x58], edi
call fcn.00524443
lea eax, [ebp - 0x110]
xor ebx, ebx
push eax
lea eax, [ebp + 0x60]
mov dword [ebp - 4], ebx
push eax
lea eax, [edi + 0x1c]
push eax
call fcn.0055c6aa
test al, al
je 0x525cd0
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax + 0xec]
imul eax, dword [ebp - 0xb4], 0xa0
add eax, dword [ecx + 4]
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.0051c96f
lea ecx, [edi + 0x7c]
push eax
call fcn.00448080
lea ecx, [ebp + 0x40]
call fcn.0044823e
mov eax, dword [ebp + 0x60]
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp + 0x6c]
push ecx
mov ecx, dword [eax + 0xdc]
call fcn.00524158
lea esi, [edi + 0x64]
mov ecx, esi
mov eax, dword [eax]
add eax, 0x130
push eax
call fcn.004480a2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x525cbf
mov eax, dword [esi]
push eax
call fcn.0047050d
test al, al
je 0x525cf2
or dword [edi + 4], 0xffffffff
mov byte [edi], 1
or ebx, 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.004af7f9
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x74
leave
ret
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x525cfc
mov eax, dword [esi]
push 0x5c
push eax
call fcn.0068d26b
mov dword [ebp + 0x70], eax
pop ecx
pop ecx
test eax, eax
je 0x525cd0
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x525d17
mov ecx, dword [esi]
sub eax, ecx
mov dword [ebp + 0x40], ebx
sar eax, 1
xor ecx, ecx
push eax
push ebx
mov word [ebp + 0x40], cx
lea ecx, [ebp + 0x40]
push esi
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x54], 7
call fcn.0045793f
cmp dword [ebp + 0x54], 8
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 1
jb 0x525d49
mov ecx, dword [ebp + 0x40]
mov eax, dword [ebp + 0x70]
add eax, 2
push eax
push ecx
lea eax, [ebp]
push 0x716a80
push eax
call fcn.00475719
add esp, 0x10
lea esi, [edi + 0x4c]
mov ecx, esi
push eax
call fcn.00448080
lea ecx, [ebp]
call fcn.0044823e
mov eax, dword [ebp + 0x54]
mov byte [ebp - 4], bl
cmp eax, 8
jb 0x525db3
mov ecx, dword [ebp + 0x40]
lea eax, [eax*2 + 2]
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x70], ecx
cmp eax, 0x1000
jb 0x525daa
lea eax, [ebp + 0x5c]
push eax
lea eax, [ebp + 0x70]
push eax
call fcn.0044810a
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x70]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
lea eax, [edi + 0x7c]
cmp dword [eax + 0x14], 8
jb 0x525dbe
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x54]
push str.__s_
push eax
call fcn.00475719
add esp, 0xc
cmp dword [esi + 0x14], 8
mov eax, esi
mov byte [ebp - 4], 2
jb 0x525dde
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x3c]
push str.__s_
push eax
call fcn.00475719
add esp, 0xc
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 3
jb 0x525e00
mov edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x40], 8
lea ecx, [ebp - 0x54]
jb 0x525e0c
mov ecx, dword [ebp - 0x54]
lea eax, [edi + 0x34]
cmp dword [eax + 0x14], 8
jb 0x525e17
mov eax, dword [eax]
push edx
push ecx
push eax
lea eax, [ebp + 0x28]
push eax
call fcn.00475719
add esp, 0x10
cmp dword [ebp + 0x3c], 8
lea eax, [ebp + 0x28]
mov byte [ebp - 4], 4
mov dword [ebp + 0x70], eax
jb 0x525e3c
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x70], eax
lea eax, [ebp + 0x40]
push eax
call fcn.00524c0b
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 5
jb 0x525e51
mov eax, dword [eax]
push dword [ebp + 0x70]
push eax
lea eax, [ebp]
push str.__s___s
push eax
call fcn.00475719
lea ecx, [ebp + 0x28]
add esp, 0x10
cmp ecx, eax
je 0x525e79
mov byte [ebp + 0x70], bl
push dword [ebp + 0x70]
push eax
call fcn.00448215
lea ecx, [ebp]
call fcn.0044823e
lea ecx, [ebp + 0x40]
mov byte [ebp - 4], 4
call fcn.0044823e
lea eax, [ebp - 0x24]
push eax
call fcn.00524c0b
cmp dword [esi + 0x14], 8
mov eax, esi
mov byte [ebp - 4], 6
jb 0x525ea4
mov eax, dword [esi]
push eax
lea eax, [ebp]
push str._s.log
push eax
call fcn.00475719
add esp, 0xc
lea ecx, [edi + 0x94]
push eax
call fcn.00448080
lea ecx, [ebp]
call fcn.0044823e
push ebx
lea eax, [edi + 0x94]
push eax
call fcn.0046f8c1
lea eax, [edi + 0x94]
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x525ee7
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp dword [esi + 0x14], 8
jb 0x525ef6
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
lea eax, [edi + 0x94]
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x525f0d
mov ecx, dword [eax]
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [edi + 0xac], eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
call ebx
mov edi, dword [edi + 0xac]
mov esi, eax
call ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
lea ecx, [ebp + 0x68]
push 2
push 1
push 0
push ecx
push esi
push edi
push eax
call ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov edi, dword [ebp + 0x58]
mov esi, eax
mov edi, dword [edi + 0xac]
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push 2
push 1
push 0
lea ecx, [ebp + 0x64]
push ecx
push esi
push edi
push eax
call ebx
mov esi, dword [ebp + 0x58]
push dword [esi + 0xac]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [esi + 0x94]
cmp dword [eax + 0x14], 8
jb 0x525f9a
mov eax, dword [eax]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
push 0x44
mov dword [esi + 0xac], eax
lea eax, [ebp - 0x98]
push ebx
push eax
call fcn.0068ccc0
xor eax, eax
mov dword [ebp - 0x98], 0x44
lea edi, [ebp + 0x18]
add esp, 0xc
stosd dword es:[edi], eax
push 0xfffffffffffffff6
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0x5c], eax
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
cmp dword [ebp + 0x3c], 8
lea ecx, [ebp + 0x28]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x6c], 0x100
mov byte [esi], 1
jb 0x52600b
mov ecx, dword [ebp + 0x28]
cmp dword [ebp - 0x10], 8
lea eax, [ebp - 0x24]
jb 0x526017
mov eax, dword [ebp - 0x24]
lea edx, [ebp + 0x18]
push edx
lea edx, [ebp - 0x98]
push edx
push ebx
push ebx
push 0x8004000
push 1
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp + 0x68]
test eax, eax
je 0x52605c
call edi
push dword [ebp + 0x64]
call edi
mov eax, dword [ebp + 0x20]
push dword [ebp + 0x1c]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 8], eax
call edi
jmp 0x52607a
call edi
push dword [ebp + 0x64]
call edi
push dword [esi + 0xac]
call edi
or dword [esi + 0xac], 0xffffffff
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
lea ecx, [ebp - 0x24]
call fcn.0044823e
lea ecx, [ebp + 0x28]
call fcn.0044823e
lea ecx, [ebp - 0x3c]
call fcn.0044823e
lea ecx, [ebp - 0x54]
call fcn.0044823e
jmp 0x525cd3