Function at 0x572a70
Capabilities:
Create process on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x37
push 0
push 0
dec ecx
jne 0x572a79
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 0x172], cl
mov byte [ebp - 0x171], dl
mov esi, eax
lea eax, [ebp - 0x170]
mov edx, dword [0x409290]
call fcn.00406408
xor eax, eax
push ebp
push 0x5730ab
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 0x172], 0
jne 0x572b01
lea eax, [ebp - 4]
call fcn.00515cd8
test al, al
jne 0x572ad7
mov eax, 0x5730c4
call fcn.0044b124
jmp 0x57306f
mov eax, dword [0x5a2974]
cmp byte [eax], 0
jne 0x572b01
push 0
push 0
movzx ecx, word [0x5730f4]
xor edx, edx
mov eax, 0x573100
call fcn.0044afc8
cmp eax, 7
je 0x57306f
lea eax, [ebp - 0xc]
mov edx, 0x573158
call fcn.0040594c
cmp byte [0x6d1e96], 0
je 0x572b36
push 0x573168
push dword [0x6d204c]
push 0x57317c
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405c48
jmp 0x572b43
lea eax, [ebp - 8]
mov edx, 0x57318c
call fcn.0040594c
cmp byte [0x6d1e96], 0
jne 0x572b74
cmp byte [0x6d1ea1], 0
je 0x572b74
cmp byte [ebp - 0x172], 0
jne 0x572b74
cmp dword [0x6d1f68], 1
jle 0x572b74
lea eax, [ebp - 8]
mov edx, 0x5731a4
call fcn.0040594c
lea eax, [ebp - 4]
call fcn.005149b4
lea eax, [ebp - 0xc]
mov edx, 0x5731c4
call fcn.00405b90
cmp byte [ebp - 0x171], 0
je 0x572bb9
mov eax, 0x5731d0
call fcn.0044b124
push 5
push 0
push 0
push 0x573448
push 0x573470
mov eax, esi
call fcn.00461d30
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [esi + 0x3a0]
add eax, 0xe4
mov edx, 0x573480
call fcn.00405908
lea edx, [ebp - 0x184]
mov eax, 0x3db
call fcn.0040a848
mov ecx, dword [ebp - 0x184]
mov eax, dword [esi + 0x3a0]
add eax, 0xd8
mov edx, 0x573494
call fcn.00405bd4
mov ebx, dword [esi + 0x3a0]
push dword [ebx + 0xe4]
push 0x5734a4
push dword [ebp - 0xc]
lea eax, [ebx + 0xe4]
mov edx, 3
call fcn.00405c48
lea eax, [ebp - 0x188]
mov ecx, dword [ebp - 0xc]
mov edx, 0x5734b0
call fcn.00405bd4
mov edx, dword [ebp - 0x188]
mov eax, dword [esi + 0x3a0]
mov ecx, dword [eax]
call dword [ecx + 0x90]
mov eax, dword [esi + 0x3a0]
mov edx, 0x2710
call fcn.004a38f0
mov eax, dword [esi + 0x3a0]
mov edx, dword [eax]
call dword [edx + 0x9c]
mov eax, dword [esi + 0x3a0]
mov edx, dword [eax]
call dword [edx + 0x64]
test al, al
je 0x57304f
mov eax, dword [esi + 0x3a0]
mov edx, 0x5734c0
call fcn.004c7054
cmp byte [0x6d1e96], 0
je 0x572c9e
mov eax, dword [esi + 0x3a0]
mov edx, 0x5734cc
call fcn.004c7054
lea eax, [ebp - 8]
mov edx, 0x5734dc
call fcn.0040594c
mov eax, dword [esi + 0x3a0]
mov edx, dword [ebp - 8]
call fcn.004c70d4
mov dword [0x6d2084], eax
cmp dword [0x6d2084], 0xffffffff
jne 0x572ce1
mov eax, dword [esi + 0x3a0]
call fcn.004c6994
mov eax, 0x5734f0
call fcn.0044b124
jmp 0x57306f
cmp dword [0x6d2084], 0
jg 0x572cf4
mov dword [0x6d2084], 0x20e1f8
xor edx, edx
push ebp
push 0x572d37
push dword fs:[edx]
mov dword fs:[edx], esp
push 1
push 0
lea eax, [ebp - 0x18c]
mov ecx, 0x573520
mov edx, dword [ebp - 4]
call fcn.00405bd4
mov ecx, dword [ebp - 0x18c]
mov eax, dword [esi + 0x3a0]
mov edx, dword [ebp - 8]
call fcn.004c5b50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x572d85
mov eax, dword [esi + 0x3a0]
call fcn.004c6994
mov word [0x6d203a], 0
call fcn.0040d080
fstp qword [ebp - 0x180]
wait
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
mov edx, dword [0x5a2a70]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
call fcn.0040dce0
mov eax, 0x6d2044
mov edx, dword [ebp - 0x10]
call fcn.00405908
mov eax, dword [0x5a2f20]
mov eax, dword [eax]
mov eax, dword [eax + 0x368]
mov edx, 0x573588
call fcn.0045a1f0
mov eax, dword [0x5a2f20]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x8c]
lea eax, [ebp - 0x194]
mov ecx, 0x573520
mov edx, dword [ebp - 4]
call fcn.00405bd4
mov eax, dword [ebp - 0x194]
mov edx, dword [0x5a2900]
mov edx, dword [edx]
call fcn.0053ab94
cmp byte [0x6d1e96], 0
je 0x572e66
lea eax, [ebp - 0x198]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405bd4
mov eax, dword [ebp - 0x198]
call fcn.00405d88
push eax
lea eax, [ebp - 0x19c]
mov ecx, 0x573520
mov edx, dword [ebp - 4]
call fcn.00405bd4
mov eax, dword [ebp - 0x19c]
call fcn.00405d88
push eax
call sub.kernel32.dll_MoveFileA
jmp 0x572ea9
lea eax, [ebp - 0x1a0]
mov ecx, 0x5735b0
mov edx, dword [ebp - 4]
call fcn.00405bd4
mov eax, dword [ebp - 0x1a0]
call fcn.00405d88
push eax
lea eax, [ebp - 0x1a4]
mov ecx, 0x573520
mov edx, dword [ebp - 4]
call fcn.00405bd4
mov eax, dword [ebp - 0x1a4]
call fcn.00405d88
push eax
call sub.kernel32.dll_MoveFileA
cmp byte [0x6d1ec1], 0
jne 0x572ebc
mov eax, 0x5735c8
call fcn.0044b124
cmp byte [0x6d1e96], 0
je 0x572eeb
mov eax, 0x573658
call fcn.0044b124
push 0x573700
push 0x573720
mov eax, dword [0x5a2704]
mov eax, dword [eax]
mov cl, 1
mov dl, 1
call fcn.00539460
jmp 0x572f05
push 0x573700
push 0x57373c
mov eax, dword [0x5a2704]
mov eax, dword [eax]
mov cl, 1
mov dl, 1
call fcn.00539460
cmp byte [ebp - 0x172], 0
jne 0x572f55
lea eax, [ebp - 0x1a8]
mov ecx, 0x5735b0
mov edx, dword [ebp - 4]
call fcn.00405bd4
mov eax, dword [ebp - 0x1a8]
lea ecx, [ebp - 0x170]
mov edx, 0x3f
call fcn.0040b01c
test eax, eax
je 0x572f55
push 0
movzx ecx, word [0x57374c]
mov dl, 2
mov eax, 0x573758
call fcn.0044afa8
jmp 0x57306f
mov byte [0x6d1ebb], 1
mov eax, esi
call fcn.0057a3d0
cmp byte [0x6d1e96], 0
je 0x572f95
push 5
lea eax, [ebp - 0x1ac]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00405bd4
mov eax, dword [ebp - 0x1ac]
call fcn.00405d88
push eax
call sub.kernel32.dll_WinExec
call fcn.004056ec
cmp byte [ebp - 0x171], 0
je 0x572fcb
lea eax, [ebp - 0x1b0]
mov ecx, 0x5735b0
mov edx, dword [ebp - 4]
call fcn.00405bd4
mov eax, dword [ebp - 0x1b0]
mov ecx, 0x5738a4
mov edx, 0x57318c
call fcn.00514c44
jmp 0x57306f
cmp byte [0x6d1ea0], 0
je 0x573022
push 0x573168
mov eax, dword [0x5a2e34]
push dword [eax]
push 0x57317c
lea eax, [ebp - 0x1b4]
mov edx, 3
call fcn.00405c48
mov eax, dword [ebp - 0x1b4]
push eax
lea eax, [ebp - 0x1b8]
mov ecx, 0x5735b0
mov edx, dword [ebp - 4]
call fcn.00405bd4
mov eax, dword [ebp - 0x1b8]
mov edx, 0x57318c
pop ecx
call fcn.00514c44
jmp 0x57306f
push 5
lea eax, [ebp - 0x1bc]
mov ecx, 0x5735b0
mov edx, dword [ebp - 4]
call fcn.00405bd4
mov eax, dword [ebp - 0x1bc]
call fcn.00405d88
push eax
call sub.kernel32.dll_WinExec
call fcn.004056ec
jmp 0x57306f
push 0
movzx ecx, word [0x57374c]
mov dl, 2
mov eax, 0x5738c0
call fcn.0044afa8
mov eax, dword [esi + 0x3a0]
call fcn.004c6994
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5730b2
lea eax, [ebp - 0x1bc]
mov edx, 0xf
call fcn.004058d8
lea eax, [ebp - 0x170]
mov edx, dword [0x409290]
call fcn.004064d8
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.004058d8
ret