Function at 0x43a280
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x121c
call fcn.0045f650
mov eax, dword [0x4ff004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0xd46d88]
push ebx
mov ebx, ecx
mov dword [ebp - 0x1214], ebx
push esi
push edi
test eax, eax
je 0x43a3ed
xor edi, edi
test eax, eax
jle 0x43a3ed
nop dword [eax]
mov ecx, dword [edi*4 + 0xd46d8c]
test ecx, ecx
jne 0x43a2ee
push 0x141
push str.ymemory
push str.YPANIC:_s:_d_n
push 0x141
push str.ymemory
call fcn.00409950
add esp, 0x14
jmp 0x43a351
xor esi, esi
cmp byte [ecx], 0
je 0x43a304
cmp esi, 0x200
jae 0x43a304
inc esi
cmp byte [esi + ecx], 0
jne 0x43a2f5
lea eax, [esi + 1]
cmp eax, 0x200
jbe 0x43a338
push 0x14a
push str.ymemory
push str.YPANIC:_s:_d_n
push 0x14a
push str.ymemory
call fcn.00409950
add esp, 0x14
mov byte [ebp - 0x208], 0
jmp 0x43a351
push esi
push ecx
lea eax, [ebp - 0x208]
push eax
call fcn.00444290
add esp, 0xc
mov byte [ebp + esi - 0x208], 0
push ebx
mov edx, 0x200
lea ecx, [ebp - 0x208]
call fcn.0043bb90
add esp, 4
lea eax, [ebp - 0x208]
push str.bySerial
push eax
call fcn.00443190
add esp, 8
test eax, eax
je 0x43a3bd
lea edx, [eax + 0x11]
mov al, byte [edx]
mov esi, edx
test al, al
je 0x43a3ba
mov cl, al
nop word [eax + eax]
mov al, cl
cmp cl, 0x2f
je 0x43a3a6
cmp cl, 0x5c
je 0x43a3a6
mov al, byte [esi + 1]
inc esi
mov cl, al
test al, al
jne 0x43a390
test al, al
je 0x43a3ba
sub esi, edx
nop dword [eax]
mov byte [edx], al
inc edx
mov al, byte [edx + esi]
test al, al
jne 0x43a3b0
mov byte [edx], 0
push 0x4fada4
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x1210]
push eax
call fcn.0044bf78
add esp, 0xc
test eax, eax
je 0x43a467
inc edi
cmp edi, dword [0xd46d88]
jl 0x43a2c0
push dword [0x541e98]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, ebx
call fcn.00429b60
push dword [0x541e98]
mov bl, al
mov byte [ebp - 0x1209], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp bl, 0xff
je 0x43a497
push dword [0x541e98]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
xor eax, eax
nop dword [eax]
cmp dword [eax + 0xd4b820], 0
je 0x43a5bf
add eax, 0x54
inc ebx
cmp eax, 0x690
jb 0x43a430
push dword [0x541e98]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or al, 0xff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
push dword [0x541e98]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
xor eax, eax
cmp dword [eax + 0xd4b820], 0
je 0x43a4aa
add eax, 0x54
inc ebx
cmp eax, 0x690
jb 0x43a477
push dword [0x541e98]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or al, 0xff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
imul edi, ebx, 0x54
push 2
push 0
push dword [ebp - 0x1210]
mov dword [ebp - 0x121c], edi
mov dword [edi + 0xd4b820], 1
call fcn.0044da47
add esp, 0xc
push dword [ebp - 0x1210]
call fcn.0044d775
add esp, 4
mov dword [edi + 0xd4b82c], eax
push 0
push 0
push dword [ebp - 0x1210]
call fcn.0044da47
mov edi, dword [edi + 0xd4b82c]
add esp, 0xc
or esi, 0xffffffff
test edi, edi
je 0x43a564
push dword [ebp - 0x1210]
mov eax, 0x1000
cmp edi, eax
cmovb eax, edi
push eax
lea eax, [ebp - 0x1208]
push 1
push eax
call fcn.0044dc9c
movzx edx, ax
xor ecx, ecx
add esp, 0x10
mov dword [ebp - 0x1218], eax
cmp cx, dx
jae 0x43a560
lea ecx, [ebp - 0x1208]
nop word [eax + eax]
movzx eax, byte [ecx]
lea ecx, [ecx + 1]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x541920]
sub edx, 1
jne 0x43a540
mov eax, dword [ebp - 0x1218]
sub edi, eax
jne 0x43a502
mov edi, dword [ebp - 0x121c]
not esi
push 0
push 0
push dword [ebp - 0x1210]
mov dword [edi + 0xd4b830], esi
call fcn.0044da47
mov edx, dword [ebp - 0x1214]
lea ecx, [edi + 0xd4b834]
mov eax, dword [ebp - 0x1210]
add esp, 0xc
mov byte [edi + 0xd4b824], 0xff
mov dword [edi + 0xd4b828], eax
mov al, byte [edx]
test al, al
je 0x43a6b0
sub edx, ecx
nop
mov byte [ecx], al
inc ecx
mov al, byte [edx + ecx]
test al, al
jne 0x43a5b0
jmp 0x43a6b0
movzx esi, byte [ebp - 0x1209]
imul edi, ebx, 0x54
cmp byte [ebp - 0x1209], 0x14
mov dword [edi + 0xd4b820], 2
jbe 0x43a5e0
xor eax, eax
jmp 0x43a630
mov eax, esi
shl eax, 4
mov ecx, dword [eax + 0x541d30]
test ecx, ecx
jne 0x43a5f3
xor eax, eax
jmp 0x43a630
test cx, cx
jne 0x43a60a
cmp word [eax + 0x541d32], 2
jne 0x43a60a
mov eax, dword [eax + 0x541d34]
jmp 0x43a630
movzx ecx, word [eax + 0x541d3c]
cmp cx, 0xffff
jge 0x43a61f
mov eax, dword [eax + 0x541d34]
jmp 0x43a630
xor edx, edx
call fcn.00429a20
mov eax, dword [0x541e80]
and eax, 0xfffffff
cmp byte [ebp - 0x1209], 0x14
mov dword [edi + 0xd4b82c], eax
jbe 0x43a643
xor eax, eax
jmp 0x43a676
shl esi, 4
cmp dword [esi + 0x541d30], 0
jne 0x43a653
xor eax, eax
jmp 0x43a676
movzx ecx, word [esi + 0x541d3c]
cmp cx, 0xffff
jge 0x43a66a
mov eax, dword [esi + 0x541d38]
not eax
jmp 0x43a676
xor edx, edx
call fcn.00429a20
mov eax, dword [0x541e84]
mov edx, dword [ebp - 0x1214]
lea ecx, [edi + 0xd4b834]
mov dword [edi + 0xd4b830], eax
mov al, byte [ebp - 0x1209]
mov byte [edi + 0xd4b824], al
mov dword [edi + 0xd4b828], 0
mov al, byte [edx]
test al, al
je 0x43a6b0
sub edx, ecx
mov byte [ecx], al
inc ecx
mov al, byte [ecx + edx]
test al, al
jne 0x43a6a6
push dword [0x541e98]
mov byte [ecx], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004423fe
mov esp, ebp
pop ebp
ret