Function at 0x5e5440
Capabilities:
Create process on windows
Delete file
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x71b98c
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x7e6410]
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
mov edi, dword [ebp + 8]
mov dword [ebp - 0x98], edi
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0x78], 0
lea ecx, [edi + 4]
mov dword [ebp - 4], 1
mov dword [edi], 0
call fcn.00429050
mov ebx, 1
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x78], ebx
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
test eax, eax
je 0x5e5a81
lea eax, [ebp - 0x9c]
push eax
call fcn.005b68c0
add esp, 4
push 0x752d78
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 2
push eax
call fcn.00428bd0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.00428810
push ecx
lea eax, [ebp - 0x90]
mov ecx, esp
push eax
call fcn.00428690
call fcn.005b1510
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x7856e8
call fcn.00428840
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
push 0x752d8c
mov byte [ebp - 4], 5
call fcn.00428840
push ecx
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 6
mov ecx, esp
push eax
call fcn.00428690
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
call fcn.005b0270
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x80], esp
push 0x7856e8
call fcn.00428840
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
push 0x752d9c
mov byte [ebp - 4], 8
call fcn.00428840
push ecx
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 9
mov ecx, esp
push eax
call fcn.00428690
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 7
push eax
call fcn.005b0270
add esp, 0x10
push 0
push 0x80
push 2
push 0
push ebx
push 0x10000000
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xa
call fcn.00429100
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x80], eax
cmp eax, 0xffffffff
je 0x5e5a57
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
push 0x7856e8
call fcn.00428840
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
push 0x752dac
mov byte [ebp - 4], 0xb
call fcn.00428840
push ecx
push esp
mov byte [ebp - 4], 0xc
call fcn.005b6a10
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x88]
push eax
call fcn.005b0270
add esp, 0x10
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0xd
call fcn.00429050
push dword [ebp - 0x7c]
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0xe
push dword [ebp + 0xc]
push dword [ebp - 0x88]
push 0x752dc4
push eax
call fcn.0042a0e0
add esp, 0x14
lea ecx, [ebp - 0x94]
call fcn.00429100
mov dword [ebp - 0x8c], eax
test eax, eax
jne 0x5e5665
xor edx, edx
jmp 0x5e56aa
mov ecx, eax
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5e5670
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x5e568e
xor edx, edx
jmp 0x5e56aa
add esi, esi
mov eax, esi
call fcn.006b5940
mov eax, esp
push 3
push esi
push dword [ebp - 0x8c]
push eax
call fcn.0049c480
mov edx, eax
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5e56b0
push 0
lea eax, [ebp - 0xa0]
sub ecx, esi
mov esi, dword [ebp - 0x80]
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0x40
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x100], 0
push 0
push eax
call fcn.006b47d0
add esp, 0xc
lea eax, [ebp - 0xb4]
lea ecx, [ebp - 0x84]
push eax
lea eax, [ebp - 0x100]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
call fcn.00429100
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x5e5a05
push 0xffffffffffffffff
push dword [ebp - 0xb4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0xb4]
call esi
push dword [ebp - 0xb0]
call esi
lea ecx, [ebp - 0x7c]
call fcn.00429100
push eax
call fcn.005b6cc0
add esp, 4
test eax, eax
je 0x5e5a05
push 1
push 0x40
push 1
lea ecx, [ebp - 0x7c]
call fcn.00429100
push eax
lea ecx, [ebp - 0x1b8]
call fcn.005e36d0
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.005e33a0
mov ecx, eax
add esp, 8
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
jne 0x5e59ee
lea esp, [esp]
push 9
push 0x752de8
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0xf
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.00424a50
push 0xc
push 0x752df4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00424a50
mov eax, dword [ebp - 0x60]
mov byte [ebp - 4], 0x12
cmp eax, dword [ebp - 0x48]
jae 0x5e584e
push eax
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.00436920
push dword [ebp - 0x60]
or ebx, 2
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x5c], 0x10
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], ebx
cmovae ecx, dword [ebp - 0x70]
push ecx
push dword [eax + 0x10]
mov ecx, eax
push 0
call fcn.00436c20
mov byte [ebp - 0x71], 1
test eax, eax
je 0x5e5852
mov byte [ebp - 0x71], 0
mov dword [ebp - 4], 0x12
test bl, 2
je 0x5e5875
and ebx, 0xfffffffd
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x78], ebx
jb 0x5e5875
push dword [ebp - 0x28]
call fcn.00428680
add esp, 4
cmp byte [ebp - 0x71], 0
je 0x5e58a7
push 0xffffffffffffffff
push dword [ebp - 0x60]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.00436920
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.006b6050
add esp, 4
mov dword [edi], eax
jmp 0x5e5980
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x48]
jae 0x5e58eb
push eax
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.00436920
push dword [ebp - 0x30]
or ebx, 4
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x78], ebx
cmovae ecx, dword [ebp - 0x40]
push ecx
push dword [eax + 0x10]
mov ecx, eax
push 0
call fcn.00436c20
mov byte [ebp - 0x71], 1
test eax, eax
je 0x5e58ef
mov byte [ebp - 0x71], 0
mov dword [ebp - 4], 0x12
test bl, 4
je 0x5e5912
and ebx, 0xfffffffb
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x78], ebx
jb 0x5e5912
push dword [ebp - 0x28]
call fcn.00428680
add esp, 4
cmp byte [ebp - 0x71], 0
je 0x5e5991
push 0xffffffffffffffff
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.00436920
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov byte [ebp - 4], 0x15
cmovae esi, dword [ebp - 0x28]
test esi, esi
jne 0x5e5940
xor eax, eax
jmp 0x5e5977
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5e5945
sub eax, edx
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x5e595d
xor eax, eax
jmp 0x5e5971
lea eax, [edi + edi]
call fcn.006b5940
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.0052fcd0
mov edi, dword [ebp - 0x98]
push eax
lea ecx, [edi + 4]
call fcn.00428a30
cmp dword [ebp - 0x14], 0x10
jb 0x5e5991
push dword [ebp - 0x28]
call fcn.00428680
add esp, 4
cmp dword [ebp - 0x2c], 0x10
jb 0x5e59a2
push dword [ebp - 0x40]
call fcn.00428680
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0x10
jb 0x5e59c9
push dword [ebp - 0x70]
call fcn.00428680
add esp, 4
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.005e33a0
mov ecx, eax
add esp, 8
mov eax, dword [ecx]
mov eax, dword [eax + 4]
test byte [eax + ecx + 0xc], 6
je 0x5e57c0
lea ecx, [ebp - 0x58]
call fcn.004245a0
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 0xe
call fcn.005e6f60
lea ecx, [ebp - 0x7c]
call fcn.00429100
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
lea ecx, [ebp - 0x84]
call fcn.00429100
push eax
call esi
push dword [edi + 4]
push dword [edi]
push dword [ebp + 0xc]
push 0x752e04
call fcn.005b1290
add esp, 0x10
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x94]
call fcn.00428810
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xa
call fcn.00428810
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 7
call fcn.00428810
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.00428810
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 1
call fcn.00428810
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call fcn.00428810
mov eax, edi
lea esp, [ebp - 0x1c8]
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.006b3266
mov esp, ebp
pop ebp
ret 8