Function at 0x56cc24
Capabilities:
Create process on windows
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xf
push 0
push 0
dec ecx
jne 0x56cc2d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404d24
mov eax, dword [ebp + 0x14]
call fcn.00404d24
xor eax, eax
push ebp
push 0x56d183
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0xc], 0
jne case.default.0x56cda8
cmp dword [ebp + 0x18], 1
jne 0x56cd8d
cmp byte [ebp + 8], 0
jne 0x56cd8d
mov dl, 1
mov eax, dword [0x41fec0]
call fcn.00403944
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x56cd86
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.005738b0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x24]
mov edx, 0x56d19c
mov eax, dword [ebp - 0x14]
call fcn.00424aa4
mov eax, dword [ebp - 0x24]
call fcn.00409f94
push eax
lea ecx, [ebp - 0x28]
mov edx, 0x56d1b0
mov eax, dword [ebp - 0x14]
call fcn.00424aa4
mov eax, dword [ebp - 0x28]
call fcn.00409f94
push eax
lea ecx, [ebp - 0x2c]
mov edx, 0x56d1c4
mov eax, dword [ebp - 0x14]
call fcn.00424aa4
mov eax, dword [ebp - 0x2c]
call fcn.00409f94
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x8a]
push eax
lea ecx, [ebp - 0x30]
mov edx, 0x56d1d8
mov eax, dword [ebp - 0x14]
call fcn.00424aa4
mov eax, dword [ebp - 0x30]
call fcn.00409df0
push eax
lea ecx, [ebp - 0x34]
mov edx, 0x56d1f0
mov eax, dword [ebp - 0x14]
call fcn.00424aa4
mov eax, dword [ebp - 0x34]
call fcn.00409df0
push eax
push 0
lea ecx, [ebp - 0x38]
mov edx, 0x56d204
mov eax, dword [ebp - 0x14]
call fcn.00424aa4
mov eax, dword [ebp - 0x38]
call fcn.00409f94
push eax
lea ecx, [ebp - 0x3c]
mov edx, 0x56d214
mov eax, dword [ebp - 0x14]
call fcn.00424aa4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
pop ecx
call fcn.0056d308
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56cd8d
mov eax, dword [ebp - 0x14]
call fcn.00403974
ret
cmp byte [ebp + 0x10], 0
je 0x56cd97
xor ebx, ebx
jmp 0x56cd9c
mov ebx, 1
mov eax, dword [ebp - 0xc]
cmp eax, 4
ja case.default.0x56cda8
jmp dword [eax*4 + 0x56cdaf]
push ebx
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.0040a798
mov eax, dword [ebp - 0x40]
call fcn.00404d34
push eax
mov eax, dword [ebp + 0x14]
call fcn.00404d34
push eax
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
push 0x56d220
push 0
call sub.shell32.dll_ShellExecuteA
jmp case.default.0x56cda8
mov eax, dword [ebp - 8]
call fcn.0040a31c
test al, al
je case.default.0x56cda8
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 8]
call fcn.0040a8e4
mov eax, dword [ebp - 0x44]
mov edx, 0x56d230
call fcn.004095d8
test eax, eax
jne case.default.0x56cda8
mov dl, 1
mov eax, dword [0x41fec0]
call fcn.00403944
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x56d050
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp + 0x14]
mov eax, 0x56d240
call fcn.00404e78
test eax, eax
jle 0x56cee2
push dword [0x59b244]
push 0x56d254
lea eax, [ebp - 0x48]
call fcn.0056bb6c
push dword [ebp - 0x48]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404bfc
mov al, byte [0x56d258]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
mov edx, 0x56d264
call fcn.00404b88
mov ecx, dword [ebp - 0x50]
mov edx, 0x56d240
mov eax, dword [ebp + 0x14]
call fcn.00410070
mov edx, dword [ebp - 0x4c]
lea eax, [ebp + 0x14]
call fcn.00404900
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
mov edx, 0x56d274
mov eax, dword [ebp - 0x18]
call fcn.00425248
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov edx, 0x56d28c
mov eax, dword [ebp - 0x10]
call fcn.00576688
jmp 0x56ceea
lea eax, [ebp - 0x10]
call fcn.00404868
push dword [ebp - 8]
push 0x56d298
push dword [ebp + 0x14]
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404bfc
mov eax, dword [ebp - 0x54]
mov edx, ebx
call fcn.0056c854
cmp dword [ebp + 0x18], 1
jne 0x56cf39
cmp byte [ebp + 8], 0
jne 0x56cf39
mov eax, dword [ebp - 8]
call fcn.0040a6b4
mov eax, dword [ebp - 8]
call fcn.0040a31c
test al, al
je 0x56cf39
mov edx, 0x56d28c
mov eax, dword [ebp - 8]
call fcn.00576688
cmp dword [ebp - 0x10], 0
je 0x56d03a
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea ecx, [ebp - 0x58]
mov edx, 0x56d2a4
mov eax, dword [ebp - 0x18]
call fcn.00424aa4
mov eax, dword [ebp - 0x58]
mov edx, 0x56d2b4
call fcn.00404c80
jne 0x56cf8a
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0057398c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x56a05c]
call fcn.0040e748
call fcn.00404204
lea ecx, [ebp - 0x5c]
mov edx, 0x56d2c0
mov eax, dword [ebp - 0x18]
call fcn.00424aa4
mov eax, dword [ebp - 0x5c]
mov edx, 0x56d2b4
call fcn.00404c80
jne 0x56cfe9
mov al, byte [0x56d258]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x64]
mov edx, 0x56d2d0
mov eax, dword [ebp - 0x18]
call fcn.00424aa4
mov eax, dword [ebp - 0x64]
mov ecx, 0x56d2e4
mov edx, 0x56d2f0
call fcn.00410070
mov ecx, dword [ebp - 0x60]
mov dl, 1
mov eax, dword [0x4087f8]
call fcn.0040e748
call fcn.00404204
lea ecx, [ebp - 0x68]
mov edx, 0x56d274
mov eax, dword [ebp - 0x18]
call fcn.00424aa4
cmp dword [ebp - 0x68], 0
je 0x56d03a
lea ecx, [ebp - 0x6c]
mov edx, 0x56d274
mov eax, dword [ebp - 0x18]
call fcn.00424aa4
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.00404c80
je 0x56d03a
lea ecx, [ebp - 0x70]
mov edx, 0x56d274
mov eax, dword [ebp - 0x18]
call fcn.00424aa4
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.005739ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push case.default.0x56cda8
mov eax, dword [ebp - 0x18]
call fcn.00403974
ret
mov eax, dword [ebp - 8]
call fcn.0040a6b4
jmp case.default.0x56cda8
xor eax, eax
push ebp
push 0x56d0ac
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0056c5f8
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 8]
mov edx, 0x56d300
call fcn.00404b88
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0042435c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.default.0x56cda8
mov dl, 1
mov eax, dword [0x41fec0]
call fcn.00403944
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x56d149
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.0056af00
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.00404d34
mov ebx, eax
push ebx
call sub.kernel32.dll_GetFileAttributesA
mov esi, eax
push 0
push ebx
call sub.kernel32.dll_SetFileAttributesA
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x74]
push esi
push ebx
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push case.default.0x56cda8
mov eax, dword [ebp - 0x1c]
call fcn.00403974
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56d18a
lea eax, [ebp - 0x7c]
mov edx, 0x18
call fcn.0040488c
lea eax, [ebp - 0x10]
call fcn.00404868
lea eax, [ebp - 8]
call fcn.00404868
lea eax, [ebp + 0x14]
call fcn.00404868
ret