Function at 0x56cbd4
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 0x56cbdd
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 0x56d133
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0xc], 0
jne case.default.0x56cd58
cmp dword [ebp + 0x18], 1
jne 0x56cd3d
cmp byte [ebp + 8], 0
jne 0x56cd3d
mov dl, 1
mov eax, dword [0x41fec0]
call fcn.00403944
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x56cd36
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0057377c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x24]
mov edx, 0x56d14c
mov eax, dword [ebp - 0x14]
call fcn.00424aa4
mov eax, dword [ebp - 0x24]
call fcn.00409f94
push eax
lea ecx, [ebp - 0x28]
mov edx, 0x56d160
mov eax, dword [ebp - 0x14]
call fcn.00424aa4
mov eax, dword [ebp - 0x28]
call fcn.00409f94
push eax
lea ecx, [ebp - 0x2c]
mov edx, 0x56d174
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, 0x56d188
mov eax, dword [ebp - 0x14]
call fcn.00424aa4
mov eax, dword [ebp - 0x30]
call fcn.00409df0
push eax
lea ecx, [ebp - 0x34]
mov edx, 0x56d1a0
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, 0x56d1b4
mov eax, dword [ebp - 0x14]
call fcn.00424aa4
mov eax, dword [ebp - 0x38]
call fcn.00409f94
push eax
lea ecx, [ebp - 0x3c]
mov edx, 0x56d1c4
mov eax, dword [ebp - 0x14]
call fcn.00424aa4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
pop ecx
call fcn.0056d2b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56cd3d
mov eax, dword [ebp - 0x14]
call fcn.00403974
ret
cmp byte [ebp + 0x10], 0
je 0x56cd47
xor ebx, ebx
jmp 0x56cd4c
mov ebx, 1
mov eax, dword [ebp - 0xc]
cmp eax, 4
ja case.default.0x56cd58
jmp dword [eax*4 + 0x56cd5f]
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 0x56d1d0
push 0
call sub.shell32.dll_ShellExecuteA
jmp case.default.0x56cd58
mov eax, dword [ebp - 8]
call fcn.0040a31c
test al, al
je case.default.0x56cd58
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 8]
call fcn.0040a8e4
mov eax, dword [ebp - 0x44]
mov edx, 0x56d1e0
call fcn.004095d8
test eax, eax
jne case.default.0x56cd58
mov dl, 1
mov eax, dword [0x41fec0]
call fcn.00403944
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x56d000
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp + 0x14]
mov eax, 0x56d1f0
call fcn.00404e78
test eax, eax
jle 0x56ce92
push dword [0x59b240]
push 0x56d204
lea eax, [ebp - 0x48]
call fcn.0056bb1c
push dword [ebp - 0x48]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404bfc
mov al, byte [0x56d208]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
mov edx, 0x56d214
call fcn.00404b88
mov ecx, dword [ebp - 0x50]
mov edx, 0x56d1f0
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, 0x56d224
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, 0x56d23c
mov eax, dword [ebp - 0x10]
call fcn.00576570
jmp 0x56ce9a
lea eax, [ebp - 0x10]
call fcn.00404868
push dword [ebp - 8]
push 0x56d248
push dword [ebp + 0x14]
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404bfc
mov eax, dword [ebp - 0x54]
mov edx, ebx
call fcn.0056c804
cmp dword [ebp + 0x18], 1
jne 0x56cee9
cmp byte [ebp + 8], 0
jne 0x56cee9
mov eax, dword [ebp - 8]
call fcn.0040a6b4
mov eax, dword [ebp - 8]
call fcn.0040a31c
test al, al
je 0x56cee9
mov edx, 0x56d23c
mov eax, dword [ebp - 8]
call fcn.00576570
cmp dword [ebp - 0x10], 0
je 0x56cfea
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea ecx, [ebp - 0x58]
mov edx, 0x56d254
mov eax, dword [ebp - 0x18]
call fcn.00424aa4
mov eax, dword [ebp - 0x58]
mov edx, 0x56d264
call fcn.00404c80
jne 0x56cf3a
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00573858
xor ecx, ecx
mov dl, 1
mov eax, dword [0x56a00c]
call fcn.0040e748
call fcn.00404204
lea ecx, [ebp - 0x5c]
mov edx, 0x56d270
mov eax, dword [ebp - 0x18]
call fcn.00424aa4
mov eax, dword [ebp - 0x5c]
mov edx, 0x56d264
call fcn.00404c80
jne 0x56cf99
mov al, byte [0x56d208]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x64]
mov edx, 0x56d280
mov eax, dword [ebp - 0x18]
call fcn.00424aa4
mov eax, dword [ebp - 0x64]
mov ecx, 0x56d294
mov edx, 0x56d2a0
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, 0x56d224
mov eax, dword [ebp - 0x18]
call fcn.00424aa4
cmp dword [ebp - 0x68], 0
je 0x56cfea
lea ecx, [ebp - 0x6c]
mov edx, 0x56d224
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 0x56cfea
lea ecx, [ebp - 0x70]
mov edx, 0x56d224
mov eax, dword [ebp - 0x18]
call fcn.00424aa4
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.005738b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push case.default.0x56cd58
mov eax, dword [ebp - 0x18]
call fcn.00403974
ret
mov eax, dword [ebp - 8]
call fcn.0040a6b4
jmp case.default.0x56cd58
xor eax, eax
push ebp
push 0x56d05c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0056c5a8
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 8]
mov edx, 0x56d2b0
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.0x56cd58
mov dl, 1
mov eax, dword [0x41fec0]
call fcn.00403944
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x56d0f9
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.0056aeb0
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.0x56cd58
mov eax, dword [ebp - 0x1c]
call fcn.00403974
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56d13a
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