Function at 0x5478dc
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 0x5478e5
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 0x547e50
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0x10], 0
jne case.default.0x547a60
cmp dword [ebp + 0x1c], 1
jne 0x547a45
cmp byte [ebp + 0xc], 0
jne 0x547a45
mov dl, 1
mov eax, dword [0x41cbec]
call fcn.00403974
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x547a3e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0054e5bc
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x24]
mov edx, 0x547e68
mov eax, dword [ebp - 0x14]
call fcn.00420b48
mov eax, dword [ebp - 0x24]
call fcn.00409d50
push eax
lea ecx, [ebp - 0x28]
mov edx, 0x547e7c
mov eax, dword [ebp - 0x14]
call fcn.00420b48
mov eax, dword [ebp - 0x28]
call fcn.00409d50
push eax
lea ecx, [ebp - 0x2c]
mov edx, 0x547e90
mov eax, dword [ebp - 0x14]
call fcn.00420b48
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, 0x547ea4
mov eax, dword [ebp - 0x14]
call fcn.00420b48
mov eax, dword [ebp - 0x30]
call fcn.00409bb4
push eax
lea ecx, [ebp - 0x34]
mov edx, 0x547ebc
mov eax, dword [ebp - 0x14]
call fcn.00420b48
mov eax, dword [ebp - 0x34]
call fcn.00409bb4
push eax
push 0
lea ecx, [ebp - 0x38]
mov edx, 0x547ed0
mov eax, dword [ebp - 0x14]
call fcn.00420b48
mov eax, dword [ebp - 0x38]
call fcn.00409d50
push eax
lea ecx, [ebp - 0x3c]
mov edx, 0x547ee0
mov eax, dword [ebp - 0x14]
call fcn.00420b48
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
pop ecx
call fcn.00547fd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x547a45
mov eax, dword [ebp - 0x14]
call fcn.004039a4
ret
cmp byte [ebp + 0x14], 0
je 0x547a4f
xor ebx, ebx
jmp 0x547a54
mov ebx, 1
mov eax, dword [ebp - 0xc]
cmp eax, 5
ja case.default.0x547a60
jmp dword [eax*4 + 0x547a67]
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 0x547eec
push 0
call sub.shell32.dll_ShellExecuteA
jmp case.default.0x547a60
mov eax, dword [ebp - 8]
call fcn.0040a02c
test al, al
je case.default.0x547a60
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 8]
call fcn.0040a49c
mov eax, dword [ebp - 0x44]
mov edx, 0x547efc
call fcn.0040947c
test eax, eax
jne case.default.0x547a60
mov dl, 1
mov eax, dword [0x41cbec]
call fcn.00403974
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x547d13
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp + 0x18]
mov eax, 0x547f0c
call fcn.00404ef4
test eax, eax
jle 0x547b9e
push dword [0x57a280]
push 0x547f20
lea eax, [ebp - 0x48]
call fcn.005464a4
push dword [ebp - 0x48]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404c70
mov al, byte [0x547f24]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
mov edx, 0x547f30
call fcn.00404bfc
mov ecx, dword [ebp - 0x50]
mov edx, 0x547f0c
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, 0x547f40
mov eax, dword [ebp - 0x18]
call fcn.0042126c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov edx, 0x547f58
mov eax, dword [ebp - 0x10]
call fcn.005513a0
jmp 0x547ba6
lea eax, [ebp - 0x10]
call fcn.004048d4
mov eax, dword [ebp - 4]
push eax
push dword [ebp - 8]
push 0x547f64
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.0054718c
cmp dword [ebp + 0x1c], 1
jne 0x547bfc
cmp byte [ebp + 0xc], 0
jne 0x547bfc
mov eax, dword [ebp - 8]
call fcn.0040a2fc
mov eax, dword [ebp - 8]
call fcn.0040a02c
test al, al
je 0x547bfc
mov edx, 0x547f58
mov eax, dword [ebp - 8]
call fcn.005513a0
cmp dword [ebp - 0x10], 0
je 0x547cfd
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea ecx, [ebp - 0x58]
mov edx, 0x547f70
mov eax, dword [ebp - 0x18]
call fcn.00420b48
mov eax, dword [ebp - 0x58]
mov edx, 0x547f80
call fcn.00404cfc
jne 0x547c4d
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0054e698
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5447ec]
call fcn.0040dd30
call fcn.00404248
lea ecx, [ebp - 0x5c]
mov edx, 0x547f8c
mov eax, dword [ebp - 0x18]
call fcn.00420b48
mov eax, dword [ebp - 0x5c]
mov edx, 0x547f80
call fcn.00404cfc
jne 0x547cac
mov al, byte [0x547f24]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x64]
mov edx, 0x547f9c
mov eax, dword [ebp - 0x18]
call fcn.00420b48
mov eax, dword [ebp - 0x64]
mov ecx, 0x547fb0
mov edx, 0x547fbc
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, 0x547f40
mov eax, dword [ebp - 0x18]
call fcn.00420b48
cmp dword [ebp - 0x68], 0
je 0x547cfd
lea ecx, [ebp - 0x6c]
mov edx, 0x547f40
mov eax, dword [ebp - 0x18]
call fcn.00420b48
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.00404cfc
je 0x547cfd
lea ecx, [ebp - 0x70]
mov edx, 0x547f40
mov eax, dword [ebp - 0x18]
call fcn.00420b48
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.0054e6f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push case.default.0x547a60
mov eax, dword [ebp - 0x18]
call fcn.004039a4
ret
mov eax, dword [ebp - 8]
call fcn.0040a2fc
jmp case.default.0x547a60
xor eax, eax
push ebp
push 0x547d6f
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00546f30
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 8]
mov edx, 0x547fcc
call fcn.00404bfc
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.0042048c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.default.0x547a60
mov dl, 1
mov eax, dword [0x41cbec]
call fcn.00403974
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x547e0c
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.00545838
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.0x547a60
mov eax, dword [ebp - 0x1c]
call fcn.004039a4
ret
push ebp
mov eax, dword [ebp - 8]
call fcn.005477a8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x547e57
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