Function at 0x57a100
Capabilities:
Create process on windows
Create thread
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a7c0
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5ed130]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00401fe0
mov dword [ebp - 0x10], eax
call fcn.0056aef0
add eax, 0x44c
push eax
lea ecx, [ebp - 0x4c]
call fcn.004015c0
mov dword [ebp - 4], 0
push 0x5ddb44
lea ecx, [ebp - 0x4c]
call fcn.00401660
lea ecx, [ebp - 0x4c]
call fcn.00401700
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x70], esp
push eax
call fcn.00401580
mov dword [ebp - 0x8c], eax
call fcn.0057e3a0
add esp, 0x1c
mov byte [ebp - 0x8d], al
movzx eax, byte [ebp - 0x8d]
test eax, eax
je 0x57a1af
push 0
lea ecx, [ebp - 0x4c]
call fcn.00401700
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x4c]
call fcn.00401700
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
push 0
push 0x65
push 0x5ddb54
lea ecx, [ebp - 0x4c]
call fcn.00401700
push eax
call fcn.00580aa0
add esp, 0x14
movzx ecx, al
test ecx, ecx
jne 0x57a209
push 0x97
push 0x6e
push 0x47a
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x514]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [ebp - 0x71], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401600
mov al, byte [ebp - 0x71]
jmp 0x57a516
push str._barclient.zip
mov ecx, dword [ebp - 0x10]
add ecx, 0x88
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00405830
add esp, 0xc
mov byte [ebp - 4], 1
push str.file_barclient.zip
call fcn.00580000
add esp, 4
push eax
lea ecx, [ebp - 0x68]
call fcn.00401580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.00401700
push eax
lea ecx, [ebp - 0x30]
call fcn.00401700
mov ecx, eax
mov eax, 0xf
call fcn.0042ba70
add esp, 4
test eax, eax
jne 0x57a48f
push 0x5ddb7c
mov edx, dword [0x5f9324]
push edx
call fcn.00567c70
push eax
call fcn.005679e0
add esp, 0xc
push 0x5ddb90
call fcn.00580000
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x78], esp
push 0x5db1ab
call fcn.00401580
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 3
push 0x5ddba4
call fcn.00580000
add esp, 0xffffffe8
mov ecx, esp
mov dword [ebp - 0x7c], esp
push eax
call fcn.00401580
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x68]
call fcn.00401700
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x80], esp
push eax
call fcn.00401580
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 2
call fcn.00584c80
add esp, 0x54
mov dword [ebp - 0xa8], eax
xor edx, edx
cmp dword [ebp - 0xa8], 0xffffffff
sete dl
mov byte [ebp - 0x69], dl
lea ecx, [ebp - 0x68]
call fcn.00401700
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
movzx eax, byte [ebp - 0x69]
test eax, eax
je 0x57a46b
push str.file_barclient.exe
call fcn.00580000
add esp, 0xffffffe8
mov ecx, esp
mov dword [ebp - 0x84], esp
push eax
call fcn.00401580
mov dword [ebp - 0xac], eax
call fcn.0057e3a0
add esp, 0x1c
mov byte [ebp - 0xad], al
movzx ecx, byte [ebp - 0xad]
test ecx, ecx
je 0x57a44f
push 0x5ddbc0
mov edx, dword [0x5f9324]
push edx
call fcn.00567c70
push eax
call fcn.005679e0
add esp, 0xc
push 0
push 0
push str._update
lea ecx, [ebp - 0x4c]
call fcn.00401700
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x57a414
push 0xcb
push 0x6e
push 0x47a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x514]
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [ebp - 0x85], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00401600
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00401600
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401600
mov al, byte [ebp - 0x85]
jmp 0x57a516
mov byte [ebp - 0x86], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00401600
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00401600
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401600
mov al, byte [ebp - 0x86]
jmp 0x57a516
push 0x5ddbdc
mov edx, dword [0x5f9324]
push edx
call fcn.00567c70
push eax
call fcn.005679e0
add esp, 0xc
jmp 0x57a48d
lea ecx, [ebp - 0x68]
call fcn.00401700
push eax
push 0x5ddbfc
mov eax, dword [0x5f9324]
push eax
call fcn.00567c70
push eax
call fcn.005679e0
add esp, 0x10
jmp 0x57a4e2
lea ecx, [ebp - 0x68]
call fcn.00401700
push eax
push 0x5ddc10
mov ecx, dword [0x5f9324]
push ecx
call fcn.00567c70
push eax
call fcn.005679e0
add esp, 0x10
movzx edx, byte [0x5f993d]
test edx, edx
je 0x57a4e2
mov byte [0x5f993d], 0
push 0
push 0
push 0
push 0x579340
push 0
push 0
call fcn.0044151c
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x87], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.00401600
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00401600
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00401600
mov al, byte [ebp - 0x87]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043dd0c
mov esp, ebp
pop ebp
ret