Function at 0x4357b0
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0789
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x513720]
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 [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0
push 0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
push 0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x35], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x435815
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x435830
cmp dword [ebp - 0x30], eax
je 0x435852
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 0x517328
push 0x21
call fcn.004c0a42
add esp, 8
mov dword [ebp - 0x40], eax
test eax, eax
jne 0x435874
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x435fd9
xorps xmm0, xmm0
xor esi, esi
movdqu xmmword [eax], xmm0
mov edi, eax
movdqu xmmword [eax + 0x10], xmm0
mov byte [eax + 0x20], 0
jmp 0x435890
movzx eax, byte [esi + section..phx]
push eax
push str._02x
push 2
push 3
push edi
call fcn.004bb7ea
inc esi
add esp, 0x14
add edi, 2
cmp esi, 0x10
jb 0x435890
mov edi, dword [ebp - 0x40]
mov byte [edi + 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
push str._Profile_
lea edx, [ebp - 0x2c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x244]
call fcn.00436c20
push 0x4fe738
push eax
lea eax, [ebp - 0x214]
mov byte [ebp - 4], 1
push eax
call fcn.00425a50
push str.config1
push eax
lea eax, [ebp - 0x1e4]
mov byte [ebp - 4], 2
push eax
call fcn.00425a50
push 0x501614
push eax
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 3
push eax
call fcn.00425a50
push edi
push eax
lea eax, [ebp - 0x184]
mov byte [ebp - 4], 4
push eax
call fcn.00425a50
push 0x4fe738
push eax
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 5
push eax
call fcn.00425a50
add esp, 0x40
push str.config2
push eax
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 6
push eax
call fcn.00425a50
push 0x501614
push eax
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 7
push eax
call fcn.00425a50
push dword [ebp - 0x44]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.00425a50
push 0x4fe738
push eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 9
push eax
call fcn.00425a50
push str.config3
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00425a50
push 0x501614
push eax
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 0xb
push eax
call fcn.00425a50
add esp, 0x48
push dword [ebp - 0x4c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.00425a50
push 0x4fe738
push eax
lea eax, [ebp - 0x1fc]
mov byte [ebp - 4], 0xd
push eax
call fcn.00425a50
push str.config4
push eax
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0xe
push eax
call fcn.00425a50
push 0x501614
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xf
push eax
call fcn.00425a50
push dword [ebp - 0x48]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.00425a50
push 0x4fe738
push eax
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 0x11
push eax
call fcn.00425a50
add esp, 0x48
push str.config5
push eax
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x12
push eax
call fcn.00425a50
push 0x501690
push eax
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 0x13
push eax
call fcn.00425a50
push 0x4fe738
push eax
lea eax, [ebp - 0x19c]
mov byte [ebp - 4], 0x14
push eax
call fcn.00425a50
add esp, 0x24
mov esi, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x15
cmp eax, esi
je 0x435b24
cmp dword [ebp - 0x18], 0x10
jb 0x435ac6
push dword [ebp - 0x2c]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp dword [esi + 0x14], 0x10
jae 0x435af4
mov eax, dword [esi + 0x10]
inc eax
je 0x435b07
push eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004b9250
add esp, 0xc
jmp 0x435b07
push esi
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x36]
call fcn.00401d52
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x188], 0x10
jb 0x435b3f
push dword [ebp - 0x19c]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x188], 0xf
mov dword [ebp - 0x18c], 0
mov byte [ebp - 0x19c], 0
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x158], 0x10
jb 0x435b75
push dword [ebp - 0x16c]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x158], 0xf
mov dword [ebp - 0x15c], 0
mov byte [ebp - 0x16c], 0
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x98], 0x10
jb 0x435bab
push dword [ebp - 0xac]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x218], 0x10
jb 0x435be1
push dword [ebp - 0x22c]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x218], 0xf
mov dword [ebp - 0x21c], 0
mov byte [ebp - 0x22c], 0
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0xc8], 0x10
jb 0x435c17
push dword [ebp - 0xdc]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xcc], 0
mov byte [ebp - 0xdc], 0
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x50], 0x10
jb 0x435c47
push dword [ebp - 0x64]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0xf8], 0x10
jb 0x435c74
push dword [ebp - 0x10c]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], 0
mov byte [ebp - 0x10c], 0
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x1e8], 0x10
jb 0x435caa
push dword [ebp - 0x1fc]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x1e8], 0xf
mov dword [ebp - 0x1ec], 0
mov byte [ebp - 0x1fc], 0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x128], 0x10
jb 0x435ce0
push dword [ebp - 0x13c]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x128], 0xf
mov dword [ebp - 0x12c], 0
mov byte [ebp - 0x13c], 0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x1b8], 0x10
jb 0x435d16
push dword [ebp - 0x1cc]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x1b8], 0xf
mov dword [ebp - 0x1bc], 0
mov byte [ebp - 0x1cc], 0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x68], 0x10
jb 0x435d46
push dword [ebp - 0x7c]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x80], 0x10
jb 0x435d70
push dword [ebp - 0x94]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
mov byte [ebp - 4], 8
cmp dword [ebp - 0xb0], 0x10
jb 0x435da3
push dword [ebp - 0xc4]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0xb0], 0xf
mov dword [ebp - 0xb4], 0
mov byte [ebp - 0xc4], 0
mov byte [ebp - 4], 7
cmp dword [ebp - 0xe0], 0x10
jb 0x435dd9
push dword [ebp - 0xf4]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0xe0], 0xf
mov dword [ebp - 0xe4], 0
mov byte [ebp - 0xf4], 0
mov byte [ebp - 4], 6
cmp dword [ebp - 0x110], 0x10
jb 0x435e0f
push dword [ebp - 0x124]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x110], 0xf
mov dword [ebp - 0x114], 0
mov byte [ebp - 0x124], 0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x140], 0x10
jb 0x435e45
push dword [ebp - 0x154]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x140], 0xf
mov dword [ebp - 0x144], 0
mov byte [ebp - 0x154], 0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x170], 0x10
jb 0x435e7b
push dword [ebp - 0x184]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x170], 0xf
mov dword [ebp - 0x174], 0
mov byte [ebp - 0x184], 0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1a0], 0x10
jb 0x435eb1
push dword [ebp - 0x1b4]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x1a0], 0xf
mov dword [ebp - 0x1a4], 0
mov byte [ebp - 0x1b4], 0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1d0], 0x10
jb 0x435ee7
push dword [ebp - 0x1e4]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x1d0], 0xf
mov dword [ebp - 0x1d4], 0
mov byte [ebp - 0x1e4], 0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x200], 0x10
jb 0x435f1d
push dword [ebp - 0x214]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x200], 0xf
mov dword [ebp - 0x204], 0
mov byte [ebp - 0x214], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x230], 0x10
jb 0x435f53
push dword [ebp - 0x244]
call fcn.004b9238
add esp, 4
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x34]
mov esi, dword [ebp - 0x3c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push 0
push ecx
push dword [ebp - 0x1c]
mov dword [ebp - 0x230], 0xf
push eax
push esi
mov dword [ebp - 0x234], 0
mov byte [ebp - 0x244], 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp byte [ebp - 0x35], 0
je 0x435fa6
cmp esi, 0xffffffff
je 0x435fa6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004bb670
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0x10
jb 0x435fc7
push dword [ebp - 0x2c]
call fcn.004b9238
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
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.004b923d
mov esp, ebp
pop ebp
ret 0x1c