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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x539909
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x238
mov eax, dword [0x57d54c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
push 0
push 0
mov dword [ebp - 0x44], eax
mov eax, dword [ebx + 0x14]
push 0
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x18]
push esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x35], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x47baa9
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x47bac4
cmp dword [ebp - 0x18], eax
je 0x47bae6
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
push edi
mov byte [ebp - 0x35], 1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 0x3c], eax
push 0x5808aa
push 0x21
call fcn.0050279a
add esp, 8
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x47bb08
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x47bee5
xorps xmm0, xmm0
xor esi, esi
movups xmmword [eax], xmm0
mov edi, eax
movups xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
nop word [eax + eax]
movzx eax, byte [esi + 0x5816b8]
push eax
push str._02x
push 2
push 3
push edi
call fcn.004208d0
inc esi
add esp, 0x14
add edi, 2
cmp esi, 0x10
jb 0x47bb20
mov edi, dword [ebp - 0x40]
lea ecx, [ebp - 0x34]
mov byte [edi + 0x20], 0
call fcn.004082f0
push str._Profile_
lea edx, [ebp - 0x34]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.0047d600
add esp, 4
push 0x560598
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.0040be90
add esp, 4
push str.config1
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x214]
call fcn.0040be90
add esp, 4
push 0x565730
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1fc]
call fcn.0040be90
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1e4]
call fcn.0040be90
add esp, 4
push 0x560598
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1cc]
call fcn.0040be90
add esp, 4
push str.config2
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1b4]
call fcn.0040be90
add esp, 4
push 0x565730
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x19c]
call fcn.0040be90
add esp, 4
push dword [ebp - 0x44]
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x184]
call fcn.0040be90
add esp, 4
push 0x560598
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x16c]
call fcn.0040be90
add esp, 4
push str.config3
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x154]
call fcn.0040be90
add esp, 4
push 0x565730
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x13c]
call fcn.0040be90
add esp, 4
push dword [ebp - 0x48]
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x124]
call fcn.0040be90
add esp, 4
push 0x560598
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x10c]
call fcn.0040be90
add esp, 4
push str.config4
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xf4]
call fcn.0040be90
add esp, 4
push 0x565730
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xdc]
call fcn.0040be90
add esp, 4
push dword [ebp - 0x4c]
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc4]
call fcn.0040be90
add esp, 4
push 0x560598
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xac]
call fcn.0040be90
add esp, 4
push str.config5
mov edx, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x94]
call fcn.0040be90
add esp, 4
push 0x565718
mov edx, eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x7c]
call fcn.0040be90
add esp, 4
push 0x560598
mov edx, eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x64]
call fcn.0040be90
add esp, 4
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x15
call fcn.0041e1f0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x14
call fcn.004081f0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x13
call fcn.004081f0
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 0x12
call fcn.004081f0
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x11
call fcn.004081f0
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x10
call fcn.004081f0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xf
call fcn.004081f0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0xe
call fcn.004081f0
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 0xd
call fcn.004081f0
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 0xc
call fcn.004081f0
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 0xb
call fcn.004081f0
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 0xa
call fcn.004081f0
lea ecx, [ebp - 0x16c]
mov byte [ebp - 4], 9
call fcn.004081f0
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 8
call fcn.004081f0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 7
call fcn.004081f0
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 6
call fcn.004081f0
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 5
call fcn.004081f0
lea ecx, [ebp - 0x1e4]
mov byte [ebp - 4], 4
call fcn.004081f0
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 3
call fcn.004081f0
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 2
call fcn.004081f0
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 1
call fcn.004081f0
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 0
call fcn.004081f0
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x1c]
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push 0
push ecx
push dword [ebp - 0x24]
mov dword [ebp - 0x1c], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp byte [ebp - 0x35], 0
je 0x47becd
cmp esi, 0xffffffff
je 0x47becd
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.00502435
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004081f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00501e95
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x1c