Function at 0x547a30
Capabilities:
Contain obfuscated stackstrings
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5e6468]
xor eax, ebp
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x118], 0xffffffff
mov dword [ebp - 0x208], 0xffffffff
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x200], 0x3a
mov byte [ebp - 0x1ff], 0x48
mov byte [ebp - 0x1fe], 0x6b
mov byte [ebp - 0x1fd], 0xa2
mov byte [ebp - 0x1fc], 0x57
mov byte [ebp - 0x1fb], 0x27
mov byte [ebp - 0x1fa], 0xb1
mov byte [ebp - 0x1f9], 0x80
mov byte [ebp - 0x1f8], 0xd
mov byte [ebp - 0x1f7], 0x50
mov byte [ebp - 0x1f6], 0x68
mov byte [ebp - 0x1f5], 0x8d
mov byte [ebp - 0x1f4], 0x6d
mov byte [ebp - 0x1f3], 0x72
mov byte [ebp - 0x1f2], 0xb
mov byte [ebp - 0x1f1], 0xe2
mov byte [ebp - 0x1f0], 0xc6
mov byte [ebp - 0x1ef], 0x78
mov byte [ebp - 0x1ee], 0xff
mov byte [ebp - 0x1ed], 0x31
mov byte [ebp - 0x1ec], 0x22
mov byte [ebp - 0x1eb], 0xcb
mov byte [ebp - 0x1ea], 0x44
mov byte [ebp - 0x1e9], 0x63
mov byte [ebp - 0x1e8], 0xb1
mov byte [ebp - 0x1e7], 0x6d
mov byte [ebp - 0x1e6], 0x1b
mov byte [ebp - 0x1e5], 0x95
mov byte [ebp - 0x1e4], 0xf5
mov byte [ebp - 0x1e3], 0x68
mov byte [ebp - 0x1e2], 0x8d
mov byte [ebp - 0x1e1], 0x6d
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0xc], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x118], eax
push 0
push 0x80
push 2
push 0
push 1
push 0x10000000
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x118], 0xffffffff
je 0x547c05
cmp dword [ebp - 0x208], 0xffffffff
jne 0x547c0f
jmp 0x547ec3
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x110], 0xffffffff
je 0x547c3b
cmp dword [ebp - 0x110], 0
je 0x547c45
jmp 0x547ec3
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x114]
xor edx, edx
mov ecx, 0x10
div ecx
test edx, edx
je 0x547c7d
mov eax, dword [ebp - 0x114]
xor edx, edx
mov ecx, 0x10
div ecx
mov eax, 0x10
sub eax, edx
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
push 0x5f232c
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00564025
add esp, 8
mov dword [ebp - 0x210], eax
mov edx, dword [ebp - 0x210]
mov dword [ebp - 0x1e0], edx
push 0x5f232c
mov eax, dword [ebp - 0xc]
add eax, 0x1cc
push eax
call fcn.00564025
add esp, 8
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x1cc
mov dword [ebp - 0x204], edx
cmp dword [ebp - 0x1e0], 0
je 0x547ce6
cmp dword [ebp - 0x204], 0
jne 0x547cf0
jmp 0x547ec3
push 0
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x1e0]
push edx
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 0
jne 0x547d2d
jmp 0x547ec3
lea ecx, [ebp - 0x108]
push ecx
push 0x80
lea edx, [ebp - 0x200]
push edx
call fcn.005395e0
add esp, 0xc
push 1
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x108]
push ecx
mov edx, dword [ebp - 0x114]
push edx
mov eax, dword [ebp - 0x204]
push eax
mov ecx, dword [ebp - 0x1e0]
push ecx
call fcn.0053af00
add esp, 0x18
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x10]
add eax, 0x118
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
jne 0x547dac
jmp 0x547ec3
mov edx, dword [ebp - 0x134]
push edx
push 0x40
lea eax, [ebp - 0x1d0]
push eax
call fcn.004b8620
push 0xb4
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.0055e2a0
add esp, 0xc
lea edx, [ebp - 0x1d0]
push edx
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x220]
call fcn.00548090
mov ecx, dword [ebp - 0xc]
add ecx, 0x1cc
mov dword [ebp - 0x1d4], ecx
lea edx, [ebp - 0x190]
push edx
call fcn.00542350
add esp, 4
mov eax, dword [ebp - 0xc]
add eax, 0x1cc
push eax
mov ecx, dword [ebp - 0x130]
push ecx
lea edx, [ebp - 0x190]
push edx
call fcn.00542390
add esp, 0xc
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00543360
add esp, 8
push 0x10
lea edx, [ebp - 0x12c]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.00562ba0
add esp, 0xc
push 0x5b6164
push 0x30
mov ecx, dword [ebp - 4]
add ecx, 0x10
push ecx
call fcn.004b8620
lea edx, [ebp - 0x1d0]
push edx
push 0x20
mov eax, dword [ebp - 4]
add eax, 0x40
push eax
call fcn.004b8620
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1d4]
mov dword [ecx + 0x60], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x114]
mov dword [eax + 0x64], ecx
push 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x1d4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d8], 1
cmp dword [ebp - 0x1e0], 0
je 0x547ee7
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
push ecx
call fcn.0055dfce
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x547f05
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x21c]
push eax
call fcn.0055dfce
add esp, 4
cmp dword [ebp - 0x118], 0xffffffff
je 0x547f1b
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x208], 0xffffffff
je 0x547f31
mov edx, dword [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1d8]
mov ecx, dword [ebp - 0x11c]
xor ecx, ebp
call fcn.0055e289
mov esp, ebp
pop ebp
ret 8