Function at 0x54b544
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 0x54b54d
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 + 0x18]
call fcn.00404d24
xor eax, eax
push ebp
push 0x54baaa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 0x10], 0
jne case.default.0x54b6c8
cmp dword [ebp + 0x1c], 1
jne 0x54b6ad
cmp byte [ebp + 0xc], 0
jne 0x54b6ad
mov dl, 1
mov eax, dword [0x41cecc]
call fcn.00403944
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x54b6a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00552234
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea ecx, [ebp - 0x24]
mov edx, 0x54bac4
mov eax, dword [ebp - 0x14]
call fcn.00420d74
mov eax, dword [ebp - 0x24]
call fcn.004099d8
push eax
lea ecx, [ebp - 0x28]
mov edx, 0x54bad8
mov eax, dword [ebp - 0x14]
call fcn.00420d74
mov eax, dword [ebp - 0x28]
call fcn.004099d8
push eax
lea ecx, [ebp - 0x2c]
mov edx, 0x54baec
mov eax, dword [ebp - 0x14]
call fcn.00420d74
mov eax, dword [ebp - 0x2c]
call fcn.004099d8
push eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x8a]
push eax
lea ecx, [ebp - 0x30]
mov edx, 0x54bb00
mov eax, dword [ebp - 0x14]
call fcn.00420d74
mov eax, dword [ebp - 0x30]
call fcn.00409870
push eax
lea ecx, [ebp - 0x34]
mov edx, 0x54bb18
mov eax, dword [ebp - 0x14]
call fcn.00420d74
mov eax, dword [ebp - 0x34]
call fcn.00409870
push eax
push 0
lea ecx, [ebp - 0x38]
mov edx, 0x54bb2c
mov eax, dword [ebp - 0x14]
call fcn.00420d74
mov eax, dword [ebp - 0x38]
call fcn.004099d8
push eax
lea ecx, [ebp - 0x3c]
mov edx, 0x54bb3c
mov eax, dword [ebp - 0x14]
call fcn.00420d74
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
pop ecx
call fcn.0054bc30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54b6ad
mov eax, dword [ebp - 0x14]
call fcn.00403974
ret
cmp byte [ebp + 0x14], 0
je 0x54b6b7
xor ebx, ebx
jmp 0x54b6bc
mov ebx, 1
mov eax, dword [ebp - 0xc]
cmp eax, 4
ja case.default.0x54b6c8
jmp dword [eax*4 + 0x54b6cf]
push ebx
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.0040a014
mov eax, dword [ebp - 0x40]
call fcn.00404d34
push eax
mov eax, dword [ebp + 0x18]
call fcn.00404d34
push eax
mov eax, dword [ebp - 8]
call fcn.00404d34
push eax
push 0x54bb48
push 0
call sub.shell32.dll_ShellExecuteA
jmp case.default.0x54b6c8
mov eax, dword [ebp - 8]
call fcn.00409cb8
test al, al
je case.default.0x54b6c8
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 8]
call fcn.0040a114
mov eax, dword [ebp - 0x44]
mov edx, 0x54bb58
call fcn.00409264
test eax, eax
jne case.default.0x54b6c8
mov dl, 1
mov eax, dword [0x41cecc]
call fcn.00403944
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x54b977
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp + 0x18]
mov eax, 0x54bb68
call fcn.00404e78
test eax, eax
jle 0x54b802
push dword [0x57a244]
push 0x54bb7c
lea eax, [ebp - 0x48]
call fcn.0054a240
push dword [ebp - 0x48]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404bfc
mov al, byte [0x54bb80]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x10]
mov edx, 0x54bb8c
call fcn.00404b88
mov ecx, dword [ebp - 0x50]
mov edx, 0x54bb68
mov eax, dword [ebp + 0x18]
call fcn.0040edd0
mov edx, dword [ebp - 0x4c]
lea eax, [ebp + 0x18]
call fcn.00404900
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x54]
mov edx, 0x54bb9c
mov eax, dword [ebp - 0x18]
call fcn.0042144c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x74]
mov edx, 0x54bbb4
mov eax, dword [ebp - 0x10]
call fcn.00555018
jmp 0x54b80a
lea eax, [ebp - 0x10]
call fcn.00404868
mov eax, dword [ebp - 4]
push eax
push dword [ebp - 8]
push 0x54bbc0
push dword [ebp + 0x18]
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00404bfc
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp + 8]
mov edx, ebx
call fcn.0054af28
cmp dword [ebp + 0x1c], 1
jne 0x54b860
cmp byte [ebp + 0xc], 0
jne 0x54b860
mov eax, dword [ebp - 8]
call fcn.00409f7c
mov eax, dword [ebp - 8]
call fcn.00409cb8
test al, al
je 0x54b860
mov edx, 0x54bbb4
mov eax, dword [ebp - 8]
call fcn.00555018
cmp dword [ebp - 0x10], 0
je 0x54b961
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x68]
lea ecx, [ebp - 0x58]
mov edx, 0x54bbcc
mov eax, dword [ebp - 0x18]
call fcn.00420d74
mov eax, dword [ebp - 0x58]
mov edx, 0x54bbdc
call fcn.00404c80
jne 0x54b8b1
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00552310
xor ecx, ecx
mov dl, 1
mov eax, dword [0x548580]
call fcn.0040d954
call fcn.00404204
lea ecx, [ebp - 0x5c]
mov edx, 0x54bbe8
mov eax, dword [ebp - 0x18]
call fcn.00420d74
mov eax, dword [ebp - 0x5c]
mov edx, 0x54bbdc
call fcn.00404c80
jne 0x54b910
mov al, byte [0x54bb80]
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x64]
mov edx, 0x54bbf8
mov eax, dword [ebp - 0x18]
call fcn.00420d74
mov eax, dword [ebp - 0x64]
mov ecx, 0x54bc0c
mov edx, 0x54bc18
call fcn.0040edd0
mov ecx, dword [ebp - 0x60]
mov dl, 1
mov eax, dword [0x408530]
call fcn.0040d954
call fcn.00404204
lea ecx, [ebp - 0x68]
mov edx, 0x54bb9c
mov eax, dword [ebp - 0x18]
call fcn.00420d74
cmp dword [ebp - 0x68], 0
je 0x54b961
lea ecx, [ebp - 0x6c]
mov edx, 0x54bb9c
mov eax, dword [ebp - 0x18]
call fcn.00420d74
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
call fcn.00404c80
je 0x54b961
lea ecx, [ebp - 0x70]
mov edx, 0x54bb9c
mov eax, dword [ebp - 0x18]
call fcn.00420d74
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.00552370
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push case.default.0x54b6c8
mov eax, dword [ebp - 0x18]
call fcn.00403974
ret
mov eax, dword [ebp - 8]
call fcn.00409f7c
jmp case.default.0x54b6c8
xor eax, eax
push ebp
push 0x54b9d3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0054accc
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 8]
mov edx, 0x54bc28
call fcn.00404b88
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.00420704
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp case.default.0x54b6c8
mov dl, 1
mov eax, dword [0x41cecc]
call fcn.00403944
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x54ba70
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.005495d4
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.0x54b6c8
mov eax, dword [ebp - 0x1c]
call fcn.00403974
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54bab1
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 + 0x18]
call fcn.00404868
ret