Function at 0x56d074
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 0x56d07d
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 0x56d5d3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0xc], 0
jne case.default.0x56d1f8
cmp dword [ebp + 0x18], 1
jne 0x56d1dd
cmp byte [ebp + 8], 0
jne 0x56d1dd
mov dl, 1
mov eax, dword [0x41fed0]
call fcn.00403944
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x56d1d6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00573d04
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x24]
mov edx, 0x56d5ec
mov eax, dword [ebp - 0x14]
call fcn.00424ab4
mov eax, dword [ebp - 0x24]
call fcn.00409fa4
push eax
lea ecx, [ebp - 0x28]
mov edx, 0x56d600
mov eax, dword [ebp - 0x14]
call fcn.00424ab4
mov eax, dword [ebp - 0x28]
call fcn.00409fa4
push eax
lea ecx, [ebp - 0x2c]
mov edx, 0x56d614
mov eax, dword [ebp - 0x14]
call fcn.00424ab4
mov eax, dword [ebp - 0x2c]
call fcn.00409fa4
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x8a]
push eax
lea ecx, [ebp - 0x30]
mov edx, 0x56d628
mov eax, dword [ebp - 0x14]
call fcn.00424ab4
mov eax, dword [ebp - 0x30]
call fcn.00409e00
push eax
lea ecx, [ebp - 0x34]
mov edx, 0x56d640
mov eax, dword [ebp - 0x14]
call fcn.00424ab4
mov eax, dword [ebp - 0x34]
call fcn.00409e00
push eax
push 0
lea ecx, [ebp - 0x38]
mov edx, 0x56d654
mov eax, dword [ebp - 0x14]
call fcn.00424ab4
mov eax, dword [ebp - 0x38]
call fcn.00409fa4
push eax
lea ecx, [ebp - 0x3c]
mov edx, 0x56d664
mov eax, dword [ebp - 0x14]
call fcn.00424ab4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
pop ecx
call fcn.0056d758
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56d1dd
mov eax, dword [ebp - 0x14]
call fcn.00403974
ret
cmp byte [ebp + 0x10], 0
je 0x56d1e7
xor ebx, ebx
jmp 0x56d1ec
mov ebx, 1
mov eax, dword [ebp - 0xc]
cmp eax, 4
ja case.default.0x56d1f8
jmp dword [eax*4 + 0x56d1ff]
push ebx
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.0040a7a8
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 0x56d670
push 0
call sub.shell32.dll_ShellExecuteA
jmp case.default.0x56d1f8
mov eax, dword [ebp - 8]
call fcn.0040a32c
test al, al
je case.default.0x56d1f8
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 8]
call fcn.0040a8f4
mov eax, dword [ebp - 0x44]
mov edx, 0x56d680
call fcn.004095e8
test eax, eax
jne case.default.0x56d1f8
mov dl, 1
mov eax, dword [0x41fed0]
call fcn.00403944
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x56d4a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp + 0x14]
mov eax, 0x56d690
call fcn.00404e78
test eax, eax
jle 0x56d332
push dword [0x59c244]
push 0x56d6a4
lea eax, [ebp - 0x48]
call fcn.0056bf8c
push dword [ebp - 0x48]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404bfc
mov al, byte [0x56d6a8]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
mov edx, 0x56d6b4
call fcn.00404b88
mov ecx, dword [ebp - 0x50]
mov edx, 0x56d690
mov eax, dword [ebp + 0x14]
call fcn.00410080
mov edx, dword [ebp - 0x4c]
lea eax, [ebp + 0x14]
call fcn.00404900
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
mov edx, 0x56d6c4
mov eax, dword [ebp - 0x18]
call fcn.00425258
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov edx, 0x56d6dc
mov eax, dword [ebp - 0x10]
call fcn.00576ae4
jmp 0x56d33a
lea eax, [ebp - 0x10]
call fcn.00404868
push dword [ebp - 8]
push 0x56d6e8
push dword [ebp + 0x14]
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404bfc
mov eax, dword [ebp - 0x54]
mov edx, ebx
call fcn.0056cc74
cmp dword [ebp + 0x18], 1
jne 0x56d389
cmp byte [ebp + 8], 0
jne 0x56d389
mov eax, dword [ebp - 8]
call fcn.0040a6c4
mov eax, dword [ebp - 8]
call fcn.0040a32c
test al, al
je 0x56d389
mov edx, 0x56d6dc
mov eax, dword [ebp - 8]
call fcn.00576ae4
cmp dword [ebp - 0x10], 0
je 0x56d48a
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea ecx, [ebp - 0x58]
mov edx, 0x56d6f4
mov eax, dword [ebp - 0x18]
call fcn.00424ab4
mov eax, dword [ebp - 0x58]
mov edx, 0x56d704
call fcn.00404c80
jne 0x56d3da
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00573de0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x56a320]
call fcn.0040e758
call fcn.00404204
lea ecx, [ebp - 0x5c]
mov edx, 0x56d710
mov eax, dword [ebp - 0x18]
call fcn.00424ab4
mov eax, dword [ebp - 0x5c]
mov edx, 0x56d704
call fcn.00404c80
jne 0x56d439
mov al, byte [0x56d6a8]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x64]
mov edx, 0x56d720
mov eax, dword [ebp - 0x18]
call fcn.00424ab4
mov eax, dword [ebp - 0x64]
mov ecx, 0x56d734
mov edx, 0x56d740
call fcn.00410080
mov ecx, dword [ebp - 0x60]
mov dl, 1
mov eax, dword [0x408808]
call fcn.0040e758
call fcn.00404204
lea ecx, [ebp - 0x68]
mov edx, 0x56d6c4
mov eax, dword [ebp - 0x18]
call fcn.00424ab4
cmp dword [ebp - 0x68], 0
je 0x56d48a
lea ecx, [ebp - 0x6c]
mov edx, 0x56d6c4
mov eax, dword [ebp - 0x18]
call fcn.00424ab4
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.00404c80
je 0x56d48a
lea ecx, [ebp - 0x70]
mov edx, 0x56d6c4
mov eax, dword [ebp - 0x18]
call fcn.00424ab4
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.00573e40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push case.default.0x56d1f8
mov eax, dword [ebp - 0x18]
call fcn.00403974
ret
mov eax, dword [ebp - 8]
call fcn.0040a6c4
jmp case.default.0x56d1f8
xor eax, eax
push ebp
push 0x56d4fc
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0056ca18
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 8]
mov edx, 0x56d750
call fcn.00404b88
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0042436c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.default.0x56d1f8
mov dl, 1
mov eax, dword [0x41fed0]
call fcn.00403944
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x56d599
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.0056b320
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.0x56d1f8
mov eax, dword [ebp - 0x1c]
call fcn.00403974
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x56d5da
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