Function at 0x43fb50
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45a36b
push eax
mov dword fs:[0], esp
sub esp, 0xe38
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__memicmp]
push esi
mov esi, dword [esp + 0xe54]
push edi
push 7
lea edi, [esi + 6]
push 0x466474
push edi
call ebx
add esp, 0xc
test eax, eax
je 0x43fe10
push 0xd
push 0x4664f4
push edi
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0xc
test eax, eax
jne 0x43fbd1
push esi
call edi
add esp, 4
cmp eax, 0x19
jbe 0x43fbd1
cmp word [esi + 0x22], 0x4d
jne 0x43fbd1
cmp word [esi + 0x26], 0x63
jne 0x43fbd1
cmp word [esi + 0x2c], 0x73
jne 0x43fbd1
xor eax, eax
jmp 0x43fe10
push 0x104
lea eax, [esp + 0x14]
xor ebx, ebx
push esi
push eax
mov dword [esp + 0xe58], ebx
mov dword [esp + 0x22a], ebx
mov dword [esp + 0x226], ebx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
push esi
call edi
add esp, 0x10
cmp word [esp + eax*2 + 0xe], 0x2f
jne 0x43fc12
push esi
call edi
add esp, 4
mov word [esp + eax*2 + 0xe], bx
lea ecx, [esp + 0x10]
push ebp
push ecx
call fcn.0043b250
add esp, 4
test eax, eax
je 0x43fdf6
push 1
call dword [0x46733c]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x431]
mov byte [esp + 0x430], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0xb3c]
push 0x30b
push edx
push esi
stosb byte es:[edi], al
call fcn.00408f30
mov eax, dword [esp + 0x22e]
add esp, 0xc
xor edi, edi
cmp eax, ebx
jle 0x43fd4c
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
mov ebx, dword [sym.imp.MSVCRT.dll_fwrite]
xor esi, esi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x222]
mov ecx, dword [esi + eax + 0x21a]
mov edx, dword [esi + eax + 0x216]
push ecx
push edx
call fcn.0040a1d0
mov ecx, dword [esp + 0x22a]
lea eax, [esp + 0x83c]
push 0x30b
push eax
lea edx, [esi + ecx]
push edx
call fcn.00408f30
mov eax, dword [esp + 0x236]
mov ecx, dword [esp + 0x28]
push ecx
mov edx, dword [esi + eax + 0x212]
mov ecx, dword [esi + eax + 0x20e]
push edx
mov edx, dword [esi + eax + 0x20a]
push ecx
lea eax, [esp + 0x854]
push edx
lea ecx, [esp + 0xb64]
push eax
push ecx
lea edx, [esp + 0x460]
push str._s_t_s_t_d_t_I64d_t_u_t_n
push edx
call ebp
add esp, 0x38
xor ecx, ecx
test eax, eax
jle 0x43fd1c
mov dl, byte [0x4663b0]
xor byte [esp + ecx + 0x430], dl
inc ecx
cmp ecx, eax
jl 0x43fd10
mov ecx, dword [esp + 0xe58]
lea edx, [esp + 0x430]
push ecx
push eax
push 1
push edx
call ebx
mov eax, dword [esp + 0x232]
add esp, 0x10
inc edi
add esi, 0x22e
cmp edi, eax
jl 0x43fc80
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x43fdf6
mov ebp, dword [sym.imp.MSVCRT.dll_swprintf]
xor esi, esi
mov eax, dword [esp + 0x21e]
push 7
push 0x466474
lea ecx, [esi + eax]
push ecx
call dword [sym.imp.MSVCRT.dll__memicmp]
add esp, 0xc
test eax, eax
je 0x43fdd8
mov edx, dword [esp + 0x21e]
add edx, esi
cmp dword [edx + 0x20a], 1
je 0x43fdd8
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x22a]
mov word [esp + 0x228], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x230]
push str._s__s_
push ecx
call ebp
mov eax, dword [esp + 0xe68]
lea edx, [esp + 0x238]
push edx
push eax
call fcn.0043fb50
add esp, 0x18
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x222]
inc eax
add esi, 0x22e
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x43fd60
mov eax, dword [esp + 0x21e]
pop ebp
cmp eax, ebx
je 0x43fe0b
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xe44]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xe44
ret