Function at 0x547680
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 0x547689
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.00404da0
mov eax, dword [ebp + 0x18]
call fcn.00404da0
xor eax, eax
push ebp
push 0x547be6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0x10], 0
jne case.default.0x547804
cmp dword [ebp + 0x1c], 1
jne 0x5477e9
cmp byte [ebp + 0xc], 0
jne 0x5477e9
mov dl, 1
mov eax, dword [0x41cc1c]
call fcn.00403974
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x5477e2
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0054e368
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x24]
mov edx, 0x547c00
mov eax, dword [ebp - 0x14]
call fcn.00420b78
mov eax, dword [ebp - 0x24]
call fcn.00409d50
push eax
lea ecx, [ebp - 0x28]
mov edx, 0x547c14
mov eax, dword [ebp - 0x14]
call fcn.00420b78
mov eax, dword [ebp - 0x28]
call fcn.00409d50
push eax
lea ecx, [ebp - 0x2c]
mov edx, 0x547c28
mov eax, dword [ebp - 0x14]
call fcn.00420b78
mov eax, dword [ebp - 0x2c]
call fcn.00409d50
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x8a]
push eax
lea ecx, [ebp - 0x30]
mov edx, 0x547c3c
mov eax, dword [ebp - 0x14]
call fcn.00420b78
mov eax, dword [ebp - 0x30]
call fcn.00409bb4
push eax
lea ecx, [ebp - 0x34]
mov edx, 0x547c54
mov eax, dword [ebp - 0x14]
call fcn.00420b78
mov eax, dword [ebp - 0x34]
call fcn.00409bb4
push eax
push 0
lea ecx, [ebp - 0x38]
mov edx, 0x547c68
mov eax, dword [ebp - 0x14]
call fcn.00420b78
mov eax, dword [ebp - 0x38]
call fcn.00409d50
push eax
lea ecx, [ebp - 0x3c]
mov edx, 0x547c78
mov eax, dword [ebp - 0x14]
call fcn.00420b78
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
pop ecx
call fcn.00547d6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5477e9
mov eax, dword [ebp - 0x14]
call fcn.004039a4
ret
cmp byte [ebp + 0x14], 0
je 0x5477f3
xor ebx, ebx
jmp 0x5477f8
mov ebx, 1
mov eax, dword [ebp - 0xc]
cmp eax, 4
ja case.default.0x547804
jmp dword [eax*4 + 0x54780b]
push ebx
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.0040a39c
mov eax, dword [ebp - 0x40]
call fcn.00404db0
push eax
mov eax, dword [ebp + 0x18]
call fcn.00404db0
push eax
mov eax, dword [ebp - 8]
call fcn.00404db0
push eax
push 0x547c84
push 0
call sub.shell32.dll_ShellExecuteA
jmp case.default.0x547804
mov eax, dword [ebp - 8]
call fcn.0040a02c
test al, al
je case.default.0x547804
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 8]
call fcn.0040a49c
mov eax, dword [ebp - 0x44]
mov edx, 0x547c94
call fcn.0040947c
test eax, eax
jne case.default.0x547804
mov dl, 1
mov eax, dword [0x41cc1c]
call fcn.00403974
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x547ab3
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp + 0x18]
mov eax, 0x547ca4
call fcn.00404ef4
test eax, eax
jle 0x54793e
push dword [0x579280]
push 0x547cb8
lea eax, [ebp - 0x48]
call fcn.0054637c
push dword [ebp - 0x48]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404c70
mov al, byte [0x547cbc]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
mov edx, 0x547cc8
call fcn.00404bfc
mov ecx, dword [ebp - 0x50]
mov edx, 0x547ca4
mov eax, dword [ebp + 0x18]
call fcn.0040f36c
mov edx, dword [ebp - 0x4c]
lea eax, [ebp + 0x18]
call fcn.0040496c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
mov edx, 0x547cd8
mov eax, dword [ebp - 0x18]
call fcn.0042129c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov edx, 0x547cf0
mov eax, dword [ebp - 0x10]
call fcn.0055114c
jmp 0x547946
lea eax, [ebp - 0x10]
call fcn.004048d4
mov eax, dword [ebp - 4]
push eax
push dword [ebp - 8]
push 0x547cfc
push dword [ebp + 0x18]
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404c70
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp + 8]
mov edx, ebx
call fcn.00547064
cmp dword [ebp + 0x1c], 1
jne 0x54799c
cmp byte [ebp + 0xc], 0
jne 0x54799c
mov eax, dword [ebp - 8]
call fcn.0040a2fc
mov eax, dword [ebp - 8]
call fcn.0040a02c
test al, al
je 0x54799c
mov edx, 0x547cf0
mov eax, dword [ebp - 8]
call fcn.0055114c
cmp dword [ebp - 0x10], 0
je 0x547a9d
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea ecx, [ebp - 0x58]
mov edx, 0x547d08
mov eax, dword [ebp - 0x18]
call fcn.00420b78
mov eax, dword [ebp - 0x58]
mov edx, 0x547d18
call fcn.00404cfc
jne 0x5479ed
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0054e444
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5446c4]
call fcn.0040dd30
call fcn.00404248
lea ecx, [ebp - 0x5c]
mov edx, 0x547d24
mov eax, dword [ebp - 0x18]
call fcn.00420b78
mov eax, dword [ebp - 0x5c]
mov edx, 0x547d18
call fcn.00404cfc
jne 0x547a4c
mov al, byte [0x547cbc]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x64]
mov edx, 0x547d34
mov eax, dword [ebp - 0x18]
call fcn.00420b78
mov eax, dword [ebp - 0x64]
mov ecx, 0x547d48
mov edx, 0x547d54
call fcn.0040f36c
mov ecx, dword [ebp - 0x60]
mov dl, 1
mov eax, dword [0x40868c]
call fcn.0040dd30
call fcn.00404248
lea ecx, [ebp - 0x68]
mov edx, 0x547cd8
mov eax, dword [ebp - 0x18]
call fcn.00420b78
cmp dword [ebp - 0x68], 0
je 0x547a9d
lea ecx, [ebp - 0x6c]
mov edx, 0x547cd8
mov eax, dword [ebp - 0x18]
call fcn.00420b78
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.00404cfc
je 0x547a9d
lea ecx, [ebp - 0x70]
mov edx, 0x547cd8
mov eax, dword [ebp - 0x18]
call fcn.00420b78
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.0054e4a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push case.default.0x547804
mov eax, dword [ebp - 0x18]
call fcn.004039a4
ret
mov eax, dword [ebp - 8]
call fcn.0040a2fc
jmp case.default.0x547804
xor eax, eax
push ebp
push 0x547b0f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00546e08
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 8]
mov edx, 0x547d64
call fcn.00404bfc
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004204bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.default.0x547804
mov dl, 1
mov eax, dword [0x41cc1c]
call fcn.00403974
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x547bac
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.00545710
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.00404db0
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.0x547804
mov eax, dword [ebp - 0x1c]
call fcn.004039a4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x547bed
lea eax, [ebp - 0x7c]
mov edx, 0x18
call fcn.004048f8
lea eax, [ebp - 0x10]
call fcn.004048d4
lea eax, [ebp - 8]
call fcn.004048d4
lea eax, [ebp + 0x18]
call fcn.004048d4
ret